Commit Graph

14990 Commits

Author SHA1 Message Date
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
Nathan Sobo
0243a345b7 Merge branch 'master' into ns-use-display-layers 2016-02-09 12:42:57 -07:00
Lee Dohm
e5075c2570 📝 Add link to article on glob patterns 2016-02-09 11:26:19 -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
Lee Dohm
cfca20db79 Merge pull request #10552 from dirk-thomas/patch-1
improve docs about grouped settings
2016-02-03 16:44:45 -08:00
Lee Dohm
082d99fc18 Merge pull request #10219 from pimentel/master
update documentation for rowRangeForParagraphAtBufferRow
2016-02-03 16:34:25 -08:00
Max Brunsfeld
49776d114c Merge branch 'beta' 2016-02-02 12:00:08 -08:00
Max Brunsfeld
6d56185300 Merge branch 'stable' into beta 2016-02-02 11:59:42 -08:00
Max Brunsfeld
19349edc7a Only add local paths to recent documents list
Also, add them in Workspace::open and not AtomEnvironment::openLocations
so that files opened in an existing window will also be added to the
list
2016-02-02 11:16:14 -08:00
Katrina Uychaco
81f30d4908 Only call package serialize methods once on quit 2016-02-01 16:49:21 -08:00
Katrina Uychaco
5e21f7bad9 Serialize package upon deactivation 2016-02-01 16:11:10 -08:00
Aaron Contreras
500afb0f20 Improve split API, add new commands and rewrite existing ones
Allow empty splits, as well as moving (instead of copying) active item
2016-02-02 00:50:10 +01:00
simurai
4cf8abc786 🎨 Rename top/bottom-bar to header/footer 2016-02-01 11:34:08 -08:00
simurai
c2381e05e5 Add top/bottom bar API 2016-02-01 11:34:08 -08:00
simurai
3ced484718 Add top-bar and bottom-bar elements 2016-02-01 11:34:08 -08:00
Max Brunsfeld
d091a106a4 Merge branch 'master' into wl-electron-35 2016-02-01 11:18:18 -08:00
joshaber
a01dc47e69 Merge branch 'stable' into beta 2016-02-01 14:01:52 -05:00
Katrina Uychaco
224b51d17c Add disposable for removing debouncedSaveState listener 2016-01-28 22:49:46 -07:00
Katrina Uychaco
9cec10d9c0 Remove atom environment state instance variable 2016-01-28 22:48:31 -07:00
Katrina Uychaco
c9012a2288 Call AtomEnvironment::deserialize in AtomEnvironment::loadStateSync 2016-01-28 15:48:45 -07:00
Katrina Uychaco
92bd5051b3 Add env version and window dimensions to serialized state 2016-01-28 15:47:37 -07:00
Katrina Uychaco
dff4aa8e84 Use method name store rather than storeAsync 2016-01-28 14:03:10 -07:00
Katrina Uychaco
29deb61d4e Remove AtomEnvironment state instance variable. Tests WIP 2016-01-28 01:29:46 -07:00
Katrina Uychaco
54a03516bf Save state asynchronously on mousedown and keydown events. Tests WIP 2016-01-28 00:58:58 -07:00