probablycorey
8d2e1b7e43
Selection::selectToEndOfLine acts on screen lines.
2013-12-31 08:38:27 -08:00
probablycorey
c37b884007
Add moveCursorToEnd/BeginningOfBufferLine
...
Fixes #1123
2013-12-31 08:21:35 -08:00
probablycorey
bac76784e0
cmd-left moves the cursor to column 0 on lines only containing whitespace
...
Fixes #1344
2013-12-30 13:57:34 -08:00
Ben Ogle
458d3b3d3c
Remove fat arrow
2013-12-20 15:04:17 -08:00
Ben Ogle
11ec939924
Add a cancel() function to the promise
2013-12-20 15:03:39 -08:00
Ben Ogle
5fdb3196a3
Add cancelScan()
2013-12-19 17:08:18 -08:00
Ben Ogle
8763a49dc6
Remove log line
2013-12-19 16:39:01 -08:00
Ben Ogle
871b7406cd
Terminate the old search if another is run.
2013-12-19 15:41:29 -08:00
Nathan Sobo
7d47527b17
Merge remote-tracking branch 'origin/master' into ns-telepathic-pane-items
2013-12-18 16:14:44 -07:00
Nathan Sobo
76922c2d46
Include stack of window state parse errors in CI build output
2013-12-18 13:10:25 -07:00
Nathan Sobo
fd7c3f3980
Merge branch 'master' into ns-telepathic-pane-items
...
Conflicts:
src/pane.coffee
2013-12-18 13:07:37 -07:00
Matt Colyer
bf021ab7f7
Merge branch 'master' into win32-specs
...
Conflicts:
tasks/spec-task.coffee
2013-12-18 09:34:28 -08:00
Nathan Sobo
0dc031140c
Omit destroyed pane items
...
This is an interim solution which enables atom/image-view#4 to correctly
deserialize when the path has been deleted both on atom master and in
atom/atom#1326 .
2013-12-17 21:39:12 -07:00
Kevin Sawicki
cef7577826
Install apm into node_modules
...
settings-views launches apm via a NodeBufferedProcess so it still needs to
be available built against Atom's headers.
The version in apm/ is just for running via the CLI directly and is compiled
against node's headers.
2013-12-17 19:25:44 -08:00
Matt Colyer
e7f63b7c62
Merge branch 'master' into win32-specs
2013-12-17 18:22:08 -08:00
Matt Colyer
8b112cfd65
Get core specs running
2013-12-17 17:55:46 -08:00
Kevin Sawicki
ed8800d182
Install apm to apm/ from vendor/apm
2013-12-17 16:53:31 -08:00
Kevin Sawicki
0aabfddfcb
🐎 Stat without exceptions in Directory::getEntries
2013-12-17 16:51:11 -08:00
Matt Colyer
20df9f4666
Add --log-file option for redirecting output
2013-12-17 16:31:13 -08:00
Nathan Sobo
e40b7b1412
Update to telepath 0.79.0 so representation creation can be delayed
...
Instead of creating representations for a class as soon as the class is
registered, we wait until all representation classes are registered and
call `::createRepresentations` on the Atom global to build everything in
a single bottom up traversal.
2013-12-17 17:05:54 -07:00
Nathan Sobo
611559ecd6
Fix pane spec. Fully test serialization lifecycle via ::testPersistence.
2013-12-17 17:05:54 -07:00
Nathan Sobo
c74783ebbf
Allow telepath to manage serialization of non-telepathic pane items
...
This is the first step in converting Pane into a telepath model. We skip
interaction with the deserializer for items and allow telepath to handle
everything. There's actually a preexisting replication error in moveItem
that I'm going to leave until we drop out a Pane model.
2013-12-17 17:05:54 -07:00
Nathan Sobo
9df69f801b
Register deserializers on telepath as representation classes
2013-12-17 17:05:54 -07:00
Nathan Sobo
0438565c43
Fix site.createDocument shim
2013-12-17 16:46:16 -07:00
Nathan Sobo
e7b632eb18
Merge branch 'master' into ns-telepathic-atom-global
2013-12-17 16:30:24 -07:00
Kevin Sawicki
cdce91157f
Reverse load path order
...
Packages may be linked into ~/.atom/packages or ~/.atom/dev/packages
so the resource should be loaded from there when available.
2013-12-17 15:04:17 -08:00
Kevin Sawicki
a566bd469d
Use fs-plus.isFileSync to check path
...
Previously fs::statSyncNoException not being null was used but it always
returns an object or false so the first path checked was always being used.
2013-12-17 15:01:53 -08:00
Kevin Sawicki
389586bb41
Add ~/.atom/dev/packages to load paths
2013-12-17 15:00:27 -08:00
Nathan Sobo
a57083a48b
Mark Atom global class methods with instance equivalents as 'Private:'
2013-12-17 11:18:59 -07:00
Nathan Sobo
3db9e16637
Upgrade to telepath 0.75.0 for custom object support
2013-12-16 19:03:10 -07:00
Nathan Sobo
bd3cfda2bb
Merge branch 'master' into ns-telepathic-atom-global
...
Conflicts:
src/atom.coffee
2013-12-16 18:18:06 -07:00
Ben Ogle
43baee5abd
Merge pull request #1322 from atom/bo-fix-tabs-and-soft-wrap
...
Dont re-atomicize atomic tokens
2013-12-16 15:56:22 -08:00
Ben Ogle
b959fc0a6a
use @
2013-12-16 15:46:07 -08:00
Ben Ogle
77b5fd47ca
Dont re-atomicize atomic tokens.
...
Fixes #1318
2013-12-16 15:34:27 -08:00
Kevin Sawicki
9cdc15b161
Guard against no other focusable elements
...
This previously occurred in areas we all the elements had a -1 tabindex
or were disabled.
2013-12-16 13:54:59 -08:00
Kevin Sawicki
010931391e
Use event.target
2013-12-16 12:14:41 -08:00
Kevin Sawicki
eaf6aba943
Return true from event handler
2013-12-16 12:12:14 -08:00
Kevin Sawicki
d60d710325
Inline sendActionToFirstResponder
2013-12-16 12:11:19 -08:00
Kevin Sawicki
bb1bcc233a
Handle native commands in render process
...
This fixes copy, paste, undo, redo for elements with a native-key-bindings
class by forwarding to the menu's first responder from the render process.
2013-12-16 12:06:43 -08:00
Ben Ogle
c6e96a6188
Merge pull request #1308 from atom/bo-common-functions-up-a-level
...
Common core commands to workspaceView
2013-12-16 11:12:44 -08:00
Kevin Sawicki
6a7e4c30fb
🐎 Memoize version to prevent future IPC calls
2013-12-13 14:49:23 -08:00
Nathan Sobo
ed41cc3cad
Restore comment
2013-12-13 14:07:30 -08:00
Kevin Sawicki
70f3527123
Expose shell load time render process for metrics
2013-12-13 12:15:45 -08:00
Nathan Sobo
e67e8ff0f5
Restore Atom::getLoadSettings and spy on it in window spec
...
I initially ripped out Atom::getLoadSettings in favor of a mutable
property because window spec was making an assumption that such a
property existed anyway. Since load settings need to be available from
class methods, the instance method just delegates to the class method.
But that means there's no ::loadSettings property to mutate in that
spec. I replaced the former approach with a spy which has the added
advantage of not polluting windowSettings for subsequent specs.
2013-12-13 12:02:48 -08:00
Nathan Sobo
da964a8f15
Fix comment
2013-12-13 09:55:45 -08:00
Nathan Sobo
2c4aee1181
Restore cloning of ::loadSettings in ::getLoadSettings
...
It's a deprecated method, but if you call it you'll get a clone.
2013-12-13 09:55:13 -08:00
Nathan Sobo
24d3f1daeb
Reduce diff size by restoring old method order where possible
2013-12-13 09:50:57 -08:00
Nathan Sobo
beb2fb08ea
Merge branch 'master' into ns-telepathic-atom-global
...
Conflicts:
package.json
2013-12-13 09:32:13 -08:00
Kevin Sawicki
87e325dce1
Set body's visibility to hidden when unloading
...
Previously the display was changed to none via $.hide() which accidentally
affected the ability of package's to serialize DOM properties such as
scrollTop since the value would always be zero when the display was none.
The goal here is to just prevent a flicker when refreshing the
editor window and setting visibility to hidden still accomplishes this.
2013-12-12 18:05:36 -08:00
Ben Ogle
a25812dca7
Move cmd-s and cmd-S to workspaceView
2013-12-12 17:50:15 -08:00