Commit Graph

3198 Commits

Author SHA1 Message Date
Matt Colyer
015f4f7542 Merge remote-tracking branch 'origin/master' into win-specs 2013-11-06 12:12:41 -08:00
Kevin Sawicki
9f5e913804 Update remaining selected class names to fold-selected 2013-11-06 09:55:53 -08:00
Kevin Sawicki
383a724144 Update class name to new fold-selected 2013-11-06 09:50:06 -08:00
Kevin Sawicki
90c21906a4 Add fold- prefix to selected class name
This prevents interference with the base selected class
which adds a noticeable blur to folded lines that are selected
when using dark syntax and light ui.
2013-11-06 09:49:18 -08:00
Kevin Sawicki
efb87237e2 Reenable undo, redo, and transaction specs 2013-11-05 18:25:37 -08:00
Kevin Sawicki
2be5790311 Set auto indent config setting in spec 2013-11-05 18:25:36 -08:00
Kevin Sawicki
60fa937ed7 Add asserts for undoing an insertNewlineAbove 2013-11-05 18:25:36 -08:00
Kevin Sawicki
867a6ecd95 Reenable insertNewlineBelow() specs 2013-11-05 18:25:36 -08:00
Matt Colyer
fb6b8029be Run bundled and user specs 2013-11-05 16:58:42 -08:00
Matt Colyer
edc789173b Don't install commands on windows 2013-11-05 16:44:03 -08:00
Matt Colyer
7ba4782ceb Don't focus atom-spec.coffee 2013-11-05 16:37:54 -08:00
Matt Colyer
9863386644 Update Directory specs for platform specific issues 2013-11-05 16:36:51 -08:00
Matt Colyer
1fe6a2974d Merge branch 'win-specs' of https://github.com/atom/atom into win-specs 2013-11-05 15:46:34 -08:00
Matt Colyer
6bd7dd8841 Add jasmine-tagged, for filtering platform specs 2013-11-05 15:44:38 -08:00
Ben Ogle
8851120db2 Add split: left handling to openSingletonSync() 2013-11-05 11:25:45 -08:00
Kevin Sawicki
287f1984db Update width in chars when editor's size changes
Register an overflowchanged event listener on the editor's scroll view
and update the width in chars when this event fires.

Closes #928
Closes #961
Closes #993
2013-11-04 18:12:17 -08:00
Matt Colyer
ee280d87f9 Ensure we're using proper dom ids in specs 2013-11-04 16:33:11 -08:00
Matt Colyer
717626fbaf Merge branch 'master' into win-specs 2013-11-04 14:53:49 -08:00
Matt Colyer
ec761d00ef Remove modified check on fixture file 2013-11-04 14:53:43 -08:00
Kevin Sawicki
621058aa9e Register copied edit sessions on the project
Without this any split edit sessions won't be passed to package
listeners that register using project.eachEditSession()

Closes #1065
2013-11-01 15:51:27 -07:00
Matt Colyer
c9eebcf00a Fixture hashes depend on line returns 2013-11-01 15:15:17 -07:00
probablycorey
b041c0176c Merge remote-tracking branch 'origin/master' into cj-sublime-bindings 2013-11-01 11:33:13 -07:00
probablycorey
b22d64745f Handle multi-keystroke keybinding
Previously for a binding like `meta-x meta-y` you had to hold down the 
meta key. This makes it possible to release the meta key between
key presses.
2013-11-01 11:15:01 -07:00
Kevin Sawicki
b8680be6c6 Update writeSync spies 2013-11-01 08:46:03 -07:00
Kevin Sawicki
0264fd6be5 Rename writeSync to writeFileSync 2013-11-01 08:46:03 -07:00
Kevin Sawicki
9c79e39401 Upgrade to fs-plus@0.4.0 2013-11-01 08:46:03 -07:00
Kevin Sawicki
d8766b9aba Use makeTreeSync 2013-11-01 08:46:03 -07:00
Kevin Sawicki
ebb7a2637a Upgrade to fs-plus@0.3.0 2013-11-01 08:46:03 -07:00
Kevin Sawicki
83dcf79bcf Use fs-plus 2013-11-01 08:46:02 -07:00
Nathan Sobo
7d64cd179e Always mock atom.packages.resolvePackagePath
…instead of only in package specs. This allows specs that assume it is
mocked to work correctly when we run the full spec suite. Namely, the
settings-view specs had an issue with this.
2013-10-31 17:08:40 -06:00
Nathan Sobo
62ccf92a5d Get core specs passing w/ Telepath v0.14.0. Delete replication specs.
Telepath v0.14.0 is a ground-up rewrite of the replication library,
which is principally designed to support moving document fragments
within the overall document. But it's also a lot better in a number of
ways. This commit does the minimal to get things working on the new
telepath. Standard package specs don't pass yet. Also, I deleted the
replication specs since they are extremely convoluted and will be able
to be replaced with much better versions once I complete the changes
enabled by the new Telepath.
2013-10-31 17:08:40 -06:00
Ben Ogle
d150170e5b Fix gutter rendering when there are folds
Fixes #1059
2013-10-31 12:54:21 -07:00
Kevin Sawicki
82e5545f6e Stub refresh methods in replication spec 2013-10-30 14:54:48 -07:00
Kevin Sawicki
e6b3f400c0 Update git status on buffer path-changed events 2013-10-30 14:15:52 -07:00
Ben Ogle
0bd701b4a6 Fix tests 2013-10-30 11:25:30 -07:00
Ben Ogle
1be8d5e618 Add openSingletonSync() to rootView 2013-10-30 11:25:30 -07:00
Ben Ogle
a212a7c259 pane.split() doesn't implicitly copy the active item. 2013-10-30 11:25:30 -07:00
probablycorey
d07bf338c8 Consolidate pane item destruction 2013-10-29 15:55:07 -07:00
Kevin Sawicki
059671c454 🐎 Load packages by path
Previously the package paths were converted to names and then
re-resolved to paths.

Now we just load the paths directly reducing the number of stat calls
and saving ~50ms in PackageManager::loadPackages

Also now internal packages are loaded by parsing the package.json
file for packageDependencies instead of loading the metadata for all
packages in node_modules and checking the engines field.
2013-10-29 13:31:42 -07:00
Kevin Sawicki
91436bec25 Add config.unshiftAtKeyPath helper 2013-10-29 13:31:42 -07:00
probablycorey
e7e28b568b Purge autosave from Atom source 2013-10-28 17:27:44 -07:00
Corey Johnson
ef2a322229 Merge pull request #1037 from atom/cj-buffer-serialization
When opening a window, only use serialized buffer text if the contents on disk have not changed.
2013-10-28 09:48:43 -07:00
Kevin Sawicki
57577966e7 Add assert for .5 indent level 2013-10-26 15:21:02 -07:00
Kevin Sawicki
08d5231d28 Add assert for unindented line 2013-10-26 15:21:02 -07:00
Kevin Sawicki
05c3d89381 Measure indent prefix on each line being commented
Previously a single indent string was used to replace all lines
which could corrupt lines using hard tabs since the indent string
used for replacement was two spaces causing the first character
of the line to be deleted.

Closes atom/language-c#1
2013-10-26 15:21:02 -07:00
probablycorey
bb281ce5af 💄 2013-10-25 15:19:20 -07:00
probablycorey
5cee47c207 Fix replication spec
Don't rely on serialization to handle modifications after documents are
connected.
2013-10-25 14:21:23 -07:00
probablycorey
2d40cb09d1 Remove focused spec 2013-10-25 14:03:27 -07:00
probablycorey
8956881192 Only load serialized content if the disk content's have not changed. 2013-10-25 13:50:16 -07:00
probablycorey
32bc8a6258 Remove initialText option from TextBuffer constructor 2013-10-25 13:50:06 -07:00