Commit Graph

6847 Commits

Author SHA1 Message Date
Collin Donahue-Oponski
e4e200317a Autoscroll to cursor after clearing multi-cursor selection. 2015-12-11 15:32:29 -07:00
Nathan Sobo
3d8058a9a4 Remove failing redundant assertions
The expectNoStateUpdate is sufficient to test the issue in question. Now
that most flags are removed, we can’t count on this part of the state
not being updated when we request a state recompilation.
2015-12-11 14:02:57 -07:00
Nathan Sobo
5cfd3423bf Use internal scroll assignment methods when committing logical positions
This prevents an addition pending assignment and cuts directly to
adjusting the positions.
2015-12-11 13:34:46 -07:00
joshaber
311728453e Merge branch 'master' into dh-async-repo 2015-12-11 14:48:13 -05:00
Antonio Scandurra
fa48b2fbe0 Make v8 version part of the key 2015-12-11 17:47:04 +01:00
joshaber
b9f5853729 Const. 2015-12-11 10:05:10 -05:00
Antonio Scandurra
a63c294dfd 🎨 2015-12-11 15:39:29 +01:00
Antonio Scandurra
1f5473b2dd Test cache invalidation 2015-12-11 15:37:56 +01:00
Antonio Scandurra
12376039a9 🎨 cjk -> CJK 2015-12-11 14:28:26 +01:00
Antonio Scandurra
173fbba02b Wrap at the first CJK character before the boundary 2015-12-11 14:26:51 +01:00
Antonio Scandurra
4bf86b2b9e Merge branch 'master' into as-cjk-wrap-boundary 2015-12-11 13:49:53 +01:00
Antonio Scandurra
c5562d8446 Allow to supply an invalidation key to FileSystemBlobStore 2015-12-11 13:38:50 +01:00
Antonio Scandurra
cdd4212400 Pass an invalidation key in NativeCompileCache 2015-12-11 12:47:17 +01:00
Cheng Zhao
c186d70bec Also use require('electron') in specs 2015-12-11 10:03:20 +08:00
Cheng Zhao
f6e889aeb2 Merge branch 'master' into wl-electron-35 2015-12-11 09:32:32 +08:00
joshaber
976fe0f2cf Linter 2015-12-10 20:19:58 -05:00
joshaber
81d4f06802 And that's why we write tests. 2015-12-10 20:00:37 -05:00
joshaber
35768f8595 Merge branch 'master' into dh-async-repo 2015-12-10 17:57:38 -05:00
Nathan Sobo
85c6139579 Don’t force DOM updates in LinesYardstick
Instead, determine the need for a DOM update in the component before
measuring with the lines yardstick, and break `updateSync` into two
explicit pre- and post-measurement phases.
2015-12-10 14:47:05 -07:00
joshaber
5302fb84a9 Better test name. 2015-12-10 16:44:51 -05:00
joshaber
0794ea365d Tinker tailor soldier spy. 2015-12-10 16:43:25 -05:00
joshaber
bc14c28f11 Use the usual name. 2015-12-10 16:42:11 -05:00
joshaber
1a04c5a9c2 Be more specific in our error names. 2015-12-10 16:41:38 -05:00
joshaber
47606507f7 We want the booleans. 2015-12-10 16:31:36 -05:00
Nathan Sobo
3937312936 Merge pull request #9796 from atom/as-native-key-bindings
Use CommandRegistry to listen for native-key-bindings
2015-12-10 10:49:11 -08:00
joshaber
e867b68eab Match the ordering of the GitRepository spec. 2015-12-10 10:38:15 -05:00
joshaber
86e39a22ff Test .destroy(). 2015-12-10 10:35:53 -05:00
joshaber
4711d03675 Tests for .checkoutHeadForEditor. 2015-12-10 10:35:07 -05:00
joshaber
f0a9c5d9f0 Just use the repo declared above. 2015-12-10 10:33:56 -05:00
Antonio Scandurra
c22cae451b Wrap line at boundary if it includes a CJK character 2015-12-10 10:18:24 +01:00
Antonio Scandurra
3253c0d5cd Don't rely on spaces to test korean characters' width behavior 2015-12-10 10:07:46 +01:00
Antonio Scandurra
9a2c3a49e7 Expose a isCjkCharacter text utility 2015-12-10 10:01:03 +01:00
joshaber
f3cfb5d069 Merge branch 'master' into dh-async-repo 2015-12-09 15:44:45 -05:00
joshaber
538ff83448 Merge branch 'master' into dh-async-repo 2015-12-09 15:39:26 -05:00
Antonio Scandurra
769b7bcd89 Merge branch 'master' into as-deserialize-untitled-editors
# Conflicts:
#	package.json
2015-12-09 08:48:04 +01:00
Nathan Sobo
3567d47790 Merge pull request #9878 from atom/ns-mb-fix-prepare-stack-trace-recursion
Avoid infinite recursion in Error.prepareStackTrace
2015-12-08 14:22:07 -07:00
Nathan Sobo
7718d5cb56 Merge pull request #9773 from atom/mb-ns-prepare-stack-trace-fixes
Allow Error.prepareStackTrace to be temporarily reassigned
2015-12-08 14:21:47 -07:00
Max Brunsfeld
d835ac0ac8 Add spec for re-registering schema after unloading package 2015-12-08 11:27:20 -08:00
Max Brunsfeld
03a2846eb5 Remove redundant unloadPackage call in spec 2015-12-07 17:24:34 -08:00
Antonio Scandurra
1f955f0aab 🔥 💚 Remove outdated spec
This made the build fail because we were checking that a TextEditor couldn't
have been serialized when the path didn't exist. This is exactly the opposite we
want to do for restoring untitled editors, therefore I think it's safe to delete
this test.

/cc: @nathansobo for extra 👀
2015-12-07 22:03:28 +01:00
Max Brunsfeld
5825fb51b5 Merge pull request #9948 from dirk-thomas/order_config_cson
save config.cson in alphabetic order
2015-12-07 11:19:56 -08:00
Antonio Scandurra
a8a9581ef4 🎨 Use only id 2015-12-07 19:57:30 +01:00
Antonio Scandurra
e0bb800dd3 Write integration spec 2015-12-07 15:54:22 +01:00
Antonio Scandurra
f7a4ef4a84 Deserialize also untitled buffers 2015-12-07 14:47:23 +01:00
Dirk Thomas
6e2061c076 add spec for ordered config.cson 2015-12-06 17:15:13 -08:00
Antonio Scandurra
1c5c973823 Merge branch 'master' into as-user-keybindings-priority
# Conflicts:
#	spec/package-manager-spec.coffee
2015-12-04 16:18:56 +01:00
Antonio Scandurra
c578f221bf Test ::invalidateBlockDecorationDimensions 2015-12-04 15:42:49 +01:00
Antonio Scandurra
b77c45859c Merge branch 'master' into as-block-decorations
# Conflicts:
#	spec/text-editor-presenter-spec.coffee
2015-12-04 14:44:19 +01:00
Antonio Scandurra
7554f71f74 Make sure screen row is set correctly on <content> 2015-12-04 14:21:23 +01:00
Antonio Scandurra
14d8ecefdd 💚 Fix LinesYardstick specs 2015-12-04 12:54:20 +01:00