Commit Graph

37157 Commits

Author SHA1 Message Date
Rafael Oleza
6fcfaffa04 Do not depend on CONFIG.executableName on the windows tests
CONFIG.executableName depends on the ATOM_RELEASE_VERSION env variable
to work correctly on nightly releases.

Since this env variable is not being set for the testing steps, the
nightly release builds contain a wrong executableName on the testing
step, which causes a failure when trying to find the Atom executable.

This commit fixes that by stop using the executableName from the test
step, like it's done on other platforms.
2019-07-17 11:40:39 +02:00
Rafael Oleza
35bc01f7a3
Merge pull request #19675 from atom/fix-signing-issues
Use the correct executable name on the code signing tool
2019-07-16 19:25:22 +02:00
Rafael Oleza
27e9ab8d32 Use the correct executable name on the code signing tool 2019-07-16 18:32:24 +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
Rafael Oleza
fd6e9763a0 Fix squirrel-update specs 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
f8bae3f84c
Merge pull request #19625 from atom/update-find-and-replace
⬆️ find-and-replace@0.219.0
2019-07-03 04:05:24 -07:00
Rafael Oleza
2b552482dd ⬆️ find-and-replace@0.219.0 2019-07-03 11:36:36 +02:00
Antonio Scandurra
3777fdf94b Upgrade language-php@0.44.2 2019-07-02 12:17:53 +02:00
Rafael Oleza
22f43f1f7d
Merge pull request #19622 from atom/update-fuzzy-finder
⬆️ fuzzy-finder@1.14.0
2019-07-02 11:31:17 +02:00
Rafael Oleza
e2938867da ⬆️ fuzzy-finder@1.14.0 2019-07-02 10:34:29 +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
3210eacdcc
Merge pull request #19618 from atom/fix-empty-result
Fix issue when ripgrep returns matches that are empty
2019-07-01 14:19:22 +02:00
Rafael Oleza
3d2d439f93 Fix issue when ripgrep returns matches that are empty 2019-07-01 12:49:06 +02:00
Rafael Oleza
401248d7e8
Merge pull request #19612 from atom/debounce-resize-event
Debounce the resize event handler
2019-06-28 20:35:41 +02:00
Rafael Oleza
7593d49a89 Debounce the resize event handler 2019-06-28 18:51:43 +02:00
Rafael Oleza
b6dd3408ab
Merge pull request #19607 from atom/send-os-version
Send OS version to the autoupdate endpoint
2019-06-27 13:00:36 +02:00
Rafael Oleza
3a4fed4201 Send OS version to the autoupdate endpoint 2019-06-27 11:43:36 +02:00
Nathan Sobo
c9715548be ⬆️ language-javascript@0.132.0 2019-06-26 15:10:16 -06:00
Nathan Sobo
b69fbe539b ⬆️ find-and-replace@0.218.15 2019-06-26 11:11:20 -06:00
Rafael Oleza
e397159e18
Merge pull request #19603 from atom/update-fuzzy-finder
⬆️ fuzzy-finder@1.13.9
2019-06-26 18:56:22 +02:00
Nathan Sobo
193da8ff50
Merge pull request #19597 from atom/ns/remove-travis
Rely on Azure Pipelines instead of Travis for Linux builds
2019-06-26 08:46:06 -07:00
Rafael Oleza
cce8c1c872 ⬆️ fuzzy-finder@1.13.9 2019-06-26 17:04:06 +02:00
Rafael Oleza
698b581106 Run prettier 2019-06-26 16:32:07 +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
Rafael Oleza
8eb8dbb715
Merge pull request #19600 from atom/upgrade-spellchecker
⬆️ spellchecker@3.6.1
2019-06-26 10:58:00 +02:00
Rafael Oleza
914ff77f0d ⬆️ spellchecker@3.6.1 2019-06-26 10:04:03 +02:00
Nathan Sobo
c919744f0e Rely on Azure Pipelines instead of Travis for Linux builds 2019-06-25 14:28:27 -06:00
Linus Eriksson
2d6cc4f172 Use a different name depending on channel
This makes Atom beta install in %LOCALAPPDATA%\atom-beta and stable in 
%LOCALAPPDATA%\atom so that installs are side by side
2019-06-25 17:58:50 +02:00
Linus Eriksson
0ac07e7f32 Specify exe in the metadata
Because we changed it to be atom-beta.exe on beta for example this is 
required for electron-winstaller to find the executable
2019-06-25 17:58:28 +02: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
Antonio Scandurra
54a79eede3 Upgrade language-javascript to v0.130.2
Co-Authored-By: Nathan Sobo <nathan@github.com>
2019-06-25 16:57:44 +02:00
Antonio Scandurra
45ef670303 Delete implementation-dependent test
Co-Authored-By: Nathan Sobo <nathan@github.com>
2019-06-25 16:40:25 +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
Winston Liu
fe213072f2
Merge pull request #19590 from UziTech/patch-8
fix comment docs
2019-06-25 07:44:10 -04: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