Nathan Sobo
158bbef38f
Account for shadow dom when asserting active element
2014-11-04 16:37:22 -07:00
Nathan Sobo
b2bc09c13d
Apply stylesheets with atom-editor-context in text editor specs
2014-11-04 16:37:22 -07:00
Nathan Sobo
268fceb073
Specify border-box sizing for the cursor to fix specs
2014-11-04 16:37:22 -07:00
Nathan Sobo
5be21d6743
Avoid traversing through shadow root on mousewheel events
2014-11-04 16:37:22 -07:00
Nathan Sobo
5d3602d37b
Get node once to attach event handlers
2014-11-04 16:37:22 -07:00
Nathan Sobo
b86f6870c5
Use native event handlers instead of React
...
React event handlers don’t work because of the shadow DOM
2014-11-04 16:37:22 -07:00
Nathan Sobo
2ab5fa405c
Apply mini and is-focused class to both editor host element and root
...
This preserves existing theming behavior
2014-11-04 16:37:22 -07:00
Nathan Sobo
5f4fb23057
Initialize atom-styles element in editor shadow dom before measuring
2014-11-04 16:37:22 -07:00
Nathan Sobo
22f6268116
Assign StylesElement::context on attachment
2014-11-04 16:37:21 -07:00
Nathan Sobo
65f40d6f7b
Move font styling to host element so font preferences work
2014-11-04 16:37:21 -07:00
Nathan Sobo
596987fbce
Fix sourcePath on text editor stylesheet loading
2014-11-04 16:37:21 -07:00
Nathan Sobo
2b218d2e01
Only update atom-styles children on context attribute change if attached
2014-11-04 16:37:21 -07:00
Nathan Sobo
582066915b
Apply syntax theme stylesheets in text editor shadow DOM via atom.styles
2014-11-04 16:37:21 -07:00
Nathan Sobo
1a98cb7070
Use atom.styles to activate stylesheets in packages
2014-11-04 16:37:21 -07:00
Nathan Sobo
c2d0b6d4f5
Load editor stylesheet in shadow root with style manager context param
2014-11-04 16:37:21 -07:00
Nathan Sobo
2affff30ff
Handle events with native handlers to avoid shadow DOM issues with React
2014-11-04 16:37:21 -07:00
Nathan Sobo
3b6189e94b
Create WeakMap on element creation to support ‘context’ attribute change
2014-11-04 16:37:21 -07:00
Nathan Sobo
4e8e5a84c4
Support context attribute in <atom-styles>
2014-11-04 16:37:20 -07:00
Nathan Sobo
087387e633
Style mini editor font sizes on atom-text-editor host element
...
…instead of via the shadow DOM. We always honor the computed font
styles of the host element.
2014-11-04 16:37:20 -07:00
Nathan Sobo
769c6c52bb
Make atom-text-editor have “display: block”
2014-11-04 16:37:20 -07:00
Nathan Sobo
963c92eb4e
Hack: Add editor stylesheets to atom-text-editor shadow root
2014-11-04 16:37:20 -07:00
Nathan Sobo
22212be90d
Give atom-text-editor elements a shadow root
...
Themes aren’t applying correctly and there are issues with mini editors
but this basically works. I’m leaving the .editor node in the shadow
DOM for theme compatibility and because React still wants to render
into a wrapper element.
2014-11-04 16:37:20 -07:00
Ben Ogle
8a640b35e0
Merge pull request #4061 from atom/bo-modal-panel
...
Modal panel API
2014-11-04 15:34:43 -08:00
Ben Ogle
df9a0dc7a3
hideAllPanelsExcept
2014-11-04 15:22:32 -08:00
Ben Ogle
5251183410
Dispose panel emitter on destroy()
2014-11-04 15:21:32 -08:00
Ben Ogle
5bd028b24e
Enforce modal
2014-11-04 14:58:00 -08:00
Ben Ogle
8485831f40
Add the location attr. Need it for styling!
2014-11-04 14:22:15 -08:00
Ben Ogle
da30b66ffa
Fix tests
2014-11-04 14:10:58 -08:00
Ben Ogle
3da11bf478
Update styles for modal panels.
2014-11-04 14:04:15 -08:00
Ben Ogle
9b1d5e1864
Add addModalPanel to atom.workspace.
2014-11-04 13:48:48 -08:00
Ben Ogle
1f445acc12
Merge pull request #4060 from atom/bo-remove-some-bootstrap
...
Only load the bootstrap styles we need
2014-11-04 13:47:44 -08:00
Ben Ogle
022bc2e2a5
Only load the bootstrap styles we need!
2014-11-04 12:28:53 -08:00
Cheng Zhao
da18db754f
⬆️ atom-shell@0.19.1
2014-11-04 21:02:46 +08:00
Cheng Zhao
c20403d983
⬆️ atom-shell@0.19.0
2014-11-04 21:02:46 +08:00
Ben Ogle
78dc87d4b6
Add new event method for unhandled errors.
2014-11-03 16:18:20 -08:00
Kevin Sawicki
5dd310f9ac
⬆️ language-shellscript@0.9
2014-11-03 10:42:04 -08:00
Kevin Sawicki
427a32c336
⬆️ language-javascript@0.43
2014-10-31 16:13:34 -07:00
Kevin Sawicki
f3d4a3ad45
⬆️ language-c@0.30
2014-10-31 16:09:55 -07:00
Ben Ogle
ba642682ca
Merge pull request #4014 from atom/bo-undo-skip
...
Pass options through to TextBuffer::setTextInRange
2014-10-31 12:19:28 -07:00
Ben Ogle
b1a0258ad4
Clean up spec name
2014-10-31 11:39:56 -07:00
Kevin Sawicki
44112f2ecd
Merge pull request #4023 from atom/ks-map-assets-directory-to-atom-protocol
...
Load atom://assets/ urls from ~/.atom/assets
2014-10-31 11:39:39 -07:00
Ben Ogle
54b8aa4a02
Add spec for skip
2014-10-31 11:38:24 -07:00
Ben Ogle
5791548ac4
Upgrade to text-buffer@3.5.0
2014-10-31 11:33:03 -07:00
Kevin Sawicki
26f21abcf3
Remove ivar only used in constructor
2014-10-31 11:24:26 -07:00
Kevin Sawicki
ab0f9e88a7
Add dot atom directory ivar
2014-10-31 10:56:03 -07:00
Kevin Sawicki
6d8b891b65
💄
2014-10-31 10:43:07 -07:00
Kevin Sawicki
afdb96e1b1
Don't load from ~/.atom/dev when in safe mode
2014-10-31 10:42:27 -07:00
Kevin Sawicki
9c1ca86cb0
Load atom://assets/ urls from ~/.atom/assets
2014-10-31 10:35:15 -07:00
Kevin Sawicki
4e95977fbd
Merge pull request #4018 from ardeshirj/mkrpm
...
Remove rpm package dependencies
2014-10-31 09:48:34 -07:00
Kevin Sawicki
4a8a379891
⬆️ symbols-view@0.67
2014-10-31 09:05:32 -07:00