Commit Graph

14990 Commits

Author SHA1 Message Date
joshaber
74a0528bef Added .getConfigValue 2015-12-03 12:18:00 -05:00
Antonio Scandurra
f2a0221519 Make sure block decorations are always in the right spot 2015-12-03 18:16:10 +01:00
joshaber
70601772d0 Added .getReferenceTarget 2015-12-03 11:54:55 -05:00
joshaber
c1e511927b Added .getReferences 2015-12-03 11:44:31 -05:00
joshaber
b60056f960 Added .getUpstreamBranch 2015-12-03 11:34:05 -05:00
joshaber
46d6e3b3c4 Added .hasBranch 2015-12-03 11:29:34 -05:00
Antonio Scandurra
cc4344735e 💚 Fix specs 2015-12-03 17:11:38 +01:00
Antonio Scandurra
36103a024a Make sure to add screen row to block decoration nodes 2015-12-03 16:26:15 +01:00
Antonio Scandurra
14b126ace0 🎨 2015-12-03 16:06:36 +01:00
joshaber
9bb8703978 Don't make the async repo duplicate the work if it's wrapped by a sync repo. 2015-12-03 09:49:10 -05:00
joshaber
81dbc5c867 Move the refreshingCount changes closer to where the work is done. 2015-12-03 09:48:38 -05:00
Antonio Scandurra
555d77afa6 Do not remove invisible decorations on ::mouseWheelScreenRow 2015-12-03 15:45:47 +01:00
joshaber
a3a77180de More helpful type annotations. 2015-12-03 09:33:30 -05:00
Antonio Scandurra
f6688b6d71 Don't use babel when not needed 2015-12-03 15:30:20 +01:00
Antonio Scandurra
da42fc74ed 🔥 💄 2015-12-03 15:05:41 +01:00
Antonio Scandurra
e23af02606 Fix linting errors 2015-12-03 13:11:41 +01:00
Antonio Scandurra
47644ee487 More 🔥 2015-12-03 13:09:10 +01:00
Antonio Scandurra
e75263b5e0 🔥 2015-12-03 13:07:14 +01:00
Antonio Scandurra
f22bd5d0ae 🐎 Use ids instead of classes 2015-12-03 11:52:10 +01:00
Antonio Scandurra
937116a280 Render only visible and yet-to-be-measured block decorations 2015-12-03 11:26:45 +01:00
Antonio Scandurra
fcb8a13f4a Use buffer marker events to avoid conversions 2015-12-03 10:48:24 +01:00
joshaber
8da08724ad Added getDiffStats. 2015-12-02 23:51:33 -05:00
joshaber
cb62d917de Added getAheadBehindCount. 2015-12-02 17:20:38 -05:00
joshaber
aa634570e6 Added getShortHead 2015-12-02 16:16:30 -05:00
joshaber
fe4d3601d5 Organize similarly to git-repository.coffee so we can more easily tell what we're missing. 2015-12-02 15:28:09 -05:00
joshaber
428797c393 Add back window refreshing. 2015-12-02 14:59:09 -05:00
joshaber
3ca4448afc Use the ES6 export syntax. 2015-12-02 14:53:57 -05:00
joshaber
bb14169e75 Take refreshStatusForPath into account for _refreshingCount. 2015-12-02 14:39:16 -05:00
joshaber
d0b148a97a Call the better-named method. 2015-12-02 14:39:00 -05:00
joshaber
38cf3b8f64 Use refreshStatusForBuffer. 2015-12-02 13:55:10 -05:00
joshaber
aa31c6c96f Don't log anymore. 2015-12-02 13:54:53 -05:00
joshaber
8a6ab81325 100% less racy. 2015-12-02 13:26:06 -05:00
Antonio Scandurra
9ef3ecf378 Handle off-screen measurements properly 2015-12-02 18:34:57 +01:00
Antonio Scandurra
87c8694d01 Use ::bottomPixelPositionForRow to scroll logically 2015-12-02 17:21:12 +01:00
Antonio Scandurra
e10fdc234b 🐛 Coordinate conversion is hard 2015-12-02 16:26:10 +01:00
Antonio Scandurra
5bcdcbeef6 🎨 2015-12-02 16:13:44 +01:00
Antonio Scandurra
f30e4ccc9d Use the new LineTopIndex in TextEditorPresenter 2015-12-02 16:01:55 +01:00
Antonio Scandurra
1f20ab5170 Use LinearLineTopIndex in BlockDecorationsPresenter 2015-12-02 14:49:36 +01:00
Antonio Scandurra
60b1d20667 🔥 Remove old code 2015-12-02 09:55:47 +01:00
Antonio Scandurra
1e07b8df05 Handle position between rows correctly 2015-12-02 09:13:06 +01:00
joshaber
36604141b9 Let's use a separate method for side-effecting. 2015-12-01 17:41:51 -05:00
joshaber
5019cc31ab These can be const too. 2015-12-01 14:16:50 -05:00
joshaber
4e64af9155 ES6 some more. 2015-12-01 13:53:57 -05:00
Antonio Scandurra
e0b1cabb21 Implement a linear structure for block decoration coordinates
We still cannot handle `::rowForTopPixelPosition` when the passed top position
is in the middle of two rows and there's also a block decoration. We'll get
there eventually.

Also, the specs in this commit should serve as a good test suite for the future
logarithmic data structure.
2015-12-01 19:33:37 +01:00
joshaber
64d4716003 Use modern imports. 2015-12-01 12:47:11 -05:00
joshaber
c76d0f0438 Update the current branch as well. 2015-12-01 12:22:25 -05:00
joshaber
ee3b655067 git-repository will refresh us on window focus. 2015-12-01 12:19:51 -05:00
joshaber
9765cb55ea Merge branch 'master' into dh-async-repo 2015-12-01 10:16:48 -05:00
Antonio Scandurra
d24290357a Implement block decorations in the components land 2015-12-01 13:36:23 +01:00
Douwe Maan
2f78a274a1 Only add explicitly opened files/folders as recent documents 2015-12-01 11:07:10 +01:00