Commit Graph

25975 Commits

Author SHA1 Message Date
Nathan Sobo
30f45d3146 Merge pull request #9162 from atom/as-cjk-soft-wrap
CJK soft wrap
2015-10-16 10:34:52 -06:00
Antonio Scandurra
cd47c7be02 Fix leftover spec 2015-10-16 11:22:03 +02:00
Antonio Scandurra
05c6c9f9be Soft wrap only when we know lineMaxWidth 2015-10-16 11:14:20 +02:00
Antonio Scandurra
e843c2f058 🐎 Fetch scopes only if required 2015-10-16 11:03:15 +02:00
Antonio Scandurra
3f53a72620 🐎 Cache text in TokenIterator 2015-10-16 10:48:55 +02:00
Antonio Scandurra
eb3133b7e7 💚 2015-10-16 10:30:45 +02:00
Antonio Scandurra
b03aa4bf40 Merge branch 'master' into as-cjk-soft-wrap
# Conflicts:
#	spec/display-buffer-spec.coffee
2015-10-16 10:23:44 +02:00
Thomas Johansen
4df007eb87 ⬆️ tree-view@0.192.2 2015-10-16 09:14:57 +02:00
Thomas Johansen
21aee18911 ⬆️ tree-view@0.192.1 2015-10-16 07:20:30 +02:00
simurai
fd0b062e8e ⬆️ tree-view@v0.192.0 2015-10-16 10:55:22 +09:00
Max Brunsfeld
27526f492c Fix fall-back to dev resource path in main 2015-10-15 18:01:20 -07:00
Nathan Sobo
e6a494cfdb Fix busted merge 2015-10-15 16:45:29 -06:00
Nathan Sobo
670f200b52 Merge pull request #8968 from atom/ns-alternative-test-env
Enable custom package testing environments
2015-10-15 16:37:24 -06:00
Nathan Sobo
82c2323feb Merge remote-tracking branch 'origin/master' into ns-alternative-test-env 2015-10-15 16:37:08 -06:00
Max Brunsfeld
93fe0208a5 Make atom.setSize() synchronous again, for now
This method is public, and a spec for TextEditorComponent dependend on it
staying synchronous
2015-10-15 15:12:57 -07:00
Nathan Sobo
28ed6f3d9f Restore async window method calls
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-15 13:26:30 -06:00
Antonio Scandurra
4766c98bbe Treat Korean characters as different kinds of chars 2015-10-15 21:02:21 +02:00
Nathan Sobo
52946db179 Ensure windows/workspace present before proceeding in integration specs
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-15 12:54:33 -06:00
Antonio Scandurra
c9eb75cbe1 📝 Better wording on specs 2015-10-15 20:14:38 +02:00
Nathan Sobo
be1b2e6122 Increase timeout when waiting for atom-workspace to exist
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-10-15 12:08:07 -06:00
Antonio Scandurra
7394cc531c Measure half width characters 2015-10-15 20:06:38 +02:00
Antonio Scandurra
c616e86a00 Take into account half width chars as well 2015-10-15 19:24:00 +02:00
Antonio Scandurra
91e9f16ff6 💚 2015-10-15 19:22:12 +02:00
Antonio Scandurra
8f7b303fc5 Recognize half width symbols 2015-10-15 19:01:23 +02:00
Antonio Scandurra
a3c3b48caa Recognize full width symbols 2015-10-15 18:59:12 +02:00
Antonio Scandurra
1fc9a25b5c Recognize half width characters 2015-10-15 18:57:11 +02:00
Antonio Scandurra
abf306943a 🐛 Measure latin chars with subpixel font scaling 2015-10-15 18:49:54 +02:00
Antonio Scandurra
43229a1b9e 🎨 2015-10-15 18:35:49 +02:00
Antonio Scandurra
4818d47980 Update wrapped screen lines when default width changes 2015-10-15 18:10:26 +02:00
Antonio Scandurra
4c66341624 Measure double width char widths 2015-10-15 18:08:35 +02:00
Antonio Scandurra
27dc3da9e5 🎨 Conflate setting default and double-width chars width
Because they will always change together, and having two different setters seems
highly error-prone.
2015-10-15 17:53:37 +02:00
Antonio Scandurra
20b0523833 💚 2015-10-15 16:41:27 +02:00
Antonio Scandurra
c2ee942df1 Take double width chars into account when soft wrapping 2015-10-15 16:24:08 +02:00
Antonio Scandurra
b2a7f4a28e Create utility function to recognize double width characters 2015-10-15 16:02:08 +02:00
Antonio Scandurra
3c33a7ba9f Soft wrap based on default character width 2015-10-15 15:22:18 +02:00
Thomas Johansen
eddf2bd2da ⬆️ settings-view@0.230.1 2015-10-15 11:27:13 +02:00
Antonio Scandurra
82fbec0879 🐛 Give priority to initial window background
Otherwise, since we now add styles element right during AtomEnvironment
construction, the default background gets showed (i.e. white on my machine).

/cc: @nathansobo
2015-10-15 11:05:16 +02:00
Antonio Scandurra
c38cd48555 Bring back failure reports when running grunt run-specs
Log output to stderr as we did before, so that grunt can, in turn, output it to
console when specs fail.

Welcome back build failures! 🎉

/cc: @nathansobo @maxbrunsfeld
2015-10-15 09:56:13 +02:00
Antonio Scandurra
edddb6516e Remove shim to remote.process
This doesn't seem to work as expected. I think it's just better to encourage
emitting an event like 'write-to-stdout' or using directly `remote.process`.

/cc: @nathansobo
2015-10-15 09:55:28 +02:00
Nathan Sobo
b58b3504f4 Only load/save AtomEnvironment state if persistence is enabled 2015-10-14 22:10:51 -06:00
Nathan Sobo
dc44d11a2c Don’t load/save config if enablePersistence option is false 2015-10-14 20:05:06 -06:00
Nathan Sobo
9df40b4f4e Remove unnecessary fat arrow 2015-10-14 19:53:16 -06:00
Wliu
a4efded72f 📝 Fix typo
/cc @benogle
2015-10-14 21:32:25 -04:00
Ben Ogle
7e730100db Merge pull request #9152 from atom/bo-help-wanted
Add the help-wanted and beginner issues to the contributing guide
2015-10-14 17:02:00 -07:00
Ben Ogle
1c9d5616da Title case 2015-10-14 16:51:42 -07:00
Ben Ogle
9d59514248 Add Making your first contribution section to guide 2015-10-14 16:49:21 -07:00
Nathan Sobo
95dd628d42 Fix for packages with no spec/fixtures directory 2015-10-14 17:10:30 -06:00
Nathan Sobo
a6a175c4a6 Don’t hide window when reloading specs 2015-10-14 16:40:40 -06:00
Nathan Sobo
f0da8f6324 Resolve package names to package currently being tested
This logic existed previously, but I accidentally removed it.
2015-10-14 16:35:00 -06:00
Nathan Sobo
a85a8d20de Don’t register defaultTarget for keymaps in constructor after all
We’re clearing the views on reset, so this view will end up being
different between test runs. Also, we didn’t previously always create
the workspace view in many cases, and it makes sense to apply that here.

We may want to get the default target for the keymap via a function so
we can defer view creation until one is needed.
2015-10-14 15:57:45 -06:00