ahe@google.com
878a5d828f
Use "default" keyword instead of "factory" in interfaces.
...
Review URL: http://codereview.chromium.org//8993005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2579 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 13:17:32 +00:00
ager@google.com
74ec1d7d5e
Fix frog testing. I forgot to update the language.status file.
...
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8974011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2578 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 12:51:46 +00:00
ager@google.com
1aaa58f803
Make the repeating argument to timers optional.
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8992007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2577 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 12:34:12 +00:00
ager@google.com
f77f6545b7
Do not use the NegativeTest ending for multi tests.
...
The NegativeTest ending has meaning and should not be used for
multitests that are split into multiple files each with their
own expectation based on the annotation.
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8994002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2576 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 12:31:08 +00:00
antonm@google.com
8f259487bd
Suppress StreamPipeTest on Dartium.
...
Review URL: http://codereview.chromium.org//8995005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2575 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 12:28:23 +00:00
ahe@google.com
ebcc4964e5
Update test of type variable bounds to match specification
...
Review URL: http://codereview.chromium.org//8956005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2573 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 12:17:46 +00:00
ahe@google.com
995ba4e775
Promote "class" and "extends" to keywords
...
Review URL: http://codereview.chromium.org//8953025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2571 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 11:23:23 +00:00
ahe@google.com
258010fddb
Always use --leg_only option.
...
Review URL: http://codereview.chromium.org//8957008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2567 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 10:07:32 +00:00
ahe@google.com
f5090ca7ba
Make --leg-only option work when there are arguments passed to test.py.
...
Review URL: http://codereview.chromium.org//8956012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2566 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 09:53:39 +00:00
sgjesse@google.com
0a3bf1c3eb
Add pipe to input stream
...
Using the pipe method the data from an input stream can be piped
directly to an output stream.
R=whesse@google.com , ager@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8933029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2564 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 09:14:19 +00:00
sra@google.com
5f1fe934ec
Move frog tests using 'native' from tests/language to frog/tests
...
These tests are critical to dart:dom, but use non-standard features so
should not be under tests/language
BUG=
TEST=
Review URL: http://codereview.chromium.org//8962013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2559 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-17 05:19:38 +00:00
danrubel@google.com
9ca720176f
Rename and fix json frog library in SDK
...
Review URL: http://codereview.chromium.org//8972004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2558 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-17 03:33:50 +00:00
regis@google.com
a577991ad5
Port code generator to x64.
...
Review URL: http://codereview.chromium.org//8984003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2557 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-17 00:56:02 +00:00
shauvik@google.com
101c838d2f
Hi,
...
I had forgotten to commit the test library.
Please review it so that I can put it in.
Extracted total tests into library and reused them for dartest tests.
Thanks!
Review URL: http://codereview.chromium.org//8962007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2556 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 23:49:42 +00:00
iposva@google.com
169dcfb5ff
- Honor max_capacity even for large page allocation.
...
Review URL: http://codereview.chromium.org//8962006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2555 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 23:40:41 +00:00
iposva@google.com
2794252c9d
- Apply review feedback.
...
Review URL: http://codereview.chromium.org//8976013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2553 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 23:28:31 +00:00
codefu@google.com
2afd27cbf6
Increase Mac stack size
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8970033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2552 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 23:28:23 +00:00
codefu@google.com
3fae5d29a6
Promote class to a reserved word
...
Promote class as a reserved word http://code.google.com/p/dart/issues/detail?id=870
Cleaning old test that had invalid assumptions; makeing two new tests
(jUnit and shared test). Marking Frog and VM as failing.
R=mmendez
BUG=
TEST=
Review URL: http://codereview.chromium.org//8972003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2550 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 23:26:14 +00:00
shauvik@google.com
263a78d588
Code for Dartest which consists of two parts:
...
1. Test runner library located in client/testing/
2. Instrumentation code for adding coverage probes
Added some fixes to the AST Writer and changes to highlight instrumented nodes.
Review URL: http://codereview.chromium.org//8905021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2549 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 23:24:15 +00:00
srdjan@google.com
d525130469
More optimizations and cleanups.
...
Review URL: http://codereview.chromium.org//8972005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2548 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 23:16:00 +00:00
sra@google.com
aa6393b4e8
Fix named constructors and static methods of hidden native classes.
...
The static methods can't go on the constructor, so they go on a
surrogate object. Make sure no global names conflict with either the
hidden class's name or the surrogate object.
BUG=
TEST=
Review URL: http://codereview.chromium.org//8966020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2547 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 22:49:06 +00:00
efortuna@google.com
89fc7ef53e
Fix paths in build process so we can build dartc (and then frog) on Windows.
...
Review URL: http://codereview.chromium.org//8972011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2538 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 19:36:40 +00:00
hausner@google.com
59e6694944
One small step towards sanity
...
Make 'class' a proper keyword, and 'extends' too. Adjusting the VM compiler to the language spec.
Review URL: http://codereview.chromium.org//8968021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2533 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 19:11:39 +00:00
turnidge@google.com
f2279476d9
Fix initializer order (build break on some platforms).
...
Review URL: http://codereview.chromium.org//8963026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2531 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 18:48:53 +00:00
turnidge@google.com
0b833d4977
Add support for interrupting an isolate in the vm. Interrupts are
...
implemented by extending the existing support for stack overflow
checking in the vm. When an interrupt is scheduled for an isolate, we
overwrite the isolate's stack limit with a value guaranteed to cause a
stack overflow.
We support multiple kinds of interrupts, encoded in the low bits of
the stack limit.
Add Dart_InterruptIsolate and Dart_InterruptIsolateCallback to the
dart embedding api to allow the embedder to request and handle
interrupts.
Add EXPECT_SUBSTRING(needle, haystack) testing macro.
Review URL: http://codereview.chromium.org//8851008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2529 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 18:41:20 +00:00
dgrove@google.com
29381ee142
When generating the error message, don't overrun args.nodes .
...
BUG=775
Review URL: http://codereview.chromium.org//8966026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2528 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 17:55:53 +00:00
codefu@google.com
4f655be31e
Issue 839: Bad code leading to top level methods being something other than identifier
...
Note; borrowed code from http://codereview.chromium.org/8914015/ as the
editor had the same issue.
Added support for the AST writer to handle Function Expressions and updated
the parser to give the AST writer a chance to dump the unit (if requested
via the current command line parameters) before bailing on the whole
program.
BUG=
TEST=
Review URL: http://codereview.chromium.org//8913016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2515 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 12:57:19 +00:00
sra@google.com
72a5663f22
Make test frogium-safe.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8965019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2513 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 06:13:57 +00:00
sra@google.com
f8ea641117
Partial fix for Issue 709.
...
Method dispatch on a hidden native class goes according to the native
name, not the Dart name (which can be different).
There is still an issue with the hidden name - frog needs to avoid
using it because it might not be inaccessible on all targets.
BUG=
TEST=
Review URL: http://codereview.chromium.org//8974005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2511 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 05:52:40 +00:00
sra@google.com
58b7ca2924
Fix generator to be consistent with http://code.google.com/p/dart/source/detail?r=2505
...
We really need to make all the DOM types 'hidden'...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8969013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2509 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 05:14:38 +00:00
efortuna@google.com
e7ec099131
Make some additional classes hidden so that they are not generated when not
...
needed (fixes FF and Safari).
Review URL: http://codereview.chromium.org//8970013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2505 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 02:31:47 +00:00
mrrussell@google.com
11abfc21e6
Fix the Dart formatter
...
This cl addresses fixing tests 001 and 002.
Other cl's will be created for continue to fix the formatter.
Review URL: http://codereview.chromium.org//8966004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2502 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 02:14:58 +00:00
iposva@google.com
1329070b37
Fix bug 846:
...
- Only execute timers which were pending prior to the wakeup to
avoid busy looping.
- Prevent double notification for timers.
Review URL: http://codereview.chromium.org//8973005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2500 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 01:25:47 +00:00
mattsh@google.com
07bab791d0
moved matrix class from utils to samples
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8966010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2499 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 01:14:18 +00:00
nweiz@google.com
4e0ec27af4
Get rid of ObjectElement#svgDocument.
...
TBR
Review URL: http://codereview.chromium.org//8970012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2497 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 00:38:07 +00:00
asiva@google.com
77dba39e63
Add Double::NewCanonical and Mint::NewCanonical so that it is possible to
...
canonicalize double and mint constants without having to create an object first.
Review URL: http://codereview.chromium.org//8963001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2496 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 00:31:33 +00:00
efortuna@google.com
ec53d1d253
Don't treat warnings as errors when compiling minfrog items.
...
TBR=sigmund,
Review URL: http://codereview.chromium.org//8972006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2495 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 00:31:32 +00:00
rnystrom@google.com
036681063c
Move Nathan's HTML scripts over and rename to apidoc.
...
Review URL: http://codereview.chromium.org//8973004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2494 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 00:06:58 +00:00
rnystrom@google.com
c188a720ee
Document static members separately from instance ones.
...
Review URL: http://codereview.chromium.org//8963006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2493 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 23:25:22 +00:00
nweiz@google.com
988a87d63c
Properly wrap ObjectElement#svgDocument, and regenerate release/html*.dart.
...
TBR
Review URL: http://codereview.chromium.org//8969008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2492 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 23:25:02 +00:00
efortuna@google.com
9a525e35c6
Final touches for running smoketests. On buildbot, run
...
python create_graph.py -v -b -l
Review URL: http://codereview.chromium.org//8890091
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2491 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 23:24:46 +00:00
nweiz@google.com
5481a15bfe
Expose ObjectElement.svgDocument.
...
TBR
Review URL: http://codereview.chromium.org//8965009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2489 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 23:15:47 +00:00
nweiz@google.com
543f2283bc
Support SVG files in toss.
...
TBR
Review URL: http://codereview.chromium.org//8963007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2488 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 23:09:56 +00:00
srdjan@google.com
bdb48aefb4
Use deopt on some instructions that have not collected type feedback when optimizing compierl kicks in. Optimize SAR.
...
Review URL: http://codereview.chromium.org//8972002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2487 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 22:39:21 +00:00
iposva@google.com
5e1e9534db
- Implement the old sweeper.
...
Review URL: http://codereview.chromium.org//8898034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2485 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 22:37:35 +00:00
mrrussell@google.com
a492215662
This is a fix to allow the upload to the test bucket when run on non-buildbot machine
...
Review URL: http://codereview.chromium.org//8914019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2479 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 21:52:50 +00:00
dgrove@google.com
d470872145
When += (and similar operations) are converted to = + ,
...
we may need to parenthesize the original RHS.
BUG=849
Review URL: http://codereview.chromium.org//8947008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2478 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 21:32:52 +00:00
rnystrom@google.com
93324b5405
Refactor dartdoc into a class. Use method overriding to extend.
...
Review URL: http://codereview.chromium.org//8947005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2477 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 21:24:18 +00:00
nweiz@google.com
548ecd9e5e
Add a couple useful SVG constructors.
...
Review URL: http://codereview.chromium.org//8919029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2475 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 20:06:12 +00:00
jmesserly@google.com
71af5a2680
Fix factories in Frog to correspond to the new syntax.
...
(Note: this is designed to work against corelib changes in http://codereview.chromium.org/8931011/ , but it also works against current checked in corelib) I kept old factories limping along in Frog. We can remove them soon
Review URL: http://codereview.chromium.org//8952006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2474 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 19:59:52 +00:00