Corey Johnson
b2177cbc09
Merge pull request #1360 from atom/cj-add-prepend-append-methods-to-workspace
...
Add prepend/append methods to WorkspaceView
2014-01-03 16:34:16 -08:00
probablycorey
9f32a24e7e
Add all Tool Panel append and prepend methods
2014-01-03 15:43:00 -08:00
Nathan Sobo
77dba8d19b
Merge branch 'master' into ns-fix-mini-editor-leak
2014-01-03 10:03:25 -07:00
probablycorey
512f373ca6
Merge remote-tracking branch 'origin/master' into cj-update-user-keymap
2014-01-02 11:54:06 -08:00
probablycorey
88ee021b4d
Watch user's keycap for changes and apply them
2013-12-31 15:21:42 -08:00
Kevin Sawicki
fa9aa3691b
Extend GrammarRegistry in Syntax
2013-12-31 15:15:40 -08:00
Kevin Sawicki
c1fc09e510
Use grammars from registry
2013-12-31 15:15:39 -08:00
Kevin Sawicki
19212f99ee
Remove TextMateGrammar use in specs
2013-12-31 15:15:39 -08:00
Kevin Sawicki
2681dcc63c
Remove TextMateGrammar class now in first-mate
2013-12-31 15:15:39 -08:00
Kevin Sawicki
6f5d85edb9
Use grammar registry from first-mate
2013-12-31 15:15:39 -08:00
Kevin Sawicki
a59c01c6be
Move editor-specific grammar specs to editor-spec
2013-12-31 15:15:39 -08:00
Kevin Sawicki
33c1353500
Only generate evil files when needed
2013-12-31 15:11:29 -08:00
Kevin Sawicki
22a7c25104
💄 Remove unneeded requires, variables, commas, and parens
2013-12-31 15:05:34 -08:00
probablycorey
b0077986b4
Use temp user directory for keymap config specs
2013-12-31 14:31:06 -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
Nathan Sobo
42b203d502
🚱 Fix mini editor leak
...
Previously, we were overriding Editor::destroy, which is now provided
by telepath. Since the real destroy wasn't being called, we were failing
to remove editors associated with mini editor views.
2013-12-18 17:05:34 -07:00
Nathan Sobo
7d47527b17
Merge remote-tracking branch 'origin/master' into ns-telepathic-pane-items
2013-12-18 16:14:44 -07:00
Matt Colyer
8366887df6
Don't use a logfile unless one is defined
2013-12-17 18:28:17 -08:00
Matt Colyer
e7f63b7c62
Merge branch 'master' into win32-specs
2013-12-17 18:22:08 -08:00
Matt Colyer
72523de046
Remove fixture that got checked in
2013-12-17 17:58:01 -08:00
Matt Colyer
8b112cfd65
Get core specs running
2013-12-17 17:55:46 -08:00
Matt Colyer
20df9f4666
Add --log-file option for redirecting output
2013-12-17 16:31:13 -08:00
Nathan Sobo
611559ecd6
Fix pane spec. Fully test serialization lifecycle via ::testPersistence.
2013-12-17 17:05:54 -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
75153388cc
Use tab char
2013-12-16 15:50:26 -08:00
Ben Ogle
77b5fd47ca
Dont re-atomicize atomic tokens.
...
Fixes #1318
2013-12-16 15:34:27 -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
Ben Ogle
e8c5027026
💄 Update specs to use ::function() format
2013-12-13 10:28:38 -08:00
Nathan Sobo
beb2fb08ea
Merge branch 'master' into ns-telepathic-atom-global
...
Conflicts:
package.json
2013-12-13 09:32:13 -08:00
Ben Ogle
a25812dca7
Move cmd-s and cmd-S to workspaceView
2013-12-12 17:50:15 -08:00
Ben Ogle
1f9a7599b7
cmd-w works anywhere in the editor
2013-12-12 17:50:15 -08:00
Nathan Sobo
bfcb24f517
Fix pesky workspace view serialization spec
...
This isn't beautiful, but this whole approach is slated to be replaced
in the recent future.
2013-12-12 16:36:34 -08:00
Nathan Sobo
208ed09109
Use atom.state instead of defunct windowState in spec
2013-12-12 16:35:56 -08:00
Nathan Sobo
a564cc66f6
Replace Atom::getLoadSettings with a ::loadSettings property
...
We assign a value into ::loadSettings anyway in a spec, so there's not
much point leaving it a method. Eventually I'd like to pass all these
settings in when constructing the Atom object and eliminate awareness
of the loadSettings altogether from the Atom global.
2013-12-12 16:33:30 -08:00
Nathan Sobo
ebe77065cc
Destroy orphans after each spec
2013-12-12 15:45:16 -08:00
Nathan Sobo
30b0fed60f
Remove packageStates from atom state after specs just in case
2013-12-12 15:11:59 -08:00
probablycorey
90f3726c5c
Fix window specs
2013-12-12 15:10:01 -08:00
Nathan Sobo
5f10c48219
Kill double project assignment
2013-12-12 14:40:12 -08:00
Nathan Sobo
23957d7f66
WIP: Make atom global a telepath model
...
Specs seem to be green but hang on what I'm assuming to be a long GC
pause near the end. I need to investigate what's going on memory wise.
2013-12-12 14:33:50 -08:00
probablycorey
132194337e
Merge remote-tracking branch 'origin/master' into cj-deleted-files-not-modified
2013-12-12 11:00:17 -08:00
probablycorey
f414c0955b
Specs don't prompt to save editors by default.
2013-12-12 10:35:11 -08:00
Ben Ogle
4dbca94d32
spec 💄
2013-12-12 10:34:08 -08:00
Ben Ogle
1f69963982
Apply text to buffer via diff on reload
...
Previously, it would blindly read from disk on reload, and set the text
into the editor. This was problematic as it would mess with markers and
folds. No longer.
Fixes #1285 and fixes atom/bookmarks#3
2013-12-12 10:34:08 -08:00
probablycorey
787b6fb677
Revert "Don't pop-up save dialog in specs"
...
This reverts commit e0ad22d0bd .
2013-12-12 10:09:41 -08:00
probablycorey
2d5b04579f
Merge branch 'master' into cj-deleted-files-not-modified
...
Conflicts:
src/pane.coffee
2013-12-12 09:57:28 -08:00
Kevin Sawicki
29b85a1bb9
Clear the goal column when the cursor moves
...
Previously it was only cleared when changing the position explicitly
and not as a result of the underlying marker changing such as during a
text insertion.
Closes #1295
2013-12-11 18:02:52 -08:00
probablycorey
e0ad22d0bd
Don't pop-up save dialog in specs
2013-12-11 14:51:44 -08:00
probablycorey
115203cbd2
Update spec description
2013-12-11 14:48:12 -08:00
Nathan Sobo
8a8df8d6cb
Add Atom::isReleasedVersion, which determines if the version is a SHA
2013-12-11 12:28:20 -08:00