Commit Graph

594 Commits

Author SHA1 Message Date
floitsch@google.com 1887b5ca49 Some more removals of dart:utf.
R=jmesserly@google.com, lrn@google.com, nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26712 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 13:18:34 +00:00
lrn@google.com 0fa1bbdf15 Reapply "Make Map constructors return LinkedHashMap."
Updated tests assuming a specific ordering of an unlinked hash map
to not be daft.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26693 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 08:43:46 +00:00
sgjesse@google.com cda03252f6 Change the type of the pathSegments argument to the Uri constructor from List to Iterable
R=lrn@google.com
BUG=http://dartbug/11342

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26649 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 14:25:25 +00:00
lrn@google.com 4983d492d3 Revert "Make Map constructors return LinkedHashMap."
Some tests are making assumptions that are not warranted.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26624 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 09:12:48 +00:00
lrn@google.com 011f1ee4b8 Make Map constructors return LinkedHashMap.
BUG= http://dartbug.com/5803
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26622 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 08:08:06 +00:00
sgjesse@google.com e95bb89f6d Remove some bogus rules from the staus files
R=kustermann@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26357 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 14:19:51 +00:00
sgjesse@google.com 6b514b1a0c Remove all remaining references to dartc
R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26338 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 06:17:03 +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
lrn@google.com 7866ff39e5 Make Error.safeToString convert control codes in strings to escapes.
Converts values in the range 0x00 to 0x1f to escapes.
Escapes are either \xhh for most values, or \n, \r and \t for
NL, CR and TAB.

BUG= http://dartbug.com/11250
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26269 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 11:35:52 +00:00
asiva@google.com 84d93c0b09 Fix status file to account for dart2dart minified mode failure
(error_stack_trace1_test.dart depends on method names)

R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26082 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 20:21:36 +00:00
asiva@google.com dbd0e8c285 Fix the stack trace when there are C++ frames in between dart frames.
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26044 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 00:16:16 +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
asiva@google.com 33a46a45c6 Fix minor bug which was causing throw of Null to not be recognized properly.
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26024 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 19:50:28 +00:00
ahe@google.com 4d4fa32377 Implement Error.stackTrace.
BUG=http://dartbug.com/11681
R=bak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26004 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 14:42:02 +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
sgjesse@google.com cfba41b714 Add support for file URIs and extracting the file path from file URIs
A file URI can now be created directly using the constructor Uri.file.

The file path for a file URI can now be extracted using the toFilePath() method.

The path strings involved use either Windows or non-Windows
semantics. Both the Uri.file constructor and the toFilePath()
method have optional anamed arguments for specifying the
semantics. The default semantic is determined from the platform
Dart is running on.

R=ahe@google.com, whesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25872 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 12:55:09 +00:00
zra@google.com fa2ad38a31 Enables per-function far-branches for ARM and MIPS.
R=regis@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25723 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-01 20:51:46 +00:00
zra@google.com dad3270d95 Implements far branch targets for MIPS.
This change adds a flag --mips-far-branches, which when set causes
relative branches to be converted to absolute branches by determining
the PC, adding the branch offset to it, and using the jr or jalr
instruction to jump if the branch test passes.

This procedure clobbers the assembler temporary TMP, so TMP can no
longer be used in a branch test or in the branch delay slot of a
relative branch. Because TMP can't be used in a branch test, a
new temporary is introduced CMPRES2. This change replaces TMP with
CMPRES1 or another register where TMP can no longer be used.

Tests that were failing due to a too-far relative have the
--mips-far-branches flag set.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25543 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-26 23:30:32 +00:00
fschneider@google.com 082e80d514 Temporarily mark list_test as crashing on MIPS.
BUG=https://code.google.com/p/dart/issues/detail?id=11851
TBR=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25060 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-16 17:38:00 +00:00
ngeoffray@google.com 3b2c97ae08 Fix issue 11705: deal with user-defined Function classes that override noSuchMethod, and are being called with apply.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24950 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-12 15:16:52 +00:00
zarah@google.com 93bcd6baf7 Move toString() to collection classes.
R=floitsch@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24913 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-11 12:59:12 +00:00
scheglov@google.com cdfb38b317 New analyzer_experimental snapshot.
The biggest change is in formatting long list literals.
It looks now better and also does not turn Editor into text mode for couple files.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24903 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-11 01:51:53 +00:00
zra@google.com e21da288c2 Fixes status file.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24899 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-11 00:30:47 +00:00
zarah@google.com a0c76e6d43 Revert "Move toString() to collection classes."
This reverts commit 24836

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24837 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 09:36:47 +00:00
zarah@google.com 8ed47ae514 Move toString() to collection classes.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24836 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-09 08:35:54 +00:00
scheglov@google.com 58e638766c Report CTEC.ARGUMENT_TYPE_NOT_ASSIGNABLE and extra/not-enough arguments as errors.
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24790 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-07 18:11:36 +00:00
karlklose@google.com cf5be8e52c Fix dart2dart test expectations.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24781 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-05 08:09:04 +00:00
floitsch@google.com 58e3227700 Remove incorrect comment.
Review URL: https://codereview.chromium.org//18466003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24770 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-04 11:44:55 +00:00
hausner@google.com 98883150d6 Partial solution to analyze potentially constant expressions
This change adds code that detects if an expression can definitively
never be constant. We use this to analyze the initializer expressions
in const constructors. This check is not entirely water tight, but
together with the checks in canonicalization code catches most
illegal initializer expressions.

The const constructor of class Symbol turns out to be illegal. The
name verification check can't be part of the constructor code.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24749 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 20:47:14 +00:00
scheglov@google.com 6c6b88967f Remove dartc status sections.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24735 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 17:50:34 +00:00
floitsch@google.com 5e207df6a4 Revert "Relax method override restrictions."
Revert "Update status file."

This reverts commit r24731.
This reverts commit r24732.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24733 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 16:39:51 +00:00
floitsch@google.com 96a6e8d252 Update status file.
Review URL: https://codereview.chromium.org//18345017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24732 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 16:37:17 +00:00
floitsch@google.com 77034fe249 Relax method override restrictions.
This implements part of issue 11495.

BUG= http://dartbug.com/11495
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24731 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 16:20:05 +00:00
floitsch@google.com cd01e5c5f8 Update status file.
Review URL: https://codereview.chromium.org//18348014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24730 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 16:18:00 +00:00
floitsch@google.com b6d62603e7 Correct status file.
Review URL: https://codereview.chromium.org//18259008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24729 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 15:36:16 +00:00
floitsch@google.com 9447db144e Make cyclic error init more complicated to avoid static warnings.
Review URL: https://codereview.chromium.org//18433003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24728 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 15:06:50 +00:00
floitsch@google.com 438767ca3a Add stackTrace to Error object.
BUG=
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24726 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-03 14:51:30 +00:00
floitsch@google.com 546560a13d Revert "Add fillRange to typed ungrowable lists."
Revert "fix type in test."

This reverts commit r24689.
This reverts commit r24695.

Test is in the wrong place, and Stephen's (sra) CL makes the other change unnecessary.
https://codereview.chromium.org/18391002/

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24703 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 19:06:00 +00:00
zarah@google.com 187b32adc3 fix type in test.
Review URL: https://codereview.chromium.org//18547004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24695 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 16:20:59 +00:00
zarah@google.com 68274ad4c0 Add fillRange to typed ungrowable lists.
BUG=http://dartbug.com/11621
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24689 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-02 15:15:04 +00:00
zra@google.com e730b67b10 Fixes bug in mips left shift.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24561 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 23:11:13 +00:00
iposva@google.com ca6b378934 - Update status file for dart2js. Tests have been updated to not
use ? operator and thus now "Pass" instead of "Fail,OK".

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24542 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 19:22:21 +00:00
iposva@google.com 50fc824be9 - Remove arguments definition test from the VM.
- Update tests still referring to it.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24539 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 18:37:53 +00:00
zarah@google.com 74cca39566 Add fromIterable(s) constructors in SplayTreeMap and LinkedHashMap.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24531 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:02:37 +00:00
zarah@google.com 13d024e0dc Add Map constructors taking iterables.
BUG= http://dartbug.com/11330
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24514 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 13:17:16 +00:00
zra@google.com bc703b348f Updates co19 status file for simarm and simmips.
Also marks corelib/collection_to_string_test as
Pass, Crash for arm hardware, as it crashes
occasionally.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24489 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 20:54:17 +00:00
zarah@google.com 3709d9388f Test fixed
Review URL: https://codereview.chromium.org//17841002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24462 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 10:57:30 +00:00
zarah@google.com 30727e7a9e Fixed equals operator in test.
Review URL: https://codereview.chromium.org//17843002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24461 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 09:41:56 +00:00
zarah@google.com 50868bbdda Test equality argument order in iterable.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24458 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 09:14:24 +00:00
kasperl@google.com 1e6c3a1998 Remove support for 'argument definitions test' from dart2js.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24455 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 08:02:25 +00:00