Commit Graph

12518 Commits

Author SHA1 Message Date
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
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
Nathan Sobo
39e5e58be1 Merge pull request #8494 from lpommers/documentation-selections-preserve-folds
📝 add preserveFolds documentation to setSelectedBufferRange(s)
2015-08-24 15:40:53 -06:00
Max Brunsfeld
5c73e5a001 Add CommandRegistry::onDidDispatch 2015-08-24 14:10:02 -07:00
Luke Pommersheim
d03db928f8 📝 add preserveFolds documentation to setSelectedBufferRange(s) 2015-08-24 18:29:21 +02:00
Jeremy Ramin
9a0d657d52 Adds deepDefaults to config
Took at the deepExtend in the atom/underscore-plus repo and modified it
to become a deepDefaults method. Using this instead to see if it fixes
the failing specs.
2015-08-22 23:03:19 -07:00
Jeremy Ramin
85800f6d00 Fix method typo 2015-08-22 21:16:32 -07:00
Jeremy Ebneyamin
f2c9688b43 Fix config.get for schemas containing objects
The config.get method would not return the default values for the
properties in objects. Now with _.deepExtends, the default values are
the base while any new values overwrite the defaults. This way all
default values appear, including those nested in an object. This fixes
atom/settings-view#386 and fixes atom/settings-view#518.
2015-08-22 19:44:17 -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
a4b9b9c6cd 👕 Use standard style for js code 2015-08-21 16:56:32 -07:00
Kevin Sawicki
fc95b5cded Merge pull request #8473 from atom/ld-typo
📝 Fix a typo and make recommendation more clear
2015-08-21 16:41:13 -07:00
Max Brunsfeld
f3778148a0 Catch errors when retrieving source maps 2015-08-21 15:37:36 -07:00
Max Brunsfeld
a18b7e2fa9 Don't make prepareStackTrace unwritable
This breaks other code (such as Grim) that may want to temporarily
use a different prepareStackTrace function.
2015-08-21 14:57:39 -07:00
Max Brunsfeld
a6fa098a8c Add CompileCache spec 2015-08-21 14:47:32 -07:00
Max Brunsfeld
f8397661d1 Defer coffee-script require, prevent it from reassigning prepareStackTrace 2015-08-21 13:48:56 -07:00
Max Brunsfeld
b533aff8f4 🐎 Minimize dependencies loaded before the module-cache 2015-08-21 13:48:56 -07:00
Lee Dohm
73dded1e42 📝 Fix a typo and make recommendation more clear 2015-08-21 13:14:28 -07:00
Jess Lin
b5b8591a51 Destroy a TextEditor's Gutters when it is destroyed 2015-08-21 12:55:22 -07:00
Max Brunsfeld
bb69f1352d 🎨 2015-08-21 11:50:54 -07:00
Max Brunsfeld
408202729e Add sourceURL comment to all compiled js files 2015-08-21 11:19:11 -07:00
Nathan Sobo
8b7f9b0471 Merge branch 'master' into mb-bundle-line-ending-selector 2015-08-21 11:54:10 -06:00
Max Brunsfeld
8c5eed28d2 Don't use es6 features in compile-cache
APM requires it directly, and it uses an older version of node
2015-08-21 10:31:29 -07:00
Max Brunsfeld
f531684acf Use compile-cache in browser process (for dev mode) 2015-08-20 17:59:29 -07:00
Nathan Sobo
6f44fc4c7f Generate sourceFiles in CoffeeScript source maps correctly 2015-08-20 16:08:25 -06:00
Nathan Sobo
c0f3ca6dcd Fix inline source map regex
Need to enable multi-line mode after all

Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-08-20 16:08:03 -06:00
Nathan Sobo
61ef1da815 🎨
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
2015-08-20 16:07:37 -06: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
973c2a6a18 Don't match newlines when finding source-map data 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
Nathan Sobo
93a284e10f Merge pull request #8441 from atom/ld-markdown-config-descriptions
📝 Add docs for Markdown formatting of config descriptions
2015-08-20 12:13:28 -06:00
Antonio Scandurra
133a42e395 Merge pull request #8436 from atom/as-batch-cursor-updates
Batch cursor updates
2015-08-20 16:00:07 +02:00
Antonio Scandurra
5c519036dc 🔥 Avoid emitting event on cursor update 2015-08-20 10:06:15 +02:00
Max Brunsfeld
2285e8a42c Move babel config to a separate file in static directory 2015-08-19 17:55:29 -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
Kevin Sawicki
65a465416a 📝 Document flexScale passed to callback 2015-08-19 15:23:11 -07:00
Martin Rodalgaard
7131c39a73 📝 fix pane flex scale doc 2015-08-20 00:15:38 +02:00
Nathan Sobo
55a0be9c81 Merge pull request #8377 from atom/ns-select-screen-lines-from-gutter
Select screen rows when click-dragging in gutter
2015-08-19 14:15:34 -06:00
Nathan Sobo
71974e3e98 Merge pull request #8446 from atom/ns-terminate-drag-on-text-input
Terminate selection drag on text input
2015-08-19 14:13:27 -06:00
Nathan Sobo
8ae3761cd7 Terminate selection drag on text input
On recent versions of OS X Yosemite, there is a delay before we receive
the `mouseup` event when dragging selections with the trackpad. This
means that we’re frequently accidentally inserting text before the
selection process terminates, leading to unexpected selections after the
text insertion. This fixes that behavior and makes the behavior more
straightforward even in the case where the mouse button is remains held
down during text insertion.
2015-08-19 13:44:17 -06:00
Max Brunsfeld
733c120ef7 Merge remote-tracking branch 'origin/master' into mb-bundle-line-ending-selector 2015-08-19 12:00:41 -07:00
Thomas Johansen
c16f252ab7 📝 Rephrase view resolution docs 2015-08-19 20:54:39 +02:00
Thomas Johansen
675e9be262 🔥 Remove mention of semi-deprecated view resolution step 2015-08-19 20:46:24 +02:00
Nathan Sobo
31bdd563ed Select by buffer row on gutter click, but by screen row on gutter drag 2015-08-19 12:46:20 -06:00
Nathan Sobo
3cf9238d79 Select screen rows when click-dragging in gutter
…Instead of entire buffer rows
2015-08-19 12:46:20 -06:00
Lee Dohm
bb0dc68e40 📝 Add docs for Markdown formatting of config descriptions
Related to atom/settings-view#635
2015-08-19 07:48:15 -07:00
Thomas Johansen
66d0e7c752 📝 Attempt to document view resolution algorithm 2015-08-19 15:44:16 +02:00
Antonio Scandurra
ea391d017d 🐎 Batch cursor updates 2015-08-19 11:32:16 +02:00
Max Brunsfeld
a25a8c83e4 Use same babel options for compiling bundled packages 2015-08-18 17:50:49 -07:00
Max Brunsfeld
e4b1d512cd Honor /** use babel */ in addition to 'use babel' 2015-08-18 17:32:11 -07:00