Antonio Scandurra
712b1f1f88
Fix LanguageMode specs
...
Also, avoid creating folds twice for the same position when calling
`foldAll`.
2016-04-05 14:19:59 +02:00
Antonio Scandurra
544b75c7b0
🔥 💚 Fix TokenizedBuffer specs
2016-04-05 12:19:45 +02:00
Antonio Scandurra
e6cfb8d587
Use a zero-width nbsp as our fold character
2016-04-05 11:34:14 +02:00
Antonio Scandurra
108513f994
Fix LinesYardstick specs to use the new tagCode-based scope structure
...
Also, remove specs testing RTL behavior. They don’t work as of today,
and I think we need a better approach to handle them, that doesn’t
solely rely on the DOM, but actually takes into account that e.g. (0, 0)
is the rightmost character on a right-to-left string.
2016-04-05 10:47:25 +02:00
Nathan Sobo
244f117d95
Handle empty client rects in LinesYardstick
...
getBoundingClientRect returns garbage values if the range has zero
width, which it does in the case of a fold placeholder or any other
zero-width character.
Sometimes getClientRects() returns an empty list, so we fall back to the
bounding rect in these cases.
2016-04-04 18:08:34 -06:00
Nathan Sobo
bbef4c67c3
Get the TextEditorComponent specs green
2016-04-04 11:21:41 -06:00
Antonio Scandurra
fd960e9a37
Merge branch 'master' into ns-use-display-layers
2016-04-04 15:25:50 +02:00
Michelle Tilley
8575b38c7b
Pending pane items shouldn't be made permanent before being replaced
...
Previously, when a Pane would replace a pending item with
another pending item, it would emit
`onItemDidTerminatePendingState` for that item, which was
not true because the item was actually being destroyed.
2016-04-02 17:48:24 -07:00
Antonio Scandurra
793f5f9692
Disable zoom every time a display gets added or removed
2016-04-01 16:04:01 +02:00
Antonio Scandurra
158d019371
Use application-level events to control updates in the browser process
2016-04-01 10:56:30 +02:00
Antonio Scandurra
c735b3fe74
Merge pull request #11314 from atom/as-handle-update-error
...
Handle auto-updater errors
2016-04-01 09:09:37 +02:00
Antonio Scandurra
51d71b4b55
Merge pull request #11325 from atom/as-fix-emojis
...
Fix emoji rendering on OSX
2016-03-31 17:45:58 +02:00
Antonio Scandurra
3fb2749583
Merge pull request #11324 from atom/as-jordanbtucker-config-save-state
...
Add restorePreviousWindowsOnStart setting
2016-03-31 11:56:43 +02:00
Antonio Scandurra
d568c76b0b
🍎 Fix emoji rendering
2016-03-31 11:44:32 +02:00
Antonio Scandurra
296c016bf8
🐎 Don't load state when restorePreviousState is false
2016-03-31 10:41:23 +02:00
Antonio Scandurra
4d4ee6bf3b
Add applicationDelegate.getAutoUpdateManagerErrorMessage()
...
Sometimes, the error event gets emitted before the renderer process has
the chance to subscribe. Therefore, we expose an
`autoUpdateManager.getErrorMessage()` in the browser process, so that we
don’t lose that information.
2016-03-31 10:16:11 +02:00
Machisté N. Quintana
36be446060
Merge pull request #6631 from atom/mq-move-selected-columns
...
Add commands to move selections left and right by one column
2016-03-30 22:30:19 -07:00
Machisté N. Quintana
3068631d19
Don't open a transaction if there's a selection at the start / end of line
2016-03-30 12:48:11 -07:00
joshaber
f59a86b2b9
Note that we're not using this yet.
2016-03-30 11:51:49 -04:00
joshaber
dea119ef3e
Less repo-centric naming.
2016-03-30 11:50:05 -04:00
joshaber
e701fcc292
Rename work queue to resource pool.
2016-03-30 11:47:05 -04:00
joshaber
f028c779b1
Treat it more like a pool.
2016-03-30 11:44:24 -04:00
joshaber
6ba2f6d4b8
Pull refresh outside the work function.
...
Otherwise we deadlock lolololol
2016-03-30 11:23:54 -04:00
joshaber
c0e9fde590
Re-organize to prevent recursive work queueing.
2016-03-30 11:17:58 -04:00
Antonio Scandurra
e8e2370ed1
Log an error message to console as well
2016-03-30 15:06:26 +02:00
Antonio Scandurra
2d5e697016
Add AutoUpdateManager.prototype.onUpdateError
2016-03-30 15:05:57 +02:00
joshaber
f1516f7de4
First pass at using the work queue.
2016-03-29 23:54:39 -04:00
joshaber
36121e3bf8
First pass at the git work queue.
2016-03-29 22:59:24 -04:00
Josh Abernathy
614eb818c8
Merge pull request #11295 from atom/fix-submodule-line-diffs
...
Take the submodule into account in more instances.
2016-03-29 11:57:41 -04:00
Jordan Tucker
f4b94fef30
always save state on close, check config on open
2016-03-29 08:30:18 -07:00
joshaber
4b3ca21e29
Cache the workdir per-repo.
2016-03-29 11:26:39 -04:00
Antonio Scandurra
ea01981a85
Merge pull request #11286 from atom/as-fix-pane-axis-element-subscriptions
...
Correctly (un)subscribe to model events on PaneAxisElement attach/detach
2016-03-29 09:46:10 +02:00
Machiste Quintana
3b222dbee8
Don't merge selections if at start or end of line
2016-03-28 23:26:28 -07:00
Machiste Quintana
e932e3db05
Merge branch 'master' into mq-move-selected-columns
2016-03-28 22:16:31 -07:00
joshaber
55172c66e9
Merge branch 'master' into fix-submodule-line-diffs
2016-03-28 17:28:22 -04:00
joshaber
08513e2f6e
Merge branch 'master' into less-disk-io
2016-03-28 14:54:06 -04:00
joshaber
51831b332d
Take the submodule into account in more instances.
...
Fixes https://github.com/atom/git-diff/issues/97 .
2016-03-28 14:50:04 -04:00
Antonio Scandurra
584cf41901
Merge pull request #11251 from atom/as-fallback-to-storage-folder
...
Fallback to ~/.atom/storage when no state is found in IndexedDb
2016-03-28 20:29:34 +02:00
joshaber
414a424ae8
Merge branch 'master' into remove-old-git-status
2016-03-28 10:44:28 -04:00
Antonio Scandurra
8adf47b1c2
Allow element to work without attaching it to DOM
2016-03-28 16:40:39 +02:00
Antonio Scandurra
ae277c685f
Merge branch 'master' into as-fallback-to-storage-folder
2016-03-28 15:50:14 +02:00
Antonio Scandurra
3d4611ce4c
Remove conditional assignment
...
HTML nodes are guaranteed to be detached before being re-attached, so we
are always sure that `subscriptions` is null on attach and non-null on
detach.
2016-03-28 14:52:40 +02:00
Antonio Scandurra
b5f866b6fc
Correctly (un)subscribe to model events on PaneAxisElement attach/detach
2016-03-28 14:49:26 +02:00
Lee Dohm
5fc111a104
📝 Add standard global notation
2016-03-26 15:50:07 -07:00
joshaber
fdebbf12ac
If we're been destroyed then we won't have an async anymore.
2016-03-25 17:14:09 -04:00
joshaber
8ee1c3274b
Always update the cached status path.
2016-03-25 17:13:06 -04:00
joshaber
fff1e8f3d1
Cache the results of calling getPathStatus so we're consistent across calls.
2016-03-25 15:36:44 -04:00
joshaber
f001c83263
Bring back some synchronous event emitting.
...
Preserve the previous behavior of emitting synchronously with observed
change.
2016-03-25 15:26:18 -04:00
joshaber
380df72808
All emissions will propagate out from the async layer.
2016-03-25 15:15:24 -04:00
joshaber
c9ff5db064
Don't update status anymore in the sync layer.
2016-03-25 15:15:10 -04:00