Michelle Tilley
107e830508
Merge pull request #14309 from atom/mkt-allow-tooltips-to-recalculate-their-positions
...
Recalculate Tooltip positions when their contents change
2017-04-30 08:38:58 -07:00
hansonw
b5eca7c429
Call PackageManager.initialize from URL handler
2017-04-28 13:22:23 -04:00
Michelle Tilley
63920c2a78
🎨
2017-04-26 19:27:23 -07:00
Michelle Tilley
ca9054a4f8
👕 Fix linting errors
2017-04-26 16:01:43 -07:00
Michelle Tilley
dc6988c945
Reposition Tooltips when they mutate
2017-04-26 15:49:01 -07:00
Michelle Tilley
d56c1e292e
Add Tooltip#recalculatePosition which resets the tooltip's position
2017-04-26 15:48:22 -07:00
Max Brunsfeld
fb42ad36f0
Fix bundled package path check to use path, not name
2017-04-21 09:41:35 -07:00
Damien Guard
601aa59e7b
Do not treat packages in unusual locations as bundled despite name
2017-04-20 14:44:49 -07:00
Max Brunsfeld
643ba6e086
📝 Add types in Pane.destroyItem docs
2017-04-18 09:51:48 -07:00
Max Brunsfeld
52195e79ff
Merge branch 'master' into fb-mdt-no-cmd-w-on-permanent-dock-items
2017-04-17 13:39:16 -07:00
Max Brunsfeld
0015e026a2
Add Workspace.paneContainerForItem method
2017-04-17 11:34:45 -07:00
Matthew Dapena-Tretter
a4c06c039d
Add a way to force a pane to destroy its item
...
When cleaning up after a package that provides a permanent dock item,
you want to be able to destroy it easily. This provides API for doing
so.
2017-04-15 13:28:30 -07:00
Matthew Dapena-Tretter
a9d0618e88
Don't close permanent dock items
2017-04-15 13:09:08 -07:00
Matthew Dapena-Tretter
d40a14be29
Add tests for dock sizing behavior
2017-04-15 11:50:41 -07:00
Matthew Dapena-Tretter
f6b20cd31c
Reduce dock initial size lookups
...
Previously, we would get the initial size every time we didn't have an
explicit one. With this commit, we only get the initial size when we
deserialize and when we go from 0 -> 1 pane items.
Also, if the dock doesn't already have an explicit size, we'll use the
preferred size of the item being dragged when peaking the dock. That
way, dropping it won't cause it to change size.
2017-04-15 11:50:19 -07:00
Matthew Dapena-Tretter
abd8f2c0b7
🐛 Fix URI resolution in openSync()
...
@Alhadis noticed I missed this in 53ec839 .
2017-04-13 23:44:47 -07:00
Matthew Dapena-Tretter
915931dddd
🐛 Make sure docks affordance can always be revealed
2017-04-13 15:52:05 -07:00
Michelle Tilley
56e6048bfc
Merge pull request #14146 from atom/mkt-as-improve-snapshotting
...
Improve snapshotting
2017-04-13 10:12:59 -07:00
Antonio Scandurra
b8e6689abf
Merge pull request #14178 from atom/fb-mdt-resize-handle-shouldnt-cover-center
...
Prevent the resize handle from covering the center
2017-04-13 18:17:09 +02:00
Antonio Scandurra
fb6834d68b
Require TextEditorElement eagerly
...
With snapshots, all the forbidden modules are required lazily. In the
case of `TextEditorElement` this can be problematic because users might
create editors via `document.createElement('atom-text-editor')`.
With this commit we will eagerly require
`src/text-editor-element.coffee`, thus forcing `TextEditorElement` to
register the HTML custom element and fixing the issue.
2017-04-13 11:03:35 +02:00
Max Brunsfeld
f4fceb0e20
Merge pull request #14177 from atom/fb-mdt-fix-docks-event-cleanup
...
Remove event listeners from correct element
2017-04-12 14:20:58 -07:00
Max Brunsfeld
a676246081
Merge pull request #14164 from atom/fb-mdt-when-shell-environment-loaded
...
Add `atom.whenShellEnvironmentLoaded()`
2017-04-12 11:53:50 -07:00
Matthew Dapena-Tretter
2ee851a218
Don't show resize handle at all for collapsed docks
...
They no longer have any functionality. Themes can add extra affordances
if they want.
2017-04-12 11:24:47 -07:00
Max Brunsfeld
9202160ca9
Merge pull request #14188 from atom/mb-ns-avoid-opening-duplicate-items
...
Always search a pane container w/ the given URI in workspace.open
2017-04-12 10:59:33 -07:00
Max Brunsfeld
82a7a6c78a
Always search a pane container w/ the given URI in workspace.open
2017-04-12 10:23:49 -07:00
Nathan Sobo
8b8218bf81
Properly restore focus to center when hiding dock via toggle
2017-04-12 09:46:18 -06:00
Matthew Dapena-Tretter
2a2d657d98
Prevent the resize handle from covering the center
...
Currently, the absolutely positioned element is the only thing with a
size. That means that it'll cover the center. With this change, we give
a size to the (relatively-positioned) atom-dock element so that closed
docks take up canvas space instead.
I think @simurai mentioned this problem before but I wasn't following
and then forgot about it. 😖
2017-04-11 22:38:09 -07:00
Matthew Dapena-Tretter
8951ee7dd1
Remove event listeners from correct element
2017-04-11 22:14:18 -07:00
Nathan Sobo
e0309883bb
Merge pull request #14137 from atom/ns-mb-document-workspace-item-interface
...
Document pane item interface on Workspace
2017-04-11 20:20:00 -06:00
Matthew Dapena-Tretter
ddd8a8b978
Add atom.whenShellEnvironmentLoaded()
...
This provides a way to be notified when the shell environment has
loaded—even if it's already happened.
2017-04-11 18:10:00 -07:00
Max Brunsfeld
81819adbd7
Fix spurious pane activation when changing focus within a pane
2017-04-11 12:20:50 -07:00
Max Brunsfeld
6c1632ad76
Always focus active pane item when pane is activated
...
Signed-off-by: Nathan Sobo <nathan@github.com >
2017-04-11 11:51:18 -07:00
Max Brunsfeld
b3911053be
Merge pull request #14166 from atom/mb-fix-creating-panels-with-markup
...
Ensure that atom-panel tags can be created via HTML
2017-04-11 10:32:06 -07:00
Nathan Sobo
1641d9bb7d
Merge pull request #14174 from atom/ns-as-avoid-deserialization-error
...
Avoid errors deserializing 1.17 workspace state in prior Atom versions
2017-04-11 11:10:50 -06:00
Nathan Sobo
879f6bf454
Avoid errors deserializing 1.17 workspace state in prior Atom versions
2017-04-11 10:04:52 -06:00
Antonio Scandurra
5a6060d247
Delete mistakenly added package from the snapshot require list
2017-04-11 09:46:55 +02:00
Antonio Scandurra
48013a9140
Fix adding bundled packages to ModuleCache and increase test coverage
2017-04-11 09:37:11 +02:00
Max Brunsfeld
ffff034076
Avoid error when Panel.destroy is called in a blur listener
2017-04-10 17:43:52 -07:00
Max Brunsfeld
1c6c38e8a8
Ensure that atom-panel tags can be created via HTML
...
* Remove the PanelElement custom element
* Convert Panel and its test to JavaScript
2017-04-10 16:22:51 -07:00
Max Brunsfeld
c43bfafdfb
Move hoveredDock property from Workspace to WorkspaceElement
...
It's not used in Workspace anymore.
2017-04-10 14:18:58 -07:00
Max Brunsfeld
399b70662d
Fix regression in hovered dock tracking due to workspace refactor
...
Also, backfill tests for showing, hiding and updating the dock toggle
buttons in response to mouse movements.
2017-04-10 14:15:31 -07:00
Nathan Sobo
3292e3b4df
Merge pull request #14143 from atom/mb-ns-dock-ui-refinements
...
Refine Dock UX and API
2017-04-10 09:08:07 -06: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
Nathan Sobo
9259372f23
Fix dock hiding on drag
2017-04-08 14:29:34 -06:00
Nathan Sobo
2498b991c6
Fix dock dragging
2017-04-08 14:29:27 -06:00
Nathan Sobo
e8409aeee7
Add no-op method
2017-04-08 13:59:43 -06:00
Max Brunsfeld
cabeeca8b6
Publicize more Dock methods
2017-04-07 15:38:25 -07:00
Max Brunsfeld
48336fb95e
Don't use workspace's itemLocationStore in tests
2017-04-07 15:30:44 -07:00
Max Brunsfeld
57281dd97a
Merge branch 'master' into mb-ns-dock-ui-refinements
2017-04-07 13:23:19 -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