Commit Graph

14994 Commits

Author SHA1 Message Date
Farnabaz
a0529cc4bd fix text selection and cursor position in lines with rtl text
assume a line contain both english text and persian (rtl) text, like this
```
Sample Text متن نمونه sample text
```
atom always look at first rect size of Text Element and calculate position, this cause cursor to  place in wrong position
in our example `Range.getClientRects()` return three rects, look at this pen

http://codepen.io/farnabaz/pen/rWxrGW
2016-11-11 14:21:41 +03:30
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
Michelle Tilley
ad448184b4 First pass at per-package transpilation 2016-10-29 14:30:24 -07:00
Nathan Sobo
630f146884 Merge pull request #13098 from atom/b3-toggle-line-comments
Fix toggleLineCommentsInSelection for empty lines
2016-10-29 08:03:50 -06:00
bene
0411509b43 Fix toggleLineCommentsInSelection for empty lines 2016-10-29 14:04:30 +02:00
Ian Olsen
e5cfc6b6e4 Merge pull request #13080 from atom/remove-harmony-flag
Remove --harmony JavaScript flag
2016-10-27 13:37:01 -07:00
Max Brunsfeld
97943a3432 Shorten redundant paths to electron-shims.js 2016-10-27 13:19:55 -07:00
Max Brunsfeld
a22870fa42 Install electron shims in benchmarks
This is needed because some packages may still rely on the ability
to pass null/undefined to path.dirname and friends

Signed-off-by: Nathan Sobo <nathan@github.com>
2016-10-27 13:18:39 -07:00
Lee Dohm
505160f24c Remove --harmony JavaScript flag 2016-10-27 11:50:08 -07:00
Machisté N. Quintana
a8935bc48a Merge pull request #13065 from atom/mq-convert-more-to-js
Convert BufferedProcess and BufferedNodeProcess to JS
2016-10-27 11:36:40 -07:00
Ian Olsen
f726dcc81b Merge pull request #12922 from stereobooster/10474-prompt-to-save-unsaved-buffer
Fix for #10474
2016-10-26 16:35:43 -07:00
Damien Guard
e3e6483b80 Merge pull request #13046 from atom/dg-reopen-project
Project history api, reopen project menu and command
2016-10-26 10:21:43 -07:00
Machiste Quintana
67920efee3 Make BufferedProcess specs pass again 2016-10-25 21:51:01 -07:00
Kevin Sawicki
6f8c92488a Capitalize save in button label so keybindings work 2016-10-26 11:45:42 +09:00
Machiste Quintana
2da626eede Add missing babel directives 2016-10-24 22:41:55 -07:00
Machiste Quintana
27c9b0b833 Convert BufferedProcess to JS 2016-10-24 22:40:36 -07:00
Machiste Quintana
59055f0c48 Convert BufferedNodeProcess to JS 2016-10-24 22:18:11 -07:00
Damien Guard
8229924b96 History API, reopen project menu, command and list view 2016-10-21 15:13:59 -07:00
Antonio Scandurra
c6832d5b0e Add TextEditorElement.lightDOM to make package specs backward compatible 2016-10-17 16:19:14 +02:00
Antonio Scandurra
883bb15276 Don't trigger a blur event when focusing the same editor twice 2016-10-17 16:18:54 +02:00
Antonio Scandurra
a6999e4a82 Fix lint errors 2016-10-17 14:28:50 +02:00
Antonio Scandurra
4df74beba7 Merge branch 'master' into as-deprecate-shadow-dom 2016-10-17 12:06:00 +02:00
Machiste Quintana
d124248db0 👕 Fix linter errors 2016-10-16 09:28:33 -07:00