Commit Graph

79322 Commits

Author SHA1 Message Date
floitsch@google.com 61b7e92560 Tell the testing-framework that we started the tests.
Review URL: http://codereview.chromium.org//8430005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@956 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-31 17:00:10 +00:00
srdjan@google.com db15f36789 Print also comments with --print_flags
Review URL: http://codereview.chromium.org//8413056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@955 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-31 16:48:21 +00:00
codefu@google.com 0a1c3461a8 New location for dartc_*.sh is Release_ia32 now that --mode is removed from
build.py

R=mmendez,ngeoffray
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@952 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-31 15:43:58 +00:00
ngeoffray@google.com 8033280bfc Update status file to get bot green.
Review URL: http://codereview.chromium.org//8335007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@948 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-31 13:40:45 +00:00
ngeoffray@google.com 5496005d1d Add optional arguments to our indexOf/lastIndexOf methods.
Review URL: http://codereview.chromium.org//8424012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@947 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-31 13:21:30 +00:00
antonm@google.com ba79fce312 Temporary suppress tests.
Review URL: http://codereview.chromium.org//8409008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@946 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-31 13:13:58 +00:00
olonho@google.com 8b39ed40eb Add missed size check for kTypeArray.
Review URL: http://codereview.chromium.org//8403041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@944 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-31 12:53:54 +00:00
ngeoffray@google.com 210fd33d0a Remove List.fromList constructor, and List.copyFrom. They are duplicates of the new range methods.
Review URL: http://codereview.chromium.org//8422005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@941 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-31 09:49:15 +00:00
ager@google.com 83539ca419 Add type checks to directory listing.
R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@940 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-31 09:37:07 +00:00
rnystrom@google.com b86e057931 Trying to make dartc happy again.
Review URL: http://codereview.chromium.org//8413064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@931 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-29 01:37:14 +00:00
rnystrom@google.com 1612a0ca01 Make dartc happy.
Review URL: http://codereview.chromium.org//8341127

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@930 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-29 01:24:53 +00:00
sra@google.com b1cdd76ec5 Revert "Revert "PEG Parser: under review at http://codereview.chromium.org/8399029""
This reverts commit 662a83bbf617fd8a008c3b55f7bf122be23dfd53.

Has added suppression to keep dartc green.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@929 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-29 01:14:18 +00:00
rnystrom@google.com bd3084a223 Remove temp sample script.
Review URL: http://codereview.chromium.org//8417044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@928 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-29 01:04:25 +00:00
rnystrom@google.com 9fde456594 Add command-line non-client support to unit test lib.
Review URL: http://codereview.chromium.org//8413058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@927 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-29 00:49:03 +00:00
regis@google.com 4609b5a7ea Standalone status file was updated too early.
Review URL: http://codereview.chromium.org//8417041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@924 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 22:32:37 +00:00
srdjan@google.com 002bb47821 Special code for equality comparison for Smi, allowing null on left or right without calling deoptimization. The full solution is to implement two arguments type feedback collection (maybe also collect null classes for
equality comparison?)
Review URL: http://codereview.chromium.org//8413047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@923 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 22:25:05 +00:00
regis@google.com 78353be760 Verify that user classes/interfaces do not extend/implement any of bool, num,
int, double, String, Function, or Dynamic.
Review URL: http://codereview.chromium.org//8416052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@922 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 22:24:18 +00:00
rnystrom@google.com ea194f4bea Get rid of use of dart:html in unittestlib.
Review URL: http://codereview.chromium.org//8341119

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@920 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 21:33:55 +00:00
hausner@google.com b4c4b6f13e Add two constructor tests
Check evaluation order of initializers.
Review URL: http://codereview.chromium.org//8341118

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@919 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 21:28:29 +00:00
asiva@google.com 9c7db339b8 Allocate and pass a resolved_path buffer to realpath as older macos versions
do not work when a NULL is passed in for resolved_path
Review URL: http://codereview.chromium.org//8400070

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@917 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 20:22:34 +00:00
nweiz@google.com 7ac8255b44 Add constructors to all the event classes.
Review URL: http://codereview.chromium.org//8404013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@914 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 19:48:50 +00:00
antonm@google.com 297c5379f0 Switch to .setTimeout instead of onContentLoaded to start running tests.
Review URL: http://codereview.chromium.org//8400065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@912 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 18:51:58 +00:00
rnystrom@google.com c61570068f Huge internal clean-up of unittestsuite:
- Get rid of UnitTestSuite class completely.
- Replace bool flags with a state machine.
- Remove some unneeded functions.
- Make some stuff private.
- Clean up generated HTML a bit.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@910 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 18:42:47 +00:00
asiva@google.com 477128d98b Update dartc test status.
TBR=zundel
Review URL: http://codereview.chromium.org//8400066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@907 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 18:09:45 +00:00
rnystrom@google.com 7fcb20ea44 Move JSON unit tests to new test API.
Review URL: http://codereview.chromium.org//8392022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@905 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 17:54:34 +00:00
asiva@google.com 69a41e4c4c - Add new test for regex
- Update test status
Review URL: http://codereview.chromium.org//8399016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@902 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 17:32:29 +00:00
asiva@google.com b245c234f0 Report NullPointerException when we try to construct a regular expression
using a NULL pointer.
Report NullPointerException instead of ObjectNotClosureException when the
closure object is Null.
Review URL: http://codereview.chromium.org//8363034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@901 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 17:32:29 +00:00
asiva@google.com eea0c4fd61 Fix the snapshot creation script for the new command line syntax.
Review URL: http://codereview.chromium.org//8414015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@900 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 17:14:35 +00:00
ngeoffray@google.com 76d42a78d6 Skip the test. It's timing out because we may be using d8 in debug mode. Will investigate.
Review URL: http://codereview.chromium.org//8400064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@899 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 17:14:01 +00:00
ngeoffray@google.com e0d529befb Remove 'dartc' as an arch for build.py.
Review URL: http://codereview.chromium.org//8417030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@895 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 16:21:46 +00:00
zundel@google.com a0af740e5b dartc is no longer a valid build architecture, use ia32 instead.
Also changed to build from top level instead of subdirectories.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@894 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 15:42:44 +00:00
rchandia@google.com 035fdaa49d Added builtin native call to exit the running vm
Total uses exit(int) to signal whether to stop or restart

R=iposva@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@893 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 15:32:33 +00:00
srdjan@google.com 8d69118676 More strict non-equal cleanups in library code
Review URL: http://codereview.chromium.org//8413018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@892 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 15:21:42 +00:00
whesse@google.com 38b7f4fdfb Re-enable standalone/StatusExpressionTest on dartium.
BUG=
TEST=standalone/StatusExpressionTest

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@888 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 12:05:47 +00:00
whesse@google.com 41b8b4a875 Fix type error in tools/testing/dart/status_expression.dart.
BUG=
TEST=standalone/StatusExpressionTest

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@887 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 11:47:36 +00:00
whesse@google.com 205ddb3ad1 Start adding files for Dart version of test script test.py.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@885 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 11:09:48 +00:00
ngeoffray@google.com 34b899fc7f Unbreak the build.
Review URL: http://codereview.chromium.org//8413033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@884 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 11:01:06 +00:00
ngeoffray@google.com 9acb7d6610 build.py will not accept --arch=dartc soon, so removing references and uses of --arch=dartc in the repo.
Review URL: http://codereview.chromium.org//8341103

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@882 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 10:39:30 +00:00
sgjesse@google.com 6568436be7 Explicitly handle listen sockets and connection sockets differently in Linux and Mac OS eventhandler
Previously the assumption was that an POLLIN event with no data available was from a listen socket with pending accepts. However a POLLIN event from a connection socket can have no data available if the data has been read before the event is processed.

R=ager@google.com

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@878 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 09:30:42 +00:00
sra@google.com 9aacf5aa62 Revert "PEG Parser: under review at http://codereview.chromium.org/8399029"
This reverts commit e9f4f54f10af8a0b808b0fd4a1ea54384df0d7d9.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@870 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 05:34:41 +00:00
sra@google.com 5801bcfbb3 PEG Parser: under review at http://codereview.chromium.org/8399029
Some features are not yet implemented (e.g. attributes).

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@869 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 05:12:12 +00:00
sra@google.com a718d4a579 Rename parameter to get around possible dartc bug.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@868 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 03:48:00 +00:00
sra@google.com f2da4b2010 Test with difficult to parse formal parameters.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@866 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 03:34:54 +00:00
regis@google.com d104e34a9f Add support for 'Dynamic' type in the VM.
Add a test and disable if for dartc.
Review URL: http://codereview.chromium.org//8403005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@862 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 00:00:31 +00:00
srdjan@google.com 959f4b519d Use strict equality when comparing with null, especially when null is a default value.
Review URL: http://codereview.chromium.org//8400038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@859 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-27 22:11:16 +00:00
rnystrom@google.com acbdba4a71 Clean up dartcombat tests to new API.
Review URL: http://codereview.chromium.org//8341039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@854 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-27 20:35:53 +00:00
sigmund@google.com a23f6229f0 Archive dartserver code
Review URL: http://codereview.chromium.org//8341078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@853 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-27 19:51:13 +00:00
scheglov@google.com b06998634f Use onError()
R=codefu@google.com,zundel@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@851 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-27 19:35:14 +00:00
srdjan@google.com 8966841501 bool != int (Windows has the best C compiler).
Review URL: http://codereview.chromium.org//8400030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@845 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-27 18:06:17 +00:00
srdjan@google.com e3d3c552bb Fix excessive reoptimization (guard test lost somehow). Fixes problems in Dart.
Review URL: http://codereview.chromium.org//8412004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@844 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-27 17:43:04 +00:00