Max Brunsfeld
9924288a6f
Use atom environment argument to deserialize in Pane, PaneAxis
2015-10-07 15:25:05 -05:00
Nathan Sobo
3d118b8a33
Pass atom environment as second arg when deserializing objects
2015-10-07 15:24:56 -05:00
Nathan Sobo
e0d426b817
Register deserializers, view providers, and commands in Atom constructor
...
Previously, these registrations were scattered all over the codebase and
required that `global.atom` be defined, which creating weird ordering
issues. Registering them all from the global makes the relationships
clearer and means we don’t have to assign a global to set up a fully-
functional environment.
2015-10-07 15:24:52 -05:00
Nathan Sobo
8ce0e6141f
Don’t use Serializable mixin in PaneAxis
2015-09-22 10:38:37 -06:00
Max Brunsfeld
e4984d68cc
🎨 Tidy up pane container resize element spec
2015-04-15 14:09:27 -07:00
liuxiong332
e46d3b0d27
Merge remote-tracking branch 'origin' into pane-resize
...
Conflicts:
src/pane-element.coffee
src/pane.coffee
2015-04-15 10:09:41 +08:00
Kevin Sawicki
661b2124b2
Use new Model in PaneAxis
2015-04-06 11:04:10 -07:00
liuxiong332
c9c050d147
adjust the flex scale when close pane
2015-03-17 17:25:07 +08:00
liuxiong332
c05a410d11
add serialization for pane's flex scale when resize the pane
2015-03-17 15:35:16 +08:00
Nathan Sobo
4591f00a65
Remove view registry references from the workspace model layer
...
Removed various ::getView methods from the model. Using the atom.views
global in the views for now, but going to switch them over to using a
locally assigned view registry instead in a subsequent commit.
2014-12-01 16:28:33 -08:00
Nathan Sobo
da87f321e8
Add PaneAxisElement
2014-09-24 15:28:34 -06:00
Nathan Sobo
0877721ce9
Construct PaneAxisViews and PaneViews via ViewRegistry
2014-09-19 16:24:12 -06:00
Nathan Sobo
a33706ddbc
Add PaneContainer::onDidAddPaneItem and ::observePaneItems
2014-08-28 17:42:12 -06:00
Nathan Sobo
cee7539e35
Add PaneContainer::observePanes and ::onDidAddPane
2014-08-28 17:22:28 -06:00
Nathan Sobo
7556b85806
Remove/add the *subscription*, not the child
2014-08-28 14:42:12 -06:00
Nathan Sobo
b74554ad4c
Actually subscribe
2014-08-28 14:42:12 -06:00
Nathan Sobo
b89202f82c
Dispose of PaneAxis subscriptions when destroyed
2014-08-28 14:41:56 -06:00
Nathan Sobo
da63c6bab2
Add ::onDidDestroy to Pane and PaneAxis
2014-08-28 14:41:56 -06:00
Nathan Sobo
9979ae4b09
Add child event methods to PaneAxis
...
This eliminates our reliance on the Sequence object for informing us
of changes
2014-08-28 11:43:09 -06:00
Nathan Sobo
a9294aebc3
Don’t use Sequence in PaneAxis
2014-08-28 11:43:09 -06:00
Nathan Sobo
f161f5352e
Don’t rely on Sequences to reparent the last child
2014-08-28 11:43:09 -06:00
Nathan Sobo
a268b3e963
Rename PaneAxisModel to PaneAxis
2014-01-13 13:54:04 -07:00
Nathan Sobo
c7ff4f9897
Rename PaneAxis to PaneAxisView
2014-01-13 13:46:27 -07:00
Nathan Sobo
4f604ced3c
Rename Pane to PaneView
2014-01-13 13:46:22 -07:00
Nathan Sobo
b04f9f9488
Remove unused methods from PaneAxis
2014-01-11 11:11:04 -07:00
Nathan Sobo
e2170ea907
Remove unused requires and mixins
2014-01-11 10:45:33 -07:00
Nathan Sobo
72fe586101
Remove the concept of focus from the model
2014-01-10 17:27:28 -07:00
Nathan Sobo
c7fded0d7f
Only emit 'pane:removed' events if the pane is actually destroyed
...
The pane may only be detached temporarily during splitting/unsplitting
2014-01-10 15:04:51 -07:00
Nathan Sobo
8efcb1abfa
Remove pane splitting/unsplitting logic from view
...
There's still some failing specs around focus management, but it's
getting closer.
2014-01-09 12:19:01 -07:00
Nathan Sobo
bb595ab08a
Start adding PaneAxisModel
2014-01-09 12:19:00 -07:00
probablycorey
7eba9d3a23
Use flexbox to arrange panes
2014-01-08 14:29:32 -08:00
Nathan Sobo
8da9e8ddc1
Rename nostalgia to serializable
...
This name was surprisingly available and better matches this module's
utilitarian nature.
2014-01-03 18:32:44 -07:00
Nathan Sobo
bc65137911
Remove telepath from Project, WorkspaceView, and Pane*
2014-01-03 16:23:23 -07:00
Nathan Sobo
3db9e16637
Upgrade to telepath 0.75.0 for custom object support
2013-12-16 19:03:10 -07:00
Nathan Sobo
23957d7f66
WIP: Make atom global a telepath model
...
Specs seem to be green but hang on what I'm assuming to be a long GC
pause near the end. I need to investigate what's going on memory wise.
2013-12-12 14:33:50 -08:00
Kevin Sawicki
b1f041fa6e
Use a class instead of id for panes element
2013-12-02 08:27:32 -08:00
Kevin Sawicki
5ec6a4a189
Use atom.deserializers directly
2013-11-20 14:18:38 -08:00
Kevin Sawicki
d793d114d4
Use atom.site instead of window.site
2013-11-11 08:44:26 -08:00
Nathan Sobo
62ccf92a5d
Get core specs passing w/ Telepath v0.14.0. Delete replication specs.
...
Telepath v0.14.0 is a ground-up rewrite of the replication library,
which is principally designed to support moving document fragments
within the overall document. But it's also a lot better in a number of
ways. This commit does the minimal to get things working on the new
telepath. Standard package specs don't pass yet. Also, I deleted the
replication specs since they are extremely convoluted and will be able
to be replaced with much better versions once I complete the changes
enabled by the new Telepath.
2013-10-31 17:08:40 -06:00
Kevin Sawicki
9d51d1a143
Use jquery provided by space-pen
2013-10-16 13:34:41 -07:00
Kevin Sawicki
27573fe619
Use relative require paths
2013-09-20 10:02:23 -07:00
Kevin Sawicki
41fc4f7fe6
Use relative require paths in src/ files
2013-09-20 10:02:20 -07:00
Corey Johnson
7fd0d934ef
Add pane-container:active-item-changed event
2013-09-03 14:48:42 -07:00
Corey Johnson
44de8fe2d3
Add getActivePaneItem method to Pane and PaneAxis
2013-09-03 14:48:42 -07:00
Kevin Sawicki
76332c76bd
Flatten src directory
...
* Move src/app to src/
* Move src/stdlib to src/
* Remove src/app and src/stdlib from NODE_PATH
2013-08-19 20:13:57 -07:00