Benjamin Pasero
3cefffccfc
Get rid of IEventService in favour of real events ( #17515 )
2016-12-19 09:37:10 +01:00
Sandeep Somavarapu
d679692e01
#17110 Rename and clean up
2016-12-13 18:40:22 +01:00
Sandeep Somavarapu
cf385bcc10
#17110 Move service test utils to workbench
2016-12-13 17:50:40 +01:00
Benjamin Pasero
28d894e895
Hot Exit: opens needless untitled file when restoring backups ( fixes #16821 )
2016-12-13 10:28:10 +01:00
Daniel Imms
3c6821e928
Tidy up BackupFileService test
2016-12-02 16:07:51 -08:00
Daniel Imms
5879e713aa
Merge remote-tracking branch 'origin/master' into tyriar/hot_exit/empty_workspaces
2016-12-01 21:00:21 -08:00
Daniel Imms
85bf25fd51
Remove workspace and IWindowService dep on BackupFileService
2016-12-01 18:45:39 -08:00
Daniel Imms
95b37de58d
Re-introduce disabled hot exit tests
2016-12-01 11:59:07 -08:00
Benjamin Pasero
50c4955e59
disable failing tests
2016-12-01 09:29:28 +01:00
Daniel Imms
5658b32630
Fix Backup related tests on Mac
2016-11-30 21:44:30 -08:00
Daniel Imms
4eff097665
💄
2016-11-30 14:01:46 -08:00
Daniel Imms
d3c5d1f15c
Merge remote-tracking branch 'origin/master' into tyriar/hot_exit/15862
2016-11-30 12:47:33 -08:00
Benjamin Pasero
6422acbb00
wire up backuprestorer with new API to retrieve backups
2016-11-29 12:43:39 +01:00
Benjamin Pasero
51108dd846
💄
2016-11-29 10:46:11 +01:00
Daniel Imms
3664a7754e
Use lowercase drive names in backup file service tests
2016-11-29 00:51:12 -08:00
Daniel Imms
f295da8f14
Also hash untitled file names
...
Fixes #15941
2016-11-29 00:43:15 -08:00
Daniel Imms
d59cfe9501
Fix tests on Windows
2016-11-29 00:18:59 -08:00
Daniel Imms
d13bbe59f6
Add test for parseBackupContent
2016-11-28 23:49:44 -08:00
Daniel Imms
37ad5fa94d
Store backup metadata for untitled files
2016-11-28 23:40:28 -08:00
Daniel Imms
97fb06c0dc
Store Uri.toString in backup file content
2016-11-28 23:29:50 -08:00
Daniel Imms
b360e0562b
Return URIs from new get file functions
2016-11-28 23:07:47 -08:00
Daniel Imms
7847c19b35
Merge get files calls into getFilesByScheme and use Uri.parse
2016-11-28 22:52:45 -08:00
Daniel Imms
4ef823ab06
Impl IBackupFileService.getWorkspaceUntitleFileBackups
2016-11-28 18:35:43 -08:00
Daniel Imms
e8eb78ee67
Fix tests, work on fsPaths
2016-11-28 18:13:31 -08:00
Daniel Imms
3f721b7b28
Initial impl of getWorkspaceTextFileBackups
2016-11-28 14:11:55 -08:00
Benjamin Pasero
af7fc68731
Merge branch 'master' into tyriar/hot_exit/15862
2016-11-23 08:23:04 +01:00
Benjamin Pasero
44f10a384c
add feedback from pr review
2016-11-23 08:19:41 +01:00
Daniel Imms
39ab15e09d
Ensure backup paths ignore case on windows and mac
...
Fixes #15862
2016-11-22 11:33:23 -08:00
Benjamin Pasero
9781ab004e
first cut backup file model
2016-11-22 16:23:05 +01:00
Benjamin Pasero
ab9f0b741e
hot exit - add version id getters to models
2016-11-22 12:56:50 +01:00
Benjamin Pasero
e2d5b351ba
Merge pull request #15736 from Microsoft/tyriar/hot_exit/15642
...
Use IWindowsService to get window count
2016-11-21 10:00:35 +01:00
Benjamin Pasero
99a6b96bdd
pfs.writeFile should serialize parallel calls to writeFile ( fixes #15651 )
2016-11-21 09:53:54 +01:00
Daniel Imms
40d0de32a2
Use IWindowsService to get window count
...
Fixes #15642
2016-11-18 10:27:54 -08:00
Benjamin Pasero
df5f51a682
Merge branch 'master' into tyriar/hot_exit/14067
2016-11-16 15:11:00 +01:00
Daniel Imms
d3171a38b7
Remove fileExists check in BackupFileService.loadWorkspaces
...
Fixes #15515
2016-11-15 11:27:17 -08:00
Daniel Imms
e9b07aebd1
Evaluate if an untitled backup exists in UntitledEditorInput
2016-11-14 12:59:00 -08:00
Daniel Imms
97371ada3d
Fix backupFileService.test.ts warnings
2016-11-11 08:34:52 -08:00
Daniel Imms
383086bccb
Remove a bunch of unused code in FileService
2016-11-09 21:01:30 -08:00
Daniel Imms
ba1bca7f57
Fix some tslint errors
2016-11-09 11:58:26 -08:00
Daniel Imms
4e018edb6e
IBackupFileService.doesTextFileHaveBackup -> hasTextFileBackup
2016-11-09 11:45:14 -08:00
Daniel Imms
05e242f927
Write to workspaces.json exclusively on main process
...
Fixes #14056
2016-11-01 19:03:28 -07:00
Daniel Imms
c513ff939c
Remove workspace.json as it's now redundant
...
Since text files in workspaces are now restored using the regular workspace
restore code and models check when opened if there is a backup available,
the registration and deregistration of workspace resources is no longer
necessary.
Fixes #14064
2016-10-29 15:06:51 -07:00
Daniel Imms
f0239ad7bb
Split workspaces.json into 2 files
...
workspaces.json now tracks all workspaces
workspace.json now tracks a list of textfiles in the workspace
Part of #14064
2016-10-29 11:57:07 -07:00
Daniel Imms
6a330be28c
Don't hash backed up untitled resource names
...
Fixes #14180
2016-10-29 05:35:03 -07:00
Daniel Imms
ec638ab2ea
Huge refactor to move everything into Backup*Service
2016-10-20 21:24:19 -07:00