Commit graph

23172 commits

Author SHA1 Message Date
kevmoo@google.com 946e787de7 Remove utils/tests/archive
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34788 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 17:57:33 +00:00
zra@google.com 01ac0b3dc9 Removes stub from arm64 to fix build.
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34787 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 17:56:59 +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
whesse@google.com 9139d46d39 test.dart: Enable shortening of shorter generated test paths on Windows.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34780 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 15:28:47 +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
whesse@google.com 25c05ba8ea test.dart: Shorten long paths for generated test files on Windows.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34778 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 14:47:30 +00:00
fschneider@google.com 61b0757d05 Fix bug in closure call stub.
Since closure calls and method calls both use the same lazy-compile stub,
we need a GC-safe value in the IC data register also at closure calls.

TBR=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34777 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 11:47:13 +00:00
whesse@google.com f8348fe491 Add polymer 0.10 issues to status files.
BUG=dartbug.com/18057 dartbug.com/18059
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34776 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 09:52:18 +00:00
ahe@google.com 8db4e3ed9d Refactor code to prepare for line-based tokenization.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34775 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 09:31:55 +00:00
fschneider@google.com 9ed4cf1cb6 Simplify and improve handling of IC and megamorphic cache miss handling.
Instead of going back and forth from stub code to C++, perform
only the lookup in C++ and call target functions only from
stub code.

noSuchMethod and implicit closure invocations are now also work with
the megamorphic cache. Before they would go slow-case in the megamorphic case.

This CL eliminates the InstanceFunctionLookup stub that was previously
used to handle noSuchMethod and implicit closure invocations.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34774 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 09:27:43 +00:00
ajohnsen@google.com e229ac6db2 Fix long line.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34773 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 09:27:27 +00:00
ricow@google.com 3e1de5a6ad Correct suppression for flaky crashing pkg/http/test/http_test on simmips
This was wrongly marked as flaky crashing on simarm, sorry about that.

Updated subject on issue 18015 (the link in the bug correctly points to a simarm stdio)

R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34771 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 08:00:50 +00:00
ajohnsen@google.com 2333d0916a Don't create special path characters on windows.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34770 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 07:36:14 +00:00
ajohnsen@google.com 75a0668f6d Fix XSS issues in http_server's dir-listing and error-page.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34769 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 07:03:24 +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
sigmund@google.com afd0c018b2 Update polymer's changelog
Review URL: https://codereview.chromium.org//225903007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34754 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-05 00:58:32 +00:00
sigmund@google.com 47e238b613 Replace bootstrap logic with 'boot.js', use 'component/dart' mime-type and add
warnings to prepare users for the future breaking change in Dartium.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34753 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 23:42:34 +00:00
rnystrom@google.com d421874072 Don't allow overlapping source directories.
BUG=https://code.google.com/p/dart/issues/detail?id=17699
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34750 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 22:27:12 +00:00
koda@google.com b3535bf501 Extend Timer to track longest contiguous interval, and add GC timer.
R=turnidge@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34749 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 22:13:59 +00:00
rnystrom@google.com 10406f653e Pass RpcException error data through if it's not a map.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34748 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 22:09:27 +00:00
koda@google.com 5e4d540c27 Corrected resubmssion of r34736.
Fix: Division by page size in NeedsGarbageCollection.
Original description:

Generalize the interface of page space controller.

Gather used/capacity/external into SpaceUsage object,
and use it for testing whether GC is needed before or
after an allocation.

This refactor does not affect policy, but prepares for:
1. Replacing promotion failure check/tracking.
2. Better growth control for external allocation.

TBR=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34747 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 21:04:48 +00:00
sigmund@google.com f6d53f05dc Fix pubget error in the bots for html5lib.
Review URL: https://codereview.chromium.org//224903011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34746 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 20:51:31 +00:00
sigmund@google.com 19adebaff7 add CHANGELOG entry in html5lib before releasing.
Review URL: https://codereview.chromium.org//226643002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34744 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 20:47:03 +00:00
sigmund@google.com 5cda9425d8 Correctly generate code when using transformers in polymer-expressions.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34743 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 20:27:36 +00:00
sigmund@google.com dfef6d6726 Fix how document fragments are added on NodeList operations. The DocumentFragment node should be gone, and its children should be added in place.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34742 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 20:19:00 +00:00
koda@google.com 09b1d66049 Revert r34736 due to slowdown.
TBR=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34741 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 18:39:10 +00:00
kevmoo@google.com a08e5ceafe Removed pkg/json from SDK sources
v0.10.0 has been deployed to pub.dartlang.org and marked as deprecated

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34740 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 18:35:13 +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
kevmoo@google.com e59f00f1f4 pkg/shelf: removed hop, updated docs link to something useful
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34738 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 18:12:29 +00:00
turnidge@google.com d358d84eb7 Begin implementing flag --deoptimize-filter=FUNC for ia32.
Currently not functional - committing so that srdjan can investigate
why it doesn't work.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34737 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 18:05:37 +00:00
koda@google.com 00445b37ea Generalize the interface of page space controller.
Gather used/capacity/external into SpaceUsage object,
and use it for testing whether GC is needed before or
after an allocation.

This refactor does not affect policy, but prepares for:
1. Replacing promotion failure check/tracking.
2. Better growth control for external allocation.

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34736 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 17:46:15 +00:00
efortuna@google.com 8b029bc160 Run language tests on ie11, too to ensure it's not the test framework problem.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34735 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 16:44:39 +00:00
kevmoo@google.com 65df30abd1 pkg/json: deprecate encoding APIs - encourage usage of dart:convert instead
Moved entire implementation to shadow dart:convert
validate printOn and enable old tests

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34734 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 16:04:49 +00:00
sgjesse@google.com 8fba00e6de Update HTTP documentation
BUG= http://dartbug.com/17989
R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34733 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 13:05:17 +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
kmillikin@google.com a35ea7491a Support ExpressionStatement in the dart2dart backend.
Before, the only supported statements were blocks, empty statements,
and return statements.

This change requires supporting definitions (let-bound and continuation
parameters) that are unused in the CPS-based IR.  They translate to sequence
expressions in the Tree IR.

R=floitsch@google.com, karlklose@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34731 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 12:30:23 +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
ahe@google.com 0e8e7d1954 Detect concurrent edits.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34727 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 08:56:07 +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
sigmund@google.com c44997c1f7 Fix problems in compact vm config that occurred during async tests.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34722 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 22:47:19 +00:00
rnystrom@google.com 3a76fa1410 Remove old web socket API.
BUG=https://code.google.com/p/dart/issues/detail?id=17640
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34721 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 21:36:30 +00:00
rnystrom@google.com fa8a69fe6c Fix typo in doc comment.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34720 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 21:31:32 +00:00
nweiz@google.com 654a675bf6 Set pkg/oauth2 to PubGetError.
R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34719 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 20:34:45 +00:00