Commit Graph

17487 Commits

Author SHA1 Message Date
Mazen Elkashef
4a9d56f52c Merge pull request #20899 from aminya/getAvailablePackages
Faster atom.packages.getAvailablePackages
2020-07-10 15:35:37 -05:00
Amin Yahyaabadi
d6cc11af89 Rename packagePaths to packageNames
Co-authored-by: Sadick <sadickjunior@gmail.com>
2020-07-08 08:55:02 -05:00
Moni
32bd100cff fix typos
Signed-off-by: Moni <usmoni@gmail.com>
2020-06-25 21:32:30 -04:00
Amin Yahyaabadi
6ef38f3810 lint 2020-06-21 19:03:04 +00:00
Tony Brix
21580aa170 fix multi cursor correct setting 2020-06-11 11:13:32 -05:00
Amin Yahyaabadi
6b807f7b29 run prettier 2020-06-08 05:58:05 +00:00
Amin Yahyaabadi
35f18fd99d using withFileTypes to filter out non-folders
no need to use path.basename
2020-06-08 01:38:15 +00:00
Amin Yahyaabadi
fa4201a0a8 unnecessary directory check 2020-06-07 06:19:58 +00:00
Mazen Elkashef
b7cc8d7cbb Merge pull request #20547 from sht/fix-config-promise
Await configuration loading on Windows
2020-06-05 22:53:09 -05:00
Akonwi Ngoh
e295d6a56b Enable webview support with the correct option 2020-05-30 14:42:23 -04:00
Tasos Papalyras
230185fb74 Fix lint errors 2020-05-19 23:37:00 +03:00
Tasos Papalyras
3a70292254 Force CI build 2020-05-19 23:12:38 +03:00
Mazen Elkashef
f32bc9f0fd Update atom-window.js
Fixes https://github.com/atom/atom/issues/20604
2020-05-15 14:24:05 -05:00
Mazen Elkashef
4feca894e1 Merge pull request #20444 from UziTech/disable-multicursor
feat: add setting to disable multi cursor on click
2020-05-13 06:29:17 -05:00
Mazen Elkashef
ef6cc4ad2b Merge pull request #20347 from robobenklein/patch-1
If Text Editor Component uses the scroll event, consume it / prevent bubbling
2020-04-03 14:04:33 -05:00
Musa Ibrahim
6f2b863114 Merge pull request #19862 from Aerijo/html
Add overlay when resizing panels to prevent panes stealing focus
2020-03-31 21:26:11 +01:00
Tasos Papalyras
d264d01560 Force CI build 2020-03-23 09:35:54 +02:00
Tasos Papalyras
92db49314f Await configuration loading on Windows 2020-03-21 16:04:25 +02:00
Tony Brix
d5c3c9661d feat: add setting to disable multi cursor on click 2020-02-24 17:54:22 -06:00
Darangi
1bc06505d5 Set nodeIntegration to true 2020-01-23 18:10:52 +01:00
Ben Klein
a1b61e77ff If Text Editor Component uses the scroll event, consume it / prevent bubbling
In a normal browser the inner scrollable would scroll to the edge before then scrolling the parent. This change makes it consistent with expected HTML scroll behaviour.

Without it, the scroll event continues outside the editor to any other element containing it, even though the scroll event already was acted upon by the child (text editor component).

If a package wanted to also use the mouse wheel event when integrating into a text editor (or if the text editor itself is inside something scrollable) this change makes more sense as it prevents multiple responses to a single user input.

There doesn't appear to be any side effects to this change. (Tested on linux: Pop_OS 19.10, 1.42.0)
2020-01-22 21:21:51 -05:00
Benjamin Gray
c68310c369 rename overlay property 2019-12-07 18:42:28 +10:00
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
Benjamin Gray
82bda245c7 set z-index heigher 2019-09-01 18:54:53 +10:00
Benjamin Gray
dc18af626e add safeguard for multiple resizeStarted calls 2019-09-01 17:28:53 +10:00
Benjamin Gray
988a572b04 add overlay when resizing panels 2019-09-01 17:18:34 +10:00
Benjamin Gray
2f60ea8b01 add newline between methods 2019-09-01 10:43:57 +10: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