Commit Graph

288 Commits

Author SHA1 Message Date
ahe@google.com d99d6aaa5b string_case_test/02 no longer fails on Chrome.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35418 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-25 08:45:39 +00:00
johnniwinther@google.com b830dd1f9f Update status.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35364 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-24 10:55:58 +00:00
jwren@google.com 55afabf195 Fix for build in status files, now that 17234 is fixed
Review URL: https://codereview.chromium.org//235723004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34994 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-11 20:57:29 +00:00
ricow@google.com a88c893aa2 Roll V8 deps to version 3.25
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34962 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-11 08:17:02 +00:00
lrn@google.com 139e447d11 Update status
Fix type annotations on map changes.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34913 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-10 08:18:32 +00:00
whesse@google.com 76a7e968e1 Mark corelib/map_index_test as failing.
Review URL: https://codereview.chromium.org//231093003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34886 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 17:55:49 +00:00
whesse@google.com ec298a01f8 Add new failures to status files, assign issues.
BUG=dartbug.com/18113
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34863 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 08:30:24 +00:00
lrn@google.com 9069c292c6 Also mark string_case_test failing on dart2dart-vm.
Review URL: https://codereview.chromium.org//228493002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34819 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 11:30:40 +00:00
lrn@google.com 88ba8efed9 Optimize one-byte string's toUpperCase.
R=ajohnsen@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34812 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 07:19:33 +00:00
zra@google.com 2fe51715e5 Begins work on ARM64, first assembler test.
Most new code is in constants_arm64.h and
{assembler,disassembler,simulator}_arm64.{h,cc}

The rest of the CL just #def's out tests, modifies status files,
and adds UNIMPLEMENTED functions, etc.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34654 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 17:39:32 +00:00
lrn@google.com 8247480637 Mark corelib/map_test crashing on dart2js checked.
BUG= http://dartbug.com/17829

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34439 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-26 17:35:33 +00:00
whesse@google.com 127155271e Fix syntax error in status file.
Error introduced in r33807

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33808 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-18 15:02:04 +00:00
whesse@google.com 62c79adbd0 Add entries for ContentShellOnAndroid runtime to status files.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33807 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-18 14:47:56 +00:00
lrn@google.com f95e190651 Add string.trimLeft/trimRight.
BUG= http://dartbug.com/5589
R=floitsch@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33638 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-13 07:16:51 +00:00
lrn@google.com 13d8eae15a Faster _Smi.toString()
Add tests.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33416 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 09:31:53 +00:00
ahe@google.com c1cbdbf0d7 Update analyzer status after test.py refactoring.
Review URL: https://codereview.chromium.org//178193017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33200 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-03 09:48:39 +00:00
lrn@google.com bd5f28916f Add tests for symbols of operators.
R=ahe@google.com, floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31187 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-17 12:38:53 +00:00
kustermann@google.com 34afbbc66a Mark symbol_test/0{2,3} as passing on drt (in addition to dartium)
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31028 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 17:34:19 +00:00
kustermann@google.com e898028b18 Attempt to deflake our status files
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31022 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 15:37:34 +00:00
srdjan@google.com 8058e7b135 Fix simarm test (add timeout).
R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30683 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-26 23:07:27 +00:00
lrn@google.com 700ed41411 Remove num-parse failure expectation for dart2js after changing test.
Review URL: https://codereview.chromium.org//88003002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30668 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-26 11:18:00 +00:00
lrn@google.com e1b4afa85d Add num.parse.
The implementation is still primitive: It calls int.parse, then double.parse, and then fails if it hasn't found a result yet.

BUG= http://dartbug.com/8237
R=floitsch@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30663 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-26 08:44:38 +00:00
lrn@google.com f5bf3613dc Revert "Add num.parse."
Fails on IE9.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30631 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 14:52:23 +00:00
lrn@google.com e0f3bb3092 Add num.parse.
The implementation is still primitive: It calls int.parse, then double.parse, and then fails if it hasn't found a result yet.

BUG= http://dartbug.com/8237
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30624 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 13:09:04 +00:00
ngeoffray@google.com f02627fe15 Update status file for safari bug.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30616 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 11:22:39 +00:00
ngeoffray@google.com 27d1f7aa7f Inline the fixed array constructor manually in the SSA builder. Also track whether a fixed array ever flows into a method that may check if it is growable.
Also fixes new List(null): it now throws.

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30612 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 09:10:57 +00:00
floitsch@google.com 1b97a4765f Fix timezone extraction for IE and Opera.
Not perfect, but these browsers don't give enough information.

BUG= http://dartbug.com/14717
BUG= http://dartbug.com/14691
BUG= http://dartbug.com/15027
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30469 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 13:57:53 +00:00
lrn@google.com 06e97d46b6 Fix expectation of corelib/queue_test to not fail analysis.
Review URL: https://codereview.chromium.org//78333002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30464 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 12:56:46 +00:00
karlklose@google.com fe2595422d Register generic type of instantiated Map literal.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30041 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 11:31:29 +00:00
floitsch@google.com ec3db0d42c Fix the generic type of Map.values for map literals.
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29995 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 20:58:39 +00:00
karlklose@google.com 26877eda37 Change status of corelib/map_values2_test.
On dart2js, the library function to create the values-iterable uses IterableBase.map, which create a MappedIterable where the second type argument is set to dynamic. As a consequence, the result of `get values` is an Iterable<dynamic>.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29875 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 07:16:53 +00:00
karlklose@google.com 1ddf0d9a53 Reapply "Set runtime type on list and map literals."
Reviewed as: https://chromiumcodereview.appspot.com/54293008/.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29798 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-04 10:25:25 +00:00
floitsch@google.com 2d7491b99e Update status file.
Review URL: https://codereview.chromium.org//56303004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29763 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 18:53:11 +00:00
floitsch@google.com c71cec69e2 Update status file for Opera corelib failures.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29760 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 17:33:59 +00:00
floitsch@google.com 820560eef0 Fix timezone name for IE.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29758 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 17:03:42 +00:00
floitsch@google.com e51764f89e Fix some corelib tests.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29757 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 17:02:27 +00:00
karlklose@google.com df5da8b6f3 Revert "Set runtime type on list and map literals."
This reverts commit r29747.

TBR=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29748 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 14:58:33 +00:00
karlklose@google.com a3c5867999 Set runtime type on list and map literals.
R=johnniwinther@google.com
BUG=6827,12889

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29747 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 14:19:02 +00:00
ngeoffray@google.com d630ad89c3 Revert r29862, cache must have been updated now.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29734 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 09:51:49 +00:00
ngeoffray@google.com fcdfebb688 The bots are using a cached version of the tests that is invalid now that the shared flags are passed.
Review URL: https://codereview.chromium.org//55053003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29682 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 17:28:49 +00:00
ngeoffray@google.com 9fb8d997f7 Implement fromEnvironment on bool, int, String in dart2js.
R=johnniwinther@google.com, kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29675 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 14:41:44 +00:00
sgjesse@google.com 239e561e60 Update status file
Treat drt and dartium the same for fromEnvironment

TBR=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29645 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 06:38:38 +00:00
sgjesse@google.com 4072a20392 Update status file
The analyzer cannot see compile-time errors in .fromEnvironment

TBR=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29644 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 06:13:51 +00:00
sgjesse@google.com 36a67fa046 Implement fromEnvironment on bool, int and String
This implements const constructor fromEnvironment on bool, int and
String.

The VM have the added -Dname=value option to define the value for the
properties. All values are provided by using the -D - nothing is read
from the environment.

If the resulting value is null or - in the case of int.fromEnvironment
- not a number an ArgumentError is thrown.

This CL does not have any implementation for dart2js.

This is a continuation of the change
https://chromiumcodereview.appspot.com/24975002 by iposva@
BUG=
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29642 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 05:46:57 +00:00
lrn@google.com 0354366832 Mark corelib/list_test/01 as failing on dart2js.
See issue 14616. This behavior is now checked for by a test.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29530 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 11:26:46 +00:00
ngeoffray@google.com 55974b2751 Update status file.
Review URL: https://codereview.chromium.org//49203005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29424 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 09:24:39 +00:00
hausner@google.com e02652a123 Throw CyclicInitializationError instead of string
For some reason, I had to regenerate the snapshot for test standalone/issue14236_source.dart. The checked-in snapshot crashed with my change. We don't know yet why. Siva is looking at this separately.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29397 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 21:38:57 +00:00
kustermann@google.com 94ebff2225 Bugfix in test.dart, adding of specialized test outcomes for analyzer
This CL will:
 - fix a bug in the legacy AnalyzerCommandOutputImpl class (in certain cases
   we did not report that the analyzer was missing a warning).
 - make the outcome of running the analyzer on a test be one of:
   * CompileTimeError
   * MissingCompileTimeError
   * StaticWarning
   * MissingStaticWarning
 - Make status file updates using the new Expectation markers
 - Remove support for '@static-clean':
     Previously running the analyer on a test could either result in
     'Pass' or in 'Fail'. The '@static-clean' annotation has been used
     as a (poor) mechanism to distinguish between errors and warnings.
     Having the 4 markers mentioned above means we can remove '@static-clean'
 - Remove 100 lines of rotted legacy code in our testing scripts.
 - Make a status file entry for every test that has analyzer errors or warnings

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29350 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 10:39:38 +00:00
kustermann@google.com d66aab045d Followup status file update after co19-roll to r641
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29270 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 18:33:21 +00:00
lrn@google.com b8a3d75996 Add isFinite getter to num.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29067 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 10:21:13 +00:00