Commit Graph

18596 Commits

Author SHA1 Message Date
scheglov@google.com 681ad9549e Quick fix for analyzer_experimental field/pproperties problem.
TBR

R=danrubel@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28027 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 21:34:49 +00:00
srdjan@google.com db2516d7c2 Add a is_recognized bit to function kind field. Improves performance of method recognizer and thus the compilation speed.
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28026 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 21:00:59 +00:00
efortuna@google.com d06cbc3f28 Adjust HTTP Request docs.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28025 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 20:49:33 +00:00
blois@google.com 5eed34b47d Running entered & left view events in Dartium
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28023 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 19:48:53 +00:00
regis@google.com 3d1b108dc5 Third try: "Slow" does not imply "Pass".
Review URL: https://codereview.chromium.org//25112003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28022 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 19:41:24 +00:00
regis@google.com 4dc34bb9f2 Mark recently enabled test as slow on simmips as well.
Review URL: https://codereview.chromium.org//25043003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28020 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 17:19:24 +00:00
regis@google.com d7d6f9c6ba Mark recently enabled test as slow on simarm.
Review URL: https://codereview.chromium.org//25041004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28019 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 17:13:19 +00:00
vsm@google.com fcdf8f3d97 Remove openglui embedder code
This code has rotted.  We should eventually fix and land outside the Dart repo.

I've verified that

> ./tools/build.py -m release --os=android

still builds (with target_os=android in .gclient).

R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28018 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 17:01:15 +00:00
asiva@google.com 292d8c9c21 Fix 13594.
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28017 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 16:55:20 +00:00
scheglov@google.com 61abfa0ca9 Support for --no-hints in analyzer_experimental.
I did one more snapshot to pick up your latest changes.
I have to extract ErrorCode variables because of type model difference in Java vs. Dart.

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28016 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 16:54:38 +00:00
hausner@google.com b7dbaaa46c Slight optimization of case clause type checks
Address review comment.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28015 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 16:40:33 +00:00
shailentuli@google.com e9d192772e Added examples to list.dart.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28014 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 14:58:45 +00:00
karlklose@google.com 4d1cc0da05 Emit a compile-time error when a named optional parameter has a library private name.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28012 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 14:34:21 +00:00
shailentuli@google.com a45cd627da Added examples to map.dart
R=floitsch@google.com, kathyw@google.com, lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28011 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 14:25:37 +00:00
whesse@google.com 12cadfd1be Add .address to [Raw]ServerSocket and HttpServer.
Also use .address in Pub's barback server.

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28010 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 13:36:03 +00:00
ajohnsen@google.com 7cfda3591f Let test-runner wait for stdout & stderr when running tests.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28009 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 13:19:12 +00:00
johnniwinther@google.com 8f7980a2ff Add DartType.treatAsRaw to treat List<dynamic> as List in the backend.
BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28008 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 13:10:40 +00:00
karlklose@google.com 64bc31f036 Fix dart2js_extra/field_initializer_test.
R=jonniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28007 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 12:35:36 +00:00
karlklose@google.com 0a71361232 Emit a compile-time error if a function type parameter is declard with 'final' or 'var'.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28006 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 12:06:59 +00:00
floitsch@google.com 4a28d50a70 Mark stream_controller_async_test as flaky.
Review URL: https://codereview.chromium.org//25030002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28005 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 11:59:43 +00:00
karlklose@google.com c440a9a126 Always visit initializing constants.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28004 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 11:48:44 +00:00
karlklose@google.com 8255ab3f14 Emit compile-time error when a constant field is not initialized.
R=johnniwinther@google.com

BUG=12932

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28003 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 11:37:41 +00:00
fschneider@google.com 96bcfa4162 Skip pkg/ test on ARM hardware until the underlying issue is fixed.
BUG=13624

TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28002 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 10:54:53 +00:00
ngeoffray@google.com e340fc4dc9 Re-apply "Move the container tracer to the call graph inferrer.".
If we closurize a method, we still need to collect the users of the parameters for the trace container pass to work.

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28001 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 10:31:45 +00:00
fschneider@google.com b389bddb1a Bug fix and cleanup of inlining of recognized [] methods.
1. Fix a bug with polymorphic inlining of [] on platforms that
don't support inlined SIMD ops (e.g. MIPS),
or unboxed int32/uint32. (ia32 with SSE <4.1).

2. Cleanup of duplicate code.

R=kmillikin@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28000 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 10:27:47 +00:00
kasperl@google.com 567317297e Fix (bogus) warnings related to the use of Function in dart2js.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27999 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 10:26:46 +00:00
kasperl@google.com ec0ad101d9 Get rid of casts.
R=johnniwinther@google.com, ahe@google.com, ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27998 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 10:09:15 +00:00
floitsch@google.com ac616b522f Add a default value for bindCallback's runGuarded.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27997 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 09:18:49 +00:00
fschneider@google.com 4939ad9d39 Enable some skipped pkg/ tests on ARM and MIPS.
They are passing on the simulator.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27996 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 09:06:46 +00:00
ngeoffray@google.com 7c627261dd Revert r27992: some browser tests fail.
Review URL: https://codereview.chromium.org//25000002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27995 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 09:03:01 +00:00
kasperl@google.com 385ec63352 Fix dart2js checked mode in host-checked mode.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27994 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 08:49:28 +00:00
ngeoffray@google.com 2cf3b6c1f9 Remove warning spotted by analyzer.
R=bak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27993 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 08:41:49 +00:00
ngeoffray@google.com eb2fe06fe0 Move the container tracer to the call graph inferrer.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27992 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 08:21:41 +00:00
kasperl@google.com 9a91047765 Change TypeMask.base to be a ClassElement.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27990 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 07:44:01 +00:00
ngeoffray@google.com 9bee8c6109 Fix list length optimization bug: do not inline a length access to a constant if the receiver can be null.
Review URL: https://codereview.chromium.org//24680006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27989 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 07:08:12 +00:00
lrn@google.com 783c348d0d Improve speed of toRadixString, and extra much for powers of two.
Approx x2 speedup in general, x6 for powers of two (with 16 being probably
the most common radix).

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27988 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 07:02:56 +00:00
karlklose@google.com e18701ee0b Emit a warning and runtime error when assigning to a function.
BUG=13075
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27987 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 06:53:54 +00:00
ajohnsen@google.com 56d68efbb3 Use SIGKILL in scheduled_process, to get around an Mac OS X bug.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27986 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 06:47:13 +00:00
ajohnsen@google.com 5ca0fc0d40 Use SIGKILL in regress_7191_script.
This makes the test pass on Mac OS X, that contains a bug for dealing
with early SIGTERM signals.

BUG=https://code.google.com/p/dart/issues/detail?id=13637
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27985 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 06:28:24 +00:00
shailentuli@google.com 6da8f05515 Added examples to String docs.
R=floitsch@google.com, lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27984 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 04:00:03 +00:00
sra@google.com c068a949fe Revert "Revert "Reinstate type checks in Math.min and Math.max""
Review URL: https://codereview.chromium.org//24918003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27983 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 02:01:43 +00:00
mlippautz@google.com 19763aae4d Implementation for ClosureMirror.findInContext.
Fixes issue 5897.

BUG=https://code.google.com/p/dart/issues/detail?id=5897
R=asiva@google.com, gbracha@google.com, rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27982 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 01:28:12 +00:00
sra@google.com 053eaeb868 Revert "Reinstate type checks in Math.min and Math.max"
Review URL: https://codereview.chromium.org//24911003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27981 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 01:15:58 +00:00
sra@google.com b1e55c556c Reinstate type checks in Math.min and Math.max
See Issue 11906 for discussion.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27980 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 00:45:08 +00:00
regis@google.com 6531272706 Support forwarding constructors for mixin typedefs (issue 11888).
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27979 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 00:26:22 +00:00
rnystrom@google.com 2d3478bed6 Fix warnings.
BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27977 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 22:23:24 +00:00
regis@google.com 42972d1e37 Fix test failure expectations and update status files.
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27976 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 22:19:02 +00:00
srdjan@google.com 37e66b3350 Treat final variables initialized with a literal as constants. Also sneak in a small cleanup.
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27973 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 21:06:56 +00:00
hausner@google.com b0780d316b Check types of case expressions
Implement checks to make sure all case expressions are of the same type and other restrictions.

This change assumes that it's ok to use double values in switch expressions. Will verify with those who are in the know.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27968 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 18:54:15 +00:00
danrubel@google.com 03461fba17 update build to modify 64 bit DartEditor.ini
This modifies the 64 bit DartEditor.ini files to increase the starting and maximum memory
BUG=dartbug.com/13580
R=devoncarew@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27967 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 18:31:07 +00:00