Commit Graph

13926 Commits

Author SHA1 Message Date
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
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
Katrina Uychaco
22c9fe7cb7 🔥 trailing white space 2016-02-12 14:06:06 -08:00
Max Brunsfeld
0ea06bad31 Merge branch 'master' into wl-electron-35 2016-02-12 12:57:54 -08:00
joshaber
0e8161f30e Always search the repo itself. 2016-02-12 14:45:21 -05:00
Katrina Uychaco
255b943d45 Add ability to clear IndexedDB state object store 2016-02-11 19:56:25 -08:00
Katrina Uychaco
f6ced98be8 Fix bug from merge with PR#10743 2016-02-11 11:43:41 -08:00
Max Brunsfeld
e8693f45c9 Move lazy main module require out of loop 2016-02-10 17:40:55 -08:00
Max Brunsfeld
9c0aa629d7 Let packages define deserializers & view providers as main module methods 2016-02-10 14:28:57 -08:00
Josh Abernathy
306560616b Merge pull request #10758 from atom/fix-status-in-subdir
Fix status in subdir
2016-02-10 15:15:10 -05:00
Ben Ogle
3ede656176 Merge pull request #9198 from alexchandel/patch-1
permit any whole number for tabLength
2016-02-10 11:53:54 -08:00
joshaber
98a63d1d68 Glob it. 2016-02-10 14:25:05 -05:00
Katrina Uychaco
baa2c32a51 Merge branch 'master' into ku-crash-recovery 2016-02-10 11:10:57 -08:00
Katrina Uychaco
7b808257a6 Add test to check for indexedDB connection 2016-02-10 11:04:30 -08:00
Josh Abernathy
99a7158de1 Merge pull request #10743 from atom/dont-cascade-on-reload
Don't cascade on reload
2016-02-10 09:22:57 -05:00
Alex
28a2f2773c permit any whole number for tabLength
from #8261
2016-02-10 02:53:01 -06:00
Max Brunsfeld
fa70560eba 👕 Use single quotes in JS string
Signed-off-by: Katrina Uychaco <kuychaco@github.com>
2016-02-09 14:34:32 -08:00
Max Brunsfeld
0f02663f6b Add --user-data-dir flag, to control indexedDB directory
This way, we can still use indexedDB in the integration tests

Signed-off-by: Katrina Uychaco <kuychaco@github.com>
2016-02-09 14:30:58 -08:00
Max Brunsfeld
b0cf440f9c Handle database connection errors gracefully
When opening a second Atom instance (e.g. when running the integration specs)
indexedDB connections will fail. In this case, StateStore.prototype.save
and StateStore.prototype.load will become noops.

Signed-off-by: Katrina Uychaco <kuychaco@github.com>
2016-02-09 14:30:10 -08:00
Max Brunsfeld
9b2c791c86 Don't emit window:loaded event until async window initialization completes
Signed-off-by: Katrina Uychaco <kuychaco@github.com>
2016-02-09 14:28:01 -08:00
joshaber
7695c20e39 De-lint. 2016-02-08 23:13:43 -05:00
joshaber
6131beef66 Document @isFirstLoad. 2016-02-08 21:24:41 -05:00
joshaber
03e33b4474 Use default dimensions the first time we load a window, but saved dimensions after that. 2016-02-08 21:20:36 -05:00
Nathan Sobo
4597d1e436 Merge pull request #7953 from acontreras89/ac-pane-split
Improve multi-pane API
2016-02-08 17:51:16 -08:00
Aaron Contreras
cbff7394c6 🐛 Reuse scroll position on text editor's copy. Fixes #8765
 Update specs to avoid regressions
2016-02-09 00:36:37 +01:00
Aaron Contreras
6b118a8061 Add convenience commands to copy/move active item between panes
Give focus to destination pane and set the copied/moved item as active
2016-02-09 00:36:37 +01:00
Katrina Uychaco
656cac8814 Merge branch 'master' into ku-crash-recovery 2016-02-08 15:24:00 -08:00
Katrina Uychaco
dc35562962 Remove empty parameter list in order to pass linter 2016-02-08 15:12:46 -08:00
joshaber
f9ec7b5691 Save window dimensions before reloading. 2016-02-08 17:02:50 -05:00
Katrina Uychaco
85b32b861e Add storedAt date for serialized environment state 2016-02-08 10:36:05 -08:00
joshaber
f2d2ff6f3c The flow annotation implies babel. 2016-02-05 16:15:48 -05:00
Max Brunsfeld
7c733f6dc4 Merge branch 'master' into wl-electron-35 2016-02-05 10:22:01 -08:00
Katrina Uychaco
6e0328b048 Refactor to use StateStore instead of StorageFolder 2016-02-04 21:45:00 -08:00
Katrina Uychaco
3b500daab4 Create StateStore class and specs for storing state in IndexedDB 2016-02-04 21:43:44 -08:00
Ian Olsen
c098acb615 Merge pull request #9798 from atom/dr-wait-windows
Make --wait work on Windows
2016-02-04 13:57:51 -08:00
Lee Dohm
22d332a8d9 Change object section heading to be more descriptive 2016-02-03 16:46:40 -08:00