Clayton Carter
19b28ed492
fix: Include -v/--version in the main usage message
2022-05-04 22:26:49 -04:00
Clayton Carter
98ab593f46
fix: Prevent the first call to yargs from responding to --help
...
The second call to yargs should be responsible for printing the main usage
message. This also fixes the `--help` description w/i the usage message,
which was only using the yargs default description.
2022-05-04 22:26:49 -04:00
Clayton Carter
0ae715d239
fix: Don't swallow console.log messages until after CLI arguments are parsed
...
yargs depends on an intact console.log to display help and usage messages,
so just delay the override by a few statements.
2022-05-04 19:37:45 -04:00
steven nguyen
b903148cb8
Remove if (reason === crashed)
...
Although `crashed` has recently been updated to `render-process-gone`, the new params don't actually have to be used. In fact maybe allowing some of the other crash-ishes could result in weird invalid state and things happening. So basically I agree with https://github.com/atom/atom/pull/23132#issuecomment-951434891
Maybe there should be a different message for the `killed` reason though
2021-10-26 20:43:39 -05:00
Musa Ibrahim
cbde3ea00d
Revert "Only allow drag-and-drop to succeed on panes in the center workspace"
2021-10-25 18:14:08 +01:00
Sadick
00b34d62c9
Merge pull request #23132 from icecream17/patch-9
...
Change from `crashed` to `render-process-gone`
2021-10-25 18:26:48 +03:00
steven nguyen
f71be55927
fix lint 2
2021-10-22 14:38:16 -05:00
steven nguyen
8f90ed28de
fix lint
2021-10-21 16:33:41 -05:00
steven nguyen
5238a022e0
change to render-process-gone
...
`crashed` is deprecated.
https://github.com/electron/electron/blob/9-x-y/docs/api/web-contents.md
Note: The previous code shows the error dialog on both the "killed" and "crashed" events. But now it's only "crashed"
2021-10-21 08:12:48 -05:00
sadick254
7c1124f1e5
Replace remote module with invoke calls.
...
The remote module has been deprecated and is set to be removed on electron version 11.
We have two options to replace the remote module
1. use @electron/remote module
2. Send messages using send/invoke.
I am using invoke since it is the
[recommended](https://www.npmjs.com/package/@electron/remote ) option to use.
2021-10-12 09:27:47 +03:00
Musa Ibrahim
b9c265c702
Merge pull request #23031 from atom/ignore-spec-window
...
Remember last opened state
2021-10-04 07:17:08 +01:00
Sadick
38f403a5e0
Merge pull request #19016 from atom/wl-clipboard-line-endings
...
Convert line endings when copy and pasting
2021-09-30 12:42:36 +03:00
Rafael Oleza
decb5e3c91
Re-apply prettier JS formatter
2021-09-29 13:41:03 +03:00
Musa Ibrahim
c24056e72d
Merge pull request #19251 from atom/wl-restrict-drag-events
...
Only allow drag-and-drop to succeed on panes in the center workspace
2021-09-29 08:53:01 +01:00
darangi
eb60e44ca7
ignore spec window when saving application state
2021-09-23 20:03:14 +01:00
Sadick
3f4b251702
Merge pull request #12513 from atom/cn-fix-invalid-delayed-package-loading
...
Reset the package's local storage setting if loading cannot be deferred
2021-09-21 12:26:54 +03:00
sadick254
d99a1d40a6
Reset the package's local storage setting if loading cannot be deferred
2021-09-21 11:15:59 +03:00
Zachinquarantine
234adb8748
Remove deprecated code strings ( #22952 )
...
Remove deprecated code strings
2021-09-20 18:52:48 +03:00
steven nguyen
17daccf502
Remove duplicate to
...
The periods for return types are inconsistent
2021-09-18 13:26:18 -05:00
Winston Liu
030cda77b0
Merge branch 'master' into wl-restrict-drag-events
2021-09-14 03:02:15 +00:00
Eric Cornelissen
3652d2ff28
Add prevent option to ::onWillDestroyPaneItem
2021-09-06 21:12:47 +02:00
Dean Brettle
84b5fd411d
Fix lint errors.
2021-09-03 11:34:37 -07:00
Dean Brettle
5cf9ed238e
Fix lint errors.
2021-09-03 11:31:21 -07:00
Dean Brettle
970728cc58
Merge branch 'master' into master
2021-09-03 10:51:14 -07:00
Sadick
4975493e80
Merge pull request #13821 from atom/wl-notification-stack-detail
...
📝 Clarify that stack only has an effect if detail is present as well
2021-09-03 07:40:40 +03:00
Winston Liu
7411b5fc5d
Merge remote-tracking branch 'origin/master' into wl-notification-stack-detail
2021-09-02 23:30:44 +00:00
sadick254
8a6581b5c5
Update Discuss links to Github Discussions links
...
Atom has recently moved to using Github Discussions as the main message
board for all Atom related stuff. It is important to have all Atom
related conversations on one platform to foster transparency.
2021-09-02 22:25:19 +03:00
Sadick
53805cd37d
Merge pull request #22685 from bennyborn/master
...
Make sure path is not undefined (#20871 )
2021-08-31 12:43:20 +03:00
sadick254
510d04bffe
Use custom element on text editor element
2021-08-18 12:55:00 +03:00
sadick254
ae937eca35
Use custom element on pane-element
...
document.registerElement is being deprecated which will make upgrading
to later versions of electron imposible
2021-08-13 08:55:18 +03:00
sadick254
848526643b
Use custom element on pane resize-handle element
2021-08-03 23:22:54 +03:00
sadick254
894a78aa3d
Use customElements
2021-07-29 07:30:53 +03:00
sadick254
d1f3d4e3bb
Use custom elements on pane container element
2021-07-29 00:00:54 +03:00
sadick254
99f95cd1b7
Remove redudant await
2021-07-28 22:44:33 +03:00
Musa Ibrahim
ad27d8431b
Merge pull request #22578 from icecream17/patch-1
...
add await to the async isValidGitDirectory
2021-07-28 18:57:33 +01:00
sadick254
e362a8f0f7
Use custom element on workspace-element
...
document.registerElement is being deprecated which will make upgrading
to later versions of electron imposible
2021-07-23 21:07:34 +03:00
sadick254
5799920e37
Spec cleanup
...
Remove unnecessary return statements
2021-07-20 22:27:18 +03:00
sadick254
2a1e10a9f9
Use custom elements on pane container element
...
document.registerElement is being deprecated which will make upgrading
to later versions of electron imposible
2021-07-20 22:17:35 +03:00
sadick254
80888a979e
Migrate to custom elements
...
document.registerElement will be deprecated which will make moving to
later electrons imposible.
2021-07-20 17:15:27 +03:00
sadick254
d53957a98b
Decaffeinate pane-resize-handle-element
2021-07-16 23:36:18 +03:00
sadick254
3833de37fe
Decaffeinate pane-axis-element
2021-07-16 22:10:06 +03:00
sadick254
747b9cbffb
Decaffeinate styles element
2021-07-15 22:13:42 +03:00
Sadick
5676dfc5d7
Merge pull request #22597 from juggernautjp/fix/not-update-menu-with-i18n
...
Fix/not update menu with i18n (#22594 )
2021-07-08 11:31:05 +03:00
juggernautjp
12d857c3e9
Delete the comment, specified by icecream17.
2021-07-06 06:21:06 +09:00
sibaki_girls
93f652b339
Update src/menu-manager.coffee
...
Co-authored-by: Sadick <sadickjunior@gmail.com >
2021-07-04 04:03:45 +09:00
sibaki_girls
f471ab2dbb
Update src/menu-manager.coffee
...
Co-authored-by: Sadick <sadickjunior@gmail.com >
2021-07-04 04:03:29 +09:00
sibaki_girls
ab7c5809db
Update src/main-process/application-menu.js
...
Co-authored-by: Sadick <sadickjunior@gmail.com >
2021-07-04 04:03:02 +09:00
sibaki_girls
74dedc268e
Update src/main-process/application-menu.js
...
Co-authored-by: Sadick <sadickjunior@gmail.com >
2021-07-04 04:02:56 +09:00
sibaki_girls
4bc1b8a779
Update src/main-process/application-menu.js
...
Co-authored-by: Sadick <sadickjunior@gmail.com >
2021-07-04 04:02:51 +09:00
sibaki_girls
9a66074706
Update src/main-process/application-menu.js
...
Co-authored-by: Sadick <sadickjunior@gmail.com >
2021-07-04 04:02:40 +09:00