|
Refactoring IO classes, async & offline storage
Created classes File, Directory and FileSystem in wrap/io_wrap.dart which mirror chrome.FileEntry, chrome.DirectoryEntry and chrome.FileSystem. Using
io.dart in Dartium should be simple as only io_wrap.dart
would need to be changed.
Created a PathRep class which is basically a String with
some helper methods from the path library. This class
has been propogated throughout the existing code replacing
many Strings.
Rewrote io.dart to supply asynchronous functions. This
change propogated out to entrypoint.dart and
source/hosted.dart.
Renamed wrap/blawrap.dart to wrap/bla_wrap.dart. I wouldn't
mind reducing it to simply wrap/bla.dart...
Stored the working directory in offline storage, so that
now the user is only prompted for a directory on the
first opening of the app.
Symlink code was commented out as I don't know how to
approach them at all.
R=tapted@chromium.org
Committed: https://github.com/tapted/bleeding_edge/commit/65d21e3
Total comments: 102
Total comments: 24
Total comments: 28
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+825 lines, -612 lines) |
Patch |
|
M |
dart/sdk/lib/_internal/pub/lib/src/app/pubchrome.dart
|
View
|
1
2
3
4
5
|
2 chunks |
+16 lines, -10 lines |
0 comments
|
Download
|
|
M |
dart/sdk/lib/_internal/pub/lib/src/dart.dart
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
dart/sdk/lib/_internal/pub/lib/src/entrypoint.dart
|
View
|
1
2
3
4
|
9 chunks |
+118 lines, -94 lines |
0 comments
|
Download
|
|
M |
dart/sdk/lib/_internal/pub/lib/src/http.dart
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
dart/sdk/lib/_internal/pub/lib/src/io.dart
|
View
|
1
2
3
4
|
8 chunks |
+108 lines, -213 lines |
0 comments
|
Download
|
|
M |
dart/sdk/lib/_internal/pub/lib/src/lock_file.dart
|
View
|
1
2
|
4 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
dart/sdk/lib/_internal/pub/lib/src/log.dart
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
dart/sdk/lib/_internal/pub/lib/src/oauth2.dart
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
dart/sdk/lib/_internal/pub/lib/src/package.dart
|
View
|
1
2
|
3 chunks |
+20 lines, -15 lines |
0 comments
|
Download
|
|
A |
dart/sdk/lib/_internal/pub/lib/src/path_rep.dart
|
View
|
1
2
3
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
|
M |
dart/sdk/lib/_internal/pub/lib/src/pubspec.dart
|
View
|
1
2
3
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
dart/sdk/lib/_internal/pub/lib/src/sdk.dart
|
View
|
1
2
|
2 chunks |
+2 lines, -16 lines |
0 comments
|
Download
|
|
M |
dart/sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart
|
View
|
1
2
3
4
5
|
4 chunks |
+5 lines, -15 lines |
0 comments
|
Download
|
|
M |
dart/sdk/lib/_internal/pub/lib/src/source.dart
|
View
|
1
2
3
4
5
|
10 chunks |
+49 lines, -34 lines |
0 comments
|
Download
|
|
M |
dart/sdk/lib/_internal/pub/lib/src/source/hosted.dart
|
View
|
1
2
3
4
5
|
8 chunks |
+31 lines, -39 lines |
0 comments
|
Download
|
|
D |
dart/sdk/lib/_internal/pub/lib/src/system_cache.dart
|
View
|
|
1 chunk |
+0 lines, -107 lines |
0 comments
|
Download
|
|
M |
dart/sdk/lib/_internal/pub/lib/src/utils.dart
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
D |
dart/sdk/lib/_internal/pub/lib/src/wrap/analyzerwrap.dart
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
dart/sdk/lib/_internal/pub/lib/src/wrap/barback_wrap.dart
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
D |
dart/sdk/lib/_internal/pub/lib/src/wrap/barbackwrap.dart
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
|
A + |
dart/sdk/lib/_internal/pub/lib/src/wrap/compiler_wrap.dart
|
View
|
1
2
3
4
5
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
D |
dart/sdk/lib/_internal/pub/lib/src/wrap/filenameswrap.dart
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A |
dart/sdk/lib/_internal/pub/lib/src/wrap/http_wrap.dart
|
View
|
1
2
3
4
5
|
1 chunk |
+74 lines, -0 lines |
0 comments
|
Download
|
|
A |
dart/sdk/lib/_internal/pub/lib/src/wrap/io_wrap.dart
|
View
|
1
2
3
4
5
7
|
1 chunk |
+324 lines, -0 lines |
0 comments
|
Download
|
|
A + |
dart/sdk/lib/_internal/pub/lib/src/wrap/oauth2_wrap.dart
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
D |
dart/sdk/lib/_internal/pub/lib/src/wrap/oauth2wrap.dart
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A |
dart/sdk/lib/_internal/pub/lib/src/wrap/sdk_wrap.dart
|
View
|
1
2
3
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
D |
dart/sdk/lib/_internal/pub/lib/src/wrap/source_file_providerwrap.dart
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A + |
dart/sdk/lib/_internal/pub/lib/src/wrap/system_cache_wrap.dart
|
View
|
1
2
3
4
5
|
3 chunks |
+21 lines, -43 lines |
0 comments
|
Download
|
|
M |
dart/sdk/lib/_internal/pub/manifest.json
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
Total messages: 11
|