Commit Graph

79322 Commits

Author SHA1 Message Date
ahe@google.com 5ec1c193c2 Update co19 status
Review URL: https://chromiumcodereview.appspot.com//9316098

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3905 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 15:52:13 +00:00
ahe@google.com a10874cba4 Update to co19 revision 118.
Review URL: https://chromiumcodereview.appspot.com//9309080

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3904 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 15:25:51 +00:00
ngeoffray@google.com b262d3b35f Support noSuchMethod for methods that take named parameters.
Review URL: https://chromiumcodereview.appspot.com//9325023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3901 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 13:58:17 +00:00
ager@google.com 4078d7e4fd Fix at least one source of flakiness in SocketCloseTest.
We did not make sure to read all the bytes written to
a socket before moving on.

R=sgjesse@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9307082

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3899 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 13:40:11 +00:00
lrn@google.com dcb371fe47 Parse unary plus corretly (i.e., by ignoring it when it's valid).
Review URL: https://chromiumcodereview.appspot.com//9320064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3898 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 13:33:40 +00:00
whesse@google.com 6b08fe2894 Replace test.py with test_wrapper.py, a wrapper that calls test.dart.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9316094

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3897 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 13:32:59 +00:00
ahe@google.com da2bec0dfc Remove "complex matching" from co19.
Review URL: https://chromiumcodereview.appspot.com//9325024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3896 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 13:27:21 +00:00
whesse@google.com 79b646bb2a In test.dart, don't check that the shell or compiler executable exists if we are just listing tests.
BUG=
TEST=tools/test.dart --list

Review URL: https://chromiumcodereview.appspot.com//9317077

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3894 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 13:12:29 +00:00
ager@google.com 641cf84f6a Implement recursive directory deletion.
Additionally, make sure that the handler can be registered after
the operation in file and directory implementation:

  dir.delete();
  dir.deleteHandler = () => print('hest');

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9316066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3892 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 12:37:30 +00:00
whesse@google.com e7860a4f33 Change output of test.dart --list option, so it can be parsed automatically.
The framework that lets shared tests be run in Eclipse uses the output of this command, and this framework is tested when running test.dart --component=dartc dartc/junit_tests.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9315036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3891 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 12:19:20 +00:00
antonm@google.com da03b4eb47 Nuke DOMImplementation.hasFeature test for Dart support.
Review URL: https://chromiumcodereview.appspot.com//9310059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3890 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 12:17:28 +00:00
podivilov@google.com 60d5c020ab Mark HTMLElementTest as failing on Dartium (dataset is not implemented).
R=antonm@google.com

Review URL: https://chromiumcodereview.appspot.com//9316091

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3889 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 12:14:03 +00:00
whesse@google.com 0f1aa1b50d Fix error in standalone/StatusFileParserTest.
BUG=
TEST=standalone/StatusFileParserTest

Review URL: https://chromiumcodereview.appspot.com//9323029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3887 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 10:18:41 +00:00
whesse@google.com 8cf7a30c9e Move test.dart's check for missing test directories from co19 to general framework.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9320038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3886 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 09:47:00 +00:00
ngeoffray@google.com 40e28bfcd2 Generate a resolution error if a unary + is used for something other than numbers.
Review URL: https://chromiumcodereview.appspot.com//9310066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3885 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 08:55:04 +00:00
podivilov@google.com 238a7da6bd Keep 'raises' idl annotations.
Generated native callbacks need to know if operation may throw an exception.

R=sra@google.com

Review URL: https://chromiumcodereview.appspot.com//9309059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3884 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 08:34:44 +00:00
dgrove@google.com 4088f8cbd0 Fix issue 1494.
Review URL: http://codereview.chromium.org//9325014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3882 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 00:42:00 +00:00
efortuna@google.com 80908ff5cf Update language.status.
Review URL: https://chromiumcodereview.appspot.com//9309065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3881 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 23:29:06 +00:00
vsm@google.com bc8ed29b7a Skip WebGL test on all platforms
Review URL: https://chromiumcodereview.appspot.com//9307075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3880 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 23:27:03 +00:00
srdjan@google.com 0a61ec9e8d Fix frogium build by disabling test for frog, frogsh AND frogium.
Review URL: https://chromiumcodereview.appspot.com//9325007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3874 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 21:04:14 +00:00
efortuna@google.com acb397ad92 Fixing Windows buildbot exception.
Review URL: https://chromiumcodereview.appspot.com//9317060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3872 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 20:52:32 +00:00
srdjan@google.com 995c4689cf Add test for OutOfMemory in VM
Review URL: https://chromiumcodereview.appspot.com//9323012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3871 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 20:50:22 +00:00
srdjan@google.com e09ffd78db Fix build: Mac compiler does not complain about a missing return :-(. Eliminated return type, made function void.
Review URL: https://chromiumcodereview.appspot.com//9309063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3870 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 19:50:43 +00:00
srdjan@google.com 5d53270821 Intrinisifed more core library methods: isNaN, isNegative, cos, sin.
TODO: inline those methods in otpimized code.
Review URL: https://chromiumcodereview.appspot.com//9320023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3869 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 19:44:55 +00:00
scheglov@google.com d861694b20 Issue 561. Fix for methods named get/set/operator.
http://code.google.com/p/dart/issues/detail?id=561

R=zundel@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9301007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3866 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 19:18:22 +00:00
efortuna@google.com 7f85b28ff6 Fix windows performance tests.
Review URL: https://chromiumcodereview.appspot.com//9325002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3865 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 19:15:31 +00:00
turnidge@google.com 0ddd4c04e9 Dart_PropagateError, take 2.
This change hopefully takes care of the non-mac build issues.  The
checked mode failures are fixed in a separate cl.
Review URL: https://chromiumcodereview.appspot.com//9316071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3863 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 19:05:06 +00:00
srdjan@google.com e0e269e20a Fix failing builds: leg does not know about closures yet, debug VM builds take too long.
Review URL: https://chromiumcodereview.appspot.com//9309060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3862 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 18:54:31 +00:00
scheglov@google.com 4904608f7f Issue 1353. Remove invocation of named function literal from outside of literal.
http://code.google.com/p/dart/issues/detail?id=1353

According to Gilad named function literal is not visible in the outer scope.
Only function declaration is visible.

R=zundel@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9295016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3861 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 18:52:39 +00:00
turnidge@google.com a9128c3977 IllegalArgumentException test now passes, update status file.
Review URL: https://chromiumcodereview.appspot.com//9310067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3860 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 18:52:21 +00:00
antonm@google.com c3734e54f4 Restore common dom files.
Review URL: https://chromiumcodereview.appspot.com//9320041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3859 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 18:45:25 +00:00
turnidge@google.com f8368275bb Make IllegalArgumentException more forgiving about its arguments.
Review URL: https://chromiumcodereview.appspot.com//9307067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3858 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 18:38:15 +00:00
srdjan@google.com 92d6a081d0 Fix for issue r1469: DartVM appears to not GC closure reachable memory properly
(The issue was diagnosed and solved by Siva)

The problem appears when allocating large arrays that are stored in a context.
We allocate large arrays directly in the old space. The context in which these arrays are stored is in the new space. When we do an old gen GC we were not first scavenging the new space. As a result the large arrays still remained when we did the old-gen GC, resulting in OOM.

The fix is to do both a new gen scavenge and an old gen mark-sweep when we run out of space in the old gen.
Review URL: https://chromiumcodereview.appspot.com//9317054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3856 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 18:22:25 +00:00
podivilov@google.com 257bad96f0 Add support for native bindings generation to dartgenerator.py.
R=antonm@google.com,sra@google.com,vsm@google.com

Review URL: https://chromiumcodereview.appspot.com//9290020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3855 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 18:14:46 +00:00
dgrove@google.com 77253a0151 Remove fling, deftserver (used only by fling), and commons-codec
(used only by dartboard).

(I'll submit a change to the top-level LICENSE file once this goes in)
Review URL: http://codereview.chromium.org//9314025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3854 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 18:04:48 +00:00
antonm@google.com d65a7bd3eb Support passing DartVM flags via DART_FLAGS.
Review URL: https://chromiumcodereview.appspot.com//9320037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3847 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 15:04:27 +00:00
scheglov@google.com 0b61628ce3 Fix for extra memory consumption.
Especially in the big List.sort() test.

R=zundel@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9310061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3846 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 14:57:23 +00:00
ager@google.com 37499dce81 Rework Windows process handling.
- Use only one thread to wait for multiple process objects.
- Fix issue where reading from a closed pipe would print an
  error message on stderr.
- Remove the need to go to dart before removing a processinfo
  object from the list. Sometimes you never get there so we
  have to remove the process info object always.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9310053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3844 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 13:47:42 +00:00
whesse@google.com 6f84f2acc8 Allow test.dart to handle the co19 test suite if it is not checked out.
BUG=
TEST=tools/test.dart co19

Review URL: https://chromiumcodereview.appspot.com//9315052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3843 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 13:30:15 +00:00
sgjesse@google.com 085bb5496e Allocate a Dart_CMessage structure when decoding a message into C structures
Changed tests to use zone allocation for C structures.

R=asiva@google.com, turnidge@google.com

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9159066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3835 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 10:49:49 +00:00
antonm@google.com b20e8fbc61 Start transitioning to new API to start Dart.
Review URL: https://chromiumcodereview.appspot.com//9310024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3833 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 10:09:09 +00:00
sgjesse@google.com 3f035ecad0 Add support for lists and backward references when decoding a message to a Dart_CObject object
The C message reader can now read lists created like this:

  new List()
  new List<int>()
  new List<String>()
  new List<double>()
  new List<bool>()

The backward references are now resolved and already allocated
Dart_CObject objects are reused when there is a backward reference.

The reuse of the Dart_CObject objects poses the issue of which objects
where allocated with the supplied allocator and which where not.

Currently this will work best with a zone allocator. This will be added
to the tests in a subsequent change.

R=asiva@google.com, turnidge@google.com

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9303031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3831 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 09:55:18 +00:00
sgjesse@google.com 42b70dcddb Change the thread interface in runtime/platform and use it starting all threads
The platform thread interface (dart::thread) is now refactored to an
all static interface as suggested by iposva@ and asiva@. Use this
interface for running all threads in the VM.

R=ager@google.com, iposva@google.com

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9141005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3830 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 08:59:26 +00:00
sra@google.com 02009a3989 Make dart:dom implementation types private so they don't muddle the docs.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9317046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3828 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 03:58:07 +00:00
efortuna@google.com 7135c398da Fix client status for linux and Windows.
Firefox wasn't up to date on our linux buildbot, which was causing the failure.
Review URL: https://chromiumcodereview.appspot.com//9310043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3826 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 00:45:41 +00:00
rnystrom@google.com 83f745ae61 Correctly sort libraries by name, not key.
Review URL: https://chromiumcodereview.appspot.com//9316050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3825 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 00:44:20 +00:00
turnidge@google.com ae88492093 Revert Dart_PropagateError until I can track down the problems in
checked mode tests.

Sorry for the hubbub.
Review URL: https://chromiumcodereview.appspot.com//9314053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3823 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 23:39:28 +00:00
asiva@google.com f4a89b3260 Fix for issue 1456 - register libraries read from a partial snapshot
Review URL: https://chromiumcodereview.appspot.com//9314048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3822 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 23:18:14 +00:00
turnidge@google.com 1a722c7a04 Remove unused variable.
Review URL: https://chromiumcodereview.appspot.com//9315043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3821 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:53:02 +00:00
turnidge@google.com 26e24ede55 More fixes for non-mac builds.
- Don't use NULL in arithmetic in LongJump::IsSafeToJump
- Various functions need to return a faux value on unreachable branches.
Review URL: https://chromiumcodereview.appspot.com//9315041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3819 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 22:49:36 +00:00