Commit Graph

12724 Commits

Author SHA1 Message Date
Max Brunsfeld
69b1a08ef5 Rename .splitPath -> .relativizePath 2015-02-26 08:46:00 -08:00
Antonio Scandurra
c8fb791343 Merge branch 'master' into batch-updates 2015-02-26 11:27:08 +01:00
Antonio Scandurra
50f2aded3a Better batching 2015-02-26 11:26:48 +01:00
Antonio Scandurra
0ce3c49688 Batch returns the function value
* Emit only one event for nested batches
2015-02-26 10:50:43 +01: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
Jim Graham
93a725d453 Remove dialog icon from updater atom/atom#5670
Remove the update icon on windows when showing the update modal dialog.
Keep the icon for linux. This appears to be the only file outside of
`build/` that uses the `'atom.png'` file.
2015-02-25 17:11:17 -05: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
Nathan Sobo
ee30682c56 Merge pull request #5733 from as-cii/efficient-cursor-merging
🐎 Speed up `mergeCursors`
2015-02-25 11:19:55 -07: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
Antonio Scandurra
fdcbb9c8ff Don't change mergeIntersectingSelections behavior for now 2015-02-25 18:44:43 +01:00
Kevin Sawicki
7a719d585d Remove unused method 2015-02-25 09:25:22 -08:00
Kevin Sawicki
1c9dbbf3b3 Craft manual deprecation to get around stack depth limit
This allows the deprecation to be properly associated with the
package it originates from.
2015-02-25 09:24:18 -08:00
Antonio Scandurra
cbfbf84990 🐎 Introduce batching, and update UI accordingly 2015-02-25 17:40:39 +01:00
Antonio Scandurra
8f2df60eab 🎨 Refactor batchMode 2015-02-25 17:06:35 +01:00
Antonio Scandurra
ce8a5a210c Detect batch cursor move 2015-02-25 17:06:35 +01:00
Antonio Scandurra
b2bed7cea8 Detect batch selections 2015-02-25 17:06:34 +01:00
Antonio Scandurra
4555c77e5a Use hashes instead, and avoid sorting 👊 2015-02-25 11:20:15 +01:00
Antonio Scandurra
6670cc8aa0 🐎 Speed up mergeCursors 2015-02-25 10:42:39 +01:00
Max Brunsfeld
224803c25f Use the right project path for document title 2015-02-24 16:06:59 -08:00
Max Brunsfeld
33af0f028b 🎨 Use prettier emptiness check 2015-02-24 15:31:51 -08:00
Max Brunsfeld
88c2cef91f Make :checkout-head-revision command work w/ multiple repos 2015-02-24 15:30:04 -08:00
Michael Bolin
49be811bee Report a deprecation warning when 'use 6to5' is used instead of 'use babel'. 2015-02-24 15:10:39 -08:00
Max Brunsfeld
cbefdd6c5e Make Workspace::scan work w/ multiple root directories 2015-02-24 14:22:39 -08:00
Nathan Sobo
a208e789d7 Merge pull request #5714 from as-cii/update-only-needed-cursors
Update needed cursors only
2015-02-24 13:44:07 -07:00
Max Brunsfeld
a1ba470c5b Don't add project paths when opening a file in an existing window 2015-02-24 12:09:10 -08:00
Nathan Sobo
0bf0c0527f Don’t tokenize spaces preceding combining chars as leading whitespace
Fixes #5349
2015-02-24 12:10:25 -07:00
Nathan Sobo
5fdb3cde08 Fix ::longestScreenRow update for changes directly above longest line
Fixes #5716
2015-02-24 11:36:01 -07:00
Nathan Sobo
622caee446 Correctly store which lines we have already measured 2015-02-24 11:36:01 -07:00
Ivan Žužak
3dc1029362 🔥 remove unused variable 2015-02-24 19:03:10 +01:00
Antonio Scandurra
cc9ed043c7 🐎 Update needed cursors only 2015-02-24 16:39:39 +01:00
Antonio Scandurra
088b3193e9 Merge branch 'master' into indent-soft-wrap 2015-02-24 08:30:36 +01:00
Michael Bolin
59df42d7c5 Fix a lint warning reported by ./script/grunt lint.
Now it runs without reporting any issues.
2015-02-23 22:53:31 -08:00
Kevin Sawicki
e3d4d07baf 📝 Link to latest docs 2015-02-23 17:49:45 -08:00
Max Brunsfeld
0be34a892f Merge pull request #5660 from atom/bf-git-repository-provider-should-not-throw
Make sure that GitRepositoryProvider.repositoryForDirectorySync() return...
2015-02-23 17:21:48 -08:00
Nathan Sobo
03fc4e1b98 Remove unused React references 2015-02-23 13:08:50 -08:00
Nathan Sobo
c74ced6378 Merge pull request #5678 from as-cii/faster-merge-selection
Faster `mergeIntersectingSelections`
2015-02-23 12:36:28 -08:00
Nathan Sobo
2e8c5855d4 Don’t attempt to preserve mouseWheelScreenRow if it’s deleted
Fixes #5527
2015-02-23 10:51:16 -08:00
Michael Bolin
b015e1bfa7 revert changes to isValidGitDirectorySync() 2015-02-23 09:56:57 -08:00
Michael Bolin
07039ba47a Check whether existsSync() is available in GitRepositoryProvider before trying to call it. 2015-02-23 09:30:43 -08:00
Michael Bolin
eb06cb7f97 On second thought, don't print anything.
This can be a common, expected occurrence when using special implementations
of Directory, so it creates a lot of distracting noise for the user.
2015-02-22 20:36:14 -08:00
Michael Bolin
947df9a6cc Print exception via console.warn(). 2015-02-22 20:35:51 -08:00
Antonio Scandurra
7fe3135526 🎨 Give code a better structure 2015-02-22 15:04:37 +01:00
Antonio Scandurra
37b4183542 🐎 Improve mergeIntersectingSelections performance
Order selections first and intersect only with the last one.
This brings the cost of mergeIntersectingSelections down to O(n log n).
2015-02-22 14:04:03 +01:00
Antonio Scandurra
007ec75fbf Merge branch 'master' into indent-soft-wrap 2015-02-21 12:14:05 +01:00
Michael Bolin
6d24aaf497 Make sure that GitRepositoryProvider.repositoryForDirectorySync() returns null rather than throws.
The UI locks up if this method does not return.
2015-02-21 00:07:40 -08:00
Kevin Sawicki
7ca9e5614c Go back to using or check instead of pattern 2015-02-20 15:11:46 -08:00
Kevin Sawicki
caff9e0866 Merge pull request #5579 from sebmck/babel
Rename 6to5 to Babel
2015-02-20 15:04:26 -08:00