Commit Graph

17461 Commits

Author SHA1 Message Date
Musa Ibrahim
83ff98c1ee Merge pull request #20098 from atom/window-spec-suite
Fixed unable to copy selected text from spec-suite window
2019-11-12 08:07:19 +01:00
Darangi
6406007fd7 Fixed unable to copy selected text from spec-suite window 2019-11-01 10:45:08 +01:00
Alexis King
15c7ea0c72 🐛 Recognize git worktree directories as valid git repositories
fixes #8168
2019-08-23 14:02:54 -05:00
Max Brunsfeld
fce07b298b Detect the end of an injected tree based on the iterator's state 2019-08-01 14:49:11 -07:00
Antonio Scandurra
0693b4f48c Report scopes from shallower layers at the start or end of an injection 2019-08-01 15:48:00 +02:00
Nathan Sobo
40ad380206 Only cover parent scope boundaries if nested layer has a scope boundary 2019-07-29 15:27:47 -06:00
Rafael Oleza
f7f002fd20 Merge branch 'master' into electron-4 2019-07-19 17:35:28 +02:00
Rafael Oleza
d7f7b4f0aa Merge pull request #17813 from atom/dw-windows-separate-channels
Enable multiple release channels to be installed side-by-side on Windows
2019-07-16 16:51:02 +02:00
Rafael Oleza
603800f201 Do not add the release channel on stable versions of Atom
This is done to avoid changing the application user model id on Atom
stable, which prevents pins from currently installed Atom stable
versions to stop working.
2019-07-15 18:08:58 +02:00
Antonio Scandurra
059a7a5106 Merge pull request #19602 from UziTech/patch-9
Update getInvisibles documentation
2019-07-15 11:26:47 +02:00
Linus Eriksson
3711c525a8 Rename the sh commands in the bin folder
This fixes an issue where atom stable would not launch correctly from 
powershell if it was not the first entry in path because it tries to 
execute the shell script from another channel
2019-07-05 16:57:02 +02:00
Rafael Oleza
415861f1f9 Fix creation of binary folders
On cbe54954f4 I forgot to update the
callers of handleStartupEvent() and restartAtom() which no longer expect
an app object to be passed.
2019-07-04 17:44:08 +02:00
Linus Eriksson
00ff473754 👕 2019-07-04 15:25:41 +02:00
Rafael Oleza
f0a4dcd46b Make get-app-name module compatible with the renderer process
This module is required both from the main process and the renderer
process, since `win-shell.js` is also required from both processes
(which is nuts).

In order to make it work when used from the main process, `get-app-name`
just falls back to use the `atom-environment` `getAppName()` method.
2019-07-04 15:21:32 +02:00
Linus Eriksson
0dfd8d409f Append the release channel to the AppUserModelId
This allows each release channel to be pinned separately on Windows
2019-07-04 14:58:03 +02:00
Rafael Oleza
cbe54954f4 Revert breaking changes on the WinShell module
In earlier commits from this PR, some breaking changes were done to the
WinShell module, which cause some issues on the `settings` package (and
potentially other packages).

Since these breaking changes are not needed (and they don't provide even
a better API), this PR reverts them to keep the previous contract.
2019-07-04 14:14:47 +02:00
Rafael Oleza
f7b7545fd0 Create get-app-name module that returns correct application name
Before, in order to retrieve the application name, Electron's
`getName()` method was used (https://electronjs.org/docs/api/app#appgetname).

Now, instead, we also use the Atom version in order to calculate the release
channel and be able to have it on the app name (e.g `Atom Nightly`).
2019-07-04 13:21:14 +02:00
Rafael Oleza
0578c0626e Merge branch 'master' into dw-windows-separate-channels 2019-07-04 10:34:39 +02:00
Rafael Oleza
9ae30a3545 Merge pull request #19615 from dwelle/ripgrep-pcre2
Add ripgrep pcre2 search support
2019-07-01 18:18:36 +02:00
dwelle
ef7b910ed0 Add ripgrep pcre2 support
👕 fix lint

Co-Authored-By: Rafael Oleza <rafeca@gmail.com>

fix passing PCRE2 flag in specs

👕 fix lint
2019-07-01 14:51:28 +02:00
Rafael Oleza
3d2d439f93 Fix issue when ripgrep returns matches that are empty 2019-07-01 12:49:06 +02:00
Rafael Oleza
7593d49a89 Debounce the resize event handler 2019-06-28 18:51:43 +02:00
Rafael Oleza
3a4fed4201 Send OS version to the autoupdate endpoint 2019-06-27 11:43:36 +02:00
Rafael Oleza
58a10a2cc9 Merge branch 'master' into dw-windows-separate-channels 2019-06-26 16:14:12 +02:00
Tony Brix
f6f90284f3 Update getInvisibles documentation
fixes #16042
2019-06-26 09:03:59 -05:00
Antonio Scandurra
4da97a5a87 Merge pull request #19594 from atom/as-ns/fix-restarting-after-update-on-windows
Spawn updated Atom immediately instead of waiting for `will-quit` event
2019-06-25 17:29:36 +02:00
Antonio Scandurra
a2f5f593f6 Merge pull request #19591 from atom/ns-jr/upload-crash-reports
Upload Electron crash reports to Bugsnag via Atom.io if user has consented to Telemetry
2019-06-25 17:29:23 +02:00
Rafael Oleza
b6644dfad8 Merge branch 'master' into dw-windows-separate-channels 2019-06-25 15:49:34 +02:00
Antonio Scandurra
466a1ff18a Spawn updated Atom immediately instead of waiting for will-quit event
Spawning the new version of Atom within a `will-quit` handler would 
cause Electron to quit before having a chance to actually run the 
executable.

There may still be a possibility of raciness between closing the old 
version of Atom and opening the new one, causing resource contention 
between the two processes (e.g., IndexedDb) or failing to spawn the new 
process before the previous one quits. Addressing such raciness 
perfectly would require a much more complex solution and this approach 
is working for us consistently in our tests.

Co-Authored-By: Nathan Sobo <nathan@github.com>
2019-06-25 15:47:33 +02:00
Nathan Sobo
a582a1a188 Fix lint error 2019-06-24 17:01:25 -06:00
Nathan Sobo
9793c74835 Include the release channel in data posted to Atom.io with crashes 2019-06-24 16:44:01 -06:00
Nathan Sobo
6042f7c819 Include architecture in data posted to Atom.io with crashes 2019-06-24 16:22:44 -06:00
Nathan Sobo
47d9bbf938 Add platformRelease to data posted to Atom.io with crashes
Co-Authored-By: Jason Rudolph <jason@jasonrudolph.com>
2019-06-24 15:54:56 -06:00
Nathan Sobo
0e46298648 Remove redundant info when starting crash reporter
Co-Authored-By: Jason Rudolph <jason@jasonrudolph.com>
2019-06-24 15:48:55 -06:00
Nathan Sobo
d90c34a7f5 Post crash reports to https://atom.io/crash_reports if consented
Co-Authored-By: Jason Rudolph <jason@jasonrudolph.com>
2019-06-24 15:36:50 -06:00
Tony Brix
c96b4a9774 fix comment docks 2019-06-24 14:47:40 -05:00
Rafael Oleza
5b61fbaf3a Merge branch 'master' into electron-4 2019-06-24 10:17:21 +02:00
Benjamin Gray
cec3b058fb restore tree-sitter in grammar iterator 2019-06-21 15:19:36 +10:00
Benjamin Gray
a92c86f194 Default to no Tree-sitter grammars 2019-06-21 14:57:31 +10:00
Benjamin Gray
4bcb51984e Merge branch 'master' of github.com:atom/atom 2019-06-21 01:34:41 +10:00
Benjamin Gray
2cc3bff1be fix lint 2019-06-20 14:29:01 +10:00
Benjamin Gray
4cc1afbb68 imitate public interface 2019-06-20 14:09:55 +10:00
Max Brunsfeld
288cd124b7 Fix exception when multiple language layers are not yet highlighted 2019-06-19 10:11:22 -07:00
Max Brunsfeld
5e6770bb3f Implement scope boundary deduping by detecting each duplicate 2019-06-18 14:35:40 -07:00
Max Brunsfeld
f7b8e5f12f Implement .compare on NullHighlightIterator 2019-06-17 17:52:55 -07:00
Max Brunsfeld
ea6d06152b Load language-rust at snapshot-generation time 2019-06-17 17:29:18 -07:00
Max Brunsfeld
7bfd33c519 Add includeChildren injection point API, use it for rust injections 2019-06-17 16:54:15 -07:00
Rafael Oleza
5ddb665831 Merge branch 'master' into electron-4 2019-06-15 10:26:34 +02:00
Nathan Sobo
2ea1f359cb Merge pull request #19538 from atom/as-ns/tokenized-line-tokens-shim
Shim tokens in TokenizedLines returned from TreeSitterLanguageMode
2019-06-14 15:06:22 -07:00
Nathan Sobo
228f12eb61 Fix lint error 2019-06-14 14:14:27 -06:00