Commit Graph

6229 Commits

Author SHA1 Message Date
Daniel Hengeveld
11ccb980fe use deserialize api right 2015-10-21 17:53:24 +02:00
Daniel Hengeveld
9f0def76f5 Project.serialize is now Project::serialize
- cf 26f0ef5424
2015-10-21 17:39:36 +02:00
Daniel Hengeveld
226c1dd6a7 Merge remote-tracking branch 'remotes/origin/master' into dh-async-repo 2015-10-21 14:52:36 +02:00
Daniel Hengeveld
b359049b9d Fix confirm dialog spec 2015-10-20 18:05:54 +02:00
Daniel Hengeveld
bea002bddb Incomplete implementation of checkoutHeadForEditor 2015-10-20 18:02:47 +02:00
Daniel Hengeveld
4c0c732766 Get path status after checkout 2015-10-20 17:03:08 +02:00
Daniel Hengeveld
8ff31bd3dc Remove no longer relevant comment 2015-10-20 16:53:32 +02:00
Daniel Hengeveld
95b3ac806f un-nest waitsForPromise 2015-10-20 16:42:20 +02:00
Daniel Hengeveld
fbd0c3677c Fix up deserialize specs 2015-10-20 16:40:11 +02:00
Daniel Hengeveld
2ff283a6b0 Async buffer events 2015-10-20 16:01:35 +02:00
Daniel Hengeveld
60180677a2 add .async attribute to GitRepository 2015-10-20 14:03:19 +02:00
Antonio Scandurra
40e3b08a8c Add TextEditorElement::getMaxScrollTop 2015-10-20 08:36:27 +02:00
Daniel Hengeveld
0e6d30e707 .refreshStatus() (partial implementation) 2015-10-19 17:04:27 +02:00
Daniel Hengeveld
2c96f8ce3d .getDirectoryStatus 2015-10-19 16:10:13 +02:00
Daniel Hengeveld
ab4ba2ca4c .getPathStatus() 2015-10-19 15:15:42 +02:00
Max Brunsfeld
82103f9da0 Remove unused spec-helper requires 2015-10-16 16:49:24 -07:00
Nathan Sobo
eb2a6a3388 Mock process.cwd to make test pass in headless mode 2015-10-16 12:34:11 -06:00
Daniel Hengeveld
df949d3a3d more ::checkoutHead specs 2015-10-16 19:24:34 +02:00
Daniel Hengeveld
dfb24ce617 Clean up init a bit 2015-10-16 19:12:08 +02:00
Nathan Sobo
661607857f Fix spec failures due to slight changes in DOM positioning 2015-10-16 11:08:52 -06:00
Antonio Scandurra
23d5dc8726 Change invalid.js fixture for babel transpilation
The previous file was considered invalid on the earlier version of electron, but
it now compiles correctly because of the updated ES6 support.
2015-10-16 11:08:51 -06:00
Antonio Scandurra
224f2e973f Adhere to CoffeeScript.compile contract
...which always returns the source map as a string. This is needed because
`Buffer` now requires to be initialized with either a number, a buffer, an array
or a string.
2015-10-16 11:08:51 -06:00
Antonio Scandurra
cd47c7be02 Fix leftover spec 2015-10-16 11:22:03 +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
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
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
Daniel Hengeveld
7679ff93d3 isPathNew 2015-10-15 18:26:20 +02:00
Daniel Hengeveld
62310e6f41 isPathModified 2015-10-15 18:10:32 +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
Daniel Hengeveld
bc3e8f02ad isPathIgnored 2015-10-15 17:00:47 +02:00
Daniel Hengeveld
b566e47a08 getPath 2015-10-15 16:51:39 +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
Daniel Hengeveld
8e744502fa start spiking out async repo 2015-10-15 15:54:42 +02:00
Antonio Scandurra
3c33a7ba9f Soft wrap based on default character width 2015-10-15 15:22:18 +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
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