Commit Graph

645 Commits

Author SHA1 Message Date
zerny@google.com 0a80eaec06 Revert "Revert "Revert "Disable the irregexp backend."""
This enables the irregexp backend by reverting commit
http://code.google.com/p/dart/source/detail?r=42246

R=fschneider@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42312 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-12 09:02:24 +00:00
zerny@google.com 0bfa80b5a5 Revert "Revert "Disable the irregexp backend.""
This reverts commit http://code.google.com/p/dart/source/detail?r=42240
Reason for revert: failures and timeouts on Dartium bots.

TBR=fschneider@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42246 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 15:38:10 +00:00
zerny@google.com d1f5aacd77 Revert "Disable the irregexp backend."
This reverts commit http://code.google.com/p/dart/source/detail?r=41999

R=fschneider@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42240 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-10 09:56:53 +00:00
regis@google.com e20569cf8b Reenable a few previously slow tests on MIPS.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42141 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-05 19:32:39 +00:00
regis@google.com a17adcd1de Fix overflow check when shifting unboxed mints on 32-bit platforms, except on
MIPS, which does not yet support unboxed mints (work in progress). Issue 21715.
Add regression test.

R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42003 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-26 17:36:32 +00:00
zerny@google.com 487ca247d7 Disable the irregexp backend.
Currently the use of irregexp breaks the Dartium build.

TBR=vegorov@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41999 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-26 16:21:08 +00:00
zerny@google.com 858bdd8a8b Skip slow test corelib/regexp/global_test.
R=vegorov@google.com
BUG=http://dartbug.com/21709,http://dartbug.com/21708

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41994 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-26 14:24:48 +00:00
zerny@google.com 8e807c8550 Integrate the Irregexp Regular Expression Engine.
BUG=http://dartbug.com/19090
R=fschneider@google.com

Committed: https://code.google.com/p/dart/source/detail?r=41949

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41983 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-26 09:32:43 +00:00
zerny@google.com 84a4135901 Revert "Integrate the Irregexp Regular Expression Engine."
This reverts commit https://code.google.com/p/dart/source/detail?r=41949

TBR=fschneider@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41950 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 13:36:40 +00:00
zerny@google.com 43ac0c6f33 Integrate the Irregexp Regular Expression Engine.
BUG=http://dartbug.com/19090
R=fschneider@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41949 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-25 13:10:21 +00:00
johnniwinther@google.com ba110b93ff Avoid patching in dart2dart.
BUG=http://dartbug.com/21441
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41901 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-21 13:42:56 +00:00
regis@google.com 3c16a2c0f9 Skip MIPS tests. Still too slow. See issue 20879.
Review URL: https://codereview.chromium.org//728483004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41729 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-14 01:21:25 +00:00
regis@google.com defc9a5c54 Specialize _toPow2String for bigint to make it linear instead of quadratic.
Remove some duplicated bigint corelib tests.
Cleanup corelib tests status file.
Partially fix issue 20879 (not closed).

R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41728 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-13 23:54:33 +00:00
whesse@google.com e5d6c3d424 Update status for fixed test.
BUG=dartbug.com/21582
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41712 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-13 13:14:18 +00:00
ricow@google.com 4ff8c06729 Mark corelib/regexp/pcre_test as slow on dart2js
Filed issue 21593 to track this

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41706 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-13 07:44:25 +00:00
lrn@google.com b02786e0c1 Mark Firefox/jsshell as failing on double_parse_test.
The ECMAScript spec allows non-IEEE-754 compliant parsing, probably because
that was what Netscape was already doing.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41665 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-11 14:25:24 +00:00
zerny@google.com f579383d56 Reapply "Port regexp tests from V8 to Dart."
This fixes checked mode issues and reapplies commit
https://code.google.com/p/dart/source/detail?r=41354

R=lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41416 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-30 11:34:18 +00:00
whesse@google.com 53264f42c0 Mark tests flaky on Safari 6.2
BUG=dartbug.com/21434
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41393 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-29 10:30:25 +00:00
zerny@google.com 488b0e1630 Revert "Port regexp tests from V8 to Dart."
Reason: The tests do not run cleanly in checked mode.

TBR=lrn@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41358 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-28 13:33:15 +00:00
zerny@google.com c67ccb1c0c Capture group error has been fixed.
BUG=http://dartbug.com/21396
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41357 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-28 13:11:17 +00:00
zerny@google.com f68daab3f9 Port regexp tests from V8 to Dart.
This adds V8s suite of regular expressions tests. The tests are skipped
for all none d8 runtimes until irregexp has been ported and enabled for
the other runtimes. The tests are enabled when compiling with dart2js
and running with d8.

BUG=http://dartbug.com/21396
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41354 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-28 12:33:15 +00:00
lrn@google.com f7fd659ce0 Expect dart2dart to fail on string_split_test.
Review URL: https://codereview.chromium.org//684723003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41351 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-28 09:03:46 +00:00
whesse@google.com aeba67e44e Add builder tag for Safari 6.2 slave. Update status files for Safari 6.2.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41323 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-27 16:09:00 +00:00
lrn@google.com 75e49f5220 Fix test warnings and expect Safari mobile simulator bug.
Review URL: https://codereview.chromium.org//679143003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41319 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-27 15:07:20 +00:00
paulberry@google.com 57e88b8e02 Disable new from_environment tests on Dartium and dart2dart.
fromEnvironment doesn't appear to work on these platforms yet.

TBR=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41271 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-23 20:24:10 +00:00
paulberry@google.com b35aef796c Fix type of String.fromEnvironment() when the name is undefined.
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41269 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-23 19:35:53 +00:00
regis@google.com 48439b139d Split bigint test into several tests.
Add bigint tests with --no_intrinsify.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41008 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-09 09:42:35 +00:00
lrn@google.com 3192c983bf Dart version of double.parse that works for numbers that can be represented exactly as doubles.
BUG= http://dartbug.com/17711
R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40891 260f80e4-7a28-3924-810f-c04153c831b5
2014-10-03 06:01:44 +00:00
lrn@google.com 4d3fc514a2 Mark some bigint tests failing in dart2js.
Also some JS implementations don't consider U+0085 whitespace.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40710 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-26 14:15:27 +00:00
ricow@google.com df319447f1 Remove suppressions for ie9
R=blois@google.com, whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40201 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 06:01:14 +00:00
whesse@google.com 70d251049f Update status for mips big_integer_vm test.
BUG=dartbug.com/20879
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40084 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-10 09:35:24 +00:00
regis@google.com 838a6d5850 Temporarily disable timing out test on simarm64 as well.
Review URL: https://codereview.chromium.org//555393002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40076 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-10 01:41:45 +00:00
regis@google.com 7aee1b3113 Temporarily disable test timing out on simulators until new bigint gets
optimized.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40069 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-09 23:16:23 +00:00
lrn@google.com 7947f84054 Optimize List.toList/.sublist and List.from on lists.
R=fschneider@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39579 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-27 08:00:48 +00:00
whesse@google.com 443c06cccd Update test status for Android ContentShell
BUG=dartbug.com/20525,dartbug.com/20524

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39252 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-14 16:23:34 +00:00
scheglov@google.com 57f076f17f New analyzer snapshot.
Not to be published.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38764 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-31 00:40:17 +00:00
paulberry@google.com f649b734d0 Properly handle "#void" in analysis server.
Also fix corelib/symbol_reserved_word_test/05, which was incorrectly
marked as a compile-time error.  It should be a static type warning,
since "#void.foo" should be interpreted as "access the 'foo' field of
the 'void' symbol".

BUG=dartbug.com/20191
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38641 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-28 19:03:06 +00:00
whesse@google.com 32122048e7 Update test status for Android content_shell.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38605 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-28 11:23:37 +00:00
kustermann@google.com 172abd603f Status file update for r38555: Testing framework cannot determine CompileTimeErrors on drt/dartium
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38572 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-25 08:40:20 +00:00
paulberry@google.com eaf4796622 Disallow reserved words for "const Symbol(...)" with the exception of 'void'.
R=lrn@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38555 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-24 21:41:09 +00:00
floitsch@google.com 3c9656e324 Update status file.
Review URL: https://codereview.chromium.org//406013003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38438 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-21 17:02:50 +00:00
lrn@google.com 729de01f79 Make IterableMixinWorkaround using classes return correctly typed Iterables.
BUG= http://dartbug.com/13646
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38372 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-18 08:08:16 +00:00
scheglov@google.com a4dee8bf4c Resolve names in combinators for PropertyInducingElements instead of PropertyAccessorElements.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38199 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-14 17:11:34 +00:00
paulberry@google.com f825cc7389 Generate compile errors for illegal uses of const Symbol constructor.
BUG=dartbug.com/18755
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38163 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-11 18:12:03 +00:00
paulberry@google.com 4e03ba2510 Report errors when an exception would occur during const fromEnvironment calls.
BUG=dartbug.com/18755
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38094 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-09 18:16:41 +00:00
floitsch@google.com 0baf6ab684 Allow #[] and #[]= symbols.
BUG= http://dartbug.com/15653
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37481 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-19 09:29:17 +00:00
karlklose@google.com 4b5921129c Adjust test expectations for corelib string tests.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37311 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-13 12:13:08 +00:00
iposva@google.com 5f06c8fd1c - Skip flaky Windows x64 test of Stopwatch.
Review URL: https://codereview.chromium.org//327313002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37240 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-11 18:39:33 +00:00
lrn@google.com 989709f3a8 Reinstall previous behavior for Set and Queue toString.
A previous change made these omit elements to keep the toString length down.
That could break code that expects the original behavior.

This still avoids using IterableMixinWorkaround.

Add static toString methods on ListBase, SetBase, IterableBase so that users can
get the same behavior as our toString methods, and with the same cycle detection
safety.

Unify all collection toString methods in two methods:
- IterableBase.iterableToShortString
- IterableBase.iterableToFullString

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36616 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-26 06:08:20 +00:00
lrn@google.com 9976e03768 Remove uses of IterableMixinWorkaround outside of VM and dart2js lists.
Remaining uses are in:

- array.dart (VM)
- growable_array.dart (VM)
- typed_data.dart (VM)
- js_array.dart (Dart2js)

These need support from the VM and dart2js teams to remove.

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36553 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-23 09:39:09 +00:00