Nathan Sobo
79089ced97
💄 whitespace
2014-03-07 17:19:53 -07:00
Nathan Sobo
dd27a35039
Silence CSP warnings from q's feature detection
2014-03-07 17:01:51 -07:00
Nathan Sobo
8405041f64
Merge branch 'master' into enable-csp
...
Conflicts:
package.json
2014-03-07 16:46:00 -07:00
probablycorey
a372993c44
Only listen of update events once when checking for update.
2014-03-07 15:39:44 -08:00
Nathan Sobo
5d49839236
Don't require loophole unless we need it. Won't happen in production.
2014-03-06 19:13:27 -07:00
Nathan Sobo
e6508237e7
Merge pull request #1710 from atom/ns-duplicate-multiple-lines
...
Handle multiple lines and multiple selections with the editor::duplicate-lines command
2014-03-07 04:01:59 +02:00
Nathan Sobo
2d4797c84e
Define allowUnsafeEval in an npm module
2014-03-06 18:56:09 -07:00
Nathan Sobo
392516e60f
Delegate activateNextPane correctly
2014-03-06 18:32:24 -07:00
Nathan Sobo
d09a2d0772
Merge branch 'master' into ns-duplicate-multiple-lines
...
Conflicts:
package.json
2014-03-06 18:16:48 -07:00
Nathan Sobo
2bd5c10f09
Merge branch 'master' into enable-csp
2014-03-06 18:14:25 -07:00
Nathan Sobo
b9b3d021cc
Add private method docs to DisplayBuffer::outermostFoldsInBufferRange
2014-03-06 15:31:14 -07:00
Nathan Sobo
6e202e18d8
💄 more comment formatting
2014-03-06 15:29:25 -07:00
Nathan Sobo
da85a07dae
💄 comment formatting
2014-03-06 15:17:34 -07:00
Nathan Sobo
85824c5df6
Handle last buffer line in Editor::duplicateLines
2014-03-06 14:48:52 -07:00
Nathan Sobo
20a0c27111
Rename duplicate-line to duplicate-lines (but retain deprecated method)
...
Might as well make the name accurate while it's early.
2014-03-06 14:36:25 -07:00
Nathan Sobo
76200884d5
Preserve folds when duplicating lines
2014-03-06 13:16:16 -07:00
Nathan Sobo
ce4ce55b29
Make outermostFoldsForBufferRowRange exclusive of end row
2014-03-06 12:52:27 -07:00
Nathan Sobo
66f6e38788
Fix ::translateToBufferMarkerAttributes reference
2014-03-06 12:42:16 -07:00
Nathan Sobo
d97a0a3324
Add DisplayBuffer::outermostFoldsInBufferRowRange
2014-03-06 12:36:42 -07:00
Nathan Sobo
63f5a0a324
💄 Rename attributes to params to match TextBuffer naming
2014-03-06 12:32:17 -07:00
Nathan Sobo
f0837bb98b
📝 Improve DisplayBuffer::findMarkers docs
2014-03-06 12:31:55 -07:00
Corey Johnson
1dd59204e9
Only released versions should check for updates
...
Fixes atom/release-notes#6
2014-03-06 10:51:47 -08:00
Corey Johnson
272dd4a076
Don't trigger window:update-available on new windows
...
This was causing people to see `undefined` release notes. In the
future we can store the release notes, but since anything related to
updates and the browser process takes a lot of time to fix I'm holding
off on that improvement.
2014-03-06 10:25:12 -08:00
Corey Johnson
626ebe380e
Use proper variable name
2014-03-06 10:14:02 -08:00
Nathan Sobo
a0234d0cc6
Handle empty selections on folded lines
2014-03-06 00:07:59 -07:00
Nathan Sobo
8a77acb51e
Duplicate multiple selections and multiple lines; folds are broken
2014-03-05 23:29:28 -07:00
Kevin Sawicki
372ca374cc
Serialize project
2014-03-05 15:06:19 -08:00
Corey Johnson
75b6e94be1
Merge pull request #1699 from atom/cj-convert-keystrokes-using-shift
...
Converts keystrokes with alpha chars using shift
2014-03-05 15:00:42 -08:00
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
Nathan Sobo
bc14ad5b15
Fix broken docs links
2014-03-05 08:53:38 -07:00
Kevin Sawicki
6531128647
📝 Add missing h
2014-03-04 18:25:31 -08:00
probablycorey
f4e88bbcc0
Make sure shift is not double added
2014-03-04 18:00:00 -08:00
probablycorey
d0889cca31
Normalize keystrokes to use shift and the uppercase letter
...
`cmd-shift-l`, `cmd-L` and `cmd-shift-L` all normalize to `cmd-shift-L`
2014-03-04 17:42:32 -08:00
Kevin Sawicki
f1b0390b9b
Remove apm from node_modules
2014-03-04 17:26:52 -08:00
probablycorey
4aa73968f0
Converts keystrokes with alpha chars using shift
...
e.g. cmd-shift-l would be converted to cmd-L
2014-03-04 17:04:06 -08:00
Nathan Sobo
06bc09951d
Fix position translation bug for wrapped lines with hard tabs
...
Fixes #1681
2014-03-04 17:55:53 -07:00
Nathan Sobo
33f0ca3042
Merge pull request #1695 from atom/ns-fix-softwrap-with-scrollbars
...
When scrollbar is visible, account for it when soft wrapping lines
2014-03-05 01:52:19 +02:00
Nathan Sobo
834dd963ef
Subtract the scrollbar's width when calculating editor's width in chars
...
Fixes #1342
2014-03-04 15:46:07 -07:00
probablycorey
956d4bd5bf
Rely on events to hide the "Check for update" menu item
2014-03-04 12:31:32 -08:00
probablycorey
8b45f89a75
Remove unnecessary method
2014-03-04 12:30:15 -08:00
probablycorey
def6b67c8f
Menu items hide conflicting items when made visible.
2014-03-04 12:26:50 -08:00
probablycorey
e8136853db
Add 'downloading update' menu item
...
Fixes #1689 , gets around the crashing bug when displaying a dialog
when update is found.
2014-03-04 12:26:50 -08:00
probablycorey
084b41e33b
Remove listeners after check for update is run.
2014-03-04 12:26:50 -08:00
Nathan Sobo
a1ad10b3ee
Merge pull request #1671 from atom/ns-improve-workspace-api-docs
...
Improve Workspace and WorkspaceView API docs
2014-03-04 20:18:34 +02:00
Nathan Sobo
20a396f190
Merge branch 'master' into ns-improve-workspace-api-docs
2014-03-04 11:04:24 -07:00
Nathan Sobo
4b7e5ca9fc
Make Workspace::openSync private for now
2014-03-04 11:02:52 -07:00
Nathan Sobo
8522707bd2
Switch to .scrollbars-visible-always/when-scrolling class names
2014-03-04 10:50:45 -07:00
Nathan Sobo
ea16ecc81f
💄 Drop the ::onValue call
2014-03-03 22:38:17 -07:00
Nathan Sobo
0eac9d3e6f
Apply 'scrollbar-style-x' class to WorkspaceView
...
…where x is 'overlay' or 'legacy' depending on whether the scrollbars
are only visible when scrolling (overlay) or always visible (legacy).
This will allow us to style scrollbars in legacy mode without forcing
them to be visible in overlay mode.
2014-03-03 22:33:48 -07:00
Nathan Sobo
5228b778dc
Add deprecated ::joinLine method
2014-03-03 16:51:39 -07:00