Commit Graph

14017 Commits

Author SHA1 Message Date
Antonio Scandurra
677568d9af Use window.requestIdleCallback in StateStore.prototype.save
This should alleviate some of the pressure of serializing changes on the main
thread. We're assuming that `deadline.timeRemaining()` is high enough to compute
the serialization because there's no simple path to serialize state across many
`requestIdleCallback`s (e.g. because state might change between two callbacks).
2016-02-22 11:34:13 +01:00
Ben Ogle
0d118afb6b Send keyup events through the keymapManager 2016-02-21 13:41:26 -08:00
Lee Dohm
b311707fc0 Merge pull request #10898 from atom/wl-pane-notifications
Pass the notification manager when splitting panes
2016-02-19 12:50:40 -08:00
Daniel Hengeveld
7b83db160f remove Open Roadmap menu item, fixes #10884 2016-02-19 12:37:17 +01:00
Arnaud Rinquin
53693b4d0f Add the -a, --add CLI option 2016-02-19 08:54:17 +00:00
Wliu
43dc50f907 Pass the notification manager when splitting panes
Fixes #9587
2016-02-18 22:32:00 -05:00
Max Brunsfeld
aabaf1c2ba Use a temporary storage directory when running specs 2016-02-18 15:10:43 -08:00
Katrina Uychaco
bbd425b6af Merge pull request #10878 from atom/ku-allow-pasting-white-space
Allow pasting white space when `autoIndentOnPaste` is enabled
2016-02-18 13:57:06 -08:00
Max Brunsfeld
fe1e9d5b10 Fix error in specs 2016-02-18 13:11:26 -08:00
Lee Dohm
e060ccbca7 Merge pull request #10870 from atom/ld-templates
Add Issue template and extra version info
2016-02-18 12:02:35 -08:00
Max Brunsfeld
300362163d Merge pull request #10888 from atom/mb-fix-package-deserializers
Load packages before deserializing state
2016-02-18 10:27:04 -08:00
Antonio Scandurra
3d17b4fa21 Merge pull request #10885 from atom/as-faster-get-regex-for-property
Cache regexes in LanguageMode.prototype.getRegexForProperty
2016-02-18 18:58:04 +01:00
Max Brunsfeld
43656a9861 Load packages before deserializing state 2016-02-18 09:17:34 -08:00
Antonio Scandurra
3d953632e6 Merge pull request #10861 from atom/as-update-foldable-status
Compute line foldability lazily
2016-02-18 15:26:44 +01:00
Antonio Scandurra
d6132888fa 💚 Attempt to fix specs 2016-02-18 14:18:27 +01:00
Antonio Scandurra
60b9cf1270 🐎 Cache regexes in getRegexForProperty 2016-02-18 14:13:20 +01:00
Katrina Uychaco
0088053de4 Allow pasting white space when autoIndentOnPaste is enabled 2016-02-17 20:35:06 -08:00
Max Brunsfeld
eb972ea705 Merge pull request #10863 from atom/as-faster-selections-sort
Compare markers instead of ranges in Selection
2016-02-17 16:51:49 -08:00
Katrina Uychaco
457fdb33c6 Merge pull request #10872 from atom/ku-terminate-pending-state
Terminate pending state for opened file if pending option is false
2016-02-17 16:16:02 -08:00
Max Brunsfeld
fa0be9553f Merge pull request #10873 from atom/mb-no-package-loading-config-events
Avoid emitting config events while loading packages
2016-02-17 15:05:16 -08:00
Lee Dohm
6202409d49 fullVersion -> writeFullVersion 2016-02-17 14:56:40 -08:00
Lee Dohm
cc8a0ccbf7 Squish all the printing into one call 2016-02-17 14:30:28 -08:00
Katrina Uychaco
a146401f21 Terminate pending state for opened file if pending option is false 2016-02-17 14:14:59 -08:00
Lee Dohm
dca727e3af Add more version information to --version arg 2016-02-17 13:10:42 -08:00
Katrina Uychaco
912df0ae03 Merge pull request #10846 from atom/ku-pending-tabs-option
Add core setting for pending tabs configuration
2016-02-17 11:57:40 -08:00
Katrina Uychaco
b8677c13df Rename config to allowPendingPaneItems and improve description 2016-02-17 11:56:50 -08:00
Antonio Scandurra
6a32a874e9 🐎 Compare markers instead of ranges in Selection
This largely reduces the overhead of converting ranges and points from native to
javascript objects.
2016-02-17 16:09:14 +01:00
Antonio Scandurra
2a35d19dd3 🐎 Memoize TokenizedLine.prototype.isComment 2016-02-17 16:00:35 +01:00
Antonio Scandurra
bea324eae9 🔥 Use just isFoldableAtBufferRow 2016-02-17 15:05:31 +01:00
Antonio Scandurra
d05dfa6efe 🐎 Update lines state only in pre-measurement phase 2016-02-17 10:34:21 +01:00
Antonio Scandurra
012fa354c4 Add TokenizedBuffer.prototype.foldableRowsForRowRange 2016-02-17 10:34:21 +01:00
Antonio Scandurra
0afa9bb21c Don't update foldable status, ever 2016-02-17 10:34:21 +01:00
Antonio Scandurra
a87d620db3 Merge pull request #10835 from atom/as-cursors-for-screen-row-range
Add TextEditor.prototype.cursorsForScreenRowRange
2016-02-17 10:33:44 +01:00
Max Brunsfeld
8d27d1925c Avoid emitting config events while loading packages 2016-02-16 16:13:15 -08:00
Katrina Uychaco
ae26e6c8ca Add core setting for pending tabs configuration 2016-02-16 14:49:09 -08:00
Max Brunsfeld
4bc969d1df Merge branch 'master' into wl-electron-35 2016-02-16 13:16:13 -08:00
Katrina Uychaco
cfab689de1 Merge pull request #10605 from atom/ku-crash-recovery
(WIP) Periodically save state and store in indexedDB
2016-02-16 11:58:04 -08:00
Damien Guard
d68a6e052a Merge pull request #10818 from damieng/master
Register Atom for file associations in Windows
2016-02-16 10:44:58 -08:00
Katrina Uychaco
083f577889 Use more descriptive flag for clearing state - ‘clear-window-state’ 2016-02-16 10:28:30 -08:00
Antonio Scandurra
63270f4174 Add TextEditor.prototype.cursorsForScreenRowRange
So that `TextEditorPresenter` can avoid to scan
through all the cursors to understand whether
they're visible on screen. This dramatically 
reduces the calls to `getScreenRange` and, thus,
makes `updateCursorsState` faster for multi-cursor
edits.
2016-02-16 14:41:24 +01:00
Katrina Uychaco
bf264c6a6a Merge branch 'master' into ku-crash-recovery 2016-02-15 21:40:59 -08:00
Katrina Uychaco
469dadf6da Merge branch 'ku-clear-indexedDB' into ku-crash-recovery 2016-02-15 21:31:43 -08:00
Katrina Uychaco
47459948cf Clear state in indexedDB if ‘clear-state’ command-line flag is passed 2016-02-15 21:28:25 -08:00
joshaber
a87aac00e4 Port the fixes too. 2016-02-15 17:04:03 -05:00
Damien Guard
f8ae09b112 Register Atom for file associations in Windows #6177 #4893 #6860 2016-02-14 15:10:07 -08:00
Lee Dohm
57ea5c0fc4 Fix typo in function call 2016-02-12 18:57:38 -08:00
Lee Dohm
0b13cb00e1 📝 Make the atom.workspace.open split documentation match behavior 2016-02-12 18:45:05 -08:00
Lee Dohm
6b24f4bfa7 📝 Fix atom.workspace.open split parameter mismatch 2016-02-12 18:36:12 -08:00
Katrina Uychaco
24dc4c6c73 Add command-line argument to clear state in IndexedDB 2016-02-12 15:18:41 -08:00
Katrina Uychaco
427dba57ad Remove unused StorageFolder::store method (moved state to IndexedDB) 2016-02-12 14:07:21 -08:00