Commit Graph

15145 Commits

Author SHA1 Message Date
Damien Guard
01de6855f1 Properly escape &^| chars in commands on Windows. Fixes #13178 2016-12-02 13:20:07 -08:00
Antonio Scandurra
8efbc513e4 Replace space-pen with atom-select-list in ReopenProjectListView
Signed-off-by: Damien Guard <damieng@github.com>
2016-12-02 20:09:20 +01:00
Antonio Scandurra
756e6e4641 Activate packages immediately if hook had already been triggered 2016-12-02 12:56:51 +01:00
Nathan Sobo
20088cff75 Use position translation to detect soft wraps when rendering line nums
Signed-off-by: Antonio Scandurra <as-cii@github.com>
2016-12-01 14:41:05 -07:00
Nathan Sobo
4716ad8ef3 Merge pull request #13358 from atom/fb-mdt-initialize-hook
Add initialize() hook to packages
2016-12-01 01:53:43 -07:00
Matthew Dapena-Tretter
25518b9c8e Add initialize() hook to packages 2016-11-30 14:27:29 -08:00
Damien Guard
701b08ca90 Fix package-transpilation-registry tests on Win32 2016-11-29 16:55:14 -08:00
Damien Guard
bd2f6d641a Fix id/source-path for themes on Win32 2016-11-29 16:55:14 -08:00
Damien Guard
20b29fb0f0 Support node's option.shell entirely, buffered-process tests now pass on Windows 2016-11-29 16:55:14 -08:00
Max Brunsfeld
ef99fbcf0b Merge pull request #13350 from atom/mb-fix-highlights-on-horizontal-scroll
Fix highlight movement when horizontally scrolling
2016-11-29 09:30:08 -08:00
Christopher Chedeau
cd781b9f9d Flush DOM before displaying context menu
Released under CC0
2016-11-28 19:03:32 -08:00
Max Brunsfeld
0352820d8c Fix error in highlight region width calculation 2016-11-28 17:32:03 -08:00
Nathan Sobo
a8930dfeba Document avoidOverflow option 2016-11-28 15:08:34 -07:00
Nathan Sobo
f4c45c1e39 Rename stable: true to avoidOverlay: false and fix tests
As part of the test fixes, I’m honoring the `autoscroll: false` option
in `insertText` and `insertNewline` to avoid inadvertently scrolling the
editor during tests when the editor is modified.
2016-11-28 12:45:05 -07:00
Mike J Innes
20545ad41d Update text-editor-presenter.coffee 2016-11-28 11:08:39 +00:00
Mike J Innes
e5ab835357 add stable option 2016-11-28 11:08:38 +00:00
Antonio Scandurra
c673362676 Merge pull request #13300 from atom/as-select-list-view
Include relatedTarget when dispatching blur events from editor elements
2016-11-28 09:44:28 +01:00
Damien Guard
f198a0fd71 Add support for cp850 Fixes #13342 2016-11-27 19:25:31 -08:00
Damien Guard
46b90d77e1 Rename windows866 to cp866, fixes atom/encoding-selector#36 2016-11-27 18:19:45 -08:00
Joe Fitzgerald
b2ff95caf4 Run shell as detached process
- Implement timeout
- Clean up running process if window is reloaded or Atom exits
2016-11-24 10:39:16 -07:00
Lukas Geiger
e64f50725b 👕 Fix lint error 2016-11-24 02:47:03 +01:00
Lukas Geiger
1c9336de21 Fix #12528 2016-11-24 01:45:33 +01:00
Antonio Scandurra
f160ccecd1 Include relatedTarget when dispatching blur events from TextEditorElement 2016-11-23 18:15:18 +01:00
Damien Guard
5d313cead7 Enable recent files, projects, new window task on Windows taskbar 2016-11-22 22:40:52 -08:00
Akonwi Ngoh
2a75e7d928 📝 Update documentation for ::getConfigValue
Adds the `key` argument to the function documentation
2016-11-21 11:57:35 -05:00
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
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
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