Commit graph

31881 commits

Author SHA1 Message Date
Rico Wind f3c6339206 Switch over testing pub seperately from the the normal packages
This will call a new test script that Natalie will fill in the blanks of for pub testing.

This also moves pub from third_party/pkg_tested into third_party/pkg.

The corresponding changes to the buildbot is here:
http://src.chromium.org/viewvc/chrome?revision=295555&view=revision

R=nweiz@google.com, whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//1166093002.
2015-06-09 08:12:51 +02:00
Konstantin Shcheglov 25620e2e59 Remove extra CompileTimeErrorCode.DUPLICATE_DEFINITION.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1170863002
2015-06-08 22:58:32 -07:00
Siva Annamalai c67f93099f Fix for issue 23598, add a Dart_CreateLibrarySnapshot entrypoint to the API.
BUG=23598
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1168223002.
2015-06-08 18:05:16 -07:00
Ryan Macnak cef08e5674 Fix dartdoc for InstanceMirror.delegate and ClosureMirror. Avoid misleading use of the term 'evaluation'.
BUG=http://dartbug.com/15889
BUG=http://dartbug.com/20139
BUG=http://dartbug.com/21992
R=gbracha@google.com

Review URL: https://codereview.chromium.org//1144923012.
2015-06-08 17:41:34 -07:00
Ryan Macnak 304382c1b4 Add TypedData instance kinds.
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1157003003.
2015-06-08 17:30:11 -07:00
Natalie Weizenbaum dfd7844d2c Bring in the latest pub.
I want to make sure dart-lang/pub@7f0ddca9d2
makes it into 1.11.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//1170803002
2015-06-08 16:10:54 -07:00
John McCutchan 82d3caefc7 Fix code display in Observatory
BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1164413002
2015-06-08 14:55:26 -07:00
Sigmund Cherem 3ad612cdb2 Mark a couple co19 tests as passing now (didn't notice these on the initial CL
that made stacktraces identical)

TBR=sigurdm@google.com

Review URL: https://codereview.chromium.org//1168163002
2015-06-08 13:11:57 -07:00
Sigmund Cherem e20001a07f Don't crash when reporting an error
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//1157433014
2015-06-08 13:01:16 -07:00
Brian Wilkerson c60c313f59 Fix incremental resolver to work with new task model
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1169803003
2015-06-08 12:56:58 -07:00
Sigmund Cherem 1763aa3467 dart2js: reuse stack trace on rethrow
BUG= dartbug.com/15171
R=sigurdm@google.com

Review URL: https://codereview.chromium.org//1152023004
2015-06-08 12:27:49 -07:00
Paul Berry 2c533ac971 Create a TypeDefiningElement interface.
This interface is common to ClassElement, FunctionTypeAliasElement,
and the element for the pseudo-type "dynamic".  This should allow us
to avoid some unnecessary casting in the dev_compiler (see
https://codereview.chromium.org/1160223006/#msg11).

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1165213002
2015-06-08 11:29:02 -07:00
Paul Berry 12696cafe9 Fix a corner case of constant constructor dependency computation.
If a constant constructor does not contain an explicit call to
super(), and the base class lacks an explicit constructor, we need to
avoid marking the implicit base class constructor as a dependency,
since it is non-const.  (Note: this shouldn't occur very often in
real-world usage since is a compile-time error, but we still need to
be able to analyze it without throwing an exception).

Fixes the following test when the new task model is switched on:
co19/Language/07_Classes/6_Constructors/3_Constant_Constructors_A03_t02

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1168563004
2015-06-08 11:23:32 -07:00
Konstantin Shcheglov b916cbffa4 Don't run old implementation tests with 'useTaskModel == true'.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1159153004
2015-06-08 11:03:35 -07:00
Rico Wind 0ca8b30a18 Change a few github repo dependencies to use the GOB mirror
R=devoncarew@google.com
BUG=

Review URL: https://codereview.chromium.org//1170753002
2015-06-08 19:24:29 +02:00
Asger Feldthaus d01d394af7 dart2js cps: Type casts and related changes to type propagation.
We now optimize type casts that always fail or always pass.
Type propagation has been refactored a bit to make this work.

A new IR node Unreachable has been added. This is an node that is known
to be unreachable and is ultimately compiled to an empty statement.

BUG=
R=karlklose@google.com

Review URL: https://codereview.chromium.org//1153603006
2015-06-08 17:02:47 +02:00
Vijay Menon 1aae7d282e Remove obsolete file
R=ricow@google.com

Review URL: https://codereview.chromium.org//1163293002
2015-06-08 06:45:21 -07:00
Stephan Herhut e4255659dd dart2js: Do not emit type metadata for fields declared in non-reflectable classes.
BUG=
R=karlklose@google.com, zarah@google.com

Committed: 67537ffbd7

Reverted: 6cc3bd1124

Committed: a1b630641e

Reverted: 5af9221e1b

Review URL: https://codereview.chromium.org//1169453005
2015-06-08 15:35:25 +02:00
Rico Wind b35b14e94f Fix annotated steps for dart_sdk
Stray : at the end of the force line (used to be an if)

R=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//1167523006
2015-06-08 15:27:12 +02:00
Rico Wind 74759d5771 Remove GetSVNRevision from tools/utils.py
Also change all callsites to use git.

I have a pending request to Vijay for info on what tools/dartium/deploy_aar.py is for.

BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org//1166743005
2015-06-08 14:56:58 +02:00
Rico Wind f273093a4b Actually clobber on be sdk bots if the flag is set
Still clobber unconditionally on the dev/stable bots

R=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//1160793008
2015-06-08 14:54:32 +02:00
Johnni Winther 6fc3592842 Refactoring resolution of local access and unqualified access of statics
BUG=
R=karlklose@google.com

Committed: 58896b74ce

Reverted: 1807369aa1

Review URL: https://codereview.chromium.org//1149403009
2015-06-08 14:51:52 +02:00
Johnni Winther 4db19f3451 Begin to compute constant expressions in resolution.
BUG=
R=karlklose@google.com

Review URL: https://codereview.chromium.org//1170673002
2015-06-08 14:42:35 +02:00
Stephan Herhut 5af9221e1b Revert "dart2js: Do not emit type metadata for fields declared in non-reflectable classes."
This reverts commit a1b630641e.

BUG=
TBR=karlklose@google.com

Review URL: https://codereview.chromium.org//1149323008
2015-06-08 14:25:36 +02:00
Johnni Winther 1807369aa1 Revert "Refactoring resolution of local access and unqualified access of statics"
This reverts commit 58896b74ce.

BUG=

Review URL: https://codereview.chromium.org//1160313006
2015-06-08 12:55:24 +02:00
Stephan Herhut a1b630641e dart2js: Do not emit type metadata for fields declared in non-reflectable classes.
BUG=
R=karlklose@google.com, zarah@google.com

Committed: 67537ffbd7

Reverted: 6cc3bd1124

Review URL: https://codereview.chromium.org//1169453005
2015-06-08 12:53:54 +02:00
Sigurd 28be4b3243 Revert "Reenable async-tests on macos chrome - they are not failing anymore."
This reverts commit 3d5f2b45bf.

Seems my script checked for the wrong thing.

BUG=

Review URL: https://codereview.chromium.org//1158853005
2015-06-08 12:52:59 +02:00
Johnni Winther 58896b74ce Refactoring resolution of local access and unqualified access of statics
BUG=
R=karlklose@google.com

Review URL: https://codereview.chromium.org//1149403009
2015-06-08 11:53:59 +02:00
Stephan Herhut 6cc3bd1124 Revert "dart2js: Do not emit type metadata for fields declared in non-reflectable classes."
This reverts commit 67537ffbd7.

BUG=
TBR=karlklose@google.com

Review URL: https://codereview.chromium.org//1148373004
2015-06-08 11:49:06 +02:00
Seth Ladd 8e960c1318 Merge pull request #23589 from dart-lang/sethladd-patch-6
Change link to reporting bugs for analyzer package
2015-06-08 11:32:27 +02:00
Stephan Herhut cefd7f7d52 dart2js: Add comment in buildTypeArgumentRepresentations.
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1143243002
2015-06-08 11:31:12 +02:00
Stephan Herhut 67537ffbd7 dart2js: Do not emit type metadata for fields declared in non-reflectable classes.
BUG=
R=karlklose@google.com, zarah@google.com

Review URL: https://codereview.chromium.org//1169453005
2015-06-08 11:27:22 +02:00
Sigurd 3d5f2b45bf Reenable async-tests on macos chrome - they are not failing anymore.
It seems that the new chrome does not trigger the bug.

BUG= https://github.com/dart-lang/sdk/issues/22695
R=whesse@google.com

Review URL: https://codereview.chromium.org//1149633010
2015-06-08 11:04:42 +02:00
Johnni Winther c03bbb79f9 Let Backend determine support for deferred loading.
BUG=
R=ajohnsen@google.com

Review URL: https://codereview.chromium.org//1149303006
2015-06-08 10:11:00 +02:00
Brian Wilkerson 7230007d52 Fix several tests when the new task model is enabled
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1164223002
2015-06-07 19:31:04 -07:00
Ivan Posva cb86eb65c9 - Roll Dartium DEPS.
BUG=

Review URL: https://codereview.chromium.org//1170683002
2015-06-07 21:29:45 +02:00
Ivan Posva f5e3f94019 Fix http://dartbug.com/23578:
- Complete revamp of isolate-specific flags.
- Associate flags with the isolate on creation.
- Dart_CreateIsolate and associate callback do take an
  extra flags argument.
- Make sure to clear IC data array when clearing code.

BUG=23578

Review URL: https://codereview.chromium.org//1162033005
2015-06-07 17:57:34 +02:00
Johnni Winther deb1697fa9 Test all methods in semantic_visitor_test.
BUG=
R=karlklose@google.com

Review URL: https://codereview.chromium.org//1152013006
2015-06-07 10:30:55 +02:00
Brian Wilkerson add5a6910d Remove many explicit references to AnalysisContextImpl and enable testing of the new task model
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1150863007
2015-06-06 08:30:38 -07:00
Siva Annamalai da0363172a Fix for issue 192 in domokit/mojo
Serialize Mint objects as is and at the receving side convert them to Smi or Mints depending on the target architecture.

BUG= 192 from domokit/mojo
R=srdjan@google.com

Review URL: https://codereview.chromium.org//1151573022
2015-06-05 14:45:17 -07:00
Seth Ladd ac1b0cf8ac Merge pull request #23585 from dart-lang/sethladd-patch-2
Removing Polymer from core SDK API's homepage
2015-06-05 14:20:34 -07:00
Konstantin Shcheglov 811877df42 Invalidate resolution of analysisOptions/sourceFactory changes.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1167483004
2015-06-05 14:09:12 -07:00
Konstantin Shcheglov 787e9fcf7f Reanalyze after creating a referenced part.
We need to finish linking CompilationUnitElement(s) to LibraryElement(s)
even for not existing sources. Otherwise we get NPE later and leave
model in the ERROR state.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1168743002
2015-06-05 11:29:04 -07:00
Paul Berry e8fe98ecb6 Update status file to work around bug #23595
BUG=dartbug.com/23595
TBR=pquitslund@google.com

Review URL: https://codereview.chromium.org//1170593003
2015-06-05 09:33:14 -07:00
Brian Wilkerson ba4523df1a Add correct test for issue 23523
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1166503004
2015-06-05 09:20:54 -07:00
Konstantin Shcheglov 1c1497ff98 Another tweak for displaying performance.
1. It is still interesting to see performance tags, even with the next task model.

2. Factor out "WorkOrder.moveNext" as a separate performance tag, something like "intertask" for new tasks.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1161183004
2015-06-05 09:19:28 -07:00
Paul Berry 3fd32d4d05 Pull in latest analyzer_cli.
The latest update to analyzer_cli makes it analyze all files using a
single context, so it can re-use analysis results; this makes it much
faster when analyzing large projects (~13x faster at analyzing pub,
for example).

On a temporary basis, this CL pulls in analyzer_cli using a git SHA
rather than a tag, since the new analyzer_cli features don't have a
release tag yet.  Once they have been validated on the buildbots, I'll
assign a release tag and update DEPS to point to it.

R=pquitslund@google.com

Review URL: https://codereview.chromium.org//1170543003
2015-06-05 09:07:15 -07:00
Seth Ladd 9326f9d79a update one-line docs for svg, gl, audio
BUG=
R=vsm@google.com

Review URL: https://codereview.chromium.org//1163163004
2015-06-04 16:39:02 -07:00
Seth Ladd ac4bc7c0e7 Merge pull request #23590 from dart-lang/sethladd-patch-3
one-line description for web audio
2015-06-04 16:23:38 -07:00
Seth Ladd 7a0e422980 Merge pull request #23592 from dart-lang/sethladd-patch-5
one-line description for SVG
2015-06-04 16:22:01 -07:00