Josh Abernathy
29590d94ac
Merge pull request #10233 from atom/fix-new-file
...
Fix New File with no open windows
2016-01-04 16:43:46 -05:00
joshaber
6bf9d7eb7d
Added .openNodeGitRepository
2016-01-04 16:17:16 -05:00
joshaber
a63e30362f
Documentation for .DestroyedErrorName
2016-01-04 16:16:50 -05:00
joshaber
b234f8481d
We don't actually use repo.
2016-01-04 16:12:22 -05:00
joshaber
a2ab84c3e6
Catch errors that are thrown while we're refreshing.
2016-01-04 13:36:13 -05:00
joshaber
3752f66160
Use .getRepo everywhere.
2016-01-04 13:27:55 -05:00
joshaber
843442a741
So much depends upon a return statement.
2016-01-04 13:25:59 -05:00
joshaber
60fc0acb71
Relativize these paths too.
2016-01-04 13:25:51 -05:00
joshaber
5a7b4562e1
Use a default parameter.
2016-01-04 13:14:02 -05:00
joshaber
e3451090ed
We might not have a project.
2016-01-04 12:48:39 -05:00
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
Dave Rael
43e34d4f51
🏁 Use PowerShell to get User path
...
in Windows when installing via Squirrel, replacing reg.exe
that fails to execute if registry editing is disabled in the group policy.
This was causing the user Path to get deleted if registry editing is
disabled. The workaround that was in place kept the existing path, but
failed to add Atom to it.
2016-01-04 06:03:58 -07: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