Søren Gjesse
f9404b969b
Handle HTTP header parameters with empty values better
...
This handles the null issue reported.
Closes #26598
BUG= https://github.com/dart-lang/sdk/issues/26958
R=floitsch@google.com
Review URL: https://codereview.chromium.org/2225003002 .
2016-08-08 16:35:15 +02:00
Johnni Winther
e6241bc12d
Include constants in deferred computation.
...
This ensures that in-code constants are included in the deferred computation.
Currently the set of live constants is not computed in itself, so the constants
used in the computation are not the same - and they are generally larger than needed.
R=het@google.com
Review URL: https://codereview.chromium.org/2194173002 .
2016-08-08 14:39:58 +02:00
Johnni Winther
b036a29cbf
Add kind to ConstantValue.
...
In preparation for testing deferred constants.
R=het@google.com
Review URL: https://codereview.chromium.org/2199593003 .
2016-08-08 14:30:16 +02:00
Florian Loitsch
596723f0c3
Fix return type for JoinMulticast.
...
Fixes #27032 .
BUG= http://dartbug.com/27032
R=sgjesse@google.com
Review URL: https://codereview.chromium.org/2220983002 .
2016-08-08 12:22:30 +02:00
Michael Thomsen
7482613351
Add trailing comma support to changelog
...
BUG=
R=lrn@google.com
Review URL: https://codereview.chromium.org/2220963002 .
Committed: 8770a64d91
Committed: 06ccf2882c
2016-08-08 11:08:37 +02:00
Michael Thomsen
9970f043cb
Merge branch 'master' of github.com:dart-lang/sdk into comma
2016-08-08 11:05:58 +02:00
Michael Thomsen
f320755507
Fix formatting
2016-08-08 11:05:37 +02:00
Michael Thomsen
06ccf2882c
Add trailing comma support to changelog
...
BUG=
R=lrn@google.com
Review URL: https://codereview.chromium.org/2220963002 .
Committed: 8770a64d91
2016-08-08 11:04:46 +02:00
Michael Thomsen
5d08cce612
Feedback
2016-08-08 11:03:24 +02:00
Michael Thomsen
2e9613a27e
Merge branch 'master' of github.com:dart-lang/sdk into comma
2016-08-08 11:01:18 +02:00
Michael Thomsen
8770a64d91
Add trailing comma support to changelog
...
BUG=
R=lrn@google.com
Review URL: https://codereview.chromium.org/2220963002 .
2016-08-08 10:42:15 +02:00
Michael Thomsen
7bf14218e9
Merge branch 'master' of github.com:dart-lang/sdk into comma
2016-08-08 10:42:08 +02:00
Michael Thomsen
cfc2f577e1
Add link to building wiki page
...
BUG=
R=whesse@google.com
Review URL: https://codereview.chromium.org/2220353002 .
2016-08-08 10:41:51 +02:00
Michael Thomsen
8e642d6cb5
Add trailing comma support to changelog
2016-08-08 10:21:16 +02:00
Stephen Adams
36f52dd43f
Avoid modifying the set returned by getInterceptorsOn()
...
The returned set is shared.
This program generates a broken short-circuit interceptor ($n -> $din) due to modifying the cached shared set {n} to {d,i,n}
--------
J.toInt$0$n = function(receiver) {
return J.getInterceptor$din(receiver).toInt$0(receiver);
};
--------
import 'package:expect/expect.dart';
@NoInline()
@AssumeDynamic()
confuse(x) => x;
@NoInline()
foo(x) {
print(x.toInt());
bar(x);
}
@NoInline()
bar(x) {
print(x.toInt());
print(x.runtimeType);
}
main() {
int i = confuse(1);
foo(i);
double d = confuse(2.3);
foo(d);
}
--------
TBR=sigmund@google.com
Review URL: https://codereview.chromium.org/2215133003 .
2016-08-05 16:13:03 -07:00
William Hesse
e82a20b180
Change default Windows compiler to MSVS 2015 (VS version 14.0)
...
BUG=
R=zra@google.com
Review URL: https://codereview.chromium.org/2217393002 .
2016-08-06 00:12:56 +02:00
Zachary Anderson
a83edeee95
Add missing files to sources list
...
Review URL: https://codereview.chromium.org/2220683002 .
2016-08-05 14:19:04 -07:00
Zachary Anderson
2e3d56a9d6
Remove duplicate entry from source list
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2218173003 .
2016-08-05 14:11:29 -07:00
Terry Lucas
fa5741f325
Updated to reverted WebKit CL and updated status files to only skip the failing tests.
...
TBR=hausner@google.com
Review URL: https://codereview.chromium.org/2217343002 .
2016-08-05 13:17:00 -07:00
Carlo Bernaschina
3c786269cb
Converted Observatory class-tree element
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2212253002 .
2016-08-05 12:48:07 -07:00
Carlo Bernaschina
1d0ec7b74c
Always send typeClass field, if it is resolved
...
R=johnmccutchan@google.com , regis@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2223543002 .
2016-08-05 12:44:55 -07:00
Terry Lucas
182610962b
Get latest WebKit changes for -initializing_formal_access
...
TBR=hausner@google.com
Review URL: https://codereview.chromium.org/2221533002 .
2016-08-05 11:58:03 -07:00
Stan Manilov
f5f4bb4ebd
Disallow uninitialized non-nullable variables
...
Declaring a non-nullable variable without initializing it is a static
error. If a constant is declared instead (either run-time or
compile-time) the error handling logic is the same as before.
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org/2219653005 .
2016-08-05 11:07:46 -07:00
Zachary Anderson
b2c771263f
Update changelog for BoringSSL roll
...
R=asiva@google.com
Review URL: https://codereview.chromium.org/2217103003 .
2016-08-05 11:03:06 -07:00
Terry Lucas
c811e3c26e
Currently breaks Dartium. Will investigate with John.
...
Revert "Clear isolate callback data before running shutdowncallback"
This reverts commit aed6dd844d
.
TBR=jacobr@google.com ,johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2224543002 .
2016-08-05 11:01:51 -07:00
Stan Manilov
0648e2622b
Add example int doc for Iterable.expand
...
The expand function is not trivial and an example helps flesh out its
behaviour.
BUG=
R=floitsch@google.com
Review URL: https://codereview.chromium.org/2154933002 .
2016-08-05 10:34:38 -07:00
Zachary Anderson
fc42f03c13
Roll BoringSSL Forward
...
R=asiva@google.com
Review URL: https://codereview.chromium.org/2219933002 .
2016-08-05 09:56:03 -07:00
Jacob Richman
d165e4ebaa
DEPS AutoUpdate: dev_compiler
...
commit fa084164b620ea75cd2008c9dc317655a045ad6d
Author: Vijay Menon <vsm@google.com>
Mark recursive_inheritance_test as passing
2016-08-05 09:36:15 -07:00
Brian Wilkerson
17f917b342
Bump the version prior to publishing
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org/2218693003 .
2016-08-05 09:25:33 -07:00
John Messerly
efe9f1140d
fix #26965 , allow promotion from type param upper bound in strong mode
...
Also updates the changelog with this, and adds notes on a few other missing strong mode features.
R=leafp@google.com
Review URL: https://codereview.chromium.org/2214833002 .
2016-08-05 08:51:44 -07:00
Konstantin Shcheglov
cf962d4cc7
Tweak the rest of separator references to use the getter.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org/2214233002 .
2016-08-05 08:43:19 -07:00
Jacob Richman
e039890671
DEPS AutoUpdate: dev_compiler
...
commit e54f776b5d4ac5a5e94afc7a8cd0361715dedcf0
Author: Vijay Menon <vsm@google.com>
Run travis on trusty
2016-08-05 08:39:34 -07:00
John Messerly
1bb6da7937
fix #26414 , infer return types of local functions
...
R=leafp@google.com
Review URL: https://codereview.chromium.org/2209293002 .
2016-08-05 07:25:14 -07:00
John Messerly
8026c9509c
fix #26552 , improve null coalescing inference
...
R=leafp@google.com
Review URL: https://codereview.chromium.org/2217693003 .
2016-08-05 07:19:47 -07:00
Jacob Richman
4f7464da27
DEPS AutoUpdate: dev_compiler
...
commit 881a304f51a12869a5965cfaa55731d17cf73527
Author: Vijay Menon <vsm@google.com>
Reify type params on map literals
2016-08-05 07:17:18 -07:00
Florian Loitsch
99e5328eac
Revert "Return futures on Stream.cancel when possible."
...
This reverts commit 395e7aaa69
.
Review URL: https://codereview.chromium.org/2213193004 .
2016-08-05 14:32:14 +02:00
Florian Loitsch
395e7aaa69
Return futures on Stream.cancel when possible.
...
Deprecate returning `null`.
Also, fixes cases where transformations on a stream didn't forward the cancel future
Fixes #26777 .
BUG= http://dartbug.com/26777 .
R=lrn@google.com
Review URL: https://codereview.chromium.org/2202533003 .
2016-08-05 13:58:45 +02:00
William Hesse
8473409b9c
Archive SDK by git hash in addition to version number
...
This is needed for buildbot testers to download the SDK instead of building it.
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org/2218723003 .
2016-08-05 13:38:55 +02:00
Ryan Macnak
7a12b0cb60
Fix IA32 build.
...
Review URL: https://codereview.chromium.org/2214313002 .
2016-08-04 17:52:52 -07:00
Ryan Macnak
19716b351a
Reset most ICs by returning to the canonical empty data arrays.
...
We can't do this for the binary operators because they must be writable and not shared for the fast Smi op stubs to record invocation counts.
Suspected to help avoid races, see Issue #26946 .
Also remove some dead code and avoid TLS.
R=fschneider@google.com
Review URL: https://codereview.chromium.org/2217733002 .
2016-08-04 17:41:03 -07:00
Carlo Bernaschina
ba0f803fbe
Centralized event streams
...
R=turnidge@google.com
Review URL: https://codereview.chromium.org/2211603002 .
2016-08-04 17:11:16 -07:00
Paul Berry
70bd623f36
Add an "api signature" to summaries.
...
The API signature of a summary is an MD5 hash of the API of the code
being summarized. This will be used by analysis server to detect when
a summary needs to be relinked (because it was built with reference to
another summary whose API has since changed).
R=scheglov@google.com
Review URL: https://codereview.chromium.org/2216873003 .
2016-08-04 16:12:49 -07:00
John Messerly
98eeba1353
fix missing bool
type annotation on dynamicIsBottom
...
this was causing a strong mode error in the IDE
Review URL: https://codereview.chromium.org/2216093002 .
2016-08-04 16:05:30 -07:00
Regis Crelier
c8910f9d38
Update new test to check asserts only if they are enabled and remove VM option.
...
It seems like asserts are not supported correctly in product mode.
Review URL: https://codereview.chromium.org/2215143002 .
2016-08-04 16:01:19 -07:00
Sigmund Cherem
0eee4027a6
Delete dart_backend from compiler.
...
R=sra@google.com
Review URL: https://codereview.chromium.org/2213673002 .
2016-08-04 15:57:04 -07:00
John Messerly
3c38f96a0a
add a test for #26431 , which is now fixed
...
likely was fixed by the constructor inference changes
R=nweiz@google.com
Review URL: https://codereview.chromium.org/2214123002 .
2016-08-04 15:50:10 -07:00
John Messerly
9599cd6f50
fix #26512 , correct handling of fuzzy arrows in strong mode LUB
...
R=leafp@google.com
Review URL: https://codereview.chromium.org/2215873002 .
2016-08-04 15:47:27 -07:00
Stan Manilov
0707c616ef
Fix build crash
...
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org/2218623002 .
2016-08-04 15:40:27 -07:00
Todd Turnidge
f8ff7bd5c4
Delete NativeMessageHandler once a native port closes.
...
Closes #27002
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2217693002 .
2016-08-04 15:34:24 -07:00
Regis Crelier
fbbedf4f18
Introduce getter p on double in the VM to control fractional precision.
...
Add test.
R=asiva@google.com , fschneider@google.com
Review URL: https://codereview.chromium.org/2208473006 .
2016-08-04 15:18:00 -07:00