Commit Graph

1151 Commits

Author SHA1 Message Date
Matthew Dapena-Tretter
83efa4b918 Ensure dock mask has size of zero
This no longer seems to be an issue.
2017-04-13 15:53:37 -07:00
Matthew Dapena-Tretter
915931dddd 🐛 Make sure docks affordance can always be revealed 2017-04-13 15:52:05 -07:00
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