Nathan Sobo
5e8213d45f
Add atom.allowUnsafeEval loophole and disable unsafe-eval again
...
With Node.js baked in, there's no water-tight way to prevent users from
evaluating code at runtime, at least with CSP alone. This is because
node exposes a 'vm' module that allows scripts to be compiled. There's
also `module._compile`, etc.
I think a reasonable compromise is to protect users from eval'ing code
by accident. This commit adds an atom.allowUnsafeEval method which
re-enables eval in the dynamic scope of the given function.
I then use this to compile the keystroke grammar which saves us the
complexity of pre-compiling it during specs.
What do people think?
2014-03-05 09:57:08 -07:00
Patrick Toomey
fc543fc5a6
add unsafe-eval for now
2014-03-05 09:32:49 -06:00
Patrick Toomey
2e3aec81e7
initial attempt at CSP policy to see what breaks
2014-03-05 09:03:27 -06:00
Ben Ogle
705f77f5ba
Comments
2014-02-28 17:38:08 -08:00
Ben Ogle
c71cbf2e09
Add variables for wrap-guide and indent-guide
2014-02-28 17:38:08 -08:00
Ben Ogle
33aba7b721
Update syntax color variables
2014-02-28 17:38:08 -08:00
Nathan Sobo
28d7db2371
Set overflow to 'hidden' on panes. I'm pretty sure this fixes #1594 .
2014-02-26 18:19:07 -08:00
Kevin Sawicki
f9d70e5623
Make skipped specs yellowish
2014-02-11 16:19:46 -08:00
Kevin Sawicki
750e3565fd
Remove unused margin styles
2014-02-11 09:06:13 -08:00
Kevin Sawicki
4c60c40eb8
Nest list-unstyled rule
2014-02-11 09:06:13 -08:00
Kevin Sawicki
830a8ddc03
Use bootstrap tooltips
2014-02-11 09:06:13 -08:00
Kevin Sawicki
6a408a3a55
Make symbol-header font size 18px
2014-02-11 09:06:13 -08:00
Kevin Sawicki
4b2e8f8713
Use fold/unfold octicons
2014-02-11 09:06:13 -08:00
Kevin Sawicki
6776fa4f0d
Remove border from symbol area
2014-02-11 09:06:12 -08:00
Kevin Sawicki
8be5f7d6c8
Use bootstrap to style spec reporter
2014-02-11 09:06:12 -08:00
Kevin Sawicki
91bd852812
Use hyphen separated class names
2014-02-11 09:06:12 -08:00
Kevin Sawicki
99c2c32e1e
Nest styles
2014-02-11 09:06:12 -08:00
Kevin Sawicki
cf73dd467a
Pad stack traces
2014-02-11 09:06:11 -08:00
Kevin Sawicki
05769f8a49
💄 One property per line
2014-02-11 09:06:11 -08:00
Cheng Zhao
3d27cd662a
Save the sync message in require('crash-reporter').start().
2014-02-03 19:31:40 +08:00
Cheng Zhao
c1f3aa14cd
Do not send synchronous messages in index.html.
2014-02-03 16:03:59 +08:00
Kevin Sawicki
fe748dbcc8
Update octicons
2014-01-29 18:00:00 -08:00
Kevin Sawicki
1e759ee646
Add missing package icon
2014-01-29 17:58:35 -08:00
Corey Johnson
337390df47
Merge pull request #1489 from atom/cj-update-coffee-script
...
Update coffee script v1.7.0
2014-01-29 09:09:36 -08:00
probablycorey
d7638b4420
Use require('coffee-script').register()
2014-01-28 16:35:05 -08:00
Kevin Sawicki
c1a9c3b5fb
Update octicons
2014-01-28 10:06:54 -08:00
Nathan Sobo
519ebb1ca6
Leave folded marker on end of lines in its natural position
...
Previously, we were nudging it upward. Something must have changed at
some point because it looked too high.
2014-01-20 14:22:26 -07:00
Nathan Sobo
4db2ad53fd
Rename .fold class to .folded on line numbers in gutter
...
Using an adjective blends in better with '.foldable'
2014-01-18 11:35:22 -07:00
Nathan Sobo
149a6825b4
Show bookmarks instead of fold indicators unless hovering
2014-01-17 17:20:37 -07:00
Nathan Sobo
99f025d5d6
Rename .fold-icon to .icon-right in gutter to make it multi-purpose
2014-01-17 16:59:50 -07:00
Nathan Sobo
475ff140a7
Make unfolded fold icons darker on hover
2014-01-17 15:22:29 -07:00
Nathan Sobo
1e3dc05b3d
Nudge chevron-right left a bit to align better with chevron-down
2014-01-17 14:58:16 -07:00
Nathan Sobo
1a12a17b7a
Use actual markup for fold icon so we can determine when it's clicked
2014-01-17 14:55:06 -07:00
Nathan Sobo
8757e1f145
Add downward pointing chevrons next to foldable row numbers in gutter
2014-01-17 14:34:53 -07:00
Kevin Sawicki
63df8dfcdb
Merge remote-tracking branch 'origin/master' into chrome31
...
Conflicts:
package.json
2014-01-13 15:01:52 -08:00
Nathan Sobo
b21eb6f934
Drop .flexbox-repaint-hack div and use pseudo selector instead
...
We don't actually need structural markup to ensure that all pane views
are absolutely positioned. We can just use the `> *` selector inside of
.pane-items.
/cc @probablycorey is there anything I'm missing here?
2014-01-11 19:13:00 -07:00
Nathan Sobo
738bfd7253
Fix layout of tabs with flexbox repaint hack
...
The .item-views div needs to be the first child of pane and contain
the absolutely positioned repaint hack div inside it, otherwise the tabs
don't get honored as flexbox items.
2014-01-10 19:02:19 -07:00
probablycorey
d908c8b026
Use absolute divs to limit repaints on keypresses
2014-01-08 14:31:46 -08:00
probablycorey
6f766acac8
Rename .row and .column to .pane-row and .pane-column
...
Bootstrap's .row and .column css was influencing our pane rows and
columns.
2014-01-08 14:30:33 -08:00
probablycorey
7eba9d3a23
Use flexbox to arrange panes
2014-01-08 14:29:32 -08:00
Cheng Zhao
72744494b8
Also use node-vm-compatibility-layer in renderer.
2014-01-07 18:48:03 +08:00
Cheng Zhao
c287be1725
Fix bootstrap in renderer.
2014-01-07 18:48:03 +08:00
Ben Ogle
38c4fb3884
Add .background-message to the default theme
2013-12-19 12:14:46 -08:00
Kevin Sawicki
865d94d758
Add dev mode icon to status bar
...
Skull colliding with tabs was too much to handle.
Red square in status bar is the new indicator.
2013-12-11 18:57:07 -08:00
Kevin Sawicki
e3b89aca93
Use defaults similar to ui-variables colors
2013-12-06 12:56:15 -08:00
Kevin Sawicki
9183d4968f
Only include used colors for now
2013-12-06 12:56:14 -08:00
Kevin Sawicki
1aa96fc37a
Drop text segment from color
2013-12-06 12:56:14 -08:00
Kevin Sawicki
d75d3b6d09
Import syntax-variables in atom.less
2013-12-06 12:56:14 -08:00
Kevin Sawicki
f60856eca7
Add more syntax variables
2013-12-06 12:56:14 -08:00
Kevin Sawicki
3a7049a1d9
Import syntax in atom.less
2013-12-06 12:56:14 -08:00