Commit Graph

6420 Commits

Author SHA1 Message Date
Max Brunsfeld
57aa70cc87 Merge pull request #10395 from atom/mb-disable-babel-logging
Stop babel from logging to stderr during compilation
2016-01-13 09:40:45 -08:00
Josh Abernathy
68fb9ab2cf Merge pull request #10361 from atom/mq-disable-package
Only disable a package if it isn't already disabled
2016-01-13 09:49:12 -05:00
Max Brunsfeld
680e123f88 Prevent babel from logging to stderr 2016-01-12 15:42:44 -08:00
Max Brunsfeld
bc69e1624b Don't rely on compile cache in babel compilation specs 2016-01-12 15:41:26 -08:00
Max Brunsfeld
b01e97be59 Explicitly guard against decorating destroyed markers
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-01-11 14:01:55 -08:00
Machiste Quintana
088b32f9d5 Unfocus spec 2016-01-11 13:44:27 -05:00
Machiste Quintana
e7f15d06e4 Add failing spec for disabling an already disabled package 2016-01-11 13:44:27 -05:00
Nathan Sobo
db74f4a8f0 Merge pull request #10178 from atom/ku-pending-editor
Open file in pending state on single click
2016-01-08 14:45:14 -07:00
Katrina Uychaco
5738b14eda 🎨 2016-01-08 13:39:46 -08:00
Max Brunsfeld
ec66a66bb3 Merge pull request #9990 from scv119/test
Add a core config `core.automaticallyUpdate` to disable Atom autoupdate.
2016-01-07 11:05:43 -08:00
joshaber
d224efb00d Just test the x coordinate, I suppose. 2016-01-05 14:40:09 -05:00
joshaber
740e8c660a Put it with its friends. 2016-01-05 14:08:09 -05:00
joshaber
f64878208f Really don't need this to be its own command. 2016-01-05 14:07:50 -05:00
Katrina Uychaco
67d49955f1 Add tests for pending pane items 2016-01-05 10:38:13 -08:00
joshaber
2a29e7d1f4 Revert "Revert "Integration test for new window offset.""
This reverts commit c8c8bc941e.
2016-01-05 12:48:34 -05:00
Chen Shen
f774e1ce21 add unittest 2016-01-04 17:41:42 -08:00
Nathan Sobo
6669703677 Force a sync render when measuring if we don’t have a DOM node for a row 2016-01-04 16:40:56 -07:00
Nathan Sobo
9f6fbacddd Don’t clip screen positions in yardstick
By clipping positions only in the TextEditorComponent, we can ensure
that we check for the presence of a rendered line for the clipped row
value.
2016-01-04 16:32:38 -07:00
Katrina Uychaco
def62fc6c7 Fix test: modified buffer terminates pending state 2015-12-24 21:42:00 -08:00
Katrina Uychaco
217e07530f Add test: modified buffer terminates pending state
Test not yet passing. ::insertText is not triggering terminatePendingState. Not sure why...
2015-12-24 18:43:57 -08:00
Katrina Uychaco
fa86d2d156 Add tests for pending status 2015-12-24 17:57:08 -08:00
Antonio Scandurra
19ff676c7b Serialize grammar for untitled buffers 2015-12-16 10:35:23 +01:00
Antonio Scandurra
8db49fc08d Document existing behavior 2015-12-15 17:20:01 +01:00
Antonio Scandurra
14f959e13d Merge pull request #9997 from atom/as-cjk-wrap-boundary
Wrap line at boundary if it includes a CJK character
2015-12-15 12:09:52 +01:00
Max Brunsfeld
a16b99fa58 Merge pull request #10062 from atom/mb-emit-state-update-on-model-scroll
Emit state update when model's scroll position is changed
2015-12-14 17:38:36 -08:00
Max Brunsfeld
02ab7179ce Emit state update when model's scroll position is changed 2015-12-14 16:56:53 -08:00
Antonio Scandurra
2e7048d8c6 Merge pull request #10028 from atom/ns-remove-presenter-flags
Remove non-essential update guard flags from TextEditorPresenter
2015-12-14 11:43:19 +01: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
Antonio Scandurra
fa48b2fbe0 Make v8 version part of the key 2015-12-11 17:47:04 +01: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
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
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
Antonio Scandurra
769b7bcd89 Merge branch 'master' into as-deserialize-untitled-editors
# Conflicts:
#	package.json
2015-12-09 08:48:04 +01: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