Commit graph

39477 commits

Author SHA1 Message Date
John McCutchan 9f2a883739 Fix reload service protocol reporting
BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/2213753002 .
2016-08-04 09:34:04 -07:00
Florian Loitsch b8c12bc9ff Make Mac-port non-blocking.
Fixes issue #26790.

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

Review URL: https://codereview.chromium.org/2211523002 .
2016-08-04 15:58:20 +02:00
William Hesse cad5dd65cb Update status for Firefox 48
Also update status for Chrome on macOS.

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

Review URL: https://codereview.chromium.org/2215763002 .
2016-08-04 15:55:45 +02:00
Florian Loitsch ef4933df25 Better error-message when bind fails.
See #26790.

R=sgjesse@google.com

Committed: 34aed6a08b

Reverted: a1005bad7e

Committed: 8c4954492f

Reverted: 5ebcd3cda0

Committed: eaeb260244

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

Reverted: 90a194be3c
2016-08-04 14:45:01 +02:00
Carlo Bernaschina 5948909120 Fixed typos in observatory_sources and folder name
TBR=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2210103002 .
2016-08-03 20:09:17 -07:00
Carlo Bernaschina 60afd8bddd Converted observatory flag-list element
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2213613002 .
2016-08-03 19:53:05 -07:00
Carlo Bernaschina c9b1215870 Converted general-error tag
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2199403002 .
2016-08-03 18:16:19 -07:00
Carlo Bernaschina de0fabc425 Updated observatory_pub DEP
Fixes https://github.com/dart-lang/sdk/issues/25561

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2212703002 .
2016-08-03 17:57:08 -07:00
Jacob Richman 508dbbe1c9 DEPS AutoUpdate: dev_compiler
commit 9cc982b90f57c6132f648b0041c0b03bd23fcbfc
Author: Vijay Menon <vsm@google.com>

    Roll DDC to latest dart:html
2016-08-03 17:55:59 -07:00
Carlo Bernaschina 17bde049e0 Removed warnings from test
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2212643002 .
2016-08-03 17:55:26 -07:00
Carlo Bernaschina 937d281f7f Converted Observatory class-ref & library-ref elements
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2204973003 .
2016-08-03 17:48:42 -07:00
Jacob Richman 91d079b7cf DEPS AutoUpdate: dev_compiler
commit 4e13bd49effd370a542aae3ed044648292a8bfb6
Author: Vijay Menon <vsm@google.com>

    Regen with latest analyzer
2016-08-03 17:35:20 -07:00
Carlo Bernaschina f151384596 Dynamic host and port in vm-connect element
Fixes https://github.com/dart-lang/sdk/issues/24014

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2204943005 .
2016-08-03 17:20:18 -07:00
Ryan Macnak 978abe4e32 Tree-shaker: Use insertion in the work queue instead of "was compiled" as the criterion to retain a function.
Don't AddTypesOf(function) before the work queue is empty, or we may miss types in exception handlers that are not computed until the function is compiled.

R=fschneider@google.com

Review URL: https://codereview.chromium.org/2209893003 .
2016-08-03 16:57:55 -07:00
Todd Turnidge 27db90e56f Disable a test on windows which uses an illegal window filename character.
BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2207233002 .
2016-08-03 16:37:23 -07:00
Jacob Richman 3d58d8a7d8 DEPS AutoUpdate: dev_compiler
commit 73b9e73bec11431e48b22f75942acba923d37784
Author: Priscilla Lee <priscillalee@google.com>

    Added list of imports to library modules (needed in order to discover filepaths of summaries, allowing the dev_compiler to run in the browser).
2016-08-03 15:52:26 -07:00
Todd Turnidge 74ad64038a Allow weird characters (like ?) to appear in devfs filenames.
Closes #27011

BUG=
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2208223002 .
2016-08-03 15:43:37 -07:00
Todd Turnidge 4bcc85e37e From Regis: Remove regexp pattern from function name to avoid crash in debug mode. Fix service object to properly support regexp. Add regression test. (Review by Todd)
From Todd: Fix a problem in caching that Regis's change discovered in
the Observatory.  (Review by Regis)

From Ryan: Added teest.

BUG=
R=regis@google.com

Review URL: https://codereview.chromium.org/2207883004 .
2016-08-03 15:24:22 -07:00
Siva Annamalai 39ae4337dd Fix issue 27006 (safepoint assertion failure).
BUG=27006
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2206423002 .
2016-08-03 14:28:41 -07:00
Florian Loitsch 90a194be3c Enter a description of the change.
Merge branch 'master' into revert

Revert "Better error-message when bind fails."

This reverts commit eaeb260244.

Review URL: https://codereview.chromium.org/2213533002 .
2016-08-03 23:18:39 +02:00
Florian Schneider 9a68bad6fd During generation of the version.cc file, read the current Git hash.
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/2206953004 .
2016-08-03 14:16:39 -07:00
Jacob Richman 36c9514f04 Use Point<num> in dart:html for strong mode
Strong mode is (as of recently) inferring a stricter type (e.g., Point<double>) and causing breaking changes.

patch from issue 2211493003 at patchset 1 (http://crrev.com/2211493003#ps1)

BUG=

Review URL: https://codereview.chromium.org/2211563002 .
2016-08-03 14:09:10 -07:00
Jacob Richman 7f2950916e Fix so that logic to enable private user define @JS classes does not impact codegen for dart:html native classes where private classes are not an issue.
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org/2195453002 .
2016-08-03 14:03:39 -07:00
Florian Loitsch eaeb260244 Better error-message when bind fails.
See #26790.

R=sgjesse@google.com

Committed: 34aed6a08b

Reverted: a1005bad7e

Committed: 8c4954492f

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

Reverted: 5ebcd3cda0
2016-08-03 22:44:28 +02:00
Ryan Macnak ecbf3f7b31 Disable canonical verifier for precompiled.
Issue #27003

TBR=asiva@google.com

Review URL: https://codereview.chromium.org/2201163004 .
2016-08-03 13:43:06 -07:00
Konstantin Shcheglov 6cceb72ea7 Don't report removed sources as changed in CacheConsistencyValidatorImpl.
Also I believe we don't need this check anymore.
context.getLibrariesContaining(source).isEmpty &&
context.getLibrariesDependingOn(source).isEmpty)

1. It was not used in applyChanges(), which could probably cause losing
some dependencies.

2. Since https://codereview.chromium.org/2172143003 we record that
there are dependencies on the removed, so not existing, source. So,
when the source is added again, _sourceAvailable() will invalidate
its CONTENT and the whole transitive closure of its users.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org/2209493003 .
2016-08-03 13:30:09 -07:00
Brian Wilkerson 9169baca21 Attempt to fix failures under Windows
R=scheglov@google.com

Review URL: https://codereview.chromium.org/2209873002 .
2016-08-03 13:26:40 -07:00
Zachary Anderson 0e6f087942 Clear the error bit after reading the default trusted certs
fixes #26954

R=whesse@google.com

Review URL: https://codereview.chromium.org/2211453002 .
2016-08-03 12:24:35 -07:00
Stan Manilov 3237d789d1 Disallow assigning null to non-nullable variables
BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org/2200263004 .
2016-08-03 11:47:10 -07:00
John McCutchan 133c087cdb Become the old E.values into the new E.values
Fixes https://github.com/dart-lang/sdk/issues/26988

R=rmacnak@google.com

Review URL: https://codereview.chromium.org/2199173002 .
2016-08-03 10:46:40 -07:00
Brian Wilkerson 90267bbfe4 Guard against NPE
R=scheglov@google.com

Review URL: https://codereview.chromium.org/2200223002 .
2016-08-03 10:38:13 -07:00
Brian Wilkerson e2f74fc0a3 SDK implementations based on file_system rather than java_io
R=scheglov@google.com

Review URL: https://codereview.chromium.org/2207953002 .
2016-08-03 10:25:20 -07:00
Konstantin Shcheglov 30b2401907 Issue 25666. Add test for shadowing of a superclass member from other library.
R=brianwilkerson@google.com
BUG= https://github.com/dart-lang/sdk/issues/25666

Review URL: https://codereview.chromium.org/2204263002 .
2016-08-03 10:16:36 -07:00
Ryan Macnak 5ebcd3cda0 Revert "Better error-message when bind fails."
This reverts commit 8c4954492f.

This change broke the Android build.

Review URL: https://codereview.chromium.org/2201183004 .
2016-08-03 09:54:57 -07:00
Ryan Macnak 8c87121afe Revert "Tree-shaker: Use insertion in the work queue instead of "was compiled" as the criterion to retain a function."
This reverts commit 908309fe6d.

Review URL: https://codereview.chromium.org/2199263004 .
2016-08-03 09:34:10 -07:00
Konstantin Shcheglov 6f37f85215 Stress test for comparing analysis performed in two AnalysisContext instances with different options.
It takes a Git repository, a folder in this repository and creates two
AnalysisContext instances - with experimental and with stable
analysis options. Then for each Git revision it applies the changes
to Dart files in the folder to both contexts, analyzes and compares
analysis cache results.

The current implementation sets "finerGrainedInvalidation" to true for the experimental context.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org/2206783002 .
2016-08-03 09:06:59 -07:00
John Messerly 4c07f7224c fixes #26993, constant evaluation gets wrong type
like the todo suggested, we need to update staticElement too

R=leafp@google.com

Review URL: https://codereview.chromium.org/2207473004 .
2016-08-03 08:50:58 -07:00
John McCutchan af46b9dc55 Fix typo in status file
BUG=

Review URL: https://codereview.chromium.org/2203163003 .
2016-08-03 08:34:11 -07:00
John Messerly 0fe54a637a fix #26990, incorrect substitution of upper bound
We were handling the "extends" clause too early, when we did not have enough information to correctly substitute it. So we tried to substitute later on, but this breaks cases where we (correctly) inferred using the argument types.

The fix is to move the "extends" clause handling to a place where we have the inferred types for our preceding type variables available.

R=leafp@google.com

Review URL: https://codereview.chromium.org/2205993002 .
2016-08-03 08:31:14 -07:00
Sigmund Cherem 9aee504527 Remove unnecessary imports to tree.dart
R=het@google.com

Review URL: https://codereview.chromium.org/2203013003 .
2016-08-03 08:27:50 -07:00
John McCutchan 6a23dda952 Mark double_pow_test as failing with a runtime error for reload
BUG=

Review URL: https://codereview.chromium.org/2209683003 .
2016-08-03 08:03:16 -07:00
Florian Loitsch 8c4954492f Better error-message when bind fails.
See #26790.

R=sgjesse@google.com

Committed: 34aed6a08b

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

Reverted: a1005bad7e
2016-08-03 16:27:48 +02:00
Florian Loitsch a1005bad7e Revert "Better error-message when bind fails."
This reverts commit 34aed6a08b.

Review URL: https://codereview.chromium.org/2210523002 .
2016-08-03 15:47:15 +02:00
Florian Loitsch 873c6e4688 Don't close stdio/stderr when shutting down.
Fixes #26872.

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

Review URL: https://codereview.chromium.org/2204953002 .
2016-08-03 15:30:30 +02:00
Florian Loitsch 34aed6a08b Better error-message when bind fails.
See #26790.

R=sgjesse@google.com

Review URL: https://codereview.chromium.org/2205913003 .
2016-08-03 15:29:41 +02:00
William Hesse 17536f15f7 Update changelog with stable patch 1.18.1
BUG=
R=mit@google.com

Review URL: https://codereview.chromium.org/2202923004 .
2016-08-03 13:33:41 +02:00
Konstantin Shcheglov 77590f5ab1 Use unitMember/classMember/parameter names instead of offsets in index.
This fixes index for cases when element offset might change without
causing resolution of its users, e.g. incremental changes (like
inserting a whitespace) and incremental invalidation.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org/2203173002 .
2016-08-02 23:18:29 -07:00
John McCutchan a547fd531c Propagate UnhandledExceptionErrors returned by the tag handler in Reload
TBR=rmacnak

Review URL: https://codereview.chromium.org/2205573005 .
2016-08-02 19:08:45 -07:00
John McCutchan 35146c688e Fix reload handling of unwind / stackoverflow errors
BUG=

Review URL: https://codereview.chromium.org/2201283002 .
2016-08-02 18:27:35 -07:00
John McCutchan b8500cdd2d More reload status and bug fixes
TBR=rmacnak

Review URL: https://codereview.chromium.org/2209513003 .
2016-08-02 17:26:13 -07:00