Commit Graph

79322 Commits

Author SHA1 Message Date
srdjan@google.com c91cb11962 Implement toString for ImmutableArray and GrowableObjectArray (Issue 952)
Review URL: http://codereview.chromium.org//9027026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2795 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-23 00:12:11 +00:00
efortuna@google.com 9dd32c3ca2 Adding report tag for language tests.
TBR=sigmund@google.com
Review URL: http://codereview.chromium.org//9026021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2794 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-23 00:04:44 +00:00
srdjan@google.com a1bf722c78 Do back propagation of types(classes) for checks in load and store indexed.
Review URL: http://codereview.chromium.org//9022019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2793 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 23:27:21 +00:00
sigmund@google.com 396f798124 frog isolate fixes: minor changes to the isolate library + architecture.py
Review URL: http://codereview.chromium.org//8999030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2792 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 22:19:12 +00:00
floitsch@google.com 521959cb33 ToStringAsFixed returns now 0 instead of -0.
Review URL: http://codereview.chromium.org//8958018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2791 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 22:18:21 +00:00
floitsch@google.com e231959e13 Implement Double.toStringAsFixed.
Review URL: http://codereview.chromium.org//8728006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2790 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 22:03:35 +00:00
rnystrom@google.com c5dcf9f658 Don't fix up paths that are already absolute.
Fixes the broken api.dartlang.org link the API docs.

Review URL: http://codereview.chromium.org//8958017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2789 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 21:56:12 +00:00
srdjan@google.com 1fe386517a Propagate more local variable types: if a load local is followed by a deoptimizationtype check, set the local to have that type from now on.
Review URL: http://codereview.chromium.org//9025025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2788 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 21:41:26 +00:00
efortuna@google.com 895325df1a Fixing capitalization with style guide as per jmesserly's comments.
TBR=jmesserly@google.com
Review URL: http://codereview.chromium.org//9024022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2787 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 21:26:45 +00:00
efortuna@google.com 7a327e1c25 Changes to testing script so we can run on Windows.
Review URL: http://codereview.chromium.org//9025024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2785 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 20:53:02 +00:00
rnystrom@google.com a258c29303 Fix typo in dartdoc README.
Review URL: http://codereview.chromium.org//8958013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2779 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 19:51:58 +00:00
sigmund@google.com dca0ac9fc1 .status: fix bot after changing 'factory'->'default'
TBR=ahe

Review URL: http://codereview.chromium.org//9025022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2777 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 18:59:43 +00:00
ahe@google.com e348915d38 One more factory -> default pass.
Review URL: http://codereview.chromium.org//8958011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2774 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 18:33:45 +00:00
zundel@google.com 27f2e70854 This adds a unit test to show the type checking functionality missing in dartc
This refines omitting the runtime-type checks in certain cases to just apply to
type variables (original disabled by r2660)

BUG=925
TEST=

Review URL: http://codereview.chromium.org//8956047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2771 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 17:45:45 +00:00
whesse@google.com e8eafba0c2 Enable frogium component in test.dart.
BUG=
TEST=tools/test.dart --component=frogium

Review URL: http://codereview.chromium.org//9022004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2765 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 16:11:01 +00:00
codefu@google.com b2605b7590 Issue 250: Allow for GNU formatted errors
Removes --machine-problems option and added --error_format [normal|machine|gnu]

R=zundel@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8949055

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2763 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 15:39:57 +00:00
codefu@google.com 8d6ffa5af8 Issue 895: NPEs in DeltaAnalyser
When copying old elements in the DeltaAnalyser, skip the members that don't
  have nodes.
  When called with null parameters from the completion engine, just return.
BUG=
TEST=

Review URL: http://codereview.chromium.org//9004032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2762 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 15:33:34 +00:00
sgjesse@google.com 97ca1c1bdf Move comment to the right place
R=iposva@google.com

BUG=
TEST=

Review URL: http://codereview.chromium.org//9025014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2761 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 15:32:33 +00:00
ngeoffray@google.com e45ad3b75e Support factory methods.
Review URL: http://codereview.chromium.org//9027002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2759 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 15:15:23 +00:00
ngeoffray@google.com 64b1ff9449 Make build bot green.
Review URL: http://codereview.chromium.org//9022005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2754 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 13:58:58 +00:00
ager@google.com 27508f3eb1 Change the process API to be completely asynchronous.
Some of the implementation is still not asynchronous but the API is
now prepared for it.

This is a breaking change for the dart test scripts. Once the
change has its final form I will add new stable builds of the
VM to the changelist for running tests.

R=sgjesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//9024008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2753 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 13:43:43 +00:00
zundel@google.com bc620b97a8 Moves over remaining .dart code references to 'factory' in interface declartions to 'default'
BUG=
TEST=

Review URL: http://codereview.chromium.org//9016026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2752 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 13:35:54 +00:00
kasperl@google.com 79d8a6854e Add support for Expect.equals in the Leg core library.
R=ngeoffray@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//9027003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2745 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 12:39:15 +00:00
whesse@google.com e543affd48 Avoid error about instantiating abstract class AsynchronousTestCase.
BUG=
TEST=

Review URL: http://codereview.chromium.org//9017016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2741 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 09:21:44 +00:00
sgjesse@google.com d119045a88 Update the isolate interrupt test
* Space out the interrupts by short sleeps
* Use a constant instead of the magic number 3 for the number of interrups

R=iposva@google.com

BUG=dart:906
TEST=VM test IsolateInterrupt

Review URL: http://codereview.chromium.org//9016007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2740 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 08:21:41 +00:00
srdjan@google.com d4e8bf34dc More optimizations.
Review URL: http://codereview.chromium.org//8999031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2739 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 01:12:59 +00:00
hausner@google.com 16e94a3109 Fix linux build
Picky compiler.
Review URL: http://codereview.chromium.org//9016032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2737 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 00:21:41 +00:00
hausner@google.com 44376ee4a5 Retrieve value of local variables in stack frames.
Works for stack-based variables. Need more work to distinguish between
stack and context (captured) variables.
 
Review URL: http://codereview.chromium.org//9019029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2736 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 00:17:15 +00:00
rnystrom@google.com e66f5a3e6c Hook up favicon, link to main page, and fix process bug.
Review URL: http://codereview.chromium.org//9020028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2735 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 23:35:24 +00:00
srdjan@google.com 884228569f More optimizations: in binary operations check sometimesnnn for two classes instead of one; call some target operators directly (checked call) instead of via inline cache call; allow smi/double binary operations to be inlined.
Review URL: http://codereview.chromium.org//8995019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2732 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 22:46:01 +00:00
srdjan@google.com 74c0af9144 Optimize indexed store for growable array (intrinsification and inlined optimized).
Review URL: http://codereview.chromium.org//9020030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2731 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 22:37:21 +00:00
efortuna@google.com e122abb31e Adding correct dependencies for upload_sdk for Windows.
Review URL: http://codereview.chromium.org//9017034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2726 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 22:06:57 +00:00
srdjan@google.com 8ad051c2f3 X64: check all cases with "__ movq(FieldAddress" and converted them to StoreIntoObject if appropriate.
Review URL: http://codereview.chromium.org//9017024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2725 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 21:35:25 +00:00
asiva@google.com b607d887bc Fix win32 build break.
TBR=hausner
Review URL: http://codereview.chromium.org//9017026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2721 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 19:59:00 +00:00
asiva@google.com 4d22fcc329 Refactor some of the snapshot writer classes to eliminate code duplication.
Review URL: http://codereview.chromium.org//9018002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2718 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 19:37:37 +00:00
ahe@google.com 6924a17723 Generate AST node for factory methods.
Review URL: http://codereview.chromium.org//8999015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2717 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 19:25:54 +00:00
zundel@google.com b0348a06b7 Dartc was not raising an error if an interface declared constructors without a default clause
BUG=928
TEST=

Review URL: http://codereview.chromium.org//9017015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2716 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 19:05:54 +00:00
rnystrom@google.com a2e2ab6d23 Tweak dartdoc look to match dartlang.org a bit more.
Also prepare for adding search box.

Review URL: http://codereview.chromium.org//9019001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2715 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 18:46:12 +00:00
srdjan@google.com d8397e22ad Check all cases with "__ movl(FieldAddress" and converted them to StoreIntoObject where appropriate.
Review URL: http://codereview.chromium.org//9021025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2714 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 18:36:53 +00:00
cshapiro@google.com 9108ddb9a2 Do not use C++ const references in the C interface.
Review URL: http://codereview.chromium.org//9017018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2711 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 17:50:38 +00:00
ngeoffray@google.com 2cb517c647 Fix resolver for fields uses in constructors.
Also fix infinite loop when we're looking for the getter equivalent of a setter.
Review URL: http://codereview.chromium.org//9019018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2708 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 17:28:48 +00:00
iposva@google.com 5b509684e3 - Fix outdated use of factory clause.
- Update error messages.
Review URL: http://codereview.chromium.org//8949043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2707 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 17:26:02 +00:00
karlklose@google.com 7d8b1e513f Resolve initializers in constructors.
R=floitsch@google.com

Review URL: http://codereview.chromium.org//8974014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2703 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 16:38:17 +00:00
ngeoffray@google.com db5b684bd0 Support !=.
Review URL: http://codereview.chromium.org//9020010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2698 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 14:29:51 +00:00
ngeoffray@google.com 3edc42a1b1 Sort the failures.
Review URL: http://codereview.chromium.org//9018009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2697 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 14:05:31 +00:00
ngeoffray@google.com ef149c755f Make sure a class is resolved before looking up its elements.
Review URL: http://codereview.chromium.org//8949039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2696 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 14:03:01 +00:00
whesse@google.com 69353d663c Implement chromium component.
BUG=
TEST=tools/test.dart --component=chromium

Review URL: http://codereview.chromium.org//8995009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2695 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 13:56:12 +00:00
whesse@google.com 678d466d1a Fix test.dart by not closing processes twice.
BUG=
TEST=tools/test.dart

Review URL: http://codereview.chromium.org//8949034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2693 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 12:14:44 +00:00
antonm@google.com 39a9c006e4 Promote DOMType to public dart:dom type.
Review URL: http://codereview.chromium.org//9009002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2689 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 10:42:02 +00:00
sgjesse@google.com 7014704266 Fix list output stream
The write and writeFrom where missing their boolean return value.

R=ager@google.com

BUG=
TEST=

Review URL: http://codereview.chromium.org//9021008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2687 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 08:33:02 +00:00