Commit Graph

19799 Commits

Author SHA1 Message Date
kasperl@google.com d897d356a9 Update metadata syntax test to check for non-existing constants and type literals (see issue 14647).
R=bak@google.com, hausner@google.com, scheglov@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29667 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 12:57:32 +00:00
ngeoffray@google.com 3f8030287f Fix bug in our SSA optimizations: by giving an empty type to a box, we were assuming that anything that comes out of it is greater than zero.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29666 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 12:40:12 +00:00
ngeoffray@google.com 9b65d2c83d Fix a bug in the way we deal with HTypeKnown instructions in our SSA type propagation phase.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29664 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 11:40:02 +00:00
fschneider@google.com 96b636b9a1 Update language.status for Dartium.
Some tests require the correct VM options to pass.
Filed issue 14651.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29663 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 11:39:05 +00:00
karlklose@google.com b0120f42b2 Fix language/static_final_field2_test to work with tree-shaking in dart2js.
R=sgjesse@google.com
BUG=dartbug.com/13017

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29662 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 11:34:34 +00:00
lrn@google.com b6b031d341 Update type signature of JSON codec.
The encode function should definitely return a String.
The decode function returns an object of one of a known set of types.
We can't specify that, but we can use dynamic instead of Object.
This allows a user to write: JSON.decode('{"x":42}')["x"] without
warnings.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29661 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 10:24:40 +00:00
lrn@google.com c00d3584d2 Remove implicit_setter_test.
Implicit throwing setters for final fields were reverted from the spec.

R=fschneider@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29660 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 10:22:11 +00:00
lrn@google.com 3ce40aeb10 Add types to annotation constants.
A user had the problem that "proxy" had priority over his instance
field, which is ok, but that he didn't get a warning because our
"proxy" was dynamic.

R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29659 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 10:18:21 +00:00
lrn@google.com eb9e33e328 Update documentation on .fromEnvironment. Make bool default be false.
I want more text, and examples of usage, alternative usage, etc.

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29657 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 09:33:18 +00:00
ricow@google.com cc19fd66b7 Mark lib/typed_data/uint32x4_list_test as flaky crashing on sim-mips
BUG: 14644

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29655 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 08:18:03 +00:00
sgjesse@google.com 264678ccf4 Update status file
Make correctly for both analyzers.

R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29652 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 07:37:02 +00:00
sgjesse@google.com c38de04d0c Change dart:io Platform.script to return a Uri.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29651 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 07:29:01 +00:00
ricow@google.com 8ee67b6b9b Suppress failure in html/js_test on IE9
BUG: 14645

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29650 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 07:28:27 +00:00
johnmccutchan@google.com 3f95f0894e Mark uint32x4_list as crashing on SIMMIPS
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29649 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 07:07:33 +00:00
ricow@google.com 9df3b9df0a Suppress failure in csp mode on new html/custom/js_custom_test
BUG: 14643

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29648 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 07:06:02 +00:00
ricow@google.com 916c9995af Suppress failure in csp mode on new html/custom/js_custom_test
BUG: 14643

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29647 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 07:05:36 +00:00
sgjesse@google.com f97b697ff9 Update status file
Analyzer cannot deal with the fromEnvironment const constructors.

R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29646 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 07:04:22 +00:00
sgjesse@google.com 239e561e60 Update status file
Treat drt and dartium the same for fromEnvironment

TBR=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29645 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 06:38:38 +00:00
sgjesse@google.com 4072a20392 Update status file
The analyzer cannot see compile-time errors in .fromEnvironment

TBR=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29644 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 06:13:51 +00:00
sra@google.com d5c7a05358 Fix to distingish Document from HtmlDocument on ie9
Review URL: https://codereview.chromium.org//46313005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29643 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 06:10:38 +00:00
sgjesse@google.com 36a67fa046 Implement fromEnvironment on bool, int and String
This implements const constructor fromEnvironment on bool, int and
String.

The VM have the added -Dname=value option to define the value for the
properties. All values are provided by using the -D - nothing is read
from the environment.

If the resulting value is null or - in the case of int.fromEnvironment
- not a number an ArgumentError is thrown.

This CL does not have any implementation for dart2js.

This is a continuation of the change
https://chromiumcodereview.appspot.com/24975002 by iposva@
BUG=
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29642 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 05:46:57 +00:00
johnmccutchan@google.com 29e9f7c75a Regenerate issue14236_test.dart
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29641 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 05:31:38 +00:00
johnmccutchan@google.com 96d142f2e9 Fix dart2js Uint32x4List in checked mode
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29640 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 05:16:48 +00:00
johnmccutchan@google.com 8a0fd8ce4d Add Uint32x4List to typed_data
R=asiva@google.com, srdjan@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29639 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 04:57:38 +00:00
justinfagnani@google.com b18fb9f535 Fix js_test on IE9
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29638 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 03:48:37 +00:00
vsm@google.com ab1cc61ce9 Revert "Marking js_test as failing on Dartium"
Dartium change has landed now.

R=justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29637 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 03:48:18 +00:00
jmesserly@google.com ecb7314ef2 fix warning in polymer script_compactor
Review URL: https://codereview.chromium.org//53253004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29634 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:54:56 +00:00
jmesserly@google.com e3a2bc779e fix observe tests
looks like I was testing locally against an older VM, before the recent fix for unknown types

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29633 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:50:36 +00:00
jmesserly@google.com 308c960be6 fix csslib and watcher warnings
R=rnystrom@google.com, terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29632 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:43:00 +00:00
jmesserly@google.com 489f51a41b fix barback and polymer build warnings
R=nweiz@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29631 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:41:01 +00:00
jmesserly@google.com 33fa4d5eba introduce ObservableList.listChanges to keep list changes separate from property changes
this is part of addressing: 13554, 14157, 13359

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29630 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:31:50 +00:00
blois@google.com f9f9a59a41 Marking js_test as failing on Dartium
Appears that the multivm integration is not happening??

Opened bug 14640

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29629 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:28:22 +00:00
floitsch@google.com 7006de6f23 Remove deprecated parts of dart:async.
Attempt to fix most uses of the deprecated features.

R=floitsch@google.com, nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29628 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:24:29 +00:00
whesse@google.com 4f08151090 Revert "Change dart:io Platform.script to return a Uri."
This reverts r29619 and r29624.  The changes look fine on the buildbot,
but need review before adding to the repository.

BUG=

TBR=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29627 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 02:17:37 +00:00
regis@google.com 587e9186f1 Second attempt at fixing analyzer buildbot redness.
Review URL: https://codereview.chromium.org//50493013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29626 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 01:51:20 +00:00
blois@google.com 39733ff298 Removing window.console.log from js_custom_test
IE does not declare window.console when debugger is not open.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29625 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 01:48:08 +00:00
whesse@google.com e57ff49c1b Fix bugs in Platform.script change.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29624 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 01:44:41 +00:00
justinfagnani@google.com 0dce271821 Add Event, HtmlCollection, NodeList and Window to transferrable types
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29623 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 01:43:38 +00:00
johnmccutchan@google.com 184c4439aa Extend Observatory to display libraries, classes, fields, functions and code.
R=sethladd@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29622 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 01:26:15 +00:00
kustermann@google.com ee6f22b91e Fix co19-dartium status, couple of tests are marked as expected to Fail but they actually pass on dartium.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29621 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 01:24:21 +00:00
whesse@google.com cb0110350a Change dart:io Platform.script to return a URI. Change all uses of Platform.script to work with the new value.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29619 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 01:08:11 +00:00
blois@google.com d5edc5c73e Disabling template wrapper GC test on dart2js
It's failing on dart2js because of browser differences in template nodes.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29618 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 01:01:40 +00:00
efortuna@google.com be09cc80cd Updated rectangle documentation to explain coordinate system.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29617 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 00:57:16 +00:00
regis@google.com 66c9d75971 Fix analyzer status file.
Review URL: https://codereview.chromium.org//53863002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29616 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 00:54:47 +00:00
floitsch@google.com 0c25691130 improve DateTime parsing a UTC timezone offset
BUG= http://dartbug.com/14550
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29615 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 00:53:21 +00:00
rnystrom@google.com c440d5398c Add missing import.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29614 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 00:48:32 +00:00
rnystrom@google.com ef6928d765 Handle long relative path dependencies better.
BUG=https://code.google.com/p/dart/issues/detail?id=14442
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29613 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 00:31:27 +00:00
blois@google.com 366b2364da Tests for premature GC of custom elements within template contents
BUG=14483
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29612 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 00:29:22 +00:00
srdjan@google.com cacd63cf7b Improve indexOf for one byte string receiver to work with other string classes.
Optimize access to core class’s class-ids.

R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29610 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 23:51:42 +00:00
efortuna@google.com 502c7c29c8 Allow matchingTarget to also include the currentTarget.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29609 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 23:32:39 +00:00