Commit Graph

164 Commits

Author SHA1 Message Date
Antonio Scandurra
97dd25d14f 💚 2016-05-24 08:10:48 +02:00
Antonio Scandurra
ce4b2fa810 Merge branch 'master' into ns-switch-to-display-layers
# Conflicts:
#	src/display-buffer.coffee
#	src/text-editor.coffee
#	src/tokenized-buffer.coffee
2016-04-27 18:16:03 +02:00
joshaber
aa9e8ab620 Update the spec. 2016-04-26 14:56:00 -04:00
joshaber
759d64501d Better test. 2016-04-25 16:07:49 -04:00
joshaber
6852d6e91c Test it. 2016-04-25 15:34:46 -04:00
Antonio Scandurra
754cbc2a67 Merge branch 'master' into ns-switch-to-display-layers
# Conflicts:
#	spec/tokenized-buffer-spec.coffee
2016-04-20 10:55:56 +02:00
Damien Guard
99e716f9ed Fix specs failures on Windows including paths 2016-04-15 11:25:05 -07:00
Antonio Scandurra
bef7539e34 Refactor DisplayBuffer to DecorationManager
This commit moves all the remaining concerns not related to decorations
out of `DisplayBuffer` and into `TextEditor`. This means the
`DisplayBuffer` is now free to be renamed to `DecorationManager`.
2016-04-05 18:43:08 +02:00
Robert Fruchtman
1c5ad8db0f destory -> destroy 2016-03-17 19:11:07 -07:00
Antonio Scandurra
12587073d2 🎨 isQuitting -> isUnloading 2016-03-07 10:52:16 +01:00
Antonio Scandurra
3d15b6e16b Merge branch 'master' into as-serialize-history-without-snapshots 2016-03-07 10:33:52 +01:00
Antonio Scandurra
41c293ef9d Always pass {isQuitting} in tests 2016-03-04 17:23:19 +01:00
Katrina Uychaco
b7f0f794f8 Don't destroy pane if replacing last pending item
Signed-off-by: Michelle Tilley <binarymuse@github.com>
2016-02-29 17:11:11 -08:00
Michelle Tilley
4769e601bf Move spec from tabs package
See https://github.com/atom/tabs/pull/274#issuecomment-190064071

Signed-off-by: Katrina Uychaco <kuychaco@github.com>
2016-02-29 11:27:38 -08:00
Michelle Tilley
84a2ef69af Fix Workspace#open pending specs 2016-02-26 07:23:51 -08:00
Katrina Uychaco
a146401f21 Terminate pending state for opened file if pending option is false 2016-02-17 14:14:59 -08:00
Katrina Uychaco
b8677c13df Rename config to allowPendingPaneItems and improve description 2016-02-17 11:56:50 -08:00
Katrina Uychaco
c9150c3f73 Add test for core.openPendingPaneItems setting 2016-02-16 15:24:18 -08:00
Max Brunsfeld
49776d114c Merge branch 'beta' 2016-02-02 12:00:08 -08:00
Max Brunsfeld
19349edc7a Only add local paths to recent documents list
Also, add them in Workspace::open and not AtomEnvironment::openLocations
so that files opened in an existing window will also be added to the
list
2016-02-02 11:16:14 -08:00
simurai
4cf8abc786 🎨 Rename top/bottom-bar to header/footer 2016-02-01 11:34:08 -08:00
simurai
b9cea80d4f Add top/bottom bar specs 2016-02-01 11:34:08 -08:00
Antonio Scandurra
e0bb800dd3 Write integration spec 2015-12-07 15:54:22 +01:00
Kevin Sawicki
1fac3cb4e2 Merge pull request #9620 from DouweM/window-title
Use em-dash in window title and exclude app name on OS X
2015-12-03 16:23:43 -08:00
Max Brunsfeld
228e67838c Suppress false coffeelint error 2015-11-30 10:51:03 -08:00
Douwe Maan
b11d0c2585 Use em-dash in window title and exclude app name on OS X 2015-11-21 14:09:00 +01:00
Max Brunsfeld
30b3cb249e Merge pull request #9636 from DouweM/unique-title
Use unique text editor title in window and tab titles
2015-11-20 16:55:38 -08:00
Nathan Sobo
3e22d9f7a2 Merge PR #9607 with a small change 2015-11-20 10:41:22 -07:00
Nathan Sobo
704da43800 Prevent spec from closing window 2015-11-20 10:34:05 -07:00
Antonio Scandurra
93481c8a0d Move ::isTextEditor down into Workspace 2015-11-19 17:56:53 -08:00
Douwe Maan
5c701ed5df Use long title in tests 2015-11-18 20:31:42 +01:00
Douwe Maan
f93565708b Close empty active window when Close command is given 2015-11-16 17:54:06 +01:00
Nathan Sobo
d2fdc414e7 Merge pull request #8919 from bencolon/workspace_vertical_splits
Add top/bottom split options when opening uri in a workspace
2015-10-22 14:13:42 -06:00
Ben Colon
1b0d72b232 Add up/down split options when opening uri in a workspace 2015-10-22 17:03:10 +02:00
Nathan Sobo
84aa8471b4 Pass AppDelegate to Workspace, Pane instead of bound functions
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-13 18:54:48 -06:00
Antonio Scandurra
56e13bba69 Reset Workspace in AtomEnvironment 2015-10-12 15:01:00 +02:00
Max Brunsfeld
369f3d2648 Don't use atom.{notifications,config,deserializers,confirm} in Pane
Still need to get rid of one use of showSaveDialogSync
2015-10-09 17:18:26 -07:00
Thomas Johansen
669eff5d20 🔥 Remove duplicate keys 2015-10-07 15:25:06 -05:00
Antonio Scandurra
464cfd4474 Don't use atom.confirm in Workspace 2015-10-07 15:25:02 -05:00
Nathan Sobo
b2359f44a6 Don’t use atom.grammars global in TokenizedBuffer 2015-10-07 15:25:00 -05:00
Nathan Sobo
dc0709ef9e Don’t use atom.assert global in DisplayBuffer 2015-10-07 15:24:59 -05:00
Nathan Sobo
d15d9be9eb Construct Workspace with all dependencies in specs 2015-10-07 15:24:59 -05:00
Nathan Sobo
eb2ace37b4 Move TextEditor construction to Workspace
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-07 15:24:56 -05:00
Max Brunsfeld
77825e9d41 Wait for async service consumption in workspace spec
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-10-07 15:24:56 -05:00
Nathan Sobo
156cdfaf31 Move Workspace.deserialize to an instance method
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-07 15:24:55 -05:00
Nathan Sobo
3491fa3650 Construct Project during Atom environment construction
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-07 15:24:55 -05:00
Nathan Sobo
26f0ef5424 Move Project.deserialize to instance method
So we can instantiate atom.project during Atom environment construction.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-07 15:24:55 -05:00
Nathan Sobo
3d4ed37f81 Don’t use Serializable mixin in Workspace 2015-09-22 10:55:52 -06:00
Thomas Johansen
e0ff96127a 🔥 Remove deprecations from Workspace 2015-09-22 10:37:06 -06:00
Nathan Sobo
035429b7bc Wait for fakeSearch to be defined in spec 2015-09-18 20:48:49 -06:00