Commit Graph

1199 Commits

Author SHA1 Message Date
Matthew Dapena-Tretter
45806b19b7 Fix positioning of left dock toggle button when panel container has min-width 2017-04-12 11:39:39 -07:00
Max Brunsfeld
8b407bf48f Don't allow opening docks by clicking on the resize handle 2017-04-05 12:45:29 -07:00
Antonio Scandurra
0e1bc58310 ⬆️ electron-link 2017-04-04 11:36:49 +02:00
Matthew Dapena-Tretter
13f0c8a977 Docks: define handle size in CSS; measure in JS 2017-03-27 12:19:08 -07:00
Matthew Dapena-Tretter
d691c3e5aa Docks: Don't change inherited presentation styles 2017-03-27 10:48:27 -07:00
Max Brunsfeld
91780e6f18 Merge branch 'master' into fb-mdt-docks 2017-03-20 11:26:42 -07:00
Matthew Dapena-Tretter
bf39947eee Add Dock component 2017-03-18 15:31:51 -07:00
Antonio Scandurra
6722450b7e Merge pull request #14021 from atom/as-fix-snapshot-stack-traces
Use the generated snapshot source map in `source-map-support`
2017-03-17 18:05:42 +01:00
Antonio Scandurra
ccbb276bf5 Bake source maps into the snapshot 2017-03-17 13:25:00 +01:00
Antonio Scandurra
bade347e01 Revert "Upgrade to Babel 6 and apply fewer transformations when transpiling babel files" 2017-03-17 12:40:38 +01:00
Antonio Scandurra
b2983f63ba Replace backward with forward slashes when requiring files on Windows 2017-03-15 13:26:31 +01:00
Antonio Scandurra
3d40f55747 Fix lint errors 2017-03-10 10:00:09 +01:00
Antonio Scandurra
73e8642b96 Merge branch 'master' into as-ns-startup-snapshot 2017-03-10 09:04:30 +01:00
Antonio Scandurra
76ae6b29b3 ⬆️ electron-link to handle cyclic requires correctly 2017-03-06 19:58:03 +01:00
Antonio Scandurra
a403d817ba Put back source map generation for babel files 2017-03-06 14:48:53 +01:00
Max Brunsfeld
025de31846 Avoid using less imports in nested scopes
Apparently, these imports of 'octicon-utf-codes.less' within mixin
definitions cause any subsequent imports of this file to become noops,
because of the way less dedupes imports. The result is that the variables
defined in that file are only available in the nested scope.

This didn't happen in older versions of less because of bugs which
have been fixed since less 2.7.

Signed-off-by: Antonio Scandurra <as-cii@github.com>
2017-03-06 13:23:53 +01:00
Antonio Scandurra
2f1fd15170 Don't assign snapshotResult.entryPointDirPath
...because we can use `process.resourcesPath` or
`atom.getLoadSettings()` in packages that need to resolve the absolute
path at runtime.
2017-03-03 11:21:29 +01:00
Antonio Scandurra
a9ada35354 Snapshot NativeCompileCache 2017-03-02 09:29:07 +01:00
Antonio Scandurra
8d46de418f Re-enable native module cache 2017-03-02 09:11:54 +01:00
Antonio Scandurra
70c82b1ffa Snapshot pathwatcher and fs-plus 2017-03-02 08:26:21 +01:00
Antonio Scandurra
e275570a4e Remove blob store and native module cache 2017-02-28 17:20:49 +01:00
Antonio Scandurra
deb94f6f4a Fix dev mode 2017-02-28 17:17:02 +01:00
Antonio Scandurra
66c7f2f83c Provide snapshotResult.entryPointDirPath 2017-02-28 17:12:57 +01:00
Antonio Scandurra
adb0e39166 WIP 2017-02-28 15:44:02 +01:00
Antonio Scandurra
9b8c7973d7 WIP 2017-02-28 09:34:55 +01:00
Antonio Scandurra
e453b04105 Put back code that was commented out 2017-02-27 16:45:57 +01:00
Antonio Scandurra
7b8849b835 🎨 2017-02-27 14:51:33 +01:00
Antonio Scandurra
aec8867904 Require electron once 2017-02-27 14:48:45 +01:00
Antonio Scandurra
681f0f9fe1 Make Atom work also without a snapshot 2017-02-27 14:47:20 +01:00
Antonio Scandurra
367d595ab8 Update static/index to match what we do on master 2017-02-24 11:49:17 +01:00
Antonio Scandurra
e624f24b6d WIP 2017-02-23 17:26:41 +01:00
Antonio Scandurra
90c707a4c2 Merge branch 'master' into as-ns-startup-snapshot 2017-02-23 13:19:25 +01:00
Antonio Scandurra
264ff4a865 Merge branch 'master' into as-ns-startup-snapshot 2017-02-23 10:01:52 +01:00
simurai
9631875d8e Only allow status-bar to be dragged
It's the only area that is there all the time. The other areas change
depending on how much content there is. This could lead to wrongly train
your muscle memory.
2017-02-21 22:26:46 +09:00
simurai
ec9aec6686 Merge branch 'master' into sm-custom-title-bar 2017-02-21 21:56:53 +09:00
Antonio Scandurra
af8773aa3f Add more transforms 2017-02-16 11:24:03 +01:00
Antonio Scandurra
b090a07838 Transform class properties too 2017-02-15 17:52:28 +01:00
Antonio Scandurra
5a0433b006 Upgrade to babel 6 and apply fewer transformations to babel files 2017-02-15 17:02:00 +01:00
Nathan Sobo
c6cae5b8fd Store represented directory paths directly on AtomWindow in main process
Fixes #13729

Previously, when adding a window, we were unable to read its current
project paths out of the hash of the URL during window initialization
because the window still considered itself to be loading. Rather than
fixing this issue, we decided to completely eliminate the sharing of
state between processes in the window.location and instead switch to
cached synchronous RPC for the loadSettings and a dedicated RPC-based
mechanism for the project paths.
2017-02-07 13:15:27 -07:00
simurai
6010c4d7df Add custom-inset title-bar 2017-01-14 16:06:50 +09:00
simurai
c406cc4420 Merge branch 'master' into sm-hidden-all 2017-01-14 10:09:07 +09:00
Damien Guard
683074a2d8
Make stack trace readable in spec runner, fixes #13576 2017-01-09 19:33:16 -08:00
Antonio Scandurra
442872e7ac Call openDevTools on WebContents rather than on BrowserWindow
Fixes #13171
2016-11-21 18:44:10 +01:00
Antonio Scandurra
72b017b01a WIP: Start on requiring packages 2016-11-16 17:16:36 +01:00
Antonio Scandurra
77b8089e3a Use the snapshot result to require core modules 2016-11-15 18:03:36 +01:00
simurai
8c1a494d8c Add new icons
- beaker
- bell
- bold
- desktop-download
- ellipses
- file
- grabber
- italic
- logo-gist
- plus-small
- reply
- shield
- smiley
- tasklist
- text-size
- thumbsdown
- thumbsup
- unverified
- verified
- watch
2016-11-03 19:09:27 +09:00
simurai
b0d9c1f152 Replace Octicons 4.4.0 with a normalized version
So that text-align center still works
2016-11-03 16:46:25 +09:00
simurai
f51a8ad6c6 Revert chaning mixin name
git-diff seems to use `.octicon-font()`
2016-11-03 16:45:42 +09:00
simurai
9cb90d04f8 Use Octicons 4.4
but still keep the old 2.1.2 version for backwards compatibility
2016-11-02 22:03:22 +09:00
simurai
0efcc88b77 Keep min-width for left panel container 2016-10-25 15:27:42 +09:00
simurai
c0e65a8800 Fix header panels 2016-10-25 10:25:40 +09:00
simurai
32f816164b Fix atom-panel-container when fullscreen 2016-10-21 11:30:27 +09:00
simurai
84bd000d02 Merge branch 'master' into sm-hidden-inset
# Conflicts:
#	src/config-schema.js
2016-10-20 09:37:03 +09:00
Cédric Néhémie
07a017039f 🐛 Use flex display in text editor instead of block 2016-10-19 12:11:12 +02:00
simurai
ed2c72a586 Add option to hide the title bar 2016-10-15 19:12:53 +09:00
Antonio Scandurra
51e186b656 Delete leftover ::shadow pseudo-selectors 2016-10-07 10:40:41 +02:00
Antonio Scandurra
91df848b8a Keep a backward compatible DOM structure for atom-text-editor contents 2016-10-07 10:40:41 +02:00
Antonio Scandurra
80fc448b8d Transform deprecated shadow DOM selectors in StyleManager 2016-10-07 10:40:41 +02:00
Antonio Scandurra
b71b412ede Transform deprecated shadow DOM selectors 2016-10-07 10:40:41 +02:00
Antonio Scandurra
56a6510b25 Start on removing shadow DOM 2016-10-07 10:40:41 +02:00
simurai
a7f049008a Increase title-bar padding 2016-09-24 16:34:09 +09:00
simurai
7d611224de Change box-sizing
So that the border doesn’t affect the height.
2016-09-24 16:32:47 +09:00
simurai
005e091759 Increase title-bar height
to fit the traffic lights when `titleBarStyle = 'hidden-inset'` is used.
2016-09-21 15:26:17 +09:00
simurai
e3ff7e28a1 🔥 Remove paddings
Might get added again later.
2016-09-21 15:20:03 +09:00
simurai
a4435305f1 Merge branch 'master' into pb-hidden-inset
# Conflicts:
#	src/main-process/atom-window.coffee
2016-09-21 14:48:22 +09:00
Thomas Johansen
2bb6e225f6 🔥 Remove window load time console output 2016-09-11 17:07:43 +02:00
simurai
53aaf0f3d0 Merge pull request #12616 from atom/sm-min-height
Fix height when splitting panes
2016-09-10 19:33:51 +09:00
simurai
0dced47183 🎨 Remove test background 2016-09-07 16:36:01 +02:00
simurai
191a50bf2d Fix position of atom-pane-resize-handle
As of Chromium 52 absolutely positioned flexbox items are taken out of the flow. See https://developers.google.com/web/updates/2016/06/absolute-positioned-children?hl=en

To keep it in the flow, we use an absolutely positioned pseudo-element instead.
2016-09-07 16:36:00 +02:00
simurai
6d0536886b Reset min-height
everywhere `min-width: 0;` is already used.
2016-09-07 15:38:00 +09:00
simurai
ab7671480d Merge pull request #12580 from frantic1048/7446-fix-pane-resize-handle-overflow
Let atom-pane-resize-hanle inherit correct height (fix #7446)
2016-09-02 10:28:23 +09:00
Antonio Scandurra
9ebde9ccb2 Remove height: 100% from atom-text-editor elements
Originally, editors with autoHeight set to false had an inline style of
100%. We attempted to retain this behavior while allowing CSS to change
the height by applying this styling via a global CSS rule instead:
unfortunately, however, this applies to non autoHeight editors as well
because due to our deprecated autoHeight detection routine, the height
of these editors must be assigned on an internal element and therefore
does not override the 100% styling from the stylesheet.

Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-01 16:43:43 +02:00
Frantic1048
66575fbff9
🐛 let atom-pane-resize-hanle inherit correct height (fix #7446) 2016-09-01 22:06:06 +08:00
Antonio Scandurra
194f927b87 Merge branch 'master' into ns-modernize-build
# Conflicts:
#	build/tasks/build-task.coffee
2016-08-26 13:25:02 +02:00
Nathan Sobo
67313aec8d Default editor height to 100%
Previously, when autoHeight was assigned to false on the editor, we would assign an inline style of height: 100%. This preserves the essence of that behavior without prohibiting users from assigning their own height via more specific CSS rules.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2016-08-17 16:14:04 -06:00
Antonio Scandurra
e863081250 Merge branch 'master' into ns-modernize-build 2016-08-03 14:36:57 +02:00
Nathan Sobo
0240206d93 Merge branch 'master' into brumm-master 2016-08-02 15:39:57 -06:00
Antonio Scandurra
b1dabc1e84 Load metadata._deprecatedPackages via script/deprecated-packages.json 2016-08-02 15:55:53 +02:00
simurai
2f58792577 Introduce @use-custom-controls variable 2016-07-12 15:36:50 +09:00
Philipp Brumm
e7ff266a57 shorter and linear transition, without delay 2016-07-06 11:00:44 +02:00
Philipp Brumm
3e53a03871 animate appearance and disappearance of titlebar when toggling fullscreen 2016-07-02 15:05:29 +02:00
Philipp Brumm
bda08c4a5f hide titlebar in fullscreen mode 2016-07-02 13:06:17 +02:00
Philipp Brumm
faa1f935f8 make custom titlebar user-configurable and prompt for relaunch on change 2016-07-02 12:28:14 +02:00
Philipp Brumm
7a2fab6114 move title-bar variables into it's own less file and simplify styles 2016-07-02 12:28:14 +02:00
Philipp Brumm
e94a7a84b7 undo changes to workspace styling 2016-07-02 12:28:14 +02:00
Philipp Brumm
242ef89e2d use @base-background-color as a basis for the title-bar gradient to better accommodate themes that do not provide their own style for a title-bar 2016-07-02 12:28:14 +02:00
Philipp Brumm
9c298625fe remove experimental 'combined' styles for title-bar 2016-07-02 12:28:14 +02:00
Philipp Brumm
4897f4db26 replace OSX window title bar with custom title-bar 2016-07-02 12:28:14 +02:00
simurai
b9515ea477 Add min-width to atom-workspace-axis.horizontal
This is just a precaution against https://github.com/atom/atom/pull/11866
2016-06-29 13:20:02 +09:00
simurai
eb0cc530fd 🔥 Remove -webkit prefixes
that aren’t needed anymore.
2016-06-29 13:15:20 +09:00
Damien Guard
df22e0bc5b Merge pull request #12056 from atom/crashreporter-not-on-ui-thread-except-mac
CrashReporter should not run on UI thread on Win/Linux
2016-06-28 10:02:57 -07:00
simurai
268ad6cf6a Fix overflowing of the tabs II 2016-06-28 15:18:37 +09:00
Damien Guard
22922dec96
CrashReporter should not run on UI thread on Win/Linux 2016-06-27 16:31:01 -07:00
Thomas Johansen
35ceb66a5b Merge pull request #11875 from atom/sm-move-bootstrap-to-npm
Merge Bootstrap + Core styles

Closes #11839 
Closes #11858
2016-06-24 07:54:16 +02:00
Thomas Johansen
b2f7c9d52d 🔥 Remove all bootstrap remnants 2016-06-19 16:20:44 +02:00
William Bout
38f585e4e0 Update ui-variables.less 2016-06-18 12:53:05 +02:00
simurai
f39e5c1174 Use at least 75% for the spec-reporter
Less scrolling if there are many failures.
2016-06-15 14:51:23 +09:00
simurai
3e60dd22f1 Show underlying editor when resizing 2016-06-15 13:02:00 +09:00
simurai
1fe88b3026 Add overflow scrolling 2016-06-15 10:43:54 +09:00
simurai
18c0364c21 Cover everything 2016-06-15 10:21:16 +09:00
simurai
b1f0cbb134 Make Spec Suite less flickery 2016-06-11 10:46:10 +09:00
simurai
c601adfdb7 Merge branch 'master' into sm-move-bootstrap-to-npm 2016-06-10 15:37:04 +09:00
simurai
85fa7e8a8a Fix overflowing of the tabs
This is a follow up for #11866.

In this case when there are too many tabs, they start to push `atom-workspace-axis.vertical` beyond the window width.
2016-06-08 10:56:53 +09:00
simurai
288b3c07c8 Move some panel + modal styles to atom-ui 2016-06-07 11:48:26 +09:00
simurai
e91e0c5554 Import everything together 2016-06-03 16:12:13 +09:00
simurai
13fd461b36 Import all atom-ui components 2016-06-01 11:57:06 +09:00
simurai
95d9b9946a Move Bootstrap to a separate package 2016-06-01 11:34:40 +09:00
Antonio Scandurra
2fb757791b Allow atom-pane to be shrunk independently of its contents' width 2016-05-30 14:49:29 +02:00
Lee Dohm
43e5359dbc Merge pull request #11552 from Floobits/csp_fixes
Content Security Policy fixes
2016-05-19 09:10:26 -07:00
simurai
10305867ed Merge pull request #11274 from atom/sm-atom-workspace-axis
Relative position atom-workspace-axis
2016-05-19 16:01:00 +09:00
simurai
3be77fa325 Merge branch 'master' into sm-atom-workspace-axis 2016-05-19 11:45:41 +09:00
simurai
ca61f87a8c Merge branch 'master' into sm-flexible-modals 2016-05-19 10:18:04 +09:00
Geoff Greer
d20dccb27a Content Security Policy fixes. Add blob: protocol to img-src and media-src sources. Add data: and mediastream: protocols to media-src. 2016-04-20 16:36:40 -07:00
Willem Van Lint
8cd48004dd Fixed positioning for overlay 2016-04-09 18:42:18 -07:00
simurai
45839f3b92 Relative position atom-workspace-axis
This let's packages use position: absolute and be contained to atom-workspace-axis elements.
2016-03-25 11:06:07 +09:00
Max Brunsfeld
4bc969d1df Merge branch 'master' into wl-electron-35 2016-02-16 13:16:13 -08:00
Max Brunsfeld
81c15bd8b4 Make --profile-startup flag work w/ async initializion 2016-02-12 14:19:09 -08:00
Max Brunsfeld
0ea06bad31 Merge branch 'master' into wl-electron-35 2016-02-12 12:57:54 -08:00
simurai
bde0e28964 Shrink modals when window gets narrow 2016-02-12 09:59:01 +09:00
Max Brunsfeld
9b2c791c86 Don't emit window:loaded event until async window initialization completes
Signed-off-by: Katrina Uychaco <kuychaco@github.com>
2016-02-09 14:28:01 -08:00
Max Brunsfeld
7c733f6dc4 Merge branch 'master' into wl-electron-35 2016-02-05 10:22:01 -08:00
simurai
a30641346d Display block for generic atom-panels 2016-02-01 11:34:09 -08:00
simurai
4d2ab7a3d3 Only use flexbox for horizontal atom-panel 2016-02-01 11:34:09 -08:00
simurai
93ae5cdf38 Use initial height for panel children
Needed for packages since `100%` height doesn't play nice with flexbox
2016-02-01 11:34:08 -08:00
simurai
85bf1f97ab Use flexbox for workspace elements 2016-02-01 11:34:08 -08:00
Max Brunsfeld
130f23166d Emit window:loaded event after editor window is started 2016-01-27 14:04:50 -08:00
Max Brunsfeld
28e535ee15 Apply window background color after resizing window 2016-01-27 13:00:18 -08:00
Wliu
7ee74ed4c7 Merge branch 'master' into wl-electron-35 2016-01-15 17:20:31 -05:00
joshaber
6948dd4e8d Linter was mad about these now. 2016-01-07 17:13:56 -05:00
Paul Betts
d1348b7868 -webkit-app-region doesn't actually do anything because we're not frameless 2015-12-30 13:30:22 -08:00
Paul Betts
69ac7b1aa0 Fix up dragging and leave an indent on left panels 2015-12-28 18:10:57 -08:00
Wliu
612ca6ecab Missed one of the crash reporters
Also convert even more requires...
2015-12-22 20:44:51 -05:00
Wliu
dbc06e5993 Initial attempt to update to Electron 0.36.1 2015-12-22 17:16:15 -05:00
Wliu
3ebff4b322 Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-35 2015-12-18 20:02:22 -05:00
Antonio Scandurra
fa48b2fbe0 Make v8 version part of the key 2015-12-11 17:47:04 +01:00
Cheng Zhao
c186d70bec Also use require('electron') in specs 2015-12-11 10:03:20 +08:00
Cheng Zhao
1f9cfc929c Update the API usages after merge 2015-12-11 09:50:18 +08:00
Cheng Zhao
1725b9bf54 Use require('electron') 2015-12-11 09:30:58 +08:00
Wliu
71574d785c Merge remote-tracking branch 'master' into wl-electron-35
# Conflicts:
#	package.json
#	src/application-delegate.coffee
2015-11-25 18:44:40 -05:00
simurai
5fa2a6b52d Use @font-size for button icons 2015-11-24 15:48:32 +09:00
Wliu
fec1507ff4 Require ipc-renderer where it belongs 2015-11-18 21:10:40 -05:00
Wliu
6cd480b37e Fix Electron deprecations 2015-11-17 21:16:09 -05:00
simurai
ab9efd1913 Adjust icon size for small buttons 2015-11-07 21:48:38 +09:00
Kevin Sawicki
0982825c4a Link to right issue 2015-11-03 15:34:42 -08:00
Kevin Sawicki
0e6da955cd Link fully to issue 2015-11-03 15:32:06 -08:00
Kevin Sawicki
70f5f86052 Go back to using ATOM_HOME 2015-11-03 14:36:49 -08:00
Kevin Sawicki
91a4d04ace Return early if ATOM_HOME is already set 2015-11-03 14:36:06 -08:00
Kevin Sawicki
a0f68ec978 Setup ATOM_HOME immediately after parsing load settings 2015-11-03 14:35:30 -08:00
Kevin Sawicki
b9d30176d8 Remove unused method 2015-11-03 14:31:52 -08:00
Kevin Sawicki
2e6b8a3e96 Guard against loadSettings error 2015-11-03 14:31:35 -08:00