Commit Graph

1058 Commits

Author SHA1 Message Date
lrn@google.com ecbf4478c2 Reapply "New implementation of {,Linked}Hash{Set,Map}."
Review URL: https://codereview.chromium.org//12212211

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18573 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 13:07:22 +00:00
lrn@google.com c3e2eace1e Revert "Reapply "New implementation of {,Linked}Hash{Set,Map}.""
Breaks pub, which apparently contains concurrent modifications of a
HashMap.

Spurious error in:
 pkg/analyzer-experimental/test/generated/ast_test/test_literal_map
Seems to be an error in the analyzer.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18569 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 10:06:49 +00:00
lrn@google.com 9d8aca9e45 Reapply "New implementation of {,Linked}Hash{Set,Map}."
Review URL: https://codereview.chromium.org//12254006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18566 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 09:18:36 +00:00
floitsch@google.com adb99d0107 Deprecate comparison operators of DateTime.
Review URL: https://codereview.chromium.org//12221094

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18543 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 22:00:36 +00:00
lrn@google.com 6e0d6462ce Revert "New implementation of {,Linked}Hash{Set,Map}."
Triggers assertion in VM debug mode.
Seems to have some bug or difference that affects dart2dart.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18442 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 12:40:12 +00:00
lrn@google.com 6ad0b78818 New implementation of {,Linked}Hash{Set,Map}.
Accepts null keys/entries.
Much faster LinkedHashMap, faster HashSet, slight penalty on HashMap,
possibly due to accepting null keys.
Performance difference depends on table size.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18437 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 09:51:50 +00:00
karlklose@google.com 759bf01d3c Implement substitution for type variables.
Review URL: https://codereview.chromium.org//12218007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18376 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 11:20:50 +00:00
karlklose@google.com 12840df1fe Revert "Implement substitution for type variables."
This reverts commit r18124.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18125 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 10:40:47 +00:00
karlklose@google.com 074335268f Implement substitution for type variables.
This change does not yet address the case where there is more than one substitution, as in this example:

class S<X> {}
class S1 extends S<int> {}
class S2 extends S<double> {}
class T implements S1, S2 {}

main() {
  new T() is S<int>;
  new T() is S<double>;
}

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18124 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 10:23:13 +00:00
johnniwinther@google.com b83a499aa6 Revert "Take type arguments into account in interface type subtype check."
This reverts commit r17912.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17915 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:58:23 +00:00
johnniwinther@google.com 8171115947 Take type arguments into account in interface type subtype check.
BUG=http://dartbug.com/7342

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17912 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:40:41 +00:00
johnniwinther@google.com 9e6659ab52 Implement Types.isSubtype for FunctionType with optional and named parameters.
Review URL: https://codereview.chromium.org//12087052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17832 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 10:46:10 +00:00
ricow@google.com 9b97bd3076 Correctly mark Slow tests as Pass, Slow
Review URL: https://codereview.chromium.org//11953081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17578 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 16:30:34 +00:00
ricow@google.com 9769301b87 Mark co19/LibTest/core/Map/Map_class_A01_t04 as slow
This timed out:
http://build.chromium.org/p/client.dart/builders/dart2js-linux-jsshell-release-4-4/builds/468/steps/dart2js%20tests%20failures/logs/stdio

And had running times really close to 1 minute on several other runs.
Review URL: https://codereview.chromium.org//11953080

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17575 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 14:57:34 +00:00
scheglov@google.com 321bcf58e4 Issue 7597. Use foo= when setter requested, even if there is method foo().
http://code.google.com/p/dart/issues/detail?id=7597

Language/07_Classes/3_Setters_A04_t04
Language/07_Classes/4_Abstract_Instance_Members_A02_t01
are not changed because they are part of huge list of tests which promis to don't have static type errors, but have them.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17520 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 05:15:39 +00:00
iposva@google.com 57f62dd2e1 - Make sure we can "run" all tests using simarm/simmips.
Review URL: https://codereview.chromium.org//12042065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17516 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 00:42:04 +00:00
scheglov@google.com 1bf84876fc Issue 7598. Skip metadata when parse directives for LibraryUnit.
http://code.google.com/p/dart/issues/detail?id=7598

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17485 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 18:08:47 +00:00
scheglov@google.com b806f5f3f9 Issue 7884. Use UTF-8 for output.
http://code.google.com/p/dart/issues/detail?id=7884

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17475 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:31:47 +00:00
scheglov@google.com 761ea9993f Issue 8025. Disallow mixing in classes that have constructors.
http://code.google.com/p/dart/issues/detail?id=8025

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17473 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:26:46 +00:00
scheglov@google.com 678706642f Skip co19 tests causing test framework crash.
http://code.google.com/p/dart/issues/detail?id=8045

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17423 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 21:08:16 +00:00
hausner@google.com dc3bf6646a Stop supporting map literals with 1 type argument
To be checked in next week Tue (Jan 22)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17410 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 16:48:00 +00:00
floitsch@google.com 739d0fbbd3 Update status file.
Review URL: https://codereview.chromium.org//12042008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17357 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 14:13:46 +00:00
floitsch@google.com 1febeb689a Move some core classes to collection library.
Review URL: https://codereview.chromium.org//11867024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17352 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 13:34:02 +00:00
ngeoffray@google.com 736889851a Move relational operators to the new interceptors.
Review URL: https://codereview.chromium.org//12042003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17340 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 11:21:43 +00:00
ngeoffray@google.com 1d0e8af018 Tests now pass.
Review URL: https://codereview.chromium.org//11926012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17253 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 09:12:18 +00:00
ngeoffray@google.com 81d5166a7a Update status files while investigating.
Review URL: https://codereview.chromium.org//11929018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17252 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 09:02:37 +00:00
ahe@google.com f42b735a0e Correctly implement co19 test suite.
Review URL: https://codereview.chromium.org//11881053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17204 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 13:40:21 +00:00
ngeoffray@google.com 902f89f73f Update status file, and how we recognize a NPE: since drt does not set the "type" property of an exception, unlike v8, we were not recognizing that "Cannot call method 'operator$not$0' of undefined" was an NPE.
Review URL: https://codereview.chromium.org//11876039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17059 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 11:24:26 +00:00
ngeoffray@google.com 184a9f610a Support Timer with 0 millisecond delay in dart2js running in the command line.
Review URL: https://codereview.chromium.org//11866003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16968 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 13:02:58 +00:00
kasperl@google.com 609203c814 Stop passing library elements to tons of namer functions.
Whenever we have to "invent" a library reference there's a
good chance that we get it wrong (because of inlining, etc.)
which messes up our privacy implementation.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16963 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 11:23:07 +00:00
kustermann@google.com 96574ee329 Status file updates for jsshell
Review URL: https://codereview.chromium.org//11833035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16920 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 14:16:37 +00:00
johnniwinther@google.com 47343b3530 Report errors on repeated interfaces.
BUG=http://dartbug.com/7468

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16900 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 07:03:05 +00:00
johnniwinther@google.com 3a723aba8f Report arity errors on user definable operators.
BUG=http://dartbug/7149

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16853 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 14:29:31 +00:00
ahe@google.com 6b11e3ec5a More cuddling dart2js checked mode.
Review URL: https://codereview.chromium.org//11773043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16801 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-08 14:37:58 +00:00
floitsch@google.com 0f584d1ace Move test to checked version.
Review URL: https://codereview.chromium.org//11782013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16720 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 16:01:49 +00:00
floitsch@google.com b3e1c608c1 Update co19 status file for dart2dart in checked mode.
Review URL: https://codereview.chromium.org//11791022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16713 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 15:38:52 +00:00
floitsch@google.com f1b4a245f8 Update co19 status files and some small fixes.
Review URL: https://codereview.chromium.org//11773026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16710 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 15:28:42 +00:00
ager@google.com 6f45a61404 Update status files for dartc (utils, co19).
Marking the utils ones as pass,fail because they pass on
the analyzer.

R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16709 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 15:18:49 +00:00
karlklose@google.com 126820a65f Mark tests that use Timer as failing on dart2js.
There is no implementation for Timer in JavaScript.

R=floitsch@google.com
BUG=dartbug.com/7728

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16697 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 13:39:09 +00:00
floitsch@google.com 4a7dfd2da3 Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
efortuna@google.com 273e94b287 Missed one commit in revert.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16679 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 05:29:44 +00:00
efortuna@google.com 274ac61643 Reverting everything because package root + dartium is causing serious problems.
DART_PACKAGE_ROOT environment variable is set for drt, but not dartium, and is location is problematic with respect to serving the files in the dartium checkout.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16678 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 05:20:06 +00:00
efortuna@google.com 7817fd8eae Correct location of new optional server list.
Review URL: https://codereview.chromium.org//11772008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16673 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 03:14:35 +00:00
efortuna@google.com f7d735abfd Fix up co19 tests with test.dart change.
Review URL: https://codereview.chromium.org//11788008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16672 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 03:12:09 +00:00
iposva@google.com 14e82cd48e - Update status files for dart2dart and dartc
Review URL: https://codereview.chromium.org//11583029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16536 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-28 01:41:45 +00:00
tball@google.com 18e748d0b3 Implemented class literals in the VM.
Review URL: https://codereview.chromium.org//11633054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16530 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-27 23:45:40 +00:00
bak@google.com 041a0189e5 Updated the darc co19 status file.
Review URL: https://codereview.chromium.org//11647032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16359 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 11:43:35 +00:00
bak@google.com 6c398a3a25 Fixed Issue 7508: Many StringBuffer methods return StringBuffer, but should be void.
- Methods in StringBuffer have now been changed so they do not return this.
- This forces the programmer to use cascaded calls instead of flaky chaining of calls.
Review URL: https://codereview.chromium.org//11645019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16358 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-20 11:13:27 +00:00
ngeoffray@google.com e858839d33 Re-apply "support for typedef in checked mode" and fix the checked mode failures on drt by not sharing bound closures that have typedef checks.
Review URL: https://codereview.chromium.org//11628009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16320 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 14:11:43 +00:00
regis@google.com aef9047742 Invoke noSuchMethod instead of immediately throwing NoSuchMethodError when
invoking a non-closure as a closure (reopened issue 3326).
Address comments of last cl.
Review URL: https://codereview.chromium.org//11612002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16220 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-17 19:35:16 +00:00