Commit Graph

5597 Commits

Author SHA1 Message Date
Antonio Scandurra
50010a55b9 Use a guard clause to disable integration specs 2015-04-16 09:52:41 +02:00
Antonio Scandurra
17894fd36b 🎨 2015-04-16 09:15:46 +02:00
Antonio Scandurra
f3a1aebb8a Merge branch 'master' into as-public-ci 2015-04-16 08:31:21 +02:00
Max Brunsfeld
c665747879 Merge pull request #6380 from atom/mb-reopen-windows
Reopen windows when starting app w/ no arguments
2015-04-15 15:50:22 -07:00
Max Brunsfeld
b8c7f655f9 🎨 Extract logic for storage folder into separate class 2015-04-15 15:09:49 -07:00
Max Brunsfeld
4545671dcf Move file drag and drop specs to pane-view-spec 2015-04-15 14:20:16 -07:00
Max Brunsfeld
e4984d68cc 🎨 Tidy up pane container resize element spec 2015-04-15 14:09:27 -07:00
Kevin Sawicki
1c67912ab6 👕 remove a ; 2015-04-15 14:04:10 -07:00
Max Brunsfeld
632c57d7b4 Merge pull request #5902 from liuxiong332/pane-resize
add  implementation for resizable panes, just solve the issue #274
2015-04-15 13:31:33 -07:00
Kevin Sawicki
9a0c3f94a9 Remove path data attributes when no active item 2015-04-15 10:32:22 -07:00
Kevin Sawicki
476cf4152c 🎨 2015-04-15 10:24:51 -07:00
Kevin Sawicki
d4439b1d55 Merge pull request #6383 from atom/mq-has-file-path
Indicate whether buffer has a file path
2015-04-15 10:21:57 -07:00
Machiste Quintana
8d0168a520 🎨 2015-04-15 13:12:38 -04:00
Kevin Sawicki
fda6bb3624 Add notification when reloading stylesheets fails 2015-04-15 09:18:02 -07:00
Kevin Sawicki
f8e940fdc0 Add spec for invalid theme stylesheet notification 2015-04-15 09:18:02 -07:00
liuxiong332
1331cfad4b change the spec description to make it clear 2015-04-15 22:20:17 +08:00
Antonio Scandurra
cf17a1ddc8 Merge branch 'master' into as-public-ci 2015-04-15 09:40:33 +02:00
liuxiong332
47c1062561 rename the spec file name to 'pane-container-element-spec' 2015-04-15 12:55:45 +08:00
Machiste Quintana
0cb00a8de8 Add converse specs 2015-04-14 23:23:26 -04:00
liuxiong332
e46d3b0d27 Merge remote-tracking branch 'origin' into pane-resize
Conflicts:
	src/pane-element.coffee
	src/pane.coffee
2015-04-15 10:09:41 +08:00
liuxiong332
4ab06aa627 fix some error in specs 2015-04-15 09:32:51 +08:00
Machiste Quintana
2b43f7d163 Add active path and file name to atom-pane 2015-04-14 20:52:26 -04:00
Machiste Quintana
94c5de0aeb 🎨 Change wording in spec 2015-04-14 20:00:06 -04:00
Machiste Quintana
0c69ecdd7f Unfocus spec 2015-04-14 19:57:29 -04:00
Machiste Quintana
5c9cb6d902 Revert " Add tests for images and archives"
This reverts commit 1a783963e3.
2015-04-14 19:53:21 -04:00
Machiste Quintana
bf852160da Revert "Add image and archive fixtures"
This reverts commit e6d1e16739.
2015-04-14 19:52:07 -04:00
Machiste Quintana
1a783963e3 Add tests for images and archives 2015-04-14 19:26:17 -04:00
Machiste Quintana
e6d1e16739 Add image and archive fixtures 2015-04-14 18:51:19 -04:00
Machiste Quintana
078c6a80cf Add .has-file-path if active buffer has a file path 2015-04-14 18:35:32 -04:00
Max Brunsfeld
3d05ae02ba Reopen windows when launching w/ no arguments 2015-04-14 14:18:44 -07:00
Max Brunsfeld
ce7d0c161d Always quit Atom realistically in integration specs 2015-04-14 14:16:39 -07:00
Max Brunsfeld
d5ff7f26bf Create a new ATOM_HOME dir for each integration spec 2015-04-14 14:14:39 -07:00
Kevin Sawicki
5272584d29 Merge pull request #6359 from atom/as-fix-linux-failing-specs
Fix some of the specs which fail on Linux
2015-04-14 11:07:58 -07:00
Antonio Scandurra
6190fe00d7 🎨 Avoid string interpolation in require 2015-04-14 19:34:43 +02:00
Antonio Scandurra
304b959ca8 🎨 Use tags to exclude spec on Linux 2015-04-14 19:34:04 +02:00
Ben Ogle
cfb28d1c2e Merge pull request #6367 from atom/bo-follow-symlinks
Default `core.followSymlinks` to true
2015-04-14 10:22:02 -07:00
liuxiong332
acb236417a simplify the PaneResizeHandleElement specs 2015-04-15 00:23:48 +08:00
liuxiong332
412fbdef54 add specs for pane's serialization 2015-04-14 21:31:59 +08:00
liuxiong332
1c6583994a replace 'downPane' to 'lowerPane' 2015-04-14 21:17:40 +08:00
liuxiong332
769beadcf3 integration test in pane-axis-element-spec into pane-resize-handle-element-spec 2015-04-14 21:10:05 +08:00
Antonio Scandurra
1c8cf4390c Rename to safe-clipboard
...and use remote only on Linux renderer processes.
2015-04-14 10:50:09 +02:00
Ben Ogle
c13dce2d8f Fix spec 2015-04-13 18:32:01 -07:00
Ben Ogle
2872000d13 Fix paragraph computation in blocks of single line comments.
Closes #6050

Closes #5963
2015-04-13 16:26:24 -07:00
Sean Lee
74caf89dd1 🐛 fix rowRangeForParagraphAtBufferRow using \S 2015-04-13 15:46:27 -07:00
Antonio Scandurra
4cb7bde4a6 💚 Fix race condition on window-spec
...caused by an afterEach block which was called before the SUT.
2015-04-13 16:59:29 +02:00
Antonio Scandurra
87972caf1e 🐧 Disable failing spec 2015-04-13 16:24:22 +02:00
Antonio Scandurra
c4205e36a6 💚 Use a serif font to make sure char widths change 2015-04-13 14:32:40 +02:00
Antonio Scandurra
106f9fdf2e Use src/native-clipboard in atom-application 2015-04-13 14:08:43 +02:00
Antonio Scandurra
8daca6a63b 🐧 💚 Humanize keystrokes in specs 2015-04-13 12:24:25 +02:00
Antonio Scandurra
16dbb7d0bb 🐧 💚 Mock native clipboard appropriately 2015-04-13 12:12:03 +02:00
Antonio Scandurra
6dfcc582b3 Increase defaultTimeoutInterval for Travis 2015-04-10 21:07:14 +02:00
Antonio Scandurra
9a269178cd Merge branch 'master' into as-public-ci 2015-04-10 17:56:22 +02:00
Kevin Sawicki
4160a8c239 Merge pull request #6230 from mnquintana/coffeelint-plus
Lint for more styleguide errors
2015-04-08 12:07:23 -07:00
Machiste Quintana
adbd539302 Revert 👕 2015-04-08 14:36:00 -04:00
Antonio Scandurra
b08bd79e02 Disable focus methods on CI 2015-04-08 10:27:03 +02:00
Antonio Scandurra
f9f5213cdf Handle http.on('error') for webdriver polling 2015-04-08 08:57:26 +02:00
Antonio Scandurra
dee626ab69 Investigate timeouts issues (again) 2015-04-08 08:36:46 +02:00
Antonio Scandurra
8720af76a4 Merge branch 'master' into as-public-ci 2015-04-08 08:30:58 +02:00
Machiste Quintana
ec11c89a74 Revert 👕 for spec fixtures 2015-04-07 19:24:29 -04:00
Max Brunsfeld
c7a5ebf725 Merge pull request #6291 from atom/mb-rename-add-root-folder
Rename 'add-root-folder' -> 'add-project-folder'
2015-04-07 12:30:37 -07:00
Max Brunsfeld
f39c67411a Rename 'add-root-folder' -> 'add-project-folder' 2015-04-07 12:10:12 -07:00
Kevin Sawicki
06b8195fb8 Remove template config.cson file
This old template file had several problems:

  * The entries in this file are already the schema defaults so they
    would get unset anyway when initially loaded
  * The file was in the old format that didn't have scope selectors
  * A race condition could occur when the file was copied, inited, and written
    to all during the very first run of Atom.

Closes #6226
2015-04-07 11:47:36 -07:00
Antonio Scandurra
73fb36590d Use a 15s timeout for webdriver startup 2015-04-07 19:28:10 +02:00
Antonio Scandurra
4c12b6767e Stop focusing on integration specs 2015-04-07 17:55:01 +02:00
Antonio Scandurra
d494966759 Relax polling to check only every 100ms 2015-04-07 17:53:05 +02:00
Antonio Scandurra
1c7b473243 Wait for chromedriver to initialize
Via a polling mechanism inspired by
https://github.com/SeleniumHQ/selenium/blob/master/dotnet/src/webdriver/DriverService.cs#L173-205
2015-04-07 17:46:46 +02:00
Antonio Scandurra
efa2a34fd6 Use a large value in waits
...to confirm that it is the culprit of Travis build errors.
2015-04-07 15:36:58 +02:00
Antonio Scandurra
127253bea3 Revert "Reduce chromedriver waiting time to 500ms"
This reverts commit 722705bb4c.
2015-04-07 15:01:46 +02:00
Antonio Scandurra
722705bb4c Reduce chromedriver waiting time to 500ms 2015-04-07 14:40:36 +02:00
Antonio Scandurra
32ae7945ff Fine tune waiting time 2015-04-07 13:48:50 +02:00
Antonio Scandurra
a244c0fa07 🔥 Delete useless line in spec 2015-04-07 12:30:51 +02:00
Antonio Scandurra
59a5dc42a8 Merge branch 'master' into as-fix-delete-line 2015-04-07 12:12:36 +02:00
Antonio Scandurra
a090a81767 Bump chromedriver wait timeout 2015-04-07 11:46:42 +02:00
Antonio Scandurra
f3a7cc1b9d wip: focus on integration specs only 2015-04-07 11:24:12 +02:00
Machiste Quintana
5d2392ea67 👕 Fix new coffeelint errors 2015-04-06 23:59:54 -04:00
Kevin Sawicki
e02e8c91a6 Use TextEditor::onDidChangeCursorPosition in spec 2015-04-06 16:29:12 -07:00
Kevin Sawicki
9b7870d503 Snapshot deprecations around calls to Project::eachBuffer 2015-04-06 16:22:31 -07:00
Kevin Sawicki
50d9fee0d3 Use Project::onDidAddBuffer 2015-04-06 16:21:09 -07:00
Kevin Sawicki
188b2e5a74 Report core deprecations in specs 2015-04-06 15:55:51 -07:00
Max Brunsfeld
5df56fc50a Add workspace element command for 'add root folder' 2015-04-06 15:19:40 -07:00
Max Brunsfeld
decab183b7 Fix screen/buffer range error in paragraph cursor motions 2015-04-03 10:34:21 -07:00
Antonio Scandurra
42521900e8 📝 Improve naming 2015-04-03 18:10:43 +02:00
Antonio Scandurra
1cf5822d20 Merge intersecting selections by row before deleting lines 2015-04-03 18:06:28 +02:00
Antonio Scandurra
544f3e1af2 Merge pull request #6167 from FoldingText/upstream
Clip positions above the first row
2015-04-02 19:52:55 +02:00
Antonio Scandurra
21df0d0401 Use component.measureDimensions() 2015-04-02 19:06:41 +02:00
Jesse Grosjean
82da0865bc Merge branch 'master' of https://github.com/atom/atom into upstream 2015-04-02 12:23:03 -04:00
Antonio Scandurra
b3bdad084f Always mutate selections in order 2015-04-02 16:35:26 +02:00
Antonio Scandurra
44d88e082c 🐛 Always copy selections in order 2015-04-02 16:28:22 +02:00
Ben Ogle
dff2453b65 Attempt to fix spec 2015-04-01 18:05:17 -07:00
Ben Ogle
44d1302402 Fix text-editor-component spec 2015-04-01 17:41:00 -07:00
Ben Ogle
48c05210fa Remove specs from text-editor-component 2015-04-01 17:41:00 -07:00
Ben Ogle
48a06868c8 Add specs from the text-editor-component 2015-04-01 17:41:00 -07:00
Ben Ogle
bed09cf0ef Presenter positions overlays when the overlay doesn’t have a size
Fix presenter specs
2015-04-01 17:41:00 -07:00
Ben Ogle
32572c0106 Add ViewRegistry::pollAfterNextUpdate
Closes #6196
2015-04-01 17:41:00 -07:00
Ben Ogle
b0794bbb68 Move the overlay calculation into the presenter. 2015-04-01 17:40:59 -07:00
Ben Ogle
01905ae55b Add specs for margin handling 2015-04-01 17:40:59 -07:00
Ben Ogle
6b5a74e3b6 Update specs for overlay rendering 2015-04-01 17:40:59 -07:00
Jesse Grosjean
409775b53e Improved specs for clipping pixel positions above/below display buffer 2015-04-01 12:39:22 -04:00
Jesse Grosjean
b067a6175f add screenPositionForPixelPosition spec 2015-03-30 13:52:28 -04:00
Nikolaus Wittenstein
b28ee92896 Add tests for DisplayBuffer::screenPositionForBufferPosition around soft tabs
This makes sure that a buffer position in the middle of a soft tab will
correctly clip to the closest edge by default.
2015-03-29 19:43:25 -04:00
Nikolaus Wittenstein
5a3f2035a1 Replace skipAtomicTokens with clip
When clipping a screen position, callers used to have to pick between
clipping to the left edge or the right edge when the position was in the
middle of an atomic token. This change allows them to choose the closest
edge, and makes this the default.

This makes selecting hard tabs (or any other atomic tokens) work in a
similar manner as in other text editors; that is, when clicking near
the middle of a tab, the insertion point will move to the closest edge
rather than the left edge.
2015-03-29 19:43:25 -04:00
Nikolaus Wittenstein
372fb49c88 TokenizedLine::screenColumnForBufferColumn calculates more accurately
screenColumnForBufferColumn used to break only if the current column
was strictly greater than the target column. This commit changes it so
it breaks when greater or equal, which is how bufferColumnForScreenColumn
works.

This also adds some unit tests for screenColumnForBufferColumn's
interactions with hard tab characters.
2015-03-29 19:43:25 -04:00
Max Brunsfeld
230eb12a8a Fix double autoscroll when moving cursor 2015-03-27 10:27:24 -07:00
Kevin Sawicki
ffdf7ac558 Remove unneeded failed count check 2015-03-26 16:36:01 -07:00
Kevin Sawicki
c2fecacdbe Fail CI build when deprecations exist 2015-03-26 16:36:01 -07:00
Nathan Sobo
127e0fbf6b Merge pull request #6114 from atom/mb-ns-fix-autoscroll
Fix autoscroll on undo
2015-03-26 17:34:39 -06:00
Nathan Sobo
ae4f7f6170 Explicitly autoscroll when needed
Rather than when the selection’s marker changes. This is simpler than
suppressing autoscroll via state when we don’t want it. It also captures
the intent to autoscroll when attempting to move the cursor at the
beginning or end of the document.

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-03-26 16:48:24 -06:00
Nathan Sobo
99c437ccec Allow autoscroll override option in cursor/selection methods
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-03-26 16:48:21 -06:00
Kevin Sawicki
14d1fc2269 Merge pull request #5898 from basarat/master
Transpile all .ts files
2015-03-26 14:33:04 -07:00
Nathan Sobo
10458a5b45 Always autoscroll when the range of the last selection changes
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-03-26 15:30:53 -06:00
Max Brunsfeld
2f5d975338 Remove autoscroll-related legacy editor view support
Signed-off-by: Nathan Sobo <nathan@github.com>
2015-03-26 11:12:37 -07:00
Basarat Syed
6f1b061dac Added TypeScript to the compile-cache 2015-03-24 18:05:30 +11:00
Cheng Zhao
2620c95d86 String.contains is not a standard method in Chrome 41 2015-03-24 12:06:03 +08:00
Michael Bolin
14316b1cd7 Add Repository::getType().
For `GitRepository`, this will return `"git"`.
2015-03-23 15:38:38 -07:00
liuxiong332
78f760aa08 make pane resize behavior be valid when split or close panes dynamically. 2015-03-23 20:47:20 +08:00
liuxiong332
e54c5b0cb8 delete some not used statement 2015-03-23 20:04:35 +08:00
liuxiong332
47742768a2 add specs which simulate mouse action in PaneResizeHandleElement to test the resize behavior. 2015-03-23 19:47:05 +08:00
Nathan Sobo
5f76979fc8 Fix random editor spec now for indented soft-wrap
We previously implemented soft-wrap logic again just for this test.
Since the purpose of this test is just to make sure that mutation occurs
correctly, we now instead construct a fresh editor for comparison so
that changes to soft-wrap logic are reflected.

/cc @as-cii Took care of this, so you don’t need to worry about my
previous comment on your PR. Sorry for the noise.
2015-03-19 15:08:48 -06:00
Jessica Lord
390e95e220 Merge branch 'master' into jlks-missing-services-fix 2015-03-19 10:19:56 -07:00
Antonio Scandurra
61cc9b97ea 💚 Fix failing spec 2015-03-19 11:45:54 +01:00
Antonio Scandurra
56020b11b0 🐛 Avoid soft-wrapping on indentation 2015-03-19 11:36:55 +01:00
Basarat Syed
c2f258c679 Addressed code review 2015-03-19 11:45:13 +11:00
Jessica Lord
2c46748307 add spec to check missing service methods are skipped
Signed-off-by: Kevin Sawicki <kevin@github.com>
2015-03-18 15:38:13 -07:00
Jessica Lord
cac361e6df add packages for new spec
Signed-off-by: Kevin Sawicki <kevin@github.com>
2015-03-18 15:34:28 -07:00
Nathan Sobo
609a661174 Merge pull request #6010 from atom/as-soft-wrap-hanging-indent
Soft wrap hanging indentation spaces
2015-03-18 11:39:27 -06:00
Antonio Scandurra
fbfe19825b Even more descriptive specs 2015-03-18 18:00:31 +01:00
Antonio Scandurra
8559526215 Write a more comprehensive spec 2015-03-18 17:42:25 +01:00
Antonio Scandurra
7c33b9bf41 🎨 Rename to softWrapHangingIndent 2015-03-18 14:18:27 +01:00
Antonio Scandurra
f0b9bb7ce3 Show indent guides on hanging indentation too 2015-03-18 11:17:34 +01:00
Basarat Syed
8793bebfab tests for typescript transpiling 2015-03-18 17:53:15 +11:00
liuxiong332
8b137719a0 replace 'fdescribe' with 'describe' in pane-axis-element-spec.coffee 2015-03-18 13:36:23 +08:00
liuxiong332
60434b1a7d simplify the pane-axis-element-spec spec files 2015-03-18 13:33:47 +08:00
Kevin Sawicki
cd5adb6ab7 Clear invalid rows when short-circuiting for null grammar 2015-03-17 17:41:22 -07:00
Kevin Sawicki
eb63556b27 Use - in socket file name 2015-03-17 16:51:52 -07:00
Kevin Sawicki
a64e1c9ca8 Merge pull request #5960 from Bjoernsen/patch-1
Enable multiple users
2015-03-17 16:50:00 -07:00
Antonio Scandurra
6ac8af2a6e Check leading spaces as well 2015-03-17 22:58:14 +01:00
Antonio Scandurra
6d39bd3657 Verify that hanging indentation is tokenized 2015-03-17 22:21:07 +01:00
Kevin Sawicki
46e881739c Set themes names at beginning of spec 2015-03-16 15:11:12 -07:00
Nathan Sobo
010154f802 Merge pull request #5959 from atom/as-fix-select-above-below
Use screen ranges to select above and below
2015-03-16 11:26:54 -06:00
Bjoernsen
d6338b0a2c Update start-atom.coffee 2015-03-16 08:38:01 +01:00
Antonio Scandurra
6633c90af8 Use buffer ranges when merging selections 2015-03-14 10:05:04 +01:00
Antonio Scandurra
0a23a21953 🎨 Get rid of goalBufferRange 2015-03-14 09:48:19 +01:00
Antonio Scandurra
bfe8f7c740 Fix soft-wrapping specs 2015-03-14 09:26:35 +01:00
Max Brunsfeld
587ebd7538 Fix Project::relativePath w/ URLs 2015-03-13 15:07:56 -07:00
Max Brunsfeld
eb355118ad Merge pull request #5961 from atom/mb-batch-services-providers-by-package
Batch service providers by package
2015-03-13 13:28:41 -07:00
Max Brunsfeld
7ec46933bd Batch service providers by package 2015-03-13 11:42:30 -07:00
Nathan Sobo
a4257ed513 Merge pull request #5936 from atom/as-destroy-containing-folds-on-selection
Destroy only containing folds on selection
2015-03-13 11:28:46 -07:00
Antonio Scandurra
8ac4848805 Skip soft-wrap indentation tokens while selecting
* 🎨 Restructure specs a bit
*  Write specs for this new behavior
2015-03-13 12:05:18 +01:00
Antonio Scandurra
c319b80464 Write specs for atomic tokens 2015-03-13 11:56:00 +01:00
Antonio Scandurra
02ad2e8ff7 Write specs for soft-wrapped lines selection 2015-03-13 11:32:42 +01:00
Antonio Scandurra
3b5a0b292d 📝 Better and consistent naming across specs and docs 2015-03-12 12:32:59 +01:00
Antonio Scandurra
faa2944232 Cover edge case scenario
...where buffer rows are less than rows fitting on screen
2015-03-12 10:33:19 +01:00
Antonio Scandurra
912dd732a9 🎨 Uniform new tests structure 2015-03-12 10:17:26 +01:00
Antonio Scandurra
9f1bb82451 Adjust DisplayBuffer#getVisibleRowRange logic
This fixes #4596, where the calculation returned a wrong range.

* 📝 State clearly that we'll return a closed interval in docs
*  Write tests to ensure a correct behavior
2015-03-12 10:08:02 +01:00
Antonio Scandurra
2b98192276 Destroy only containing folds on selection 2015-03-11 16:16:45 +01:00
Max Brunsfeld
f1375ca849 Merge pull request #5875 from atom/mb-multi-folder-all-the-time
Always open all CLI paths in the same window
2015-03-10 14:31:42 -07:00
liuxiong332
9b77d303a5 add specs for pane axis element 2015-03-10 21:29:16 +08:00
Antonio Scandurra
8c297ba1fc Verify corrupted state graceful handling 2015-03-09 13:43:33 +01:00
Max Brunsfeld
a6e8f8a08a Always open all CLI paths in the same window
No more 'atom --multi-folder'
2015-03-05 15:23:28 -08:00
Kevin Sawicki
7a3065e0fb Add spec for invalid settings notification 2015-03-04 11:18:15 -08:00
Kevin Sawicki
f02fa4a245 Add spec for invalid grammar notification 2015-03-04 11:12:09 -08:00
Kevin Sawicki
59c3dea77b Show notification for invalid context menu selector 2015-03-04 10:02:04 -08:00
Kevin Sawicki
a2d9ba2d2e Only try to require main module once 2015-03-04 10:02:04 -08:00
Kevin Sawicki
628380ff3d Unfocus spec 2015-03-04 10:02:04 -08:00
Kevin Sawicki
6c87dc05f3 Migrate specs from console.warn to notifications 2015-03-04 10:02:03 -08:00
Kevin Sawicki
fa2eab5b7e Show notification when parsing package.json fails 2015-03-04 10:02:03 -08:00
Kevin Sawicki
a7bd20f08f Remove unused fixture 2015-03-04 10:02:03 -08:00
Kevin Sawicki
5902bc42e9 Throw error when adding context menu with invalid selector 2015-03-04 10:02:03 -08:00
Kevin Sawicki
333a495d55 Catch errors adding activation commands 2015-03-04 10:02:03 -08:00
Kevin Sawicki
8ba098b640 Throw an error when adding an invalid selector 2015-03-04 10:02:03 -08:00
Michael Bolin
a0a4dac571 Fix a bug when a URI is passed to atom.project.removePath(). 2015-03-03 21:44:54 -08:00
Ben Ogle
5f7015f303 Remove isInitialEmptyEditor 2015-03-03 13:18:02 -08:00
Ben Ogle
80b1d89c62 Check getLoadSettings to decide to open initial buffer 2015-03-03 12:34:54 -08:00
Ben Ogle
80cd20193a Move the logic for opening empty initial buffer to renderer 2015-03-03 11:39:38 -08:00
Ivan Zuzak
e452070847 Merge branch 'master' into iz-gutter-click-select-whole-soft-wrapped-line 2015-03-03 15:40:56 +01:00
Ivan Zuzak
03a064b6e9 Add specs for mouse interactions on gutter with soft wrap 2015-03-03 13:59:46 +01:00
Max Brunsfeld
8fac0e8778 Merge pull request #5795 from mostafaeweda/master
Default directory provider should handle only local filesystem directories
2015-03-02 16:04:54 -08:00
Mostafa Eweda
b74a688baa Bare minimum fix to the default directory provider 2015-03-02 14:28:01 -08:00
Antonio Scandurra
a12bf66e41 Merge branch 'master' into batch-updates 2015-02-28 10:21:48 +01:00
Antonio Scandurra
78a1a724db 🎨 More expressive specs 2015-02-28 09:55:49 +01:00
Antonio Scandurra
436322fc41 Call it onDidUpdateState 2015-02-28 09:36:56 +01:00
Antonio Scandurra
0dca5a5fcd Encapsulate state update inside TextEditorPresenter#getState 2015-02-28 09:25:53 +01:00
Ivan Zuzak
574158dc6d Add test for foldable icons on soft wrapped lines 2015-02-27 15:30:24 +01:00
Nathan Sobo
f15c029938 Merge pull request #5759 from atom/as-soft-wrap-hangs-on-small-windows
Do not hang on soft wrapping when editor is very small
2015-02-27 01:00:20 -07:00
Antonio Scandurra
efefc0dc66 DisplayBuffer#getEditorWidthInChars must always be >= 0 2015-02-27 00:55:03 +01:00
Nathan Sobo
6a9abd1f66 🐎 Don’t blink cursors when editor isn’t focused
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-02-26 15:23:11 -07:00
Nathan Sobo
cd310dbe58 Rename ‘blinkCursorsOff’ to ‘cursorsVisible’ in presenter state 2015-02-26 15:21:47 -07:00
Max Brunsfeld
ddcb874f6b Base state file path on sorted project paths 2015-02-26 12:50:56 -08:00
Max Brunsfeld
72147be4bc Merge pull request #5768 from atom/mb-save-state-based-on-project-paths
Base state path on project paths
2015-02-26 11:55:17 -08:00
Max Brunsfeld
173502bab4 Base state path on project paths 2015-02-26 11:21:44 -08:00
Max Brunsfeld
25edc9d565 Merge pull request #5753 from atom/mb-project-split-path
Add API for getting paths relative to project dirs
2015-02-26 09:13:11 -08:00
Max Brunsfeld
69b1a08ef5 Rename .splitPath -> .relativizePath 2015-02-26 08:46:00 -08:00
Nathan Sobo
c9ce9f41c2 Merge pull request #5567 from as-cii/indent-soft-wrap
Indent soft wrap
2015-02-25 19:06:35 -07:00
Max Brunsfeld
b307024218 Add API for getting paths relative to project dirs 2015-02-25 17:15:08 -08:00
Kevin Sawicki
d0f7444f86 Merge pull request #5744 from atom/ks-optional-activate
Make package activation function optional
2015-02-25 14:17:53 -08:00
Nathan Sobo
986e8bf85f Allow multiple space-delimited classes for highlight decorations
Fixes #5747
2015-02-25 14:35:32 -07:00
Kevin Sawicki
bfe3bc3659 Make package activate optional 2015-02-25 11:16:09 -08:00
Kevin Sawicki
96fb179d71 Merge pull request #5707 from atom/bf-grim-6to5
Report deprecation warning when 'use 6to5' is used instead of 'use babel'.
2015-02-25 10:07:39 -08:00
Kevin Sawicki
feb37c5df6 📝 Mention deprecations 2015-02-25 09:42:49 -08:00
Kevin Sawicki
e51f8b298e Add specs for pragma deprecations 2015-02-25 09:37:42 -08:00