Commit Graph

31475 Commits

Author SHA1 Message Date
Nathan Sobo
497eba7d24 Store center and docks in Worskpace.paneContainers sub-object 2017-04-06 17:17:05 -06:00
Nathan Sobo
52d8cbfb0e Handle (de)serialization in WorkspaceCenter 2017-04-06 17:07:20 -06:00
Nathan Sobo
f808411c96 Destroy WorkspaceCenter and Docks instead of PaneContainer 2017-04-06 16:58:33 -06:00
Nathan Sobo
f15b6d9074 Eliminate unnecessary event listener removals 2017-04-06 16:58:13 -06:00
Nathan Sobo
9c28cc0fa8 Construct WorkspaceCenter's PaneContainer instance in the constructor 2017-04-06 16:57:41 -06:00
Nathan Sobo
5bd24d9e05 Remove unnecessary subscriptions 2017-04-06 16:38:01 -06:00
Nathan Sobo
1711d10af2 Aggregate onDidStopChangingActivePaneItem events across all containers 2017-04-06 16:35:25 -06:00
Nathan Sobo
6f6ec70094 Allow items closed in docks to be reopened 2017-04-06 15:57:26 -06:00
Nathan Sobo
68f5448fbe Forward focusNext/PreviousPane to the active pane container 2017-04-06 15:50:45 -06:00
Nathan Sobo
9e1f9c0dd9 When focusing a pane, always activate its container 2017-04-06 15:47:17 -06:00
Nathan Sobo
646047f563 Maintain an active pane container on the workspace
This will be used by many commands that previously only interacted with
the center of the workspace.
2017-04-06 15:30:01 -06:00
Nathan Sobo
f1e30fe7cf 🎨 2017-04-06 13:53:34 -06:00
Nathan Sobo
ec576b12bc Remove PaneContainer.monitorActivePaneItem
Call didChangeActiveItemOnPane directly from panes and when the active
pane changes instead.
2017-04-06 13:18:18 -06:00
Nathan Sobo
2f7fb3f565 Remove PaneContainer.monitorPaneItems 2017-04-06 13:01:17 -06:00
Nathan Sobo
326ae6bf32 Use didDestroyPaneItem to remove item from item registry 2017-04-06 12:56:45 -06:00
Nathan Sobo
317428b58d Inform pane containers directly when adding non-moved pane items 2017-04-06 12:52:42 -06:00
Nathan Sobo
ae8d26a8fe Remove Pane prototype properties 2017-04-06 12:44:38 -06:00
Nathan Sobo
5cb550b09d Remove Pane's subclassing of Model 2017-04-06 12:06:46 -06:00
Nathan Sobo
0a877a219f Convert PaneContainer to JS 2017-04-06 11:52:16 -06:00
Nathan Sobo
ff4cdfd216 Eliminate PaneContainer prototype properties 2017-04-06 11:48:30 -06:00
Nathan Sobo
c5345b1895 Remove Model subclassing from PaneContainer 2017-04-06 11:31:51 -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
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