Commit Graph

31454 Commits

Author SHA1 Message Date
Nathan Sobo
73f04fdaed Focus the active center pane when hiding a dock 2017-04-05 20:58:05 -06:00
Max Brunsfeld
9ecbc85be5 Remove more usages of getView, document getElement API 2017-04-05 17:02:59 -07:00
Max Brunsfeld
78d8e67609 Add Gutter.getElement, remove Gutter view provider 2017-04-05 17:01:54 -07:00
Max Brunsfeld
2ed0724fc4 Remove unnecessary calls to ViewRegistry.getView 2017-04-05 16:50:04 -07:00
Max Brunsfeld
6344f9884d Add PaneAxis.getElement, remove PaneAxis view provider 2017-04-05 16:25:53 -07:00
Max Brunsfeld
d0421a75c8 Add Panel.getElement and remove Panel view provider 2017-04-05 16:10:21 -07:00
Max Brunsfeld
e40ef03008 Fix Workspace.open test for activating existing items in docks 2017-04-05 16:03:33 -07:00
Max Brunsfeld
d1e8e359ce Add PanelContainer.getElement, remove PanelContainer view provider 2017-04-05 16:03:33 -07:00
Max Brunsfeld
6f0b1947ee Use Workspace.getElement in tests 2017-04-05 15:32:00 -07:00
Max Brunsfeld
6d55371930 Add Workspace.getElement method, remove WorkspaceElement view provider 2017-04-05 15:32:00 -07:00
Nathan Sobo
88422ee4c9 Focus the active pane of docks when they are activated 2017-04-05 15:35:47 -06:00
Nathan Sobo
334290aaa7 Resize dock to fit on double-click of resize handle 2017-04-05 12:45:29 -07:00
Nathan Sobo
095dc71ba9 Rename getPreferredInitialHeight/Width to getPereferredHeight/Width 2017-04-05 12:45:29 -07:00
Max Brunsfeld
8b407bf48f Don't allow opening docks by clicking on the resize handle 2017-04-05 12:45:29 -07:00
Max Brunsfeld
c810ac4f5b Merge pull request #14136 from atom/mb-ns-dont-auto-open-dock-when-adding-item
Open docks when activating their panes, but not when adding items
2017-04-05 12:44:21 -07:00
Max Brunsfeld
caafa41f6f Open docks when activating their panes, but not when adding items 2017-04-05 12:00:38 -07:00
Nathan Sobo
6ac29939e5 Merge pull request #14125 from atom/mb-ns-open-with-item
Allow workspace item objects to be passed to Workspace.open
2017-04-05 12:59:03 -06:00
Nathan Sobo
1a6b268cab ⬆️ markdown-preview to not depend on implicit pane item copying 2017-04-05 11:38:35 -06:00
Nathan Sobo
a74d561f3c Merge pull request #14134 from atom/fb-mdt-dont-store-default-locations
Don't store default locations
2017-04-05 10:59:01 -06:00
Nathan Sobo
a8a5f832fc ⬆️ tabs to fix tests 2017-04-05 10:48:31 -06:00
Max Brunsfeld
e14e31d9b5 Don't copy workspace items that don't implement .copy()
Signed-off-by: Nathan Sobo <nathan@github.com>
2017-04-05 10:48:31 -06:00
Thomas Johansen
0ca1cf166a Merge pull request #14135 from atom/jasonrudolph/tweak-contributing-doc
📝 Minor edits to CONTRIBUTING.md
2017-04-05 08:41:04 +02:00
Damien Guard
96ddc516f6
Run x64 before x86 Windows builds 2017-04-04 15:34:00 -07:00
Matthew Dapena-Tretter
fed2372c30 Don't store default locations
This will probably be less confusing for developers experimenting with
changing the default location. Also, we avoid storing extra info we
don't really need.
2017-04-04 14:49:34 -07:00
Bryant Ung
8bc325b922 Merge pull request #14063 from dietmar/linux_middle_mouse_8648
fixing middle mouse button clipboard paste on linux (atom:atom#8648)
2017-04-04 14:22:40 -07:00
Jason Rudolph
6187dfe1d2
📝 Use consistent capitalization for all items in list 2017-04-04 16:59:25 -04:00
Jason Rudolph
672754f1b0
📝 Use imperative phrasing for all items in list 2017-04-04 16:58:58 -04:00
Jason Rudolph
3f98ce2ac8
📝 s/suggestions is/suggestion is 2017-04-04 16:58:12 -04:00
Jason Rudolph
3885b34656
📝 s/a code blocks/a code block 2017-04-04 16:57:08 -04:00
Jason Rudolph
a36b6c4bd3
📝 Remove extraneous word 2017-04-04 16:57:03 -04:00
Matthew Dapena-Tretter
881cbbd17f Add delete() method to StateStore
This allows us to delete single items.
2017-04-04 13:45:14 -07:00
Max Brunsfeld
32ff2f37d9 Merge pull request #14108 from atom/fb-mdt-remember-moved-item-positions
🐛 Fix observation of moved items
2017-04-04 10:20:24 -07:00
Nathan Sobo
56cefbbc63 Support passing items to Workspace.toggle and .hide
Also, ensure that passing an item that is not yet present in the
workspace does not interfere with resolving the location where we want
to place the item.
2017-04-04 11:18:12 -06:00
Max Brunsfeld
1552854f3b Allow workspace item objects to be passed to Workspace.open 2017-04-04 11:18:12 -06:00
Antonio Scandurra
0e1bc58310 ⬆️ electron-link 2017-04-04 11:36:49 +02:00
Wliu
03be104141 Merge pull request #14119 from cs150bf/fix-14109-and-13978
Fix issue #14109 and #13978
2017-04-03 19:07:17 -04:00
Nathan Sobo
67fc7d0ccb Merge pull request #14107 from atom/fb-mdt-open-always-adds-item
Always add opened items to the workspace
2017-04-03 15:42:11 -06:00
Nathan Sobo
95be4c5c99 Upgrade bundled packages to not rely on activateItem: false
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2017-04-03 13:36:52 -06:00
Antonio Scandurra
d9ebd7e125 Merge pull request #14116 from atom/as-main-module-path-variable
Assign `Package.prototype.mainModulePath` eagerly for preloaded packages
2017-04-03 14:48:35 +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
Antonio Scandurra
6ecb9086ee Assign Package.prototype.mainModulePath eagerly for preloaded packages
Many packages currently use this instance variable instead of calling
`Package.prototype.getMainModulePath`. With this commit we will eagerly
compute it for preloaded packages too and therefore prevent third party
packages that rely on this implementation detail from breaking.
2017-04-03 14:11:23 +02:00
Antonio Scandurra
6a8d0915db Fix deactivating and reactivating preloaded package 2017-04-03 10:34:32 +02:00
Antonio Scandurra
cef72fd66f Merge pull request #14080 from atom/as-preload-packages
Packages preloading
2017-04-03 09:59:34 +02:00
Wliu
98b40c98da 📝 Update Arch dependencies
Fixes #14110
[ci skip]
2017-04-02 11:30:50 -04:00
Damien Guard
cf1d66f88c Merge pull request #14104 from kierans/fix-build-scripts
Fixes #14102 to use ATOM_HOME if present.
2017-04-01 19:02:56 -07:00
simurai
1ebd317f1a ⬆️ one-light-ui@v1.10.0 2017-04-01 10:41:22 +09:00
Matthew Dapena-Tretter
4ed53578ce 🐛 Fix observation of moved items
`PaneContainer::onDidAddPaneItem` isn't triggered on moves.
2017-03-31 16:48:49 -07:00
Lee Dohm
22807a1aa3
⬆️ autocomplete-plus@2.35.1 2017-03-31 15:15:01 -07:00
Matthew Dapena-Tretter
9663101671 Always add opened items to the workspace
This commit changes the behavior of `open()` so that the item will be
added to the workspace—even if the `activateItem` option is false.

This provides a way to open (and add) an item without activating it,
but removes the ability to open without adding. For that, we've made
the `createItemForURI()` method public 😊
2017-03-31 14:17:09 -07:00
Nathan Sobo
5557219fbc Merge pull request #14027 from atom/fb-mdt-save-focused-pane-item
Add `saveFocusedPaneItem()` and call it in "core:save" command
2017-03-31 13:57:50 -06:00