Commit Graph

79322 Commits

Author SHA1 Message Date
whesse@google.com a5f326bed1 Fix test.dart by closing the compilation process when running browser tests.
BUG=
TEST=tools/test.dart --component=dartium

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2685 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 08:16:37 +00:00
ager@google.com 59a7964b3a Fix Mac path to DumpRenderTree in dart test scripts.
R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2684 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 08:14:39 +00:00
terry@google.com 59a6cf921a New tree objects to match CSS BNF.
Fairly complete CSS syntax

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2675 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 22:51:16 +00:00
asiva@google.com 69c9c61ee7 Use StorePointer instead of direct assignments of objects.
Review URL: http://codereview.chromium.org//9007032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2674 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 22:38:12 +00:00
srdjan@google.com 0e435be09c Add (debug) printing when IC is used in optimized code (must eliminate it).
Do Smi binary op only on two Smi-s.
Increase deopt counter limit to 5., which still may be too low. Deopt counter is here mainly to prevent drastic performance degradations because of bugs or missing implementations.
Review URL: http://codereview.chromium.org//9007027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2673 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 22:05:41 +00:00
hausner@google.com 503e2219b8 First part of inspecting local variables
This change introduces variable descriptors that describe the name, stack slot index, and source code stretch in which a variable is valid.

Activation frames in the stack trace now can enumerate the variables that are active in that frame.

Next step: fetch the value of variables from the stack.
Review URL: http://codereview.chromium.org//8992020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2671 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 21:40:28 +00:00
efortuna@google.com e07ec9d122 Fix windows build create_sdk.
Review URL: http://codereview.chromium.org//9004031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2667 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 20:59:01 +00:00
ahe@google.com 65161e9b5d Revert r2662
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2663 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 20:22:04 +00:00
ahe@google.com b5b7179956 Testing buildbot
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2662 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 20:21:15 +00:00
zundel@google.com b9cf172e4a Workaround for referencing type args in the $named_$lookupRTT method.
These lookup methods references $typeArgs as if they were a parameter to the method,
but that method actually takes no arguments.  There is no 'this' context either, but
at least JS compiler doesn't complain about that.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2660 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 19:58:50 +00:00
ahe@google.com 3be70fb3ee Update status file
Review URL: http://codereview.chromium.org//9007024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2659 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 19:55:50 +00:00
rnystrom@google.com f8fbe4dda3 Syntax highlighting on the client.
Instead of having dartdoc bake the syntax highlighting into the generated
HTML, this does that transformation client-side. This makes interact.js
bigger, but reduces the size of the generated HTML.

Contributed by michael.haubenwallner@gmail.com.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2658 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 19:46:53 +00:00
ahe@google.com 704dc06e09 Update status files to make plain test.py work with frog, frogsh, and leg
Review URL: http://codereview.chromium.org//8965050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2656 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 19:24:08 +00:00
efortuna@google.com d9205c17e4 Removing tabs that Windows accidentally snuck in.
TBR=iposva
Review URL: http://codereview.chromium.org//8956034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2655 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 18:47:16 +00:00
efortuna@google.com e8106ee3a2 Fix windows VM build.
TBR=jmesserly
Review URL: http://codereview.chromium.org//9005014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2654 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 18:16:11 +00:00
efortuna@google.com 994839e3d9 Fix build to create Windows SDK.
(Resubmission of http://codereview.chromium.org/9004001/ with jmesserly's
suggestions and update fix.)

TBR=jmesserly
Review URL: http://codereview.chromium.org//8989020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2649 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 18:04:45 +00:00
srdjan@google.com 098d244ae0 Fix issue 920: do not allow length of a list go below 0.
Review URL: http://codereview.chromium.org//9007015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2648 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 17:45:04 +00:00
ahe@google.com d8ef791f10 Parse field modifiers.
Review URL: http://codereview.chromium.org//9004025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2647 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 17:44:08 +00:00
sgjesse@google.com bf0798ec22 Update tests/standalone status file
Skip ListOutputStreamTest on chromium

TBR=antonm@google.com

Fix broken build

TBR=ager@google.com

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2644 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 16:44:27 +00:00
sgjesse@google.com c7b4a1fc58 Fix broken build
TBR=ager@google.com

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2643 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 16:35:50 +00:00
sgjesse@google.com 3ebb36c77f Implement list based output stream and add pipe to list based input streams
R=ager@google.com

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2641 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 16:03:29 +00:00
scheglov@google.com 63a96477cd Report errors and warnings for hiding elements, issue 572.
http://code.google.com/p/dart/issues/detail?id=572

R=zundel@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2636 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 14:35:40 +00:00
ahe@google.com 677825315d Update leg status
Review URL: http://codereview.chromium.org//9006009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2634 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 13:54:57 +00:00
zundel@google.com 87a6f2fd56 A test to see that the default clause of a interface can use an undeclared default constructor
Review URL: http://codereview.chromium.org//8989016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2631 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 13:45:36 +00:00
ahe@google.com df9b63e590 Implement string interpolation up to SSA.
Review URL: http://codereview.chromium.org//8993009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2630 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 13:26:15 +00:00
zundel@google.com 3440d8ffbb Updates the corelib to the new default specification for interfaces and new factory syntax
Patch by: regis
Review by: jmesserly,zundel,srdjan
See original review at: http://codereview.chromium.org/8931011/

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2629 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 12:49:40 +00:00
antonm@google.com 4a802cfaa8 Supper another test for Dartium.
Review URL: http://codereview.chromium.org//8956026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2627 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 11:30:26 +00:00
ahe@google.com e69861f879 Fix bug in frog_wrapper.py that caused it to eat the first argument
Review URL: http://codereview.chromium.org//8965039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2626 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 11:27:58 +00:00
sgjesse@google.com bcd4584f59 Add input streams based on supplying data from lists
Two new streams are added ListInputStream and
DynamicListInputStream. ListInputStream takes all the data in the
stream in the constructor whereas DynamicListInputStream can get data
added dynamically using the write method and have end of stream
indicated using the method markEndOfStream.

In a separate change I expect to have the current FileInputStream be
based on the _BaseDataInputStream as it currently used the same logic
with the sync file API.

R=ager@google.com

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2621 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 10:07:02 +00:00
ager@google.com 47a7c9bcdb Undo change that converted exit code 255 to -1.
It seems that most systems do not perform that conversion and it
could therefore be confusing.

Simplify the crash handling in the test scripts accordingly.

R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2620 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 10:06:35 +00:00
ager@google.com 1a9631d322 Fix type typo. :-)
R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2618 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 09:38:20 +00:00
ager@google.com 46ba817562 Add asynchronous versions of the methods on Directory.
For now, use an isolate to make the operations async from the
point of view of the main Dart thread.

Clean up the directory tests a bit by removing code that didn't do anything and by removing file testing that is already covered by the file tests.

R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2617 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 09:28:28 +00:00
sgjesse@google.com d54d84b7de Fix issue 906
R=iposva@google.com

BUG=dart:906

TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2616 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 09:21:43 +00:00
sigmund@google.com f392b25a55 Revert "Fix build so we can make a Windows SDK!" (tbr)
Review URL: http://codereview.chromium.org//9005002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2613 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 02:26:16 +00:00
efortuna@google.com 03a9b0a828 Fix build so we can make a Windows SDK!
Review URL: http://codereview.chromium.org//9004001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2612 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 02:22:08 +00:00
srdjan@google.com 9fe955e406 Fix a bug in intrinsified Array_setIndexed type check.
Optimize unary double operation negate.
Review URL: http://codereview.chromium.org//8996024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2611 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 02:11:18 +00:00
cshapiro@google.com b270b5d305 Disable the weak persistent handle test on non-ia32 targets.
Review URL: http://codereview.chromium.org//9008002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2610 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 02:10:37 +00:00
asiva@google.com bde808f44b Changes to create an application snapshot which can be layered on top
after an isolate is created and initialized.

Added an option --use_script_snapshot which creates a snapshot of the specified script in an isolate, shuts that down and restarts on a new isolate and loads the script from the snapshot buffer and executes it.
Review URL: http://codereview.chromium.org//8970004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2609 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 02:04:24 +00:00
cshapiro@google.com 32f55ce37b Implement weak persistent handles in the Dart API.
Review URL: http://codereview.chromium.org//8984006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2607 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 01:44:53 +00:00
rnystrom@google.com 91218f5967 Move markdown library.
This moves markdown into two places:

- The one under samples/ is intended to be a "real" markdown parser.
  Eventually, it will probably live as a third-party library outside of our
  standard lib but still easily accessible.
- The one inside dartdoc will change to become the parser used to parse
  Gilad's forthcoming dartdoc comment syntax.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2606 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 01:36:07 +00:00
rnystrom@google.com 4354008724 Fix use of now-reserved word "class".
Review URL: http://codereview.chromium.org//9003001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2602 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 00:11:28 +00:00
floitsch@google.com 173ffa2012 Updated to latest double-conversion library version.
Review URL: http://codereview.chromium.org//9001001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2601 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 23:29:37 +00:00
codefu@google.com 09061281f7 Don't allow elements of a DartBinaryExpression to be null.
Issue:
http://code.google.com/p/dart/issues/detail?id=832

Note; I'm still getting NPEs, but the corelibrary isn't being found (a
different issue between Editor/DartC usage?).

R=danrubel@google.com,mmendez@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2600 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 23:23:31 +00:00
zundel@google.com 9d697de426 Updates dartc to recognize 'default' keyword on interface and updated factory method syntax.
Note: this does not have backwards compatibility for the old
factory syntax and updates the tests.

http://code.google.com/p/dart/issues/detail?id=417

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2597 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 22:34:57 +00:00
dgrove@google.com 37c6903d6c Make 'class' and 'extends' into real keywords, per language spec 0.06 .
Review URL: http://codereview.chromium.org//8980014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2595 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 21:24:45 +00:00
codefu@google.com 0739223eeb Issue 467: NPE with missing source
This was addressed in another issue / cl, however Brian suggested the error
reporing was wrong.  Let me know if this is what you are looking for.

R=brianwilkerson@google.com,mmendez
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2594 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 20:57:46 +00:00
iposva@google.com 0d25bce528 - Trigger old-gen GCs when needed.
- Sweep large pages.
- Handle free list elements when calculating sizes.
Review URL: http://codereview.chromium.org//8996011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2593 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 19:29:10 +00:00
sigmund@google.com 9a5d4c2522 .status: fix test status for frogium
Review URL: http://codereview.chromium.org//8974017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2588 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 18:29:54 +00:00
karlklose@google.com 620766d407 Make frog buildbot green again.
TBR.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2584 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 15:13:07 +00:00
ager@google.com fb053d8126 Update test.dart to use the leg_only option for the leg component.
Take the new *-leg.status status files into account.

R=whesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2583 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 15:07:29 +00:00