Commit graph

11388 commits

Author SHA1 Message Date
rnystrom@google.com d3f66b73e7 Ignore generated XCode project in nested directories.
Review URL: https://codereview.chromium.org//12036054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17495 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 21:08:29 +00:00
blois@google.com 416844a356 Fixing tests after event constructor change.
This broke Dartium because apparently Dartium has different validation on parameters (opened bug 8076). Also fixed the history test on IE, since the HashChangeEvent is not working there.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17494 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 20:46:44 +00:00
asiva@google.com f4fe42c280 Added macros OBJECT_IMPLEMENTATION and FINAL_OBJECT_IMPLEMENTATION
which have different implementations of 'operator=' and 'operator^='.
In the case of FINAL_OBJECT_IMPLEMENTATION we do not do the vtable setting
in these methods (Note the |= operator functionality is now subsumed into
the new implementation of "operator^=")
Review URL: https://codereview.chromium.org//12052033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17491 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 20:01:31 +00:00
srdjan@google.com f2d02edd3f Hide private corelib's method from stack trace in exceptions.
Review URL: https://codereview.chromium.org//12025038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17489 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 19:52:26 +00:00
blois@google.com edf1d5149f - Changing event constructors to use named parameters.
- Making more parameters optional.
- Converting remaining init*Event calls to constructors.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17488 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 19:43:21 +00:00
rnystrom@google.com 458aed6884 Add a README for path.
Review URL: https://codereview.chromium.org//12047035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17487 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 18:56:25 +00:00
hausner@google.com 74b36381d8 Limit textual representation of arrays in debugger
The debugger wire protocol choked when large arrays were present, because it tried to send the entire array as textual value. This change limits the size of the textual representation to about 256 characters. If elements are dropped, they are printed as …

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17486 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 18:41:00 +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 06a378f5dd Issue 7605. Check separately getters and setter implementation when check for abstratc members.
http://code.google.com/p/dart/issues/detail?id=7605

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17482 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:56:19 +00:00
scheglov@google.com e61663d00e Issue 7633. Report error when instance field is accessed from factory constructor.
http://code.google.com/p/dart/issues/detail?id=7633

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17479 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:45:41 +00:00
srdjan@google.com 06cd4ed7b2 Fix native lookup. Fix external byte arrays.
Review URL: https://codereview.chromium.org//12033036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17478 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:43:58 +00:00
rnystrom@google.com edf7ca2927 Add support for specifying SDK version constraints in pubspecs.
These constraints don't currently do anything, but these patch
gets them being parsed by pub.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17477 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:41:40 +00:00
scheglov@google.com b1bdb27a12 Issue 7802. Fix for redundant casts.
http://code.google.com/p/dart/issues/detail?id=7802

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17476 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:33:57 +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
floitsch@google.com 7caeca83f2 Mark isolate/mandel_isolate_test as flaky on FF.
Review URL: https://codereview.chromium.org//12038047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17471 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:16:02 +00:00
floitsch@google.com e311c1d421 Remove bad type.
Review URL: https://codereview.chromium.org//12047045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17469 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 16:46:41 +00:00
floitsch@google.com d9d74e53af Fix typos.
Review URL: https://codereview.chromium.org//12047051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17468 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 16:45:05 +00:00
floitsch@google.com e31cb232be Fix typo.
Review URL: https://codereview.chromium.org//12051041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17467 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 16:38:06 +00:00
kustermann@google.com a8f23597e9 Marked two tests flaky on safari
Review URL: https://codereview.chromium.org//12047049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17459 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 14:43:00 +00:00
floitsch@google.com ebd7d4a2d3 Don't emit documentation for collection-dev. It's supposed to be a hidden library.
Review URL: https://codereview.chromium.org//12036051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17458 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 13:55:25 +00:00
kustermann@google.com 6ca4e48671 Added a comment to clarify the interpretation of exit codes on windows
Review URL: https://codereview.chromium.org//12035052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17455 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 13:24:03 +00:00
karlklose@google.com 5c2a912228 Implement InterfaceType.asInstanceOf.
Review URL: https://codereview.chromium.org//11567009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17454 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 13:20:16 +00:00
ngeoffray@google.com 5823753ffc Regression test for issue http://code.google.com/p/dart/issues/detail?id=7448.
Review URL: https://codereview.chromium.org//11833037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17453 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 13:01:57 +00:00
ngeoffray@google.com 73f8d08c2d Fix host checked mode failure.
Review URL: https://codereview.chromium.org//11953047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17452 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 12:59:18 +00:00
johnniwinther@google.com 6e8302f735 Make dummy_compiler_test and recursive_import_test work.
Review URL: https://codereview.chromium.org//12041043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17450 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 12:45:17 +00:00
karlklose@google.com 219524fe77 Return correct helper for malformed type checks.
Review URL: https://codereview.chromium.org//12047040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17449 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 12:05:55 +00:00
floitsch@google.com 259bfd5137 Fix bad generic type and remove (broken) body from interface.
Review URL: https://codereview.chromium.org//12038044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17447 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 10:35:57 +00:00
ngeoffray@google.com 243a2505bb Do not eliminate instructions that might throw.
Review URL: https://codereview.chromium.org//11953044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17446 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 10:34:13 +00:00
johnniwinther@google.com 02b35698cd Fix issues 7069 and 7429
+ 2 patch errors revealed by the fix.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17445 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 10:29:54 +00:00
johnniwinther@google.com 35f3076523 Extract SourceFile aware provider/handler.
Review URL: https://codereview.chromium.org//11878017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17444 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 10:17:52 +00:00
ngeoffray@google.com f8d523ec77 Fix typo.
Review URL: https://codereview.chromium.org//12052037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17442 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 10:04:59 +00:00
ngeoffray@google.com fed0655e90 Cleanup how we handle side effects in HInstruction and put the right flags for HIs, modulo, truncate divide, and shift left.
Review URL: https://codereview.chromium.org//12051013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17441 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 09:56:05 +00:00
asiva@google.com a3515284ae Skip test ExternalizeConstantStrings on windows (investigate crash).
Review URL: https://codereview.chromium.org//12051034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17439 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 06:41:18 +00:00
asiva@google.com 4c796304dd Move verification of builtin_vtables into Dart::InitializeIsolate.
This ensures that we don't ASSERT on every handle assignment
(not an issue with release builds but should help the debug builds some).
Review URL: https://codereview.chromium.org//11867015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17438 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 06:13:18 +00:00
asiva@google.com 8579ac9bb5 Allow externalization of canonical strings also. Only restrict canonical strings
in the VM isolate heap.
Review URL: https://codereview.chromium.org//11969029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17437 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 05:57:29 +00:00
blois@google.com 7834eba896 Removing @DocsEditable from classes we have darttemplates for.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17436 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 00:35:17 +00:00
blois@google.com 7797222b05 Really fixing FF status now (and IE).
I had to rename the test group to avoid a name conflict, but for some reason my rename in the status file got lost.

Also working on a change for html_individual_config to do a full match of the test name.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17435 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 00:16:20 +00:00
rnystrom@google.com f053f356ee Clean up code that locates SDK and SDK version.
This is prep work for SDK constraints. It moves the SDK
version-related code out of SdkSource (which will go away at some
point) into its own library.

I also removed the need for the DART_SDK env variable. It will
still be used if set (which the tests need), but if not set, Pub
will locate the SDK.
Clean up a few static warnings.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17433 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 23:52:37 +00:00
blois@google.com 93e44a5da1 Fixing media status results on Firefox.
Basically the 'supported' group was executing the events tests as well, causing supported to fail. To fix this, I had to give the general group a name that the others did not begin with.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17432 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 23:23:09 +00:00
blois@google.com c63ae60625 Adding supported checks to media events.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17431 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:50:18 +00:00
blois@google.com 299ec70b31 Adding supported checks & test for SpeechRecognition APIs.
This is a re-submission of https://codereview.chromium.org/12026032/, the problem was that Dartium does not allow factory constructors with the same name as members.

Had to rename Event.type constructor to Event.eventType.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17430 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:42:01 +00:00
scheglov@google.com 76771f343e Issue 8006. Allow abstract modifier for typedef mixin applications.
http://code.google.com/p/dart/issues/detail?id=8006

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17429 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:39:32 +00:00
scheglov@google.com 23bf0056b3 Issue 8022. Report compile-time error when using mixing with not Object superclass.
http://code.google.com/p/dart/issues/detail?id=8022

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17428 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:28:42 +00:00
blois@google.com b0e5d99712 Reverting 17420 "Speech recognition APIs" which broke dartium.
TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17427 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 21:55:12 +00:00
scheglov@google.com 804db39323 Issue 7980. Report problem when type 'dynamic' is shadowed.
http://code.google.com/p/dart/issues/detail?id=7980

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17425 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 21:12:12 +00:00
scheglov@google.com d8d842ffe1 Issue 8038. Don't report 'is not a function type' if class has 'noSuchMethod'.
http://code.google.com/p/dart/issues/detail?id=8038

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17424 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 21:09:28 +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
blois@google.com 23b8686f50 Fixing Dartium build issue with speechrecognition API.
Dartium doesn't like params with same name as constructor.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17422 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 21:04:16 +00:00
blois@google.com dfecddc4c6 Triaging latest Safari test failures.
Just re-ordering and removing bug #'s from expected supported failures.

A number of the new failures seem odd and I'm having trouble reproducing many of them. Specifically the fileapi_test appears to be failing on tests that I didn't think would be executed at all, and the performance_api_test/peformance test should only fail if it does not throw an exception.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17421 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 20:46:33 +00:00