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
Dave Rael
f92188fc27
Remove unused inclusion of fs
2015-11-03 14:10:55 -08:00
Dave Rael
5d5d83d474
Remove duplication of locating Atom Home
2015-11-03 14:10:37 -08:00
Kevin Sawicki
de7cf162f9
Merge pull request #8442 from atom/portable-mode
...
Enable Portable Mode
2015-11-03 12:49:54 -08:00
Antonio Scandurra
6290822067
Export a function in windowInitializationScript
...
...so that we can pass BlobStore to AtomEnvironment
2015-11-03 09:51:08 +01:00
Antonio Scandurra
e1087acf9e
Save BlobStore only when unloading editor window
2015-11-02 19:49:14 +01:00
Antonio Scandurra
a8b5bb243f
Save BlobStore only in the first window
2015-11-02 10:53:04 +01:00
Antonio Scandurra
27a6f36738
Remove references to cache
2015-10-30 18:49:06 +01:00
Antonio Scandurra
abcfc8579b
Rename to FileSystemBlobStore
2015-10-30 18:42:38 +01:00
Antonio Scandurra
72639e5393
🎨 Satisfy linter requirements
2015-10-30 11:36:58 +01:00
Antonio Scandurra
71b6871d3b
🐎 Make IO faster for v8 compile cache
2015-10-30 10:14:14 +01:00
Antonio Scandurra
c684273ecf
Introduce NativeCompileCache
2015-10-30 10:14:14 +01:00
Ivan Žužak
683949b75d
Increase timeout for starting a profile after opening devtools
2015-10-21 12:06:32 +02:00
Dave Rael
e0697ecc7f
Merge branch 'master' into portable-mode
...
Conflicts:
src/atom-environment.coffee
2015-10-20 20:58:14 -06:00
Dave Rael
82f5e81cec
Restore check on ATOM_HOME
...
(undo db57479bf9
)
Check on ATOM_HOME is not superfluous - needed on Linux because of
difference in inheriting environment variables between browser and render
processes
2015-10-16 04:24:57 -06:00
Antonio Scandurra
82fbec0879
🐛 Give priority to initial window background
...
Otherwise, since we now add styles element right during AtomEnvironment
construction, the default background gets showed (i.e. white on my machine).
/cc: @nathansobo
2015-10-15 11:05:16 +02:00
Dave Rael
db57479bf9
Remove superfluous check on ATOM_HOME
...
always set at the process level, so always set here
2015-10-09 11:21:41 -06:00
Nathan Sobo
e886d8b253
Rename “bootstrap” scripts
...
They’re just window initialization scripts, and this new naming makes
that a lot clearer.
2015-10-07 15:24:50 -05:00
Nathan Sobo
3fc9ab8ffa
Remove unused function
2015-09-22 10:37:09 -06:00
Nathan Sobo
68fe7026a8
Disable deprecated APIs in specs
2015-09-22 10:37:07 -06:00
Nathan Sobo
b3e97cd5c6
Drop special stylesheet handling for atom-space-pen-views
2015-09-18 20:48:52 -06:00
Nathan Sobo
46a833a608
Revert "Merge pull request #8778 from atom/mq-system-font"
...
This reverts commit 457e80113e
, reversing
changes made to de61aecfd1
.
2015-09-16 14:37:25 -06:00
Machisté N. Quintana
457e80113e
Merge pull request #8778 from atom/mq-system-font
...
Use system menu font for Atom UI
2015-09-16 10:08:28 -04:00
Antonio Scandurra
c7d4871453
Merge pull request #8730 from atom/as-faster-style-recalculation
...
Faster Style Recalculations
2015-09-15 11:25:10 +02:00
Machiste Quintana
028fbbfd35
Simplify CSS guard
2015-09-14 13:18:57 -04:00
Machiste Quintana
d8437c2213
Allow and guard against undefined font-family
2015-09-13 17:06:09 -04:00
Machiste Quintana
4fe1c2db01
Use menu font on root element too
2015-09-13 16:48:13 -04:00
Machiste Quintana
6949c80665
Use system font for menus in atom-workspace
2015-09-13 16:47:11 -04:00
Lee Dohm
0c623401d6
Add imports to prevent build failure
2015-09-12 03:48:04 -07:00
Lee Dohm
ad952814ac
Fix bad import name
2015-09-11 21:55:27 -07:00
Lee Dohm
0e1cca6a4d
Update import file for new cursor file name
2015-09-11 21:55:27 -07:00
Lee Dohm
fd4e0e6e69
Change name of white cursor mixin
2015-09-11 21:55:27 -07:00
simurai
0ab52b654e
Use white-cursor on dark editors
2015-09-11 21:55:27 -07:00
simurai
2585e691e0
Don't output the white-cursor mixin
2015-09-11 21:55:27 -07:00
Lee Dohm
ad0ea13942
Add white-cursor Less mixin for use in dark syntax themes
...
Applies to #1654
2015-09-11 21:55:27 -07:00
Antonio Scandurra
493df95294
Merge branch 'master' into as-faster-style-recalculation
2015-09-09 20:53:58 +02:00
Antonio Scandurra
6b4e769a90
Position line numbers relatively
2015-09-09 17:58:39 +02:00
simurai
e1e2177058
Use San Francisco font on El Capitan Beta
...
`SF UI Text` only works for the downloaded version of the San Francisco font.
`.SFNSText-Regular` adds support for the bundled version that ships in El Capitan Beta
2015-09-01 14:26:05 +09:00
Max Brunsfeld
a4b9b9c6cd
👕 Use standard style for js code
2015-08-21 16:56:32 -07:00
Max Brunsfeld
b533aff8f4
🐎 Minimize dependencies loaded before the module-cache
2015-08-21 13:48:56 -07:00
Max Brunsfeld
2285e8a42c
Move babel config to a separate file in static directory
2015-08-19 17:55:29 -07:00
Max Brunsfeld
49e37f5410
Use source-map-support to handle stack trace conversion
...
Previously, our Error.convertStackTrace function was provided by coffeestack,
which only works for coffee-script. This adds a dependency on 'source-map-support',
which works for any source file with inline source maps.
This also refactors the code for registering our compilers (coffee-script,
typescript, and babel) so that caching logic is shared.
2015-08-19 17:55:29 -07:00
simurai
9fb97b093f
Add text color to atom-workspace
...
So text is readable on top of @app-background-color
2015-08-01 16:51:36 +09:00
simurai
5236b72103
Enable subpixel AA for tabs, status-bar etc.
...
Problem: The GPU layer added to the .gutter .tiles cause the surounding UI to also composite layers, like the tas or the status-bar. This disables subpixel anti-aliasing and text doesn't look that sharp.
Eventough the `.gutter` has `overflow: hidden`, it seems Chrome still thinks there is a chance of overlapping and thus creates the extra layers.
Solution: Creating an own stacking context for the `.gutter` seems to fix it.
Issue #7904
2015-07-18 20:05:28 +09:00
Machisté N. Quintana
3ac69500b0
Add SF UI font
2015-06-30 08:24:04 -04:00
Kevin Sawicki
993d702ce9
Include deprecated APIs when running core specs
2015-06-24 16:51:48 -04:00
Kevin Sawicki
85a4ae7fea
Remove --include-deprecated-apis command line option
2015-06-24 16:51:48 -04:00
Kevin Sawicki
bde74dee0b
Merge pull request #7281 from atom/sm-default-editor-font
...
New default editor font
2015-06-19 09:12:18 -07:00
Machiste Quintana
1bd94c670f
Fix copypasta selector
2015-06-16 20:23:41 -04:00
Machiste Quintana
fe4654c9ea
🐛 Fix pane resize cursors on Windows
2015-06-16 20:18:16 -04:00
simurai
e4ba689e40
Replaces default editor font
...
Only affects OS X
2015-06-15 16:03:50 +09:00
Roy Martin
384b88eecf
Fix inconsistency with pane resize cursors.
2015-06-09 01:06:45 -07:00
Antonio Scandurra
d294f35849
Get rid of .underlayer
...
/cc: @nathansobo
2015-06-05 16:26:33 +02:00
Kevin Sawicki
37939f6c76
Log deprecated-packages require error
2015-06-03 16:12:48 -07:00
Kevin Sawicki
c9eb9d71cc
Setup deprecated packages in dev mode
2015-06-03 16:11:16 -07:00
Kevin Sawicki
bf37a66831
Rename --one to --include-deprecated-apis
2015-06-02 16:36:20 -07:00
My-khael Pierce
a1b4f89ddd
remove unnecessary line break
2015-06-02 16:36:14 -04:00
Ben Ogle
49c8a10c08
Fix text lint error
2015-05-29 13:22:03 -07:00
Ben Ogle
fad99c69e6
Fix build issue: import ui vars.
2015-05-29 10:38:37 -07:00
Ben Ogle
98dc2f9d7f
Style links and code blocks in text-* classes
2015-05-28 16:09:15 -07:00
simurai
08c4e8e007
Unstyle <kbd>
...
that got intruduced in latest Boostrap upgrade.
Fixes #6923
2015-05-24 16:37:36 +09:00
Machiste Quintana
54ca895777
Use configured font settings in tooltips
2015-05-18 19:30:05 -04:00
Kevin Sawicki
c4d7df9e99
Prevent global variables from leaking out of index.js
2015-05-14 09:54:35 -07:00
Kevin Sawicki
9f2faa086b
Add back raw load settings logging
2015-05-13 10:11:46 -07:00
Kevin Sawicki
f2c50bfd9e
Remove unneeded loadSettings validation
2015-05-13 10:00:54 -07:00
Kevin Sawicki
f989981d19
Extract getCacheDirectory helper
2015-05-13 09:50:11 -07:00
Kevin Sawicki
fff546a1e5
Don't set background of spec windows
2015-05-13 09:47:10 -07:00
Kevin Sawicki
a0abd9ebe4
🎨
2015-05-13 09:37:13 -07:00
Kevin Sawicki
ded2438700
Add ; to inline style
2015-05-13 09:37:13 -07:00
Kevin Sawicki
943df49300
Read/write window background in local storage
2015-05-13 09:37:13 -07:00
Kevin Sawicki
87db62a70b
Remove empty title element
2015-05-13 09:37:12 -07:00
Kevin Sawicki
f5078a16e3
Remove default background style
2015-05-13 09:37:12 -07:00
simurai
d97f67095e
Add better fallback font
...
See comment https://github.com/atom/atom/pull/6567#commitcomment-10960397
2015-04-29 20:02:54 +09:00
simurai
52f06a619e
Add DejaVu Sans Mono to font stack
...
Should fix font issues on Linux #4201
2015-04-29 16:59:24 +09:00
Kevin Sawicki
df2b0664a1
Catch errors setting load time
2015-04-28 17:43:16 -07:00
Kevin Sawicki
0d9d9e1056
Track load time when profiling startup
2015-04-28 17:42:46 -07:00
Kevin Sawicki
313c8a73ce
Only pen dev tools when not already open
2015-04-28 09:04:52 -07:00
Kevin Sawicki
b5839a8960
Add created to profile message
2015-04-28 09:04:52 -07:00
Kevin Sawicki
3cc99d5662
Handle profile startup option on load
2015-04-28 09:04:52 -07:00
Michael Bolin
d2cd05ebdc
Add a handler for an unhandledRejection
.
2015-04-23 11:59:17 -07:00
Ben Ogle
c795879e0c
Update colors in syntax fallback vars
2015-04-21 11:43:54 -07:00
Ben Ogle
4fb59af3cc
Add fallback syntax var for attributes
2015-04-20 18:34:05 -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
7d592c8b78
includeDeprecations -> includeDeprecatedAPIs
2015-04-03 11:29:16 -07:00
Kevin Sawicki
5a7d746eae
Conditionally include deprecations in Atom
2015-04-03 11:27:59 -07:00
Ben Ogle
2338f8e65b
Make atom-pane overflow: visible
...
This allows children of the pane-item to make the decision to overflow or not.
2015-04-01 17:40:59 -07:00
Ben Ogle
9171089466
Add default syntax color vars
...
Will be used by syntax themes, and autocomplete
2015-03-30 13:50:08 -07:00
simurai
4980ce30a9
Absolute position pane resize-handle
...
- Keeps most themes unaffected
- More consistent with the tree-view resizer
2015-03-17 16:02:02 +09:00
liuxiong332
f8f42265da
delete PaneResizeHandleView that use jQuery and View and replaced with PaneResizeHandleElement
2015-03-10 17:02:34 +08:00
liuxiong332
651139e189
add pane-resize-handle-view and insert resize view into pane axis element
2015-03-09 13:16:30 +08:00
basarat
722089be45
feat(typescript) initial commit of built in typescript support
2015-03-08 15:35:27 +11:00
Max Brunsfeld
9bb4968e6f
Store load settings in URL fragment, not query string
2015-03-04 16:03:00 -08:00
simurai
2dcdbb5a92
Only set a font-size in the root
...
No need to select `html` and `body` when trying to override it.
Issue: #5735
2015-02-26 12:07:51 +09:00
Kevin Sawicki
caff9e0866
Merge pull request #5579 from sebmck/babel
...
Rename 6to5 to Babel
2015-02-20 15:04:26 -08:00
Kevin Sawicki
a14f1ab0b3
Merge pull request #5573 from postcasio/fix-pseudo-elements
...
Use double colons for "before" and "after" pseudo-elements
2015-02-17 17:58:32 -08:00
Sebastian McKenzie
52506a0df2
Rename 6to5 to Babel
2015-02-18 12:23:58 +11:00
Kevin Sawicki
983027b27f
🐎 inline vm compatibility patch
2015-02-17 16:50:03 -08:00
postcasio
5489d7d351
Use double colons for "before" and "after" pseudo-elements
2015-02-16 16:34:31 +00:00
Kevin Sawicki
718886a077
Pass in full path to root cache dir
2015-02-12 14:22:46 -08:00
Kevin Sawicki
445eee42db
🎨
2015-02-12 14:22:45 -08:00
Kevin Sawicki
fcced492d4
Break out helper methods in index.js
2015-02-12 14:22:45 -08:00
Kevin Sawicki
efd8f160da
Add helper to warm caches on apm install
2015-02-12 14:22:45 -08:00
Kevin Sawicki
68926d1319
🎨 Comment each cache setup
2015-02-12 14:22:45 -08:00
Kevin Sawicki
d6212cfc79
Start caching source maps
2015-02-12 14:22:45 -08:00
Kevin Sawicki
0738d456b5
Use coffee-cash module
2015-02-12 14:22:44 -08:00
Kevin Sawicki
e606b5fc73
Merge pull request #5316 from atom/sm-badge
...
Badge component
2015-02-10 09:33:53 -08:00
Kevin Sawicki
77741b6f3f
Set ATOM_HOME as early as possible in render process
...
Moves it from window-bootstrap.coffee to index.js so it runs before
the coffee cache is registered.
Refs #5412
2015-02-05 12:18:51 -08:00
simurai
efe2b5dcfc
🎨 Rename flexible size class
2015-01-31 11:05:00 +09:00
simurai
dc7bcfa8f2
🎨 Remove unused styles
2015-01-30 21:37:58 +09:00
simurai
ebad1eeb6a
Add badge component
...
It's now part of core
2015-01-30 19:53:54 +09:00
Michael Bolin
52f2c0ec69
rename esnext to 6to5
2015-01-29 17:29:02 -08:00
Michael Bolin
242fce3d79
Transpile all .js files with 6to5.
...
In the spirit of supporting JavaScript development for Atom packages,
this adds default support for es.next transpilation support in the way
that Atom already has default support for CoffeeScript transpilation.
There are many new features in ES6+ that make JavaScript development
easier and more enjoyable, particularly in terms of support for async code.
For reference, this was a much faster way to iterate on this than running `./script/build`
each time:
```
cp /Users/mbolin/src/atom/static/index.js /Applications/Atom.app/Contents/Resources/app/static/index.js
coffee --output /Applications/Atom.app/Contents/Resources/app/src --compile /Users/mbolin/src/atom/src/esnext.coffee
```
Run the following in the console to see how warm the cache was after startup:
```
global.require('../src/esnext/').getCacheHits()
global.require('../src/esnext/').getCacheMisses()
```
2015-01-29 11:56:32 -08:00
Kevin Sawicki
a9d215970f
Remove fs patches that are now fixed in Atom Shell
2015-01-21 10:39:08 -08:00
simurai
696c795b50
🐛 Fix overflow of mini editors
...
Issue #4400
2015-01-16 20:12:53 +09:00
simurai
c024abcc5f
🐛 Fix line-height of the indent-guide
...
Issue #4279
2015-01-15 20:14:57 +09:00
simurai
149cfdf0c2
✨ Let headers inherit the theme font-family
...
Issue https://github.com/atom/settings-view/issues/340
2015-01-14 10:37:06 +09:00
Kevin Sawicki
ae2ce9a1f9
Log raw load settings when parsing fails
2015-01-13 12:06:08 -08:00
Nathan Sobo
a406322748
Revert "Remove .pane-item selector from core"
...
This reverts commit ced66d920d
.
2015-01-07 16:12:22 -07:00
Nathan Sobo
ced66d920d
Remove .pane-item selector from core
...
It’s still in some themes, but we should be able to use a structural
selector to style anything in the pane so people don’t have to add
this class.
2015-01-07 10:25:32 -07:00
Kevin Sawicki
4142845632
⬆️ octicons@2.1.2
2014-12-23 11:43:37 -08:00
Machiste N. Quintana
d873f3d255
Add OS default fonts for Ubuntu (Unity) and Fedora (GNOME 3)
2014-12-12 14:01:57 -05:00
Kevin Sawicki
aa292874ec
Add reload button to specs window
2014-12-05 15:03:16 -08:00
Kevin Sawicki
0a84ad5307
Use .source.gfm as root selector
...
This matches the grammar's scope name and was an oversight from the
original CSS to Less conversion.
2014-12-01 17:23:37 -08:00
Ben Ogle
48f714d5fb
Fix deprecation link colors
2014-11-26 14:54:49 -08:00
Ben Ogle
aaee54bd08
Remove unnecessary error flash classes
2014-11-24 14:58:21 -08:00
Ben Ogle
61651db0b0
Render the deprecations as markdown
2014-11-20 11:41:53 -08:00
Kevin Sawicki
7b4a9aa2e4
Patch statSyncNoException to handle non-string args
...
Non-string values were being coerced to strings which can cause
unexpected results.
Refs atom/atom-shell#843
Closes #4247
2014-11-20 11:15:10 -08:00
Ben Ogle
1b85810735
Use classes rather than location attributes
2014-11-17 16:07:53 -08:00
Nathan Sobo
95ec0d8162
Replaces usages of .mini selector with [mini]
2014-11-13 16:04:57 -08:00
Nathan Sobo
0a4f5a365a
Add missing less imports to pass lesslint
2014-11-13 16:04:57 -08:00
Nathan Sobo
ed6ca9cd06
Remove .editor class to force themes to style background via :host
...
The goal is to allow the editor’s styling to be overridden as follows:
atom-text-editor {
background: black;
color: white;
}
If we retain these classes, themes will continue to style the root
element of the editor and destroy the ability to style the editor in
this way. You would instead have to do the following:
atom-text-editor::shadow .editor {
background: black;
color: white;
}
This is way less intuitive and confusing for people.
2014-11-13 16:04:57 -08:00
Nathan Sobo
263ff21cc1
Clean up shadow-DOM-specific text editor style sheet
2014-11-13 16:04:24 -08:00
Nathan Sobo
99b08826dd
Style non-shadow DOM editor with it’s own style sheet
...
Trying to style both modes of the text editor with the same style sheet
is proving to be more trouble than it’s worth. This prepares the shadow
DOM style sheet to diverge more radically to enable the background color
to be overridden from the outside more easily.
2014-11-13 16:04:24 -08:00
Kevin Sawicki
edfcc134ec
Add missing close import
2014-11-13 08:42:10 -08:00
Ben Ogle
c79db992d9
Overlay decorations render
2014-11-11 11:25:36 -08:00
Ben Ogle
9553c46030
Override the default styling of .highlight in the editor.
...
Closes #4136
2014-11-10 14:34:50 -08:00
Jeremy Allard
a140787252
🐛 load the bootstrap style for thumbnails
2014-11-09 01:40:49 -05:00
Nathan Sobo
058ef0a5a8
Fix autocomplete specs
2014-11-07 14:43:02 -07:00
Ben Ogle
b4d38d14e3
Add padding to panel headings
2014-11-07 09:44:32 -08:00
Nathan Sobo
e0f8d6f365
Fix disappearing editor when folding all
...
Also: simplify the editor stylesheet a bit. Still some more to do but
fixing this issue is more important.
2014-11-06 12:36:14 -07:00
Nathan Sobo
670b44f250
Only set both height and width of editor when shadow DOM is used
...
These work inside a shadow root, but break the flexbox behavior when
the shadow DOM is disabled.
2014-11-05 11:21:29 -07:00
Nathan Sobo
2c83c3fe17
Merge pull request #3943 from atom/ns-text-editor-shadow-dom
...
Render text editor contents inside shadow DOM
2014-11-05 09:42:07 -07:00
Ben Ogle
743c50014f
Do not import overlay
2014-11-04 16:59:02 -08:00
Ben Ogle
af761fb004
All panel styling into panels.less
2014-11-04 15:39:25 -08:00
Nathan Sobo
7202908780
Split editor stylesheet into light and shadow DOM versions
...
This prevents the need for a :host pseudo-class in the editor CSS which
breaks linting. It also fits selectors targeting the host element in a
more intuitive spot in the cascade.
2014-11-04 16:37:24 -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
65f40d6f7b
Move font styling to host element so font preferences work
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
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
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
3da11bf478
Update styles for modal panels.
2014-11-04 14:04:15 -08:00
Ben Ogle
022bc2e2a5
Only load the bootstrap styles we need!
2014-11-04 12:28:53 -08:00
Kevin Sawicki
b8285a00b0
Require path after setting start time
2014-10-30 10:49:08 -07:00
Kevin Sawicki
025967193a
Add path require to top
2014-10-30 10:48:51 -07:00
Kevin Sawicki
75627f50a2
Normalize process.resourcesPath on load
...
This ensures the drive letter is consistent on Windows for when
package paths are compared to the resources path to determine
whether to use the metadata cache for a bundled package.
Closes #3932
2014-10-30 10:31:37 -07:00
Kevin Sawicki
0c590d6170
Load CoffeeScript when using a custom resource path
...
Load CoffeeScript early whenever the resource path a subdirectory
from process.resourcesPath
Close #3993
2014-10-29 10:21:23 -07:00
Ben Ogle
b94485eafd
Set the heights of atom panels for location left and right.
2014-10-17 12:08:24 -07:00
Kevin Sawicki
6a6c7b1852
Calculate load time in index.js
...
Do it previously in window-bootstrap caused several things to not be
included such as requiring coffee script and atom shell modules.
Now it is a much more accurate representation of on load time.
2014-10-15 13:09:46 -07:00
Kevin Sawicki
289f17b119
Require coffee before module cache in dev mode
2014-10-15 13:09:46 -07:00
Kevin Sawicki
d745b9ef5f
Register module cache as early as possible
2014-10-15 13:09:45 -07:00
Kevin Sawicki
934c0720d8
Require ipc when needed
2014-10-15 13:09:44 -07:00
Kevin Sawicki
41598af2b2
Add pre-resolved path to require('atom')
2014-10-15 13:09:44 -07:00
Kevin Sawicki
171411823f
🐎 Resolve uncached core dependencies
...
Trust modules under the resource path to be there without stat-ing and
verifying.
2014-10-15 13:09:43 -07:00
Kevin Sawicki
8a0755340f
Remove extra )
2014-10-15 13:09:43 -07:00
Kevin Sawicki
bdebe575b7
💄 Use regular require paths
2014-10-15 13:09:43 -07:00
Kevin Sawicki
d877872c71
Use right require path
2014-10-15 13:09:42 -07:00
Kevin Sawicki
0a297d7642
Load module cache in index.js
2014-10-15 13:09:42 -07:00
Nathan Sobo
014e2e6fce
Make atom-workspace tag have ‘display: block’ style
2014-10-09 07:39:14 -07:00
Nathan Sobo
1eb3d8bf99
Use ‘atom-text-editor’ custom tag name for TextEditorElement
2014-10-09 07:39:14 -07:00
Nathan Sobo
8e06e88efa
Use ‘atom-workspace-axis’ custom tag name instead of ‘div’
2014-10-09 07:39:14 -07:00
Nathan Sobo
8941b97ed2
Use ‘atom-workspace’ custom tag name for WorkspaceElement
2014-10-09 07:39:14 -07:00
Nathan Sobo
eedf4894ae
Use ‘atom-pane-container’ custom tag name for PaneContainerElement
2014-10-09 07:39:14 -07:00
Nathan Sobo
ddf36a013c
Use ‘atom-pane-axis’ custom tag name for PaneAxisElement
2014-10-09 07:39:14 -07:00
Nathan Sobo
ee9284e228
Use ‘atom-pane’ custom tag name for PaneElement
2014-10-09 07:39:13 -07:00
Ben Ogle
b958286d22
Click to expand stack traces
2014-09-26 17:31:09 -07:00
postcasio
a615c3e081
Don't override antialiasing in markdown
2014-09-23 15:35:54 +01:00
Kevin Sawicki
ca9d05f6fa
Remove notification stylesheet
...
These were currently undocumented in the styleguide, had hard-coded colors,
weren't being styled by the default light/dark UI themes, and were unused.
They were also causing conflicts with the notification token scope that
the Objective-C grammar uses.
2014-09-18 09:26:46 -07:00
Nathan Sobo
0bae432109
Revert "Merge the react and non-react editor styles"
...
This reverts commit 01c4fe5340
.
2014-08-26 09:24:44 -06:00
Ben Ogle
01c4fe5340
Merge the react and non-react editor styles
2014-08-25 12:05:10 -07:00
Nathan Sobo
eabad3dcef
Use opacity to blink cursor instead of visibility so blink can be styled
2014-08-14 13:20:43 -06:00
Ben Ogle
bbeb4be5b1
Fix the status bar nested inline blocks.
...
They were 1 - 2px too low due to nesting inline-blocks.
2014-08-13 13:42:46 -07:00
Ben Ogle
25601d691d
Pull the mini editor styles out from react rule
2014-07-29 13:07:07 -07:00
Ben Ogle
23f21bcda2
Style the mini editors for a constant height
...
Adds an @input-font-size variable.
2014-07-29 12:31:34 -07:00
Ben Ogle
800d65e3de
Absolutify the placeholder text in mini editors.
...
Fixes #3118
2014-07-29 12:19:16 -07:00
Nathan Sobo
c1ec87c41b
Don't apply special styles React mini editors
2014-07-24 12:57:12 -07:00
Nathan Sobo
544c759fd1
Don't set an explicit line height on mini editors
...
This allows the line height to be styled via CSS. I would actually
like to allow all these properties to be assigned via CSS rather than
explicitly via the settings view, but that can be deferred until the
old editor is removed.
2014-07-21 10:43:31 -07:00
Nathan Sobo
e999ef00e7
Base editor dimensions on the wrapper view
...
The goal is to make the editor behave like a standard block-level
element.
The horizontal behavior is simple: we stretch horizontally to fill our
container.
The vertical behavior is more nuanced. If an explicit height is assigned
on the wrapper view, we honor that height. But if no explicit height is
assigned, the editor stretches vertically so that its contents are
visible.
This prepares us to support mini editors, which need to be 1-line tall
without an explicit height assignment.
2014-07-21 10:43:30 -07:00
Ben Ogle
c4204eb9e9
import the fallback variables in the base theme
2014-07-11 14:08:29 -07:00
Ben Ogle
cb0ee735be
Default cursor on scrollbars.
...
Fixes #2876
2014-07-09 08:46:48 -07:00
Ben Ogle
5c5576c39d
Use right margins for toolbar btn-groups rather than left.
...
Fixes #2830
2014-07-08 11:18:48 -07:00
Ben Ogle
1838ff2502
Use ‘flash’ class rather than ‘highlighted’.
...
Pull the flash into the base theme rather than the ui themes
2014-07-03 17:32:38 -07:00
Ben Ogle
168c6cdbca
Revert "Move the find-and-replace marker css into the base theme "
...
This reverts commit 942041f214
.
2014-07-03 14:22:58 -07:00
Ben Ogle
942041f214
Move the find-and-replace marker css into the base theme
2014-07-03 14:12:23 -07:00
Nathan Sobo
7c356d2592
Revert "Render highlights on their own layer to avoid GPU artifacts"
2014-06-21 01:58:11 -06:00
Nathan Sobo
df8d014e3c
Add a dedicated underlayer to avoid GPU artifacts on wrap guide etc
...
Trying to make the .highlights layer double as the .underlayer was
causing GPU artifacts on the wrap guide when the last highlight was
removed. This puts it in its own layer to avoid that.
2014-06-20 16:33:08 -06:00
Nathan Sobo
4218e0a037
Render highlights on their own layer to avoid GPU artifacts
...
Previously, when the last highlight div was removed from the lines
layer, chunks of the lines would sometimes disappear. Since we've
discovered that giving the lines an opaque background doesn't help with
subpixel anti-aliasing anyway, I've found that rendering highlights on
their own layer behind the lines and making the lines layer transparent
avoids the arficacts.
2014-06-20 15:18:19 -06:00
Ben Ogle
63587abe97
Give fold markers a pointer on hover
2014-06-18 14:21:03 -07:00
Ben Ogle
e89e2141d7
Merge pull request #2605 from atom/bo-ns-highlights
...
Add highlight decorations
2014-06-17 17:42:18 -07:00
Ben Ogle
3790cdb262
Reset highlights so they don’t interfere with styleguide text.highlight
2014-06-17 17:08:53 -07:00
Kevin Sawicki
de8b498402
Add deprecations to spec runner
2014-06-17 11:28:01 -07:00