Commit Graph

203 Commits

Author SHA1 Message Date
Michelle Tilley
a7b52ee9cb Fix missing devMode param in AtomApplication#findPackageWithName 2017-09-18 18:52:18 -07:00
Michelle Tilley
208132fb52 Refactor AtomApplication URL opening code 2017-09-18 17:46:57 -07:00
Michelle Tilley
9e74e164b6 Merge remote-tracking branch 'origin/master' into mkt-url-based-command-dispatch 2017-09-18 16:49:12 -07:00
simurai
915e886711 Merge branch 'master' into sm-native-tabs 2017-08-24 13:52:52 +09:00
Nathan Sobo
8e6497bfba Merge pull request #15277 from captbaritone/accel
Add accelerator indicators to context menus
2017-08-15 10:40:35 -06:00
Antonio Scandurra
91b7c14281 Prompt user only once when quitting/restarting and canceling save dialog
I think this slipped through during the refactoring performed in
dc32018. With this commit we are fixing the regression and adding a new
main process regression test to exercise this behavior.
2017-08-14 12:21:19 +02:00
Jordan Eldredge
e71d8d863c Add accelerator indicators to context menus
Electron allows us to pass an "accelerator" property for each menu item, which
is renders to the right of the menu item. We were already adding these for the
application level menus.

This pull request adds the accelerator property to regular context menu items,
which should make it easier for people to discover/recall key mappings for
actions which they usually take via a context menu.
2017-08-12 15:00:44 -07:00
Ash Wilson
6c608e88bc Merge remote-tracking branch 'origin/master' into aw-filewatcher 2017-08-05 10:14:32 -04:00
Ash Wilson
97ffe46247 Consistently use require('temp').track() 2017-08-04 14:08:29 -04:00
Nathan Sobo
55748bd2c4 Document enable-electron-logging option 2017-08-02 21:12:02 -06:00
Lee Dohm
f35ca01202 Merge pull request #14795 from atom/wl-please-test-where-i-tell-you-to
Always run tests where directed
2017-07-19 15:17:52 -07:00
Damien Guard
269623c9ba Update loadSettingsJSON when paths change, fixed #13933 2017-07-11 20:46:09 -07:00
Damien Guard
68b7bf46dd Make loadSettings a property so we can change it 2017-07-11 17:04:54 -07:00
Wliu
5ca738b84c Always run tests where directed 2017-06-15 21:59:12 -04:00
Paul Betts
2c29d99f33 Directly tell Squirrel what kinds of shortcuts to create 2017-06-14 15:08:35 -07:00
TJ Kohli
5524aca461 Improved clarity of Editor not responding actions
Changed "Close" to "Force Close" because "Close" might imply closing the Alert/Dialog instead of the editor, whereas "Force Close" better describes the action that button will take.
2017-06-10 19:30:52 -04:00
simurai
b854edef07 Enable native tabs on macOS 2017-06-03 15:54:53 +09:00
Max Brunsfeld
d289ca4471 Fix unintended unload prevention for spec windows 2017-06-02 10:30:10 -07:00
Max Brunsfeld
dc320181fc Fix handling of .save and .saveAs rejections
* Make Pane.close, Pane.saveActiveItem, and Pane.saveActiveItemAs async.
* Refactor the logic for prompting to save on window unload
2017-05-31 17:46:04 -07:00
Ian Olsen
ddcf5460ed Merge pull request #14427 from atom/fb-hw-url-fix2
Fix the atom:// URL handler for real (with tests this time)
2017-05-24 08:41:43 -07:00
Lee Dohm
85e65ffd1c Merge pull request #14492 from mrngoitall/fix-report-issue-link
🐛 Fix Report Issue link to CONTRIBUTING.md
2017-05-22 12:02:41 -07:00
Antonio Scandurra
a7066e387f Fix lint errors
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-05-19 11:07:38 +02:00
Antonio Scandurra
d158e44374 Merge branch 'master' into tj-upgrade-electron 2017-05-19 11:05:15 +02:00
Will Ngo
6283463d88 🐛 Fix Report Issue link to CONTRIBUTING.md 2017-05-18 14:31:27 -07:00
Lee Dohm
b28d0445d2 Fix search issues menu link
The previous link would give a 404 when the user was not logged in to
GitHub. This link works whether logged in or not.
2017-05-17 13:01:55 -07:00
hansonw
e8cd4bf431 Fix the atom:// URL handler for real (with tests this time) 2017-05-16 11:51:54 -07:00
Antonio Scandurra
729ae0ea51 Merge branch 'master' into tj-upgrade-electron
# Conflicts:
#	script/package.json
#	src/task.coffee
2017-05-11 18:05:12 +02:00
Bryant Ung
f464bb3579 Merge pull request #13947 from anatoli26/master
Make an option to always restore the last session
2017-05-08 09:33:23 -07:00
Antonio Scandurra
ce81ac6201 Disable zoom only after the window has finished loading 2017-05-04 13:50:17 +02:00
Nathan Sobo
1f068bde62 Enable experimental web platform features
This will facilitate #13880
2017-05-03 14:21:24 +02:00
Antonio Scandurra
d9004769e0 Disable auxclick 2017-05-03 14:21:24 +02:00
Wliu
d5c13d15bf setZoomLevelLimits -> setVisualZoomLevelLimits 2017-05-03 14:21:23 +02:00
Wliu
c005f7564a Remove unneeded backgroundColor 2017-05-03 14:21:23 +02:00
hansonw
b5eca7c429 Call PackageManager.initialize from URL handler 2017-04-28 13:22:23 -04:00
Damien Guard
55c6f8b29c Merge pull request #13813 from segevfiner/patch-1
Attempt fixing exception when trying to use portable electronUserData
2017-04-09 16:24:16 -07:00
Max Brunsfeld
89f1710cfe Wait for paths to open in main process test
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-04-07 13:20:44 -07:00
Antonio Scandurra
0e1bc58310 ⬆️ electron-link 2017-04-04 11:36:49 +02:00
Hong Chen
89dae42092 Fix issue https://github.com/atom/atom/issues/14109 and https://github.com/atom/atom/issues/13978
First argument to dialog.showSaveDialog() needs to be a BrowserWindow

https://github.com/electron/electron/blob/master/docs/api/dialog.md
https://github.com/electron/electron/blob/master/lib/browser/api/dialog.js
2017-04-03 20:47:36 +08:00
Michelle Tilley
cc2cbfbb0a Emit event from AtomWindow when locations are loaded 2017-03-23 23:36:53 -07:00
Antonio Scandurra
31692f6e6c Merge branch 'master' into as-snapshot-atom-environment 2017-03-20 09:58:15 +01:00
Antonio Scandurra
ccbb276bf5 Bake source maps into the snapshot 2017-03-17 13:25:00 +01:00
Antonio Scandurra
81af989f0d Merge branch 'master' into as-snapshot-atom-environment 2017-03-16 21:08:41 +01:00
Antonio Scandurra
ad6a5ac3bf Don't send did-resolve-proxy messages to destroyed windows
This should fix some main process test failures we are observing on
AppVeyor.
2017-03-16 15:58:54 +01:00
Anatoli
a6e60762be Make an option to *always* restore the last session, no matter how Atom is invoked (#9643), part5: use _.deepClone from underscore-plus 2017-03-10 17:20:35 -03:00
Antonio Scandurra
05eb737a94 Set config schema entirely in the snapshot 2017-03-10 16:50:50 +01:00
Antonio Scandurra
c61df72548 Snapshot config, keymaps, tooltips, commands, grammars and styles 2017-03-10 16:48:00 +01:00
Antonio Scandurra
4b98843fae Merge branch 'master' into as-ns-startup-snapshot 2017-03-10 16:47:27 +01:00
Antonio Scandurra
1e040c62d9 Add AtomEnvironment.prototype.resolveProxy(url)
This new private API will allow settings-view to communicate
asynchronously with the main process to resolve proxies, instead of
using `remote` and blocking the renderer process during startup.
2017-03-10 16:08:02 +01:00
Antonio Scandurra
e61919cd60 Merge branch 'master' into as-ns-startup-snapshot 2017-03-10 15:04:26 +01:00
Antonio Scandurra
11961b09ac Merge pull request #13949 from atom/as-minimize-startup-sync-io
Minimize synchronous I/O during startup
2017-03-10 15:00:30 +01:00