Commit Graph

11287 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Nathan Sobo
964809373b Merge branch 'ns-manual-dom-updates' 2015-02-20 15:29:33 -07:00
Nathan Sobo
55f80f33e6 Avoid allocating an array on every poll
@jashkenas Love CoffeeScript but I wish I could opt out of loops being
list comprehensions.
2015-02-20 15:28:02 -07:00
Nathan Sobo
32d393d26f Pause polling when updates are requested, but don’t start polling over
The blinking cursor was ensuring that we never polled in certain cases.
We need to allow the interval to continue polling at a normal pace, but
just avoid doing any work that could delay the next animation frame.
2015-02-20 09:51:11 -07:00
Michael Bolin
bf9c4132b2 Create a comprehensive test for the new behavior in Project. 2015-02-19 21:02:31 -08:00
Michael Bolin
ede049554c formatting fixes 2015-02-19 20:28:36 -08:00
Michael Bolin
c728ad6d57 Introduce atom.directory-provider service.
A `Project` will always have a `DefaultDirectoryProvider` that
will be used if there are no other `DirectoryProvider` objects
that can produce a `Directory` for a path.
2015-02-19 17:57:18 -08:00
Nathan Sobo
dc752eda20 Update scrollHeight/Width before scrollTop/Left in dummy scrollbars
This avoids jerky scroll behavior when auto-scrolling at the margins.
2015-02-19 17:15:03 -07:00
Nathan Sobo
1d84d74e50 Centralize text editor DOM interaction through atom.views
This ensures that DOM writing, reading, and polling properly interleaves
with DOM interactions from other text editors and any other code that
coordinates via atom.views. Not sure about the location of it though.
2015-02-19 17:14:58 -07:00
Nathan Sobo
de4d995190 Add document coordination methods to ViewRegistry
These will assist in updating and reading the DOM in a non-blocking
manner across components.
2015-02-19 17:14:57 -07:00
Nathan Sobo
d337c88aea Delete overlay node from hash before removing 2015-02-19 17:14:57 -07:00
Nathan Sobo
7033b27207 Make EditorComponent a plain JS object rather than a React component 2015-02-19 17:14:57 -07:00
Nathan Sobo
c9a6c32752 Replace cursor blink React props with normal properties 2015-02-19 17:14:57 -07:00
Nathan Sobo
1e8b0acbd0 Remove redundant update requests in editor view 2015-02-19 17:14:57 -07:00
Nathan Sobo
0d109d69f0 Use CompositeDisposable instead of SubscriberMixin in editor view 2015-02-19 17:14:57 -07:00