Commit Graph

15066 Commits

Author SHA1 Message Date
Christopher Chedeau
c8a398e6e9 Fix prepending multiple gutters at once
There's a bug when multiple gutters are prepended at once where their order is not correctly preserved in the dom. The issue is that we do not update indexInOldGutters even though we inserted a dom node in the old gutters dom.

Honestly, I'm unconvinced that this entire logic is correct, but this fixes the use case we have in Nuclide so it's more correct than before :)

Released under CC0
2016-11-19 12:22:59 -08:00
Nathan Sobo
5839647366 Revert "Forward compositionstart/end events to KeymapManager to avoid IME issues" 2016-11-16 08:53:53 -07:00
Nathan Sobo
3f788ebe7e Forward compositionstart/end events to KeymapManager to avoid IME issues 2016-11-15 13:14:21 -07:00
Ian Olsen
1917a33867 Merge pull request #13008 from atom/io-mru-ux-2
add new pane switch events for MRU UI
2016-11-15 11:20:42 -08:00
Joe Fitzgerald
f73aa46cef Fix lint errors 2016-11-14 17:09:01 -07:00
Joe Fitzgerald
c83e71cb9d Don’t detach child process, cleanup code 2016-11-14 17:02:12 -07:00
Joe Fitzgerald
3123a92687 🎨 Fix spec, cleanup 2016-11-14 16:29:13 -07:00
Joe Fitzgerald
d0a011e93a Fix specs, rename cp > child_process 2016-11-14 16:23:10 -07:00
Joe Fitzgerald
1b2d2f0299 Use child_process.spawn instead of execFile
- Fixes #13084
- Kill child process on process exit, if it is running
- Ensure env is set correctly when new windows are launched
2016-11-14 10:06:26 -07:00
Max Brunsfeld
cbe8300f2a Merge pull request #13202 from atom/mb-fix-resize-flicker
Fix flicker in soft-wrapped files when resizing editors
2016-11-11 13:37:12 -08:00
Max Brunsfeld
5509475173 Ensure presenter forces DisplayLayer computations when rendering
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-11-11 12:55:57 -08:00
Damien Guard
f3b5c5ad39 Merge branch 'master' into dg-windows-64bit 2016-11-11 12:49:03 -08:00
Max Brunsfeld
5ee3dbe7e0 Avoid redundant DisplayLayer resets in TextEditor.update 2016-11-11 12:03:38 -08:00
Antonio Scandurra
5f82b34a0e Merge pull request #13201 from atom/as-ns-get-model-shim-on-editor-hidden-input
Add a `getModel` method to editors' hidden input component
2016-11-11 19:44:44 +01:00
Antonio Scandurra
5a45461d60 Add a getModel method to editors' hidden input component
...to make it easy to access the editor in response to DOM events or
when using document.activeElement.

Signed-off-by: Nathan Sobo <nathan@github.com>
2016-11-11 19:38:54 +01:00
Antonio Scandurra
9176a6429f Add core:loaded-shell-environment activation hook
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-11-11 19:08:34 +01:00
Antonio Scandurra
e34bc188d0 Make updateProcessEnv asynchronous
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-11-11 18:39:18 +01:00
Damien Guard
0d0a2ae7b1 Windows 64-bit version of Atom 2016-11-10 16:59:12 -08:00
Joe Fitzgerald
7dfc99989f Timeout when invoking the shell, log information to the console
- Partially addresses #13084
2016-11-10 14:23:24 -07:00
Lee Dohm
03fe5c343b Consistently use 'editor' in description 2016-11-06 11:30:03 -08:00
Lee Dohm
0a40019346 Add config schema for core.restorePreviousWindowsOnStart
Additionally updates the description for core.openEmptyEditorOnStart to
match.
2016-11-06 11:25:43 -08:00
Lee Dohm
6472f069af Improve core.openEmptyEditorOnStart description 2016-11-06 10:55:07 -08:00
Christopher Chedeau
089fa92117 Fix wrong binding on atom-environment.coffee
Context: I'm trying to run atom in the browser and have strict mode enabled and it threw on this line. We need it to be a fat arrow otherwise it's adding it to the window (or undefined in strict mode).
2016-11-03 16:04:17 -07:00
Nathan Sobo
4ce0f5c509 Merge pull request #13095 from atom/fb-vj-follow-through
Introduce follow through behavior for tooltips
2016-11-02 08:31:19 -06:00
Nathan Sobo
f293b80e60 Merge pull request #13124 from atom/ns-preseve-shadow-specificity
Preserve specificity when transforming atom-text-editor::shadow
2016-11-02 08:30:21 -06:00
Michelle Tilley
0846a2cdcc Default source map compiler to .js just like Node 2016-11-01 12:21:02 -07:00
Michelle Tilley
1a3ca35df3 Fix typo 2016-11-01 12:17:24 -07:00
Christopher Chedeau
6f5e0ec48a Introduce follow through behavior for tooltips
Inside of Nuclide, we have multiple places where we have multiple icons close together that have a tooltip: the left toolbar, the bottom status bar, the debugger icons...

The current behavior is very frustrating as you've got to wait for the delay on every single one of them. But, we have a clear signal that the user wants a tooltip when s/he waits the time to see it and it's likely that moving the mouse over the next item quickly means that s/he wants to see it as well.

This pull request introduces the concept of follow through: if you have seen a tooltip, you're going to instantly see tooltip on the next element you mouse over within a short timer (300ms right now).

Test Plan:
Video before:
![](http://g.recordit.co/7PCg0hjohP.gif)

Video after:
![](http://g.recordit.co/9OnZCvy9oI.gif)

Released under CC0
2016-11-01 11:35:06 -07:00
Michelle Tilley
55a8be5a6c Don't modify original transpiler specs 2016-11-01 11:32:33 -07:00
Michelle Tilley
94f603e50a Pass package info to transpilers 2016-11-01 10:54:26 -07:00
Nathan Sobo
4ccd700871 Preserve specificity when transforming atom-text-editor::shadow
Simply replace ::shadow with .editor to preserve the specificity of the
transformed rule. This isn't beautiful, but it's the only way to
guarantee that the styling transition is smooth enough to justify not
bumping the major.
2016-11-01 11:23:29 -06:00
Michelle Tilley
de9ca2d4d5 Merge pull request #13101 from atom/mkt-package-specific-transpilation
Per-package transpilation
2016-11-01 09:58:02 -07:00
Michelle Tilley
cb959f33d6 👕 2016-11-01 09:55:37 -07:00
Michelle Tilley
f2ee0f01f5 Modernify PackageTranspilationRegistry 2016-11-01 08:55:40 -07:00
Michelle Tilley
2d3afb431c Include package name as part of cache key 2016-10-31 23:21:13 -07:00
Michelle Tilley
ef5897e72b 👕 2016-10-31 19:57:09 -07:00
Michelle Tilley
5c885e6947 We don't want no node_modules 2016-10-31 16:53:24 -07:00
Michelle Tilley
1bc1b49f84 Expect transpilation result on .code 2016-10-31 16:42:33 -07:00
Michelle Tilley
00a020d175 Move call to fs.realpathSync to CompileCache 2016-10-30 10:41:33 -07:00
Michelle Tilley
2be42a16e0 Throw when can't find custom transpiler 2016-10-30 10:21:11 -07:00
Michelle Tilley
4a03874af0 Call on transpiled code 2016-10-29 22:09:59 -07:00
Michelle Tilley
8521e47e20 compile ➡️ transpile 2016-10-29 21:58:09 -07:00
Michelle Tilley
07d13c1855 Include user data in cache calculation 2016-10-29 21:56:54 -07:00
Michelle Tilley
57e36562df 🔥 Extra // in eslint comment 2016-10-29 21:17:49 -07:00
Michelle Tilley
8abdabb66d Fix linting issues/errors 2016-10-29 16:46:52 -07:00
Michelle Tilley
0c9ea6c67d Remove lookup in favor of passed arg 2016-10-29 15:29:21 -07:00
Michelle Tilley
eafc281025 🔥 console 2016-10-29 15:25:24 -07:00
Michelle Tilley
0f61b79049 🔥 transpilerHashes 2016-10-29 15:24:29 -07:00
Michelle Tilley
b111941022 Implement glob checking and multiple transpilers 2016-10-29 15:18:34 -07:00
Michelle Tilley
4f7b22c84e Pass config options to package transpilers 2016-10-29 14:38:25 -07:00