Commit Graph

79322 Commits

Author SHA1 Message Date
ngeoffray@google.com 780e1e9b1a Test cases for Issue 224 and 225: A 'return' in a generative constructor does not trigger a compile-time error.
Review URL: http://codereview.chromium.org//8389001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@680 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-25 09:20:04 +00:00
ngeoffray@google.com 8ca1529274 Add a test for http://code.google.com/p/dart/issues/detail?id=223.
Review URL: http://codereview.chromium.org//8332024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@679 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-25 08:33:13 +00:00
ngeoffray@google.com 592e3848a3 Implement String.contains when the pattern is not a string.
Review URL: http://codereview.chromium.org//8379001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@676 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-25 06:56:15 +00:00
sigmund@google.com b9dc2feb98 Allow running frog tests on bot
Review URL: http://codereview.chromium.org//8387017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@674 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-25 01:41:19 +00:00
mattsh@google.com a6150b1048 initial exceptionHandled in FutureImplementation.dart
BUG=
TEST=

Review URL: http://codereview.chromium.org//8387015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@673 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-25 01:13:20 +00:00
johnlenz@google.com 8ca0cf3d58 Tweaks to overriden method checks to match the spec.
Review URL: http://codereview.chromium.org//8351013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@668 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 23:45:52 +00:00
turnidge@google.com 0caed71c26 Add Dart_GetNativeArgumentCount() and a test.
Review URL: http://codereview.chromium.org//8382017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@667 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 23:44:29 +00:00
srdjan@google.com 2ebcaea966 Code patching support and tests for new inline caches.
Review URL: http://codereview.chromium.org//8351019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@666 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 23:42:47 +00:00
regis@google.com 2e745d1660 Add a #library in new tests with an #import, as required by Chromium.
Review URL: http://codereview.chromium.org//8380029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@665 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 23:21:12 +00:00
asiva@google.com 3ba848d0cc Add cyclic dependency test which causes a crash in the VM.
Review URL: http://codereview.chromium.org//8375017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@664 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 23:16:22 +00:00
hausner@google.com 48304ec6d7 Implicitly move super constructor call
Implicitly move super constructor call to the end of the initializer
list. Some code failed after r412.
Review URL: http://codereview.chromium.org//8380023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@663 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 23:06:01 +00:00
regis@google.com 023b41275d Skip a new test failing on Chromium.
Review URL: http://codereview.chromium.org//8380024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@661 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 22:53:27 +00:00
regis@google.com d2e9c47e77 Fix wrong detection of duplicate definition of function types (issue 187).
Duplicate import of a function type alias must be detected, but duplicate
import of a compiler generated canonical function type is necessary for proper
class resolution and is permitted.
Add tests.
Review URL: http://codereview.chromium.org//8375033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@658 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 22:31:30 +00:00
nweiz@google.com 5ff2269189 Move the individual property definitions from client/base/Css to CSSStyleDeclaration.
Review URL: http://codereview.chromium.org//8360025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@651 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 20:44:30 +00:00
scheglov@google.com c177cf4d8c Can not find Element in Dynamic element.
R=zundel@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8382003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@650 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 20:26:52 +00:00
scheglov@google.com a56eaa2507 Expect '{' during class parsing, report error if not.
R=zundel@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8381018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@649 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 20:13:52 +00:00
zundel@google.com ffc2e7c956 Triaged problems from co19 update into other issues.
BUG=202

Review URL: http://codereview.chromium.org//8380012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@647 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 19:52:42 +00:00
antonm@google.com 97c197e0dc Proper string comparison.
Review URL: http://codereview.chromium.org//8360027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@646 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 19:33:02 +00:00
srdjan@google.com 1f3084892e Fix broken build on non-ia32 architectures.
Review URL: http://codereview.chromium.org//8382009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@638 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 17:45:34 +00:00
srdjan@google.com a120ff3caa Transitioning to new IC structure: change IC data to include function name; pass IC data instead of function name when calling instance function.
New IC doc: http://goo.gl/fS2Hk
Review URL: http://codereview.chromium.org//8357034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@636 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 17:04:12 +00:00
antonm@google.com eba60e0a5c Remove passing tests from suppression.
BUG=5491853

Review URL: http://codereview.chromium.org//8361034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@633 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 16:02:03 +00:00
antonm@google.com 24860e5798 Disable implict import of dart:dom.
Review URL: http://codereview.chromium.org//8371010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@632 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 15:06:59 +00:00
benl@google.com 268d0ecf58 Switch to new test framework.
TBR=kasperl
Review URL: http://codereview.chromium.org//8380003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@629 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 13:44:20 +00:00
ager@google.com 0005f9fe53 Use realpath on Linux and MacOS to compute the full path for directory listing.
R=sgjesse@google.com

Review URL: http://codereview.chromium.org//8351003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@628 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 12:58:07 +00:00
ngeoffray@google.com 5d8000445f Add a test for reporting a duplicate constructor.
Review URL: http://codereview.chromium.org//8379002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@627 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-24 11:01:44 +00:00
cshapiro@google.com 357018c164 Declare the index as an intptr_t when the count is also an intptr_t.
Review URL: http://codereview.chromium.org//8369022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@623 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-22 00:18:29 +00:00
iposva@google.com d04263d0c6 Revert https://code.google.com/p/dart/source/detail?r=597
Review URL: http://codereview.chromium.org//8370016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@622 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 23:22:18 +00:00
cshapiro@google.com 246c862749 Deserialize string data directly into a newly allocated object.
BUG=5283593

Review URL: http://codereview.chromium.org//8359023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@619 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 22:05:49 +00:00
cshapiro@google.com f52039f03c Implement case mapping using the Unicode default case mapping algorithm.
BUG=5425968

Review URL: http://codereview.chromium.org//8333001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@616 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 20:33:29 +00:00
antonm@google.com e7eafa9e35 Temporary suppress tests.
Review URL: http://codereview.chromium.org//8374008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@615 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 19:59:43 +00:00
ahe@google.com 9e98a26f9b Update status file.
Review URL: http://codereview.chromium.org//8375006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@614 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 19:58:44 +00:00
ahe@google.com e603fdbe6a Update status file.
Review URL: http://codereview.chromium.org//8371007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@613 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 19:48:48 +00:00
ahe@google.com 29caa3d361 Update co19 to revision 6.
Review URL: http://codereview.chromium.org//8372003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@612 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 19:37:59 +00:00
knorton@google.com 88284a224f Add checked mode option to CompileService.
Review URL: http://codereview.chromium.org/8361026/

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@608 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 17:49:47 +00:00
regis@google.com a019951eb9 Fix member overriding rules in VM according to latest spec.
Fix tests accordingly.
Review URL: http://codereview.chromium.org//8360022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@607 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 17:44:04 +00:00
sigmund@google.com c955d93a12 allow rounding errors on a couple arithmetic tests
Review URL: http://codereview.chromium.org//8359022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@605 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 17:09:34 +00:00
sgjesse@google.com ebe5b49e51 Added file missing from last commit
TBR=rchandia@google.com

Review URL: http://codereview.chromium.org//8364041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@604 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 15:36:15 +00:00
sgjesse@google.com 17f9c619db Rename getters in process object
stdinStream -> stdin
  stdoutStream -> stdout
  stderrStream -> stderr

R=rchandia@google.com

BUG=
TEST=

Review URL: http://codereview.chromium.org//8359033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@602 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 15:22:35 +00:00
benl@google.com 14ba02c66f Don't use the old generated files.
TBR=kasperl,floitsch
Review URL: http://codereview.chromium.org//8361035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@601 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 14:15:58 +00:00
benl@google.com e69fbbccc9 Review URL: http://codereview.chromium.org//8361032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@600 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 13:57:27 +00:00
jrgfogh@google.com fa8bd0833d Fixed TimerCancel1Test.
Review URL: http://codereview.chromium.org//8366038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@599 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 13:15:49 +00:00
antonm@google.com e0066aa4ea Igonre closure classes when looking for duplication.
Review URL: http://codereview.chromium.org//8363027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@598 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 12:46:34 +00:00
jrgfogh@google.com 3b3bef16e2 Fixed a problem with spurious wakeups.
Review URL: http://codereview.chromium.org//8362026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@597 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 12:30:48 +00:00
srdjan@google.com 584a6f81b4 Some performance improvements to make raytracer faster (e.g, support intensified operation in mixed double/smi, constant folding).
Review URL: http://codereview.chromium.org//8355041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@596 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-21 07:03:17 +00:00
asiva@google.com 61a641bdcf Add an imported into list for libraries so that it is possible to lookup
the local scope at the imported site in order to check if a variable is already
defined.

Added a check for duplicate definitions during class finialization which
checks for duplicate definitions.
Review URL: http://codereview.chromium.org//8342046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@593 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-20 23:29:06 +00:00
asiva@google.com b8d33a1372 Update test status and add new tests.
Review URL: http://codereview.chromium.org//8352011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@592 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-20 23:29:03 +00:00
asiva@google.com cdb8faeaf0 Fix intermittent simarm build breakage on macos.
cc1plus: warnings being treated as errors
./vm/object.h: In static member function 'static dart::RawString* dart::ClassFinalizer::FinalizeTypeWhileParsing(const dart::Type&)':
./vm/object.h:274: warning: variable 'this' might be clobbered by 'longjmp' or 'vfork'
Review URL: http://codereview.chromium.org//8361017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@591 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-20 23:03:43 +00:00
vsm@google.com 0b9a7bac6f Update status files to make build green
TBR=antonm

Review URL: http://codereview.chromium.org//8364016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@588 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-20 20:51:54 +00:00
nweiz@google.com c1ca81a9e4 Make DocumentFragment implement Element.
Review URL: http://codereview.chromium.org//8355019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@587 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-20 19:55:58 +00:00
codefu@google.com ad2d02ab52 Always use / with URI
R=jbrosenberg

Review URL: http://codereview.chromium.org//8322016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@586 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-20 17:29:21 +00:00