Commit Graph

9394 Commits

Author SHA1 Message Date
zarah@google.com da02c01660 Remove redundancy in source map entries.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34866 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 09:49:10 +00:00
whesse@google.com ec298a01f8 Add new failures to status files, assign issues.
BUG=dartbug.com/18113
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34863 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 08:30:24 +00:00
johnniwinther@google.com fbe2b8bcc7 Compute frontend/backend specific constants.
BUG=
R=floitsch@google.com, karlklose@google.com

Committed: https://code.google.com/p/dart/source/detail?r=34811

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34862 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 07:40:54 +00:00
srdjan@google.com 3658a1a6de Fixes issue 18099: missed type guard dependency in implicit getters.
R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34855 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 23:56:49 +00:00
whesse@google.com d4cb569197 More co19 status updates. co19 roll to r706.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34848 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 22:44:52 +00:00
sra@google.com 1eab259990 map_literal4_test works only in checked mode
TBR=floitch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34847 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 22:43:11 +00:00
hausner@google.com e86954ab57 Placate analyzer
Review URL: https://codereview.chromium.org//229543002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34846 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 22:40:18 +00:00
hausner@google.com 625b564a4b Fix instance method resolution with abstract accessors and methods
Fix issue 18082

R=gbracha@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34845 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 22:14:24 +00:00
whesse@google.com 75b21f7b72 Add new co19 flaky tests to the status files
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34842 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 20:57:44 +00:00
sra@google.com 200aad53d1 Redo "Construct literal maps using factory constructor."
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34841 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 20:51:47 +00:00
sra@google.com aa38fdd15b Revert "Construct literal maps using factory constructor."
TBR=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34837 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 19:54:40 +00:00
sra@google.com ba331a66ce Construct literal maps using factory constructor.
Fixes issue 12891

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34836 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 19:38:05 +00:00
srdjan@google.com 4f58e0d27c Disable a crashing test.
Review URL: https://codereview.chromium.org//229033002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34835 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 19:05:28 +00:00
whesse@google.com f348148caf Add to co19 status files after co19 roll.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34830 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 15:42:41 +00:00
whesse@google.com 55546df84a Update co19 test suite to r706
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34826 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 14:48:59 +00:00
floitsch@google.com 07b6c4739e Add support for closure calls through getters.
Support reflect(o).invoke(#bar) where bar is a getter.
library.getField(#foo) where `foo` is a method.

BUG= http://dartbug.com/15138
R=karlklose@google.com

Committed: https://code.google.com/p/dart/source/detail?r=34555
Reverted: https://code.google.com/p/dart/source/detail?r=34556

Committed: https://code.google.com/p/dart/source/detail?r=34779
Reverted: https://code.google.com/p/dart/source/detail?r=34782

Committed: https://code.google.com/p/dart/source/detail?r=34818
Reverted: https://code.google.com/p/dart/source/detail?r=34820

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34823 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 13:27:37 +00:00
lrn@google.com 1ffd31fcde Fix assert in dart:math/Rectangle.
Didn't pass NaN down the correct path, and failed an assertion.
Added tests.

BUG= http://dartbug.com/17734
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34822 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 13:12:21 +00:00
ajohnsen@google.com 8d44da35c4 Add bufferOutput to HttpServer, HttpResponse and HttpClientRequest.
Setting bufferOutput to false will disable our internal buffering, and
write the buffers directly to the socket.

BUG=https://code.google.com/p/dart/issues/detail?id=14953
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34821 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 13:07:18 +00:00
floitsch@google.com 8cdf6bde8e Revert "Add support for closure calls through getters."
This reverts commit r34818.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34820 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 13:06:15 +00:00
lrn@google.com 9069c292c6 Also mark string_case_test failing on dart2dart-vm.
Review URL: https://codereview.chromium.org//228493002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34819 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 11:30:40 +00:00
floitsch@google.com 6c9c0642a0 Add support for closure calls through getters.
Support reflect(o).invoke(#bar) where bar is a getter.
library.getField(#foo) where `foo` is a method.

BUG= http://dartbug.com/15138
R=karlklose@google.com

Committed: https://code.google.com/p/dart/source/detail?r=34555
Reverted: https://code.google.com/p/dart/source/detail?r=34556

Committed: https://code.google.com/p/dart/source/detail?r=34779
Reverted: https://code.google.com/p/dart/source/detail?r=34782

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34818 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 11:27:00 +00:00
johnniwinther@google.com eb2cc7614b Revert "Compute frontend/backend specific constants."
This reverts commit r34811.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34816 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 10:18:09 +00:00
ajohnsen@google.com 402774f9a0 Make File:openRead always have one outstanding read, when invoking callbacks.
This sligly improves latency for reading. Note that pause/resume is less
precise now, but it was never a guarantee exactly _when_ pausing would
take place.

BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34814 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 08:58:13 +00:00
lrn@google.com 88ba8efed9 Optimize one-byte string's toUpperCase.
R=ajohnsen@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34812 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 07:19:33 +00:00
johnniwinther@google.com 33c86b9fcd Compute frontend/backend specific constants.
BUG=
R=floitsch@google.com, karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34811 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 07:11:45 +00:00
jwren@google.com 3f6af0d71a Fix for 15979- class aliases now have missing concrete members warnings generated on them.
This CL also changes the ErrorVerifier.visitClassTypeAlias() method to more closely resemble ErrorVerifier.visitClassDeclaration(), a change is made to tests/lib/mirrors/abstract_class_test.dart, and a bug issue is fixed in TestTypeProvider.

Is there a better way to indicate that there is a warning on a line in a test file?

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34802 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 23:30:05 +00:00
hausner@google.com 2b4e3c7c99 Implement deferred constant support
Compile time constants lose their const-ness if they are referred
to through a deferred prefix. This CL adds a flag to some ast node
types that remembers whether a field or closure was referred to
via a deferred prefix. If so, the compile-time const analysis flags
the value as non-const.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34785 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 17:31:32 +00:00
floitsch@google.com b7fefddf34 Revert "Add support for closure calls through getters."
This reverts commit r34779.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34782 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 15:58:49 +00:00
floitsch@google.com 569e0f50ed Add support for closure calls through getters.
Support reflect(o).invoke(#bar) where bar is a getter.
library.getField(#foo) where `foo` is a method.

BUG= http://dartbug.com/15138
R=karlklose@google.com

Committed: https://code.google.com/p/dart/source/detail?r=34555
Reverted: https://code.google.com/p/dart/source/detail?r=34556

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34779 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 15:02:01 +00:00
kevmoo@google.com 7aad450550 dart:convert: support indented output w/ JsonEncoder
BUG= https://code.google.com/p/dart/issues/detail?id=7846
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34758 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-05 20:09:21 +00:00
kevmoo@google.com 0f19d67874 tests/html/xhr_test - progress is not called
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34757 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-05 17:46:04 +00:00
kevmoo@google.com b16286c0e1 tests/html: removed usage of deprecated unittest features
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34755 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-05 01:01:48 +00:00
regis@google.com 91388a5f79 Simplify and fix instantiation of recursive types.
Add tests for non-contractive types.
Cleanup language tests status file.
Enhance tracing of type finalization.

R=hausner@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34739 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 18:27:53 +00:00
karlklose@google.com db46884a14 Emit classes that are only referenced by type literals.
R=kmillikin@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34732 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 12:57:14 +00:00
zarah@google.com 0cdd09effa Add test for checking sources in source map file.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34730 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 11:32:16 +00:00
karlklose@google.com e1d588ff6e Fix fyi debug test expectations.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34729 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 10:03:18 +00:00
floitsch@google.com 47a1edad2b Move mirrors-test from dart2js_extra to lib/mirrors.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34728 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 09:48:31 +00:00
herhut@google.com 4f3939dc5d Allow use of [keys] from a map by using different bailout strategy.
BUG=
R=floitsch@google.com, karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34726 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 08:06:17 +00:00
karlklose@google.com e6cd701ee6 Mark isolate/spawn_uri_multi_test as passing on CSP.
R=herhut@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34725 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 08:05:56 +00:00
karlklose@google.com 6995d6a5b0 Fix dart2js_extra/type_error_message_test work in minified mode.
R=sigurdm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34724 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 07:50:07 +00:00
srdjan@google.com 6d56854a9a Add optimization for pow(base, 0.5) to the other architectures as well.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34717 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 19:44:18 +00:00
jwren@google.com c38bb2fc79 Fix for 16134- class members modify the set of members that are inherited from superclasses.
As part of this fix, 4 tests now fail in the language test, issue 17983 was created with the bug, and failing tests are also introduced to show the issue.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34707 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 17:39:04 +00:00
kevmoo@google.com 6e3128596c lib/convert: removed unused import, removed redundant test
Re-enabled checks in existing test

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34703 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 13:41:55 +00:00
sigurdm@google.com 9150d1ce0c Revert "Load deferred chunks in the right order."
This reverts commit 34698.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34702 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 12:47:20 +00:00
ahe@google.com 2d98af37c6 Fix checked-mode problem
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34699 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 12:24:35 +00:00
sigurdm@google.com 22d8c97cd2 Load deferred chunks in the right order.
A chunk can depend on classes in shared chunks. Therefore sort they are
sorted, and loaded sequentially.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34698 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 12:15:18 +00:00
ahe@google.com 9b640e9e8c end_to_end_test detects errors instead of timing out.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34690 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 11:07:05 +00:00
johnniwinther@google.com c3e1ed3766 Update csp status.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34687 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 08:58:26 +00:00
sigurdm@google.com 0d8f355788 Improve the mirror support for deferred loading by registering elements only included by mirror-usage seperately.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34685 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 08:01:17 +00:00
iposva@google.com dd7d6dd375 - Handle doubles transferred in message snapshots specially.
- Do not encode doubles using integer compression.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34681 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 00:58:14 +00:00