asiva@google.com
b368804b23
- Use dart:typeddata in the tests instead of dart:scalarlist
...
- delete byte_array_test.dart as a dart:typeddata version of this test
is present in typed_data_test.dart
Review URL: https://codereview.chromium.org//12507012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20600 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 00:35:37 +00:00
asiva@google.com
9e559aab03
Fix status file to skip basic_debugger_test as it is still failing.
...
Review URL: https://codereview.chromium.org//12703041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20536 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-26 19:57:09 +00:00
kustermann@google.com
2b452bfb9f
Drain stdin in basic_debuger_test and did status file update
...
Review URL: https://codereview.chromium.org//12457037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20523 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-26 16:54:05 +00:00
kustermann@google.com
816c75ac3b
Fixed the first issue in debug_lib.dart
...
Review URL: https://codereview.chromium.org//12851019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20520 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-26 16:01:11 +00:00
iposva@google.com
9e28d2f127
- Skip flaky test to avoid buildbot blockage.
...
Review URL: https://codereview.chromium.org//13077002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20499 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 23:46:30 +00:00
hausner@google.com
f4685555ae
Fix analyzer status file
...
package_isolate_test no longer fails.
Review URL: https://codereview.chromium.org//13070002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20471 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 18:59:05 +00:00
hausner@google.com
89346f3e3a
Remove legacy syntax support for library import
...
Remove legacy syntax for #import, #library and #source
Update test programs
Recalc fingerprints of inlined functions that were apparently
affected by the change of library name from "dart:io" to dart.io.
Review URL: https://codereview.chromium.org//12880023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20466 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 18:11:08 +00:00
ricow@google.com
6e6e581e02
Mark standalone/io/process_exit_negative_test as flaky crashing.
...
Filed http://dartbug.com/9403
Review URL: https://codereview.chromium.org//12589010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20439 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-24 12:40:08 +00:00
asiva@google.com
e2c950a8d2
Fix status file correctly.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20433 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-23 01:53:20 +00:00
asiva@google.com
e642b07bf9
Skip typed_data_isolate_test.dart on dartium as it ses dart:io
...
Review URL: https://codereview.chromium.org//12910009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20431 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-23 00:51:09 +00:00
asiva@google.com
e03b940892
Fix 9347, always send ExternalTypedData objects as TypedData objects when
...
sending them across isolates.
Review URL: https://codereview.chromium.org//12594013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20426 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 23:29:34 +00:00
whesse@google.com
e1c70ce932
dart:io | Fix error in deserializing of native port messages.
...
BUG=dartbug.com/9369
Review URL: https://codereview.chromium.org//12893013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20380 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 14:53:25 +00:00
whesse@google.com
b59aba3493
Suppress failing test in standalone.status.
...
BUG=dartbug.com/9369
TEST=standalone/io/directory_fuzz_test
Review URL: https://codereview.chromium.org//13008017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20376 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 11:58:40 +00:00
whesse@google.com
d2ea504b60
dart:io | Add "followLinks" optional parameter to Directory.list, let it return Link objects when false.
...
BUG=dartbug.com/7720
Review URL: https://codereview.chromium.org//12638039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20370 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 09:56:14 +00:00
whesse@google.com
2bc9a79282
Add FileSystemEntity.identical, to test if two file system objects are the same.
...
BUG=
Review URL: https://codereview.chromium.org//12850010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20307 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 09:44:56 +00:00
sgjesse@google.com
484a94834b
Add a function for finding the HTTP proxy server from environment variables
...
R=ager@google.com
BUG=https://code.google.com/p/dart/issues/detail?id=5468
Review URL: https://codereview.chromium.org//12866005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20202 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 12:59:52 +00:00
whesse@google.com
428b58d01c
dart:io | Add Link.targetSync on all platforms.
...
BUG=
Review URL: https://codereview.chromium.org//12812010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20195 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-19 11:19:03 +00:00
sgjesse@google.com
c5c560bed3
Add more error handling to test
...
The test have been seen to generate an unhandled exception.
R=ager@google.com
BUG=https://code.google.com/p/dart/issues/detail?id=9195
Review URL: https://codereview.chromium.org//12620015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20162 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 16:02:18 +00:00
sgjesse@google.com
21046aa2f0
Allow an empty HTTP resason phrase
...
R=ager@google.com
BUG=https://code.google.com/p/dart/issues/detail?id=9194
Review URL: https://codereview.chromium.org//12918002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20154 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 12:17:41 +00:00
sgjesse@google.com
49dec76806
Change all File APIs to make the mode and encoding arguments named
...
R=ager@google.com , ajohnsen@google.com , whesse@google.com , floitsch@google.com
BUG=
Review URL: https://codereview.chromium.org//12609004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20153 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-18 12:10:32 +00:00
whesse@google.com
b0a2eca7c4
dart:io | Make broken links report NOT_FOUND from FileSystemEntity.typeSync on Windows.
...
BUG=dartbug.com/8935
Review URL: https://codereview.chromium.org//12437017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20075 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 12:57:15 +00:00
sgjesse@google.com
d6955d176c
Reapply "Update the test runner to use the new dart:io API"
...
This reverts r20031.
R=ager@google.com
BUG=
Review URL: https://codereview.chromium.org//12751005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20070 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 11:13:39 +00:00
whesse@google.com
8828693cb8
dart:io | The empty path should return "." for its toNativePath value.
...
BUG=dartbug.com/9172
Review URL: https://codereview.chromium.org//12426013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20069 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 10:43:55 +00:00
lrn@google.com
844cd39fad
Change getRange to sublist. Make getRange deprecated.
...
This changes the exception behavior of getRange. It used to accept
a length of zero, no matter what start value. Now the start value
must be a valid list index.
Review URL: https://codereview.chromium.org//12817003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20064 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 09:15:39 +00:00
fschneider@google.com
f1fa8c68c2
Fix bug in optimized byte array views on tranferable backing stores.
...
This affects views when using scalarlist: The code generated
did not take the receiver class into account correctly,
so it only works for internal byte arrays.
For now, I just disable optimization for external backing stores.
The optimization will be added again for TypedDataViews in a future CL.
TEST=tests/standalone/byte_array_view_optimized_test.dart
Review URL: https://codereview.chromium.org//12779007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20036 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 17:13:44 +00:00
asiva@google.com
de0f961f44
Fix dartium build break by adding library tag to test.
...
Review URL: https://codereview.chromium.org//12871002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20035 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 17:07:08 +00:00
asiva@google.com
3316092e2d
Fix typo in method calls for [] and []= operators in views.
...
Review URL: https://codereview.chromium.org//12531009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20033 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 16:47:51 +00:00
sgjesse@google.com
f5270bf202
Revert "Update the test runner to use the new dart:io API" again
...
This reverts r20027 and r20029
TBR=ager@google.com
BUG=
Review URL: https://codereview.chromium.org//12475010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20031 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 15:38:18 +00:00
sgjesse@google.com
fdaca2fe83
Revert "Update the test runner to use the new dart:io API" again
...
This reapplies r20004 and r20008 and fixes a HTTP server issue.
TBR=ager@google.com
BUG=
Review URL: https://codereview.chromium.org//12431020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20027 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 15:24:36 +00:00
whesse@google.com
9010575a99
dart:io | Handle drive letters in Path.relativeTo on Windows.
...
BUG=dartbug.com/4861
Review URL: https://codereview.chromium.org//12662010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20026 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 14:50:21 +00:00
sgjesse@google.com
3e2ffb4394
Revert "Update the test runner to use the new dart:io API" again
...
This reverts r20004 and r20008.
TBR=ager@google.com
BUG=
Review URL: https://codereview.chromium.org//12559013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20009 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 12:13:37 +00:00
sgjesse@google.com
df0aab103f
Update status file
...
Forgot to update io/skipping_dart2js_compilations_test status for
dartc. It is not passing
TBR=ager@google.com
BUG=
Review URL: https://codereview.chromium.org//12559011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20008 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 12:08:06 +00:00
sgjesse@google.com
db7821cdf3
Reapply "Update the test runner to use the new dart:io API"
...
The Linux binary will work on the bots. Fixed a number of issues.
The new binaries are from r19850.
R=ager@google.com
BUG=
Review URL: https://codereview.chromium.org//12608007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20004 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 11:39:20 +00:00
asiva@google.com
5b0ee63836
Use offsetInBytes and not index in the get/set accessors of views.
...
Review URL: https://codereview.chromium.org//12608006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20003 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 11:38:17 +00:00
whesse@google.com
2987d5397d
dart:io | Add Link class, as sibling to File and Directory.
...
BUG=
Committed: https://code.google.com/p/dart/source/detail?r=19772
Reverted: https://code.google.com/p/dart/source/detail?r=19777
Review URL: https://codereview.chromium.org//12691002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19995 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 09:37:44 +00:00
sgjesse@google.com
78403ce605
Revert "Update the test runner to use the new dart:io API"
...
This reverts commit r19987.
The included binaries did not work on the bots due to a glibc version issue.
TBR=ager@google.com
BUG=
Review URL: https://codereview.chromium.org//12864003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19988 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 08:08:56 +00:00
sgjesse@google.com
7ff44f77ac
Update the test runner to use the new dart:io API
...
The new binaries are from r19850.
R=whesse@google.com , ager@google.com , ricow@google.com , kustermann@google.com
BUG=
Review URL: https://codereview.chromium.org//12417004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19987 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 07:54:07 +00:00
floitsch@google.com
482b2f34e8
Move Options to dart:io.
...
Review URL: https://codereview.chromium.org//12794002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19927 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 13:12:00 +00:00
floitsch@google.com
c8f2a81f07
Rename Timer.repeating to Timer.periodic.
...
Review URL: https://codereview.chromium.org//12793003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19925 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 13:02:13 +00:00
ajohnsen@google.com
10af8725ab
Fix multiple close of incoming in _HttpParser.
...
BUG=
Review URL: https://codereview.chromium.org//12438008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19914 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 09:05:36 +00:00
ricow@google.com
9fe9063c44
Mark standalone/io/http_shutdown_test as flaky on windows
...
Review URL: https://codereview.chromium.org//12795006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19912 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 08:34:45 +00:00
ajohnsen@google.com
5946117315
Fix empty zlib deflate and early close of responses.
...
BUG=
Review URL: https://codereview.chromium.org//12661003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19910 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 08:24:50 +00:00
ajohnsen@google.com
3eab4cea7f
Fix typo in typeddate.dart.
...
Also adds test for setting/getting directly on ByteData.
BUG=
Review URL: https://codereview.chromium.org//12549021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19909 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 07:45:38 +00:00
kustermann@google.com
53497f0c2c
Refactoring of ProgressIndicator
...
Currently ProcessQueue creates and depends on exactly ONE ProgressIndicator.
This is not optimal for the following reasons:
a) The used ProgressIndicator has several responsibilities (printing timing information,
setting 'io.exitCode', printing test failures, ...)
Splitting these responsibilities into different classes makes the code cleaner and more testable.
b) If we make ProcessQueue depended on an abstract EventListener object (or a list of them) and make
it send events to those listeners would make it easier to test ProcessQueue itself.
Issue: 8095
Review URL: https://codereview.chromium.org//12302016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19867 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 14:09:05 +00:00
ajohnsen@google.com
959193b500
Buffer the entire http header to one packet, and buffer other data in chunks of 4-16 kb.
...
BUG=https://code.google.com/p/dart/issues/detail?id=8871
Review URL: https://codereview.chromium.org//12655003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19857 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 12:13:36 +00:00
ajohnsen@google.com
34be2d5a40
Support GZip encoding on the http server.
...
Rewrite how we set up http outgoing pipeline.
BUG=
Review URL: https://codereview.chromium.org//12758009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19856 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 12:10:36 +00:00
asiva@google.com
69d0484d2a
- Use dart:typedata types in the Dart API calls.
...
- Change the dart/io code to not use dart:scalarlist
Review URL: https://codereview.chromium.org//12730013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19848 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 10:57:48 +00:00
sgjesse@google.com
a429f3aa83
Fix checked mode error on socket IOSink
...
The set encoding method on a Sockets IOSink implementation failed in
checked mode. Added a test calling all IOSink methods on a socket.
BUG=https://code.google.com/p/dart/issues/detail?id=9020
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//12408004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19803 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 16:15:56 +00:00
ajohnsen@google.com
a30171117c
Handle /dev/null on linux, as an closed device.
...
This will make all devices unsupported by epoll act as an empty source.
BUG=
Review URL: https://codereview.chromium.org//12476021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19796 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 15:16:08 +00:00
lrn@google.com
53f877edb7
Rename String.concat to operator+.
...
Review URL: https://codereview.chromium.org//12441003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19788 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 12:59:17 +00:00