Commit Graph

6274 Commits

Author SHA1 Message Date
Nathan Sobo
2af010e729 Remove dead test
It tests functionality that no longer matters since we don’t subscribe
to decorations being destroyed in DisplayBuffer
2015-11-09 00:35:26 -07:00
Nathan Sobo
0169c1160e Wait for next DOM update synchronously after change to avoid flakiness 2015-11-09 00:35:26 -07:00
Nathan Sobo
0ac42a12f3 Add waitsForNextDOMUpdate helper function 2015-11-09 00:35:18 -07:00
Nathan Sobo
4b5e4d02eb Use real clock in text-editor-component-spec
This will make it much easier to test asynchronous update logic.
2015-11-09 00:35:18 -07:00
Nathan Sobo
1aefb22789 Add ViewRegistry.prototype.getNextUpdatePromise
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-11-09 00:35:18 -07:00
Max Brunsfeld
cdaac9dfcc wip 2015-11-09 00:35:18 -07:00
Nathan Sobo
1fd2ba084c Merge pull request #8232 from lpommers/move-lines-up-and-down-with-multiple-selections
Move lines up and down with multiple selections
2015-11-07 14:40:58 -07:00
Wliu
7db555c96b Fix core specs 2015-11-06 10:26:36 -05:00
abe33
a4c2c724d6 Merge branch 'master' of github.com:atom/atom into cn-move-lines-up-and-down-with-multiple-selections 2015-11-05 18:59:18 +01:00
Wliu
1bb944dadc Add specs 2015-11-04 16:22:01 -05:00
abe33
849dd33e87 🎨 Place move lines test with auto indent with other move lines tests 2015-11-04 18:55:52 +01:00
abe33
6b2725077a Merge back master 2015-11-04 18:26:27 +01:00
Dave Rael
7cd44dc729 Add portable mode for Linux 2015-11-03 18:03:05 -08:00
Kevin Sawicki
07696ffb4c Use fs-plus instead of rimraf to delete 2015-11-03 17:01:26 -08:00
Kevin Sawicki
e24c48b8c5 🎨 Improve spec description 2015-11-03 17:01:26 -08:00
Kevin Sawicki
95eb71090f Assert portableAtomHomePath does not exist 2015-11-03 17:01:25 -08:00
Kevin Sawicki
7c504d3692 Only run specs on Windows 2015-11-03 17:01:25 -08:00
Kevin Sawicki
6198647f29 🎨 2015-11-03 17:01:25 -08:00
Dave Rael
e3da370d82 Add command line parameter to set portable
If parameter included, home directory will be copied to the portable
2015-11-03 17:01:24 -08:00
Max Brunsfeld
e77edcdf42 🎨 Put subword movement specs under cursor and selection sections 2015-11-03 13:39:16 -08:00
Kevin Sawicki
de7cf162f9 Merge pull request #8442 from atom/portable-mode
Enable Portable Mode
2015-11-03 12:49:54 -08:00
Max Brunsfeld
803c38477f Fix indentation in subword motion specs 2015-11-03 12:45:58 -08:00
Max Brunsfeld
a41d38e036 🎨 Tweak descriptions for moveLine{Up,Down} specs 2015-11-03 10:44:52 -08:00
Max Brunsfeld
3412251963 Merge pull request #9104 from joseramonc/master
autoindent lines with moveLineUp/moveLineDown
2015-11-03 10:41:29 -08:00
Antonio Scandurra
5d0ba5f182 Merge pull request #9318 from atom/as-compilation-cache
Introduce NativeCompileCache
2015-11-03 14:35:58 +01:00
Antonio Scandurra
6290822067 Export a function in windowInitializationScript
...so that we can pass BlobStore to AtomEnvironment
2015-11-03 09:51:08 +01:00
abe33
5d8ec8587e 🔥 Remove test focus 2015-11-03 00:51:01 +01:00
abe33
dacd08badf 🐛 Fix moving multiple selection with folds creates new folds 2015-11-03 00:48:22 +01:00
abe33
668a2dd6cf 🐛 Fix moving a multiple selection with a fold creating new folds 2015-11-02 23:43:43 +01:00
abe33
7e32dab68f 🎨 Fix tests descriptions 2015-11-02 23:37:56 +01:00
abe33
9d21c773c1 🐛 Fix moving single selection intersecting a fold 2015-11-02 21:46:02 +01:00
abe33
57556ffc42 Merge branch 'master' of github.com:atom/atom into cn-move-lines-up-and-down-with-multiple-selections 2015-11-02 18:39:04 +01:00
Nathan Sobo
152a479909 Merge pull request #9024 2015-11-02 11:26:21 -06:00
Antonio Scandurra
6decf222a3 🐛 Fix incorrectly reported width when measuring lines
This commit fixes what seems to be a bug in Chromium.

When measuring lines (and with a special character sequence), it could happen
that Range(0, 0). getBoundingClientRect().width reports a number greater than 0.
This seems to happen when the font size is smaller than 12px and it's probably
due to subpixel font scaling. To solve it we've explicitly included a guard
clause that prevents this problem to happen.
2015-11-01 19:23:09 +01:00
Antonio Scandurra
abcfc8579b Rename to FileSystemBlobStore 2015-10-30 18:42:38 +01:00
Antonio Scandurra
f13e516417 Invalidate cache when it is rejected by v8 2015-10-30 12:45:15 +01:00
Antonio Scandurra
71b6871d3b 🐎 Make IO faster for v8 compile cache 2015-10-30 10:14:14 +01:00
Antonio Scandurra
a1faa803a0 Make specs comply to the new cache storage contract 2015-10-30 10:14:14 +01:00
Antonio Scandurra
c684273ecf Introduce NativeCompileCache 2015-10-30 10:14:14 +01:00
Kevin Sawicki
02fe2cf618 🎨 2015-10-27 11:45:35 -06:00
Nathan Sobo
d2fdc414e7 Merge pull request #8919 from bencolon/workspace_vertical_splits
Add top/bottom split options when opening uri in a workspace
2015-10-22 14:13:42 -06:00
Ben Colon
1b0d72b232 Add up/down split options when opening uri in a workspace 2015-10-22 17:03:10 +02:00
Nathan Sobo
bd199545c0 In PaneContainer.prototype.saveAll, only save modified items 2015-10-21 20:22:20 -06:00
Max Brunsfeld
8a6915e7a6 Pass application delegate to PaneElement 2015-10-21 10:57:56 -07:00
Dave Rael
e0697ecc7f Merge branch 'master' into portable-mode
Conflicts:
	src/atom-environment.coffee
2015-10-20 20:58:14 -06:00
Antonio Scandurra
40e3b08a8c Add TextEditorElement::getMaxScrollTop 2015-10-20 08:36:27 +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
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