Nathan Sobo
5cb550b09d
Remove Pane's subclassing of Model
2017-04-06 12:06:46 -06:00
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
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
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
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
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
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
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
Antonio Scandurra
cef72fd66f
Merge pull request #14080 from atom/as-preload-packages
...
Packages preloading
2017-04-03 09:59:34 +02: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
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
Matthew Dapena-Tretter
dec52a7384
Add atom.workspace.hide()
...
This adds an method for hiding items by URI and re-implements
`toggle()` in terms of it. (tbh it's really just extracting most of
`toggle()` into a new function.)
2017-03-30 17:37:55 -07:00
Max Brunsfeld
817467f0a8
Merge branch 'master' into fb-mdt-docks
2017-03-30 11:16:21 -07:00
Lee Dohm
6a76ef5dd6
Merge pull request #13764 from atom/wl-dont-soft-wrap-minis
...
Disable soft wrap on mini editors
2017-03-29 14:38:47 -07:00
Matthew Dapena-Tretter
0d12396bf3
Add saveFocusedPaneItem() and call it in "core:save" command
...
Also, do the same for "core:save-as" and `saveFocusedPaneItemAs()`.
This behavior change means that pane items in docks (#13977 ) will be
savable too.
2017-03-28 14:05:29 -07:00
Antonio Scandurra
eabe693179
Fix spec/package-spec.coffee
2017-03-28 12:26:03 +02:00
Antonio Scandurra
de47a26c5d
WIP: Start preloading packages
2017-03-28 10:22:29 +02:00
Matthew Dapena-Tretter
3b23ab44bc
Add getLocation() to PaneContainer class
...
This allows the location to be inspected without having to jump to the
DOM and searching for a dock element.
2017-03-27 17:45:21 -07:00
Dietmar Schabus
2c6b7973f9
adding spec pinpointing atom:atom#8648 which now passes
2017-03-26 19:44:43 +02:00
Max Brunsfeld
4082b67fb0
Refactor Workspace.open
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2017-03-24 15:35:52 -07:00
Michelle Tilley
42fb2cc55f
Convert more tests to use emitterEventPromise
2017-03-24 00:32:15 -07:00
Michelle Tilley
ae64b35dca
We need more time
2017-03-23 23:58:27 -07:00
Michelle Tilley
67a9e19bf9
Oh we can put this back now
2017-03-23 23:48:19 -07:00
Michelle Tilley
2ee692d3cf
Fix up helpers
2017-03-23 23:44:27 -07:00
Michelle Tilley
3ab08754db
These should probably be here
2017-03-23 23:42:55 -07:00
Michelle Tilley
132f199fae
Fix main process test race conditions
2017-03-23 23:37:18 -07:00
Michelle Tilley
6b92bd041a
Add emitterEventPromise helper
2017-03-23 23:37:06 -07:00
Michelle Tilley
3c47b775d2
Let's make that async pls
2017-03-23 21:28:12 -07:00
Matthew Dapena-Tretter
52606171bf
Add "location" param to open()
2017-03-23 18:50:40 -07:00
Matthew Dapena-Tretter
d9e1fcc70b
Merge branch 'master' into HEAD
...
* master: (43 commits)
If one arch fails, kill the other for perf on appveyor
⬆️ dalek@0.2.1
Revert "⬆️ all packages that use atom-select-list"
⬆️ atom-keymap
⬆️ status-bar
⬆️ all packages that use atom-select-list
⬆️ language-ruby@0.71 .0
⬆️ autocomplete-css@0.16 .1
Ensure `packagesCache` exists before accessing it
🎨
⬆️ less-cache
Use `core/` instead of `<embedded>` for keymaps loaded during snapshot
Set also defaultSettings.core.projectHome when initializing Config
Fix tests
⬆️ atom-keymap
Replace CommandRegistry.addBundled with a boolean param in .add
Delete unused build scripts
🔥 Remove parserlib
Resolve style sheets paths during `script/build` for bundled packages
Don't use cached less sources and imported files in dev mode
...
2017-03-23 18:47:46 -07:00
Michelle Tilley
0f6489e347
Use test-until for more flexible test timeout
2017-03-23 16:51:59 -07:00
Michelle Tilley
648055c5a9
Just to be sure, let's use a longer timeout
2017-03-23 16:29:01 -07:00