17654 Commits

Author SHA1 Message Date
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
Nathan Sobo
d5604bd328 Assign originalFontSize when workspace is initialized 2019-06-14 11:44:45 -06:00
Antonio Scandurra
376b2e108e Shim tokens in tokenized lines returned from TreeSitterLanguageMode
Co-Authored-By: Nathan Sobo <nathan@github.com>
2019-06-14 19:23:57 +02:00
Benjamin Gray
f141ca35a3 Merge branch 'master' of github.com:atom/atom 2019-06-12 14:39:28 +10:00
Rafael Oleza
aa987c7866 Do not store null buffers on the cacheStore 2019-06-11 19:02:21 +02:00
Rafael Oleza
33f2bd37ee Merge pull request #19444 from atom/improvements-to-ripgrep-scanner
Improvements to ripgrep scanner
2019-06-06 16:35:36 +02:00
Antonio Scandurra
67e101d2cd Fix linter errors 2019-06-06 10:38:13 +02:00
Antonio Scandurra
e0e004604d Don't listen for arguments from new processes in test or benchmarks 2019-06-06 10:23:28 +02:00
Rafael Oleza
2d455ac5ee Use '.' as the directory for ripgrep to scan
This misteriously solves issues in Windows.
2019-06-05 16:08:31 +02:00
Rafael Oleza
8c80d13dd1 Remove logic to prepend wildcard on globs
That logic was only needed to make `ripgrep` match correctly globs like
`src` when we pass it the folder to search on.

If we don't pass the folder, `ripgrep` assumes it's the cwd and their
glob matching logic improves by allowing globs like `src`.
2019-06-05 15:07:24 +02:00
Rafael Oleza
95adde37c0 Take into account the includeHidden option in ripgrep scanner 2019-06-05 10:21:06 +02:00
Rafael Oleza
8758c399db Take into account the follow option in ripgrep scanner 2019-06-04 12:21:50 +02:00
Rafael Oleza
7652d659e5 Take into account the excludeVcsIgnores option in ripgrep scanner 2019-06-04 12:21:50 +02:00
Nathan Sobo
fdbf62db69 Document workspaceOpeners
/cc: @50wliu
2019-06-03 14:56:56 -06:00
Nathan Sobo
2d3e332b88 Merge pull request #16100 from atom/wl-deserialize-and-activate
Activate package when deserializing
2019-06-03 13:44:58 -07:00
Antonio Scandurra
d8c9d0cd0b Remove unnecessary temporary variable 2019-06-03 10:49:05 +02:00
Winston Liu
5f0aad2ec7 Merge branch 'master' into electron-4 2019-05-31 18:44:50 -04:00