Commit Graph

5848 Commits

Author SHA1 Message Date
Nathan Sobo
6edd3fde76 Add spec for token iterator regression 2015-09-10 10:16:38 -07:00
Max Brunsfeld
2dbd556c50 Fix chromedriver location in integration specs 2015-09-09 12:34:28 -07:00
Nathan Sobo
ea5b12d69c Clear build failures, cached incompatible modules after rebuild 2015-09-08 09:53:45 -06:00
Nathan Sobo
f571ee7baf Add Package::rebuild 2015-09-08 09:53:45 -06:00
Nathan Sobo
d6c0e8f8c8 Merge pull request #8660 from atom/as-null-bytes-paired-char
Avoid pairing null byte characters
2015-09-03 13:17:37 -06:00
Antonio Scandurra
ac64245848 Avoid pairing null bytes characters 2015-09-03 19:54:55 +02:00
Nathan Sobo
3ca11c2cef 🎨 select-line adjustments; Only select single row if row is given 2015-09-03 08:25:24 -06:00
jc roy
361ef308e2 SelectLine : When multiple line selected, complete both first and last line. 2015-09-02 20:03:18 -04:00
Nathan Sobo
5be64cdc89 Merge pull request #8627 from atom/ns-terminate-drag-on-any-text-change
Terminate drag on any buffer change
2015-09-01 14:22:29 -06:00
Nathan Sobo
f3def3a7ed Terminate drag on any buffer change
Not just text insertion.
2015-09-01 12:58:34 -06:00
Nathan Sobo
f1276f59de Autoscroll when mouse gets close to the edge of the editor scroll view
Previously, we required the cursor to exceed the bounds of the editor,
but that makes it impossible to scroll when the window is maximized.
2015-09-01 10:43:45 -06:00
Antonio Scandurra
0d248e0c5b Merge pull request #8500 from natthu/master
Fix a bug with refreshing the gutter UI.
2015-08-31 14:24:12 +02:00
Nathan Sobo
c0b4181b47 Merge pull request #8558 from atom/ns-simplify-page-up-down
Simplify page-up/page-down
2015-08-28 14:55:24 -06:00
Nathan Sobo
c7cc404c42 Simplify page-up/page-down
We simply move the cursor up or down by the number of whole lines that
fit on screen, allowing autoscroll to adjust the scroll position. This
causes there to be a margin under the location to which we move the
cursor, but I think it’s better to provide context and keep the
autoscroll experience consistent when using the keyboard.
2015-08-28 13:39:14 -06:00
Nathan Sobo
012f8e40fc Add specs for mouse-based autoscroll; fix a couple existing specs 2015-08-28 12:56:59 -06:00
simurai
ff93fdf617 Merge pull request #8537 from atom/as-gutter-z-index
Gutter z-index
2015-08-28 17:31:58 +09:00
Antonio Scandurra
340fe7e534 📝 Fix wording on specs
Thanks, @maxbrunsfeld! 🎆
2015-08-28 09:45:55 +02:00
Nathan Sobo
314e082f1d Clean up max scroll margin code
Previously we were attempting the same computation twice, once
incorrectly when returning the scroll margins as integers and then doing
the same thing in terms of pixels. This just cleans up the original
calculation. It’s *slightly* different because it takes the floor to
continue returning integers, but the behavior is extremely close.
2015-08-27 17:40:01 -06:00
Natthu Bharambe
20aa3a6a87 Fix nits with the spec.
Summary:

Test Plan:

Reviewers:

CC:

Task ID: #

Blame Rev:
2015-08-27 08:38:05 -07:00
Antonio Scandurra
fa28aef2b5 Put a decreasing z-index on line numbers 2015-08-27 12:47:43 +02:00
Antonio Scandurra
9ea62673d2 Put a decreasing z-index on line-numbers tiles 2015-08-27 12:15:55 +02:00
Antonio Scandurra
ca285d3fe3 💚 Correct typo in container's height specs 2015-08-27 12:12:45 +02:00
Nathan Sobo
4bbc1d806e Create a selection automatically as needed if the last one was destroyed
Fixes atom/bracket-matcher#102
2015-08-26 17:59:33 -06:00
Nathan Sobo
6bfa228060 Merge pull request #8520 from atom/as-lines-height
Change lines container height based on `TextEditorElement` dimensions
2015-08-26 17:21:52 -06:00
Max Brunsfeld
014243637b Merge pull request #8527 from atom/mb-add-child-root-folder
Allow adding a root folder that's within another root folder
2015-08-26 15:44:30 -07:00
Max Brunsfeld
6df058c7f3 Allow adding a root folder that's within another root folder 2015-08-26 15:26:02 -07:00
Natthu Bharambe
aba76015b0 Add a spec to verify gutter decorations are updated even if a higher priority gutter is hidden. 2015-08-26 15:17:03 -07:00
Jacek Kopecky
3a81414155 🔥 redundant old tests 2015-08-26 21:52:01 +01:00
Jacek Kopecky
e4b189c6c0 add tests 2015-08-26 21:04:09 +01:00
Antonio Scandurra
b5c0f5ac0b Change lines container height based on boundingClientRect 2015-08-26 16:21:51 +02:00
Max Brunsfeld
b9ca563c3c Don't use fixture file in openEmptyEditorOnStart spec 2015-08-25 14:24:11 -07:00
Max Brunsfeld
6c73f5eda7 Merge branch 'master' of https://github.com/jonathandelgado/atom into jonathandelgado-master 2015-08-25 12:36:58 -07:00
Max Brunsfeld
f57da0c6f8 Suppress merging selections during undo/redo
Now, during undo/redo overlapping selections will be temporarily
created as markers are created via snapshots. Old selections will
immediately be destroyed though, since undo/redo now completely
replace all historied markers w/ those in the snapshot, so there
is no need to merge selections.
2015-08-25 10:51:45 -07:00
Max Brunsfeld
b8aec9db7c Fix display buffer spec for new historied marker behavior 2015-08-25 10:50:05 -07:00
Max Brunsfeld
5f7a0a32aa Merge pull request #8480 from jeremyramin/fix-config-get
Fix config.get for schemas with objects
2015-08-25 09:15:43 -07:00
Jeremy Ramin
1de707f2d7 Add tests to config spec
Add tests to check if the get command properly merges the stored values
with the defined defaults in the schema.

Two cases:
- Obj has no property changes.
- Obj has one or more changes to a property.
2015-08-24 17:00:09 -07:00
Max Brunsfeld
5c73e5a001 Add CommandRegistry::onDidDispatch 2015-08-24 14:10:02 -07:00
Jonathan Delgado
82a80cd732 Fixed openEmptyEditorOnStart fixture tabs 2015-08-24 10:32:56 -07:00
Jonathan Delgado
effd96f4bb Fix openEmptyEditorOnStart fixture 2015-08-24 10:31:37 -07:00
Jonathan Delgado
e5d7886097 Fix openEmptyEditorOnStart spec styling 2015-08-23 08:09:09 -07:00
Jonathan Delgado
86dfb50bec Added spec for openEmptyEditorOnStart 2015-08-23 08:07:19 -07:00
Max Brunsfeld
fb2a45d71d Merge pull request #8433 from atom/mb-bundle-line-ending-selector
Support bundling babel packages and bundle the line-ending-selector package
2015-08-21 17:45:10 -07:00
Max Brunsfeld
0dd19f3133 Remove 6to5 fixtures 2015-08-21 16:59:53 -07:00
Max Brunsfeld
a6fa098a8c Add CompileCache spec 2015-08-21 14:47:32 -07:00
Jess Lin
b5b8591a51 Destroy a TextEditor's Gutters when it is destroyed 2015-08-21 12:55:22 -07:00
Max Brunsfeld
1f64676189 🔥 Unnecessary joining and splitting 2015-08-21 12:14:10 -07:00
Nathan Sobo
dba53f3358 Merge branch 'master' into mb-bundle-line-ending-selector 2015-08-20 14:05:28 -06:00
Max Brunsfeld
070f4000f0 Replace 'use babel' -> '@babel' in comment directive 2015-08-20 11:58:46 -07:00
Max Brunsfeld
1bfbf7f9d3 Map line numbers in onerror handler w/ source-map-support 2015-08-20 11:58:45 -07:00
Max Brunsfeld
49e37f5410 Use source-map-support to handle stack trace conversion
Previously, our Error.convertStackTrace function was provided by coffeestack,
which only works for coffee-script. This adds a dependency on 'source-map-support',
which works for any source file with inline source maps.

This also refactors the code for registering our compilers (coffee-script,
typescript, and babel) so that caching logic is shared.
2015-08-19 17:55:29 -07:00