Commit Graph

2071 Commits

Author SHA1 Message Date
floitsch@google.com 85ea3a7021 Mark streamed_conversion_utf8_decode_test as slow for FF.
Review URL: https://codereview.chromium.org//23011051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26587 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 09:18:47 +00:00
kustermann@google.com cef46dcaa0 Remove entries in status refering to non-existent files/multitests
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//22846007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26584 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 08:47:58 +00:00
rmacnak@google.com 7ed3644358 Make reflectClass(dynamic) throw an illegal argument exception.
BUG=
R=gbracha@google.com, iposva@google.com

Review URL: https://codereview.chromium.org//22633005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26550 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 20:05:51 +00:00
zra@google.com d816dd325f Adds Uint32x4 add/sub for ARM.
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//23366003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26544 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 18:24:20 +00:00
floitsch@google.com b8d3001f64 Test is only slow on simulator, not on real ARM hw.
R=ricow@google.com

Review URL: https://codereview.chromium.org//23033024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26536 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 16:59:03 +00:00
floitsch@google.com fe740d4bc5 Mark chunked_conversion_utf88 as slow on simarm.
Review URL: https://codereview.chromium.org//22999037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26531 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 16:09:22 +00:00
floitsch@google.com a30cffbf77 Treat negative utf8-units the same way as other broken encodings.
R=lrn@google.com

Review URL: https://codereview.chromium.org//22929022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26528 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 15:40:41 +00:00
floitsch@google.com 109280c8f9 Make utf8 decoder non-buffered.
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//23361015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26526 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 14:33:34 +00:00
lrn@google.com 43bf48fa0e Add ASCII encoding to lib/convert.
Reuses part of LATIN1 encoding.

R=floitsch@google.com

Review URL: https://codereview.chromium.org//22875034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26518 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 13:05:29 +00:00
lrn@google.com d0bc320298 Add Latin-1 converters to convert library.
I plan to modify this to a generic version and make Ascii and Latin1
special cases that only differ in the mask (0x7f vs 0xff), or maybe
a few other cases.

R=floitsch@google.com

Review URL: https://codereview.chromium.org//23224014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26508 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 08:28:37 +00:00
rmacnak@google.com 9589f540c1 Fix issue number of reflected_type_test on dart2js.
BUG=
R=ahe@google.com

Review URL: https://codereview.chromium.org//23382003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26461 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 19:38:21 +00:00
ricow@google.com 52c02391e0 A few more flaky markers for IE
+ reorg of a flaky test just marked for checked mode

Review URL: https://codereview.chromium.org//22867026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26448 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 17:52:20 +00:00
ricow@google.com 521008fc4a More ie9 status updates.
Additional flake on co19

R=kustermann@google.com

Review URL: https://codereview.chromium.org//22893034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26428 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 12:55:42 +00:00
ricow@google.com e6cbe40e6c Update suppressions for IE9
R=kustermann@google.com

Review URL: https://codereview.chromium.org//23014008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26426 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 12:32:31 +00:00
sgjesse@google.com 38506f9d57 Remove the LineTransformer from dart:io
The LineTransformer has been retired, and is replaced with LineSplitter from dart:convert

R=floitsch@google.com, nweiz@google.com

Review URL: https://codereview.chromium.org//22927016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26419 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 07:35:46 +00:00
rmacnak@google.com 2f192be945 Provide a way to get a Type back from a ClassMirror.
BUG= http://dartbug.com/6433
R=asiva@google.com

Review URL: https://codereview.chromium.org//22849015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26407 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 23:05:31 +00:00
johnmccutchan@google.com 6d11a8fa15 Add signMask getter to Float32x4
R=srdjan@google.com, zra@google.com

Review URL: https://codereview.chromium.org//22947006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26394 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 21:35:53 +00:00
brianwilkerson@google.com 5e90751367 Rename Identifier.getElement. Prior to this change the method getElement() was semantically equivalent to getBestElement(), but that was rarely the correct method to be using. I have divided it into getBestElement() and getPropagatedElement(), but in most cases replaced its use with getStaticElement().
Please check this carefully. Although all of the tests pass, there's still a possibility that I translated something wrong at some point (especially in code outside engine) and I'd like to catch any mistakes as early as possible.

R=jwren@google.com, messick@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//22854024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26380 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 18:50:28 +00:00
mlippautz@google.com 1c0cff6f62 Implement MethodMirror.isOperator
Fixes issue 11944.

BUG=http://dartbug.com/11944
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//22914017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26369 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 16:39:34 +00:00
vsm@google.com 694b7b5ccd Fix expectations typo
TBR=lrn@google.com

Review URL: https://codereview.chromium.org//22870020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26367 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 16:34:24 +00:00
lrn@google.com 693b71e262 Update test expectations.
R=floitsch@google.com

Review URL: https://codereview.chromium.org//22897012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26359 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 14:38:08 +00:00
johnmccutchan@google.com 7c1e9d8298 Add add and subtract operations to Uint32x4
R=srdjan@google.com

Review URL: https://codereview.chromium.org//23018009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26358 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 14:34:06 +00:00
floitsch@google.com 0b68743ae8 Fix off-by-one error in UTF-8 encoding.
R=lrn@google.com

Review URL: https://codereview.chromium.org//22854028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26355 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 14:03:35 +00:00
lrn@google.com 5343ef8d32 Add documentation to dart:math pow function.
Also add test, and modify implementation to match on the single case where it didn't.

BUG= http://dartdog.com/1952
R=floitsch@google.com

Review URL: https://codereview.chromium.org//22943005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26347 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 12:23:00 +00:00
ricow@google.com 56d26d4ae6 Remove suppression for dart2js running on d8 using dataview
Review URL: https://codereview.chromium.org//22885011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26336 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 05:46:10 +00:00
ricow@google.com 649079a711 Remove flaky marker for csslib/test/declaration_test
This has been fixed in V8 and we rolled in a new version

R=kustermann@google.com

Review URL: https://codereview.chromium.org//22891007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26313 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-19 13:22:38 +00:00
johnmccutchan@google.com f05ee4985a Replace shuffle getters with shuffle method and masks.
BUG=
R=asiva@google.com

Review URL: https://codereview.chromium.org//23134002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26278 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 16:19:18 +00:00
rmacnak@google.com 8bdc9b5696 Cleanup making Null a public class of dart:core in the VM. Remove special cases for Null in lookup and compile-time type tests.
BUG=http://dartbug.com/12364
R=asiva@google.com, regis@google.com

Review URL: https://codereview.chromium.org//22819005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26205 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 18:34:23 +00:00
sgjesse@google.com ff7a0b95bd Fix Windows bugs in r26181
TBR=ahe@google.com
BUG=

Review URL: https://codereview.chromium.org//23035004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26191 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 12:10:03 +00:00
ahe@google.com 0974b6d56c Improve type literals in minified mode.
R=ngeoffray@google.com

Review URL: https://codereview.chromium.org//22859004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26187 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 11:32:33 +00:00
ahe@google.com ca850cec7b Implement ClassMirror.superinterfaces.
BUG=http://dartbug.com/11863
R=ngeoffray@google.com

Review URL: https://codereview.chromium.org//23226002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26185 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 11:05:56 +00:00
sgjesse@google.com 353428a918 Remove the Path class from dart:io
The Path class in dart:io has been deprecated for some time
now. It was scheduled to be removed on August 11th, so here it
goes.

dart:io still uses the Path class internally, but now it is
private. I will trim it down to what is actually used in a
follow-up change.

R=ahe@google.com, devoncarew@google.com, whesse@google.com
BUG=http://dartbug.com/11666

Review URL: https://codereview.chromium.org//23054008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26181 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 10:10:53 +00:00
ahe@google.com d23f1a5b90 Implement reflecting on mixin applications.
BUG=http://dartbug.com/12055
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//22692002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26162 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 22:10:24 +00:00
ahe@google.com e8a94904c6 Don't cache non-Interceptor interceptors.
R=ngeoffray@google.com

Review URL: https://codereview.chromium.org//23149002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26138 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 19:16:35 +00:00
mlippautz@google.com 187ec3d4fc Fix ClassMirror.typeArguments handling for dynamic only type arguments.
Addresses an issue where we did not return the appropriate type arguments for instances with all dynamic type arguments.

Example:
Class <E> {}

main() {
  var cm = reflectClass(new C()).type;
  print(cm.typeArguments);
  // now prints: {Symbol("E"): TypeMirror on 'dynamic'}
  // previously: crashed
}

BUG=
R=asiva@google.com

Review URL: https://codereview.chromium.org//23133003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26135 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 18:41:30 +00:00
mlippautz@google.com c79874a413 ParameterMirror: Implement some missing getters.
Fixes issue 11334 and issue 11684 and issue 11567.

R=asiva@google.com

Review URL: https://codereview.chromium.org//21624006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26086 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 21:38:36 +00:00
kevmoo@j832.com 7d09ae0e3b nits from cr 22070003
R=lrn@google.com, sgjesse@google.com

Review URL: https://codereview.chromium.org//22860004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26076 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 18:53:36 +00:00
kevmoo@j832.com b68699b8a1 add a const ctor to Converter
Nice to have const converter subclasses

R=lrn@google.com

Review URL: https://codereview.chromium.org//22979003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26072 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 18:31:55 +00:00
zra@google.com 8ffef7528d Bug fix and status file updates for MIPS HW.
R=regis@google.com

Review URL: https://codereview.chromium.org//22828004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26037 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 21:45:41 +00:00
rmacnak@google.com 303a29b5ba Move Null class out of the VM isolate.
BUG=http://dartbug.com/12071
BUG=http://dartbug.com/12128
BUG=http://dartbug.com/12319
BUG=http://dartbug.com/12337
R=iposva@google.com

Review URL: https://codereview.chromium.org//22638011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25982 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 21:54:30 +00:00
rmacnak@google.com 0abc24d494 Fix name of libraries without a library declaration to be the empty string.
BUG=10580
R=asiva@google.com

Review URL: https://codereview.chromium.org//22642003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25981 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 21:27:28 +00:00
rmacnak@google.com 5c63370d25 Make ClosureMirror handle instances of user-defined classes that implement call.
R=asiva@google.com

Review URL: https://codereview.chromium.org//22625003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25944 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 20:25:46 +00:00
rmacnak@google.com fe85bf84bb Reflection on generics.
BUG=
R=ahe@google.com, regis@google.com

Review URL: https://codereview.chromium.org//22292002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25942 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 20:06:56 +00:00
rmacnak@google.com 3fdec161e8 Fix attempt to find metadata of a library with no metadata.
BUG=12206
R=hausner@google.com

Review URL: https://codereview.chromium.org//22460008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25930 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 16:50:11 +00:00
scheglov@google.com c52c1736ee New analyzer_experimental snapshot.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//22285004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25902 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 21:15:25 +00:00
kevmoo@j832.com 0565d6762f convert: new LineSplitter, (io: Deprecate LineTransformer)
R=floitsch@google.com

Review URL: https://codereview.chromium.org//22070003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25899 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 20:25:42 +00:00
kustermann@google.com b497bd0a4b Status file update for tests failing on dart2js-drt after chrome roll
R=ricow@google.com

Review URL: https://codereview.chromium.org//22576004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25874 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 14:00:56 +00:00
mlippautz@google.com c19527f1f4 Improve test coverage for reflection on mixins.
BUG=
R=ahe@google.com

Review URL: https://codereview.chromium.org//21155003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25834 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 21:48:49 +00:00
rmacnak@google.com 7ac237e7e1 R=ahe@google.com
Review URL: https://codereview.chromium.org//19839002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25826 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 19:02:57 +00:00
regis@google.com 09bcdc6d6d Fix VM implementation of CastError not to extend TypeError (issue 5280).
Remove non-compliant fields in various Error classes (issue 10144).
Remove implicit constructor when patching in a constructor (issue 12217).
Patch corelib Error classes instead of declaring subclasses.
Update tests and status files.

R=asiva@google.com, srdjan@google.com

Review URL: https://codereview.chromium.org//21832003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25782 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-05 18:35:04 +00:00