Commit Graph

13524 Commits

Author SHA1 Message Date
Nathan Sobo
db74f4a8f0 Merge pull request #10178 from atom/ku-pending-editor
Open file in pending state on single click
2016-01-08 14:45:14 -07:00
Katrina Uychaco
28517563eb Merge pull request #10310 from atom/ku-handle-more-fs-errors
Handle EAGAIN and ETIMEDOUT errors on open/save
2016-01-07 16:49:14 -08:00
Max Brunsfeld
ec66a66bb3 Merge pull request #9990 from scv119/test
Add a core config `core.automaticallyUpdate` to disable Atom autoupdate.
2016-01-07 11:05:43 -08:00
Katrina Uychaco
41c8792a7d Handle EAGAIN errors on open 2016-01-06 18:27:18 -08:00
Katrina Uychaco
3bcb062ab0 Add friendly message for ETIMEDOUT 2016-01-06 18:23:25 -08:00
Katrina Uychaco
9efb3328bc Add helper to map error codes to friendly messages 2016-01-06 18:20:46 -08:00
Josh Abernathy
61475ed77c Merge pull request #10296 from viatsko/repository-providers-priority
This change gives custom repositoryProviders more priority
2016-01-06 13:49:46 -05:00
Valerii Iatsko
3b8375d2b4 This change gives custom repositoryProviders more priority - this wil allow us to override base git repository implementation 2016-01-06 00:05:58 +01:00
Katrina Uychaco
cee41a2fb0 Remove new line 2016-01-05 10:42:07 -08:00
joshaber
b6c3b39dfe Merge branch 'master' into cascade-windows 2016-01-05 12:48:30 -05:00
Josh Abernathy
96eff38707 Merge pull request #10249 from atom/use-project-relative-status
Use .getStatusForPaths.
2016-01-05 12:40:28 -05:00
joshaber
94b77d0998 Separate the offset determination from the dimensions. 2016-01-05 11:59:59 -05:00
Nathan Sobo
2493269f09 Merge pull request #10277 from atom/ns-fix-horizontal-measurement
Fix measurement of rows that are present in the model but haven't been rendered yet
2016-01-05 09:43:01 -07:00
Nathan Sobo
6669703677 Force a sync render when measuring if we don’t have a DOM node for a row 2016-01-04 16:40:56 -07:00
Nathan Sobo
9f6fbacddd Don’t clip screen positions in yardstick
By clipping positions only in the TextEditorComponent, we can ensure
that we check for the presence of a rendered line for the clipped row
value.
2016-01-04 16:32:38 -07:00
joshaber
fb8b25dc16 Merge branch 'master' into cascade-windows 2016-01-04 16:49:07 -05:00
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
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
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
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
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
Antonio Scandurra
19ff676c7b Serialize grammar for untitled buffers 2015-12-16 10:35:23 +01:00
Chen Shen
6c0643b4fa address comments 2015-12-15 17:20:57 -08:00
Chen Shen
ea3736aa70 address comments 2015-12-15 17:20:57 -08:00
Chen Shen
d227d8b646 Add config to disable autoupdate, revert previous build option 2015-12-15 17:20:57 -08:00
Antonio Scandurra
14f959e13d Merge pull request #9997 from atom/as-cjk-wrap-boundary
Wrap line at boundary if it includes a CJK character
2015-12-15 12:09:52 +01:00
Max Brunsfeld
a16b99fa58 Merge pull request #10062 from atom/mb-emit-state-update-on-model-scroll
Emit state update when model's scroll position is changed
2015-12-14 17:38:36 -08:00
Max Brunsfeld
02ab7179ce Emit state update when model's scroll position is changed 2015-12-14 16:56:53 -08:00
Antonio Scandurra
e16430accd 🎨 Extend isCJKUnifiedIdeograph charset 2015-12-14 11:58:05 +01:00
Antonio Scandurra
2e7048d8c6 Merge pull request #10028 from atom/ns-remove-presenter-flags
Remove non-essential update guard flags from TextEditorPresenter
2015-12-14 11:43:19 +01:00
Antonio Scandurra
20e8856df1 💄 Minor stylistic change 2015-12-11 13:41:44 -07:00
Antonio Scandurra
d5f67494ab Add back shouldUpdateDecorations 2015-12-11 13:41:44 -07:00
Nathan Sobo
3233570c0d Remove flags from presenter. Always perform full state update.
Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
2015-12-11 13:41:44 -07:00
Nathan Sobo
5cfd3423bf Use internal scroll assignment methods when committing logical positions
This prevents an addition pending assignment and cuts directly to
adjusting the positions.
2015-12-11 13:34:46 -07:00