Commit Graph

13928 Commits

Author SHA1 Message Date
joshaber
1a35545bd7 _destroyed => _isDestroyed 2016-01-04 12:48:29 -05:00
joshaber
d9b39323cf Fix the openExt call. 2016-01-04 12:20:54 -05:00
joshaber
d8a5418f1e Only refresh the status for the open project. 2016-01-04 12:14:24 -05:00
joshaber
73cb867ccd Do proper path-filtering for status. 2016-01-04 12:14:08 -05:00
joshaber
07eebdccb8 Use .openExt instead of .open.
Use openExt to open the repository so we get the same repo-searching
behavior we had with git-utils.
2016-01-04 11:26:58 -05:00
joshaber
449c1e6a69 Merge branch 'master' into dh-async-repo 2016-01-04 11:15:01 -05:00
joshaber
703361afc9 Merge branch 'master' into use-project-relative-status 2016-01-04 11:13:56 -05:00
Kevin J
876928f7f6 Update function documentation for scrollToScreenPosition 2016-01-02 16:05:21 -05:00
joshaber
b4035547c2 Use .getStatusForPaths. 2016-01-01 17:05:50 -05:00
joshaber
dcd860ae6f Use the last focused window instead of the last opened window. 2016-01-01 12:18:48 -05:00
joshaber
9e7cb15c2c Offset on Windows too. 2016-01-01 12:05:42 -05:00
joshaber
a63e70148d Cascade new windows on OS X
Fixes #10057.
2015-12-30 17:33:45 -05:00
joshaber
5c14d3e99b Don't fail if event is undefined.
Unclear why this is undefined, but apparently it is.
2015-12-30 14:33:23 -05:00
joshaber
7024e000a8 Provide some defaults.
Otherwise we’ll get:

TypeError: Cannot read property 'pathToOpen' of undefined

when called from ‘application:new-file’.
2015-12-30 14:32:55 -05:00
joshaber
28326b3674 Strip any leading /private/.
I don’t love that we have to do this manually, but I also can’t find
any node function that’ll do it for us :(
2015-12-30 12:11:06 -05:00
joshaber
3af5e8cc18 Fix path standardization on case-sensitive file systems. 2015-12-30 12:10:33 -05:00
Harold Pimentel
52ec4c7c5c update documentation for rowRangeForParagraphAtBufferRow #vc 2015-12-29 20:50:13 -08:00
joshaber
34ab798362 Added getCachedPathStatuses() 2015-12-29 17:10:09 -05:00
joshaber
f413801836 Remove items that don't have any changes. 2015-12-29 17:10:01 -05:00
joshaber
50e1095ae1 Merge branch 'master' into dh-async-repo 2015-12-28 13:04:22 -05:00
Katrina Uychaco
7f57b0ada4 Change event to 'did-terminate-pending-state' 2015-12-24 18:02:07 -08:00
Katrina Uychaco
cca9ea4b60 Rename onDidConfirmPendingState for clarity
Now it is called onDidTerminatePendingState.
2015-12-24 17:56:18 -08:00
Katrina Uychaco
63b5ddbd99 Handle out-of-bound indices for ::activateItemAtIndex 2015-12-24 13:58:59 -08:00
Katrina Uychaco
e26ae05597 Fix bug in ::activateItemAtIndex
Revert to original code to conform to specs.
2015-12-24 13:34:58 -08:00
Katrina Uychaco
4c4e16ac3b Fix bug in ::activateItem
Only destroy active item if it is not the same as the new item.
2015-12-24 12:29:22 -08:00
Katrina Uychaco
219ebea98b Fix bug in ::activate Item
Check if isPending function exists on item before invoking.
2015-12-24 01:31:19 -08:00
Katrina Uychaco
b24250289e Add pending status to text editors
Add event methods for 'did-confirm-pending-state'.
2015-12-24 01:10:42 -08:00
Katrina Uychaco
27cc953c07 Destroy pending item when new item is activated 2015-12-24 01:08:28 -08:00
Wliu
d75102f46d Set URL in the crash reporter 2015-12-22 18:01:26 -05:00
Wliu
295698c085 app.terminate --> app.quit 2015-12-22 17:01:01 -05:00
Antonio Scandurra
e885497ebd Merge branch 'master' into as-block-decorations 2015-12-20 12:15:08 +01:00
Antonio Scandurra
eab70d9a95 Invalidate spliced block decorations' dimensions 2015-12-19 15:38:34 +01:00
Antonio Scandurra
7543bcbdc1 🎨 Rearrange code a bit 2015-12-19 14:59:25 +01:00
Antonio Scandurra
5dfecf39ab Take margin top and margin bottom into account 2015-12-19 13:18:36 +01:00
Antonio Scandurra
dfb095b754 🔥 Remove TextEditor.prototype.addBlockDecorationForScreenRow 2015-12-19 13:00:47 +01:00
Antonio Scandurra
07234c5109 Resize all block decorations when width changes 2015-12-19 12:50:58 +01:00
Antonio Scandurra
5fa9d3bc40 Splice LineTopIndex when DisplayBuffer changes
We invalidate whole screen lines accordingly to `DisplayBuffer`, so that we can
catch if there was any screen-only transformation and move block decorations
accordingly.
2015-12-19 11:21:50 +01:00
Wliu
3ebff4b322 Merge remote-tracking branch 'refs/remotes/origin/master' into wl-electron-35 2015-12-18 20:02:22 -05:00
Antonio Scandurra
590c2da211 Merge pull request #10084 from atom/as-serialize-language-state
Serialize language state for untitled buffers
2015-12-18 19:56:40 +01:00
Antonio Scandurra
8710089cb7 Support only Shadow DOM enabled editors 2015-12-18 15:43:23 +01:00
Antonio Scandurra
db9f67b9a5 🔥 Remove maxRow parameter 2015-12-18 15:41:46 +01:00
Antonio Scandurra
087dc3b4fd Back to green specs 🤘 2015-12-18 15:18:04 +01:00
Antonio Scandurra
907dc661ec 🐎 Make updating block decorations incremental 2015-12-18 12:43:27 +01:00
Antonio Scandurra
da412e92f8 🔥 Remove BlockDecorationsPresenter 2015-12-18 11:54:10 +01:00
Antonio Scandurra
877eea3bd0 Finish integrating LineTopIndex 2015-12-18 11:07:10 +01:00
Antonio Scandurra
6a403e441e Start integrating tree-based LineTopIndex 2015-12-18 10:41:21 +01:00
Antonio Scandurra
8c1f0b0e21 Merge branch 'master' into as-block-decorations
# Conflicts:
#	spec/fake-lines-yardstick.coffee
#	spec/lines-yardstick-spec.coffee
#	spec/text-editor-presenter-spec.coffee
#	src/lines-yardstick.coffee
#	src/text-editor-component.coffee
#	src/text-editor-presenter.coffee
2015-12-18 09:59:12 +01:00
Max Brunsfeld
352a5abf11 Merge branch 'beta'
Conflicts:
	package.json
2015-12-16 10:22:26 -08:00
Max Brunsfeld
f670dd8ff2 Merge branch 'stable' into beta
Conflicts:
	package.json
2015-12-16 10:21:29 -08:00
Nathan Sobo
473e8856a8 Merge pull request #10017 from atom/as-sha1-v8-cache
Cache v8 code by source file's SHA1
2015-12-16 10:19:01 -08:00