ahe@google.com
80904c1cd8
Source in string_buffer from runtime.
...
Review URL: https://chromiumcodereview.appspot.com//9426037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4439 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:53:31 +00:00
ahe@google.com
a8ae8ec6cc
Don't intercept receiver-less calls.
...
Review URL: https://chromiumcodereview.appspot.com//9423040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4438 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:53:10 +00:00
ahe@google.com
ec79254079
Triage Expect.
...
Review URL: https://chromiumcodereview.appspot.com//9395070
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4437 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:52:48 +00:00
ahe@google.com
6292244973
Add null checks in helpers so all co19 Duration tests pass.
...
Review URL: https://chromiumcodereview.appspot.com//9425039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4436 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:52:28 +00:00
ahe@google.com
df35172184
Implement Date.
...
Review URL: https://chromiumcodereview.appspot.com//9424027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4435 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:52:05 +00:00
ahe@google.com
9337442c06
Implement most of String API.
...
Review URL: https://chromiumcodereview.appspot.com//9423034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4434 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:51:43 +00:00
ahe@google.com
0248bfb2cb
Implement Strings API.
...
Review URL: https://chromiumcodereview.appspot.com//9355032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4433 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:51:21 +00:00
ahe@google.com
ea883994b3
Implement Math API.
...
Review URL: https://chromiumcodereview.appspot.com//9425038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4432 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:51:02 +00:00
ahe@google.com
e2717213ab
Pass all co19 int tests.
...
Review URL: https://chromiumcodereview.appspot.com//9422026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4431 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:50:42 +00:00
ahe@google.com
43b46c092e
Improve double implementation.
...
Review URL: https://chromiumcodereview.appspot.com//9421025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4430 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:50:18 +00:00
ngeoffray@google.com
3b43ce6c18
Fix frog presubmit.
...
Review URL: https://chromiumcodereview.appspot.com//9429044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4429 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 09:32:00 +00:00
podivilov@google.com
9e23b94962
Move native system generator to a separate script.
...
R=sra@chromium.org
Review URL: https://chromiumcodereview.appspot.com//9424035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4427 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 07:40:43 +00:00
ahe@google.com
ad208dc0ea
Update co19 to revision 129
...
Review URL: https://chromiumcodereview.appspot.com//9416066
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4426 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 07:38:56 +00:00
sgjesse@google.com
39ac458cdf
Add more file tests
...
R=ager@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9428003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4425 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 07:30:17 +00:00
cshapiro@google.com
e0c764f91c
Added special case code for translating null element to work around a frog bug.
...
Review URL: https://chromiumcodereview.appspot.com//9372094
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4424 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 06:07:39 +00:00
cshapiro@google.com
fb485357cb
Thread the weak persistent handle free-list through the raw_ field.
...
As free-list pointers are either the address of the next free handle
or NULL, raw_ fields should conveniently appear as a smi and be
ignored during weak reference processing. Ordinary persistent handles
already reuse the raw_ field for this purpose and rely on confusing
free-list links with tagged smi values.
Of course, nothing strictly requires that the addresses of handles be
aligned in just the right way. So, just in case, new asserts check
that raw_ field values are not confusable with tagged heap addresses.
Review URL: https://chromiumcodereview.appspot.com//9413003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4423 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 03:52:12 +00:00
cshapiro@google.com
197a409be3
Fix build breakage caused by the recent toString() commit.
...
Type randomElement as returning and Object, not a void. This failed in
checked mode.
Rewrite another import of collections.dart to point to its new
location. This broke the leg build.
Review URL: https://chromiumcodereview.appspot.com//9429032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4422 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 03:30:30 +00:00
jjb@google.com
a2f2769ec3
Wrote functions to convert collections and maps to strings and invoked
...
these functions from the toString methods of all built-in Collection
and Map implementations. Wrote smoke tests and basher tests.
Review URL: https://chromiumcodereview.appspot.com//9431015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4421 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 02:28:01 +00:00
sra@google.com
372a1e8602
Make dom/DocumentTest and dom/TypingTest work again
...
These broke in the port from WebKit to Dart test frameworks.
It DocumentTest broke because it uses the document URL and the Dart framework changes the file name. Fixed by making the predicates to be less fussy.
TypingTest broke because it counts style sheets and the unittest framework adds one more.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9429028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4420 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 02:25:01 +00:00
srdjan@google.com
c8fa1ae3b4
Fix for 1267: Implement (partially) Math.pow for integers.
...
Review URL: https://chromiumcodereview.appspot.com//9372078
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4419 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 01:41:13 +00:00
sra@google.com
196da15a28
Make dom/XHRTest pass.
...
Made to pass by verifying GET failed as we currently have no way to
place a file with a fixed name alongside the .html file (the file
names are prepended with an execution-environment dependent name.)
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9430023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4418 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 00:43:19 +00:00
srdjan@google.com
a54f33bf92
ICData is now a wrapper object that refers to the calling function, target name, ic data array, etc. The old ICData C++ class that wrapped around an Array is removed. The advantage is that the ICData object remains the same, only its ic_data array object is being modified as classes are added..
...
TODO: store ICData-s into function so that the type feedback can be easily extracted (currently must traverse the unoptimized code).
Review URL: https://chromiumcodereview.appspot.com//9395016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4417 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 00:40:03 +00:00
iposva@google.com
a68ea7e455
- Windows only: Move the BN library link dependency into the standalone binaries.
...
Review URL: https://chromiumcodereview.appspot.com//9433021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4416 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-22 00:36:14 +00:00
ahe@google.com
50f9f9e1ba
Improve List implementation.
...
Review URL: https://chromiumcodereview.appspot.com//9355031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4414 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 23:37:57 +00:00
scheglov@google.com
0a0bc8cd1c
Issue 1738. Check type of DartMethodDeclaration.getName().
...
http://code.google.com/p/dart/issues/detail?id=1738
R=zundel@google.com ,brianwilkerson@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9430013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4413 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 23:12:09 +00:00
srdjan@google.com
73fad81b9a
Corrected bug number.
...
Review URL: https://chromiumcodereview.appspot.com//9430020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4412 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 22:14:50 +00:00
srdjan@google.com
87089f37f1
Fix cacthing exception object: a null exception is always caught.
...
Review URL: https://chromiumcodereview.appspot.com//9416067
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4411 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 22:07:59 +00:00
nweiz@google.com
d5613e9e68
Get rid of duplicate 'tbody' keys in CUSTOM_PARENT_TAG_MAP.
...
TBR
Review URL: https://chromiumcodereview.appspot.com//9431009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4409 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 21:42:22 +00:00
mattsh@google.com
0210231746
frogpad now uses vm to generate initial js
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9422027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4408 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 21:28:01 +00:00
scheglov@google.com
dedbb79fa3
Issue 1714. Report warning if assert argument is not 'bool' or '() -> bool'.
...
http://code.google.com/p/dart/issues/detail?id=1714
R=codefu@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9421002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4404 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 18:19:28 +00:00
scheglov@google.com
bdfccd85b4
Allow declare new named parameters in method override.
...
http://code.google.com/p/dart/issues/detail?id=1575
R=karlklose@google.com ,zundel@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9403026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4402 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 17:56:56 +00:00
srdjan@google.com
acb395f713
Fix issue 979: operator arity must be verified.
...
Review URL: https://chromiumcodereview.appspot.com//9414005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4401 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 17:34:00 +00:00
scheglov@google.com
36fad75ada
Triage co19 tests.
...
R=zundel@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9406011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4398 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 17:09:55 +00:00
ngeoffray@google.com
f7e1fdc684
Support for native in leg, and start moving native tests to a specific test suite.
...
Review URL: https://chromiumcodereview.appspot.com//9418045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4392 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 13:46:24 +00:00
sgjesse@google.com
18df1964f7
Fix bug from r4390 on Windows
...
The file handler did not pass the full path.
R=ager@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9428002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4391 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 13:29:52 +00:00
sgjesse@google.com
9390f1577a
Run all directory async operations on a separate thread using native ports
...
R=ager@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9310082
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4390 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 11:35:42 +00:00
kasperl@google.com
bfd5f78dac
Mark test that stopped crashing and starting failing as such.
...
R=karlklose@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9423052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4389 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 11:10:48 +00:00
sgjesse@google.com
f02c9e45d6
Add utility functions for creating and accessing Dart_CObject structures
...
All allocation is done using Dart_ScopeAllocate, so no explicit feeing
is required. This also means that these utilities require an active
ApiZone.
R=ager@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9403012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4388 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 08:59:41 +00:00
ager@google.com
e2c233c750
Disallow opening of directories as files.
...
R=sgjesse@google.com
BUG=1614
TEST=tests/standalone/src/FileTest.dart
Review URL: https://chromiumcodereview.appspot.com//9427014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4387 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 07:22:20 +00:00
sra@google.com
dc545910fb
Parse function-style extended attributes part #1
...
Constructor/NamedConstructor extended attributes have argument lists.
This change ensures they are parsed, renamed, written correctly.
Part #2 will be to process the argument list for the systems.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9426043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4385 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-21 00:08:27 +00:00
ahe@google.com
84b77a4b2f
Two minor bug fixes: a type error in the parser, and throwing the
...
correct exceptions on indexed access.
Review URL: https://chromiumcodereview.appspot.com//9355014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4384 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-20 23:47:36 +00:00
antonm@google.com
e58b246ec3
Support generation of constructors in the most common case.
...
Review URL: https://chromiumcodereview.appspot.com//9416062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4380 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-20 15:06:51 +00:00
karlklose@google.com
a0b995b146
Implement cycle-checking and code generation for redirecting constructors.
...
Review URL: https://chromiumcodereview.appspot.com//9391004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4378 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-20 13:55:47 +00:00
podivilov@google.com
9d30a88866
Do not use relative paths in dom scripts.
...
TBR=sra@chromium.org
Review URL: https://chromiumcodereview.appspot.com//9421034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4376 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-20 11:29:51 +00:00
sgjesse@google.com
6512d83d74
Move MessageWriter from snapshot files to dart_api_message files
...
Also renamed MessageWriter to ApiMessageWriter
R=asiva@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9407010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4375 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-18 10:10:28 +00:00
cshapiro@google.com
04204bf8e3
Restore the OutOfMemory test now that WeakPersistentHandles work.
...
Review URL: https://chromiumcodereview.appspot.com//9418031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4374 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-18 01:48:18 +00:00
jacobr@google.com
2dd9808b7b
Wrapperless dart:html generator
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9403004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4373 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-17 22:11:16 +00:00
efortuna@google.com
8973618122
Third time's the charm...
...
TBR=sigmund@google.com
Review URL: https://chromiumcodereview.appspot.com//9422011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4372 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-17 21:59:09 +00:00
efortuna@google.com
52d9361aab
Make "should retry" argument optional -- RunningProcess is used by separate VM
...
tests.
TBR=sigmund@google.com
Review URL: https://chromiumcodereview.appspot.com//9424008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4371 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-17 21:50:13 +00:00
efortuna@google.com
36b88ced7a
Don't retry browser tests if the bot is pretty red. Also, retry properly all
...
times that DRT crashes.
Review URL: https://chromiumcodereview.appspot.com//9426005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4370 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-17 21:44:34 +00:00