ahe@google.com
c30d1bfecc
Update co19 to revision 119.
...
Review URL: https://chromiumcodereview.appspot.com//9347018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3991 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 12:41:11 +00:00
kasperl@google.com
ac269abbe3
Add test cases for issue 1569.
...
R=ahe@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9350016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3990 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 12:35:43 +00:00
ahe@google.com
e4773b842f
Detect VM crashes and update status file.
...
Review URL: https://chromiumcodereview.appspot.com//9352015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3987 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 11:48:38 +00:00
ricow@google.com
7c524e3e3c
Change file opening operation to set position at the end of the file when FileMode.APPEND is used.
...
Additionally, allow File.openOutputStream to take a FileMode enum (only FileMode.WRITE and FileMode.APPEND is allowed).
Review URL: https://chromiumcodereview.appspot.com//9346015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3984 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 09:34:12 +00:00
sgjesse@google.com
af200a2ef7
Fix Windows and Mac OS builds
...
TBR=ager@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9353007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3983 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 09:31:51 +00:00
sgjesse@google.com
252323441b
Move the thread local functions to the Thread class in runtime/platform
...
This gets rid of all the platform specific isolate_*.h and isolate_*.cc files.
R=asiva@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9328042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3982 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 09:18:22 +00:00
ahe@google.com
dca37f7f22
Use production mode when running on debug VM.
...
Review URL: https://chromiumcodereview.appspot.com//9332008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3981 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 09:18:11 +00:00
ager@google.com
e4f7a8d620
Use epoll for the event handler on Linux.
...
epoll is faster than poll and we avoid iterating all potential
file descriptors all the time.
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9332003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3980 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 08:19:33 +00:00
sra@google.com
054f15df94
Update client/dom/scripts/dartgenerator_test.py
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9347009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3979 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 03:19:29 +00:00
sra@google.com
98bd0b6553
Remove vestigial constructors in Frog implementation classes.
...
These should have been removed earlier.
Remove inaccurate comment.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9346008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3978 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 02:47:33 +00:00
sra@google.com
d9b36fc89e
Use 'field' syntax in dart:dom interfaces.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9341007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3977 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 02:16:55 +00:00
srdjan@google.com
9590898e08
Frogsh failures are frogiums failures as well.
...
Review URL: https://chromiumcodereview.appspot.com//9346006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3976 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 01:48:37 +00:00
dcarlson@google.com
4e438222b0
Optimize special cases in utf8 and utf16 where input can be copied to output.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9323077
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3974 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 23:44:42 +00:00
regis@google.com
598cfd27c2
Test again the library url in the error message shortened in r3965.
...
Review URL: https://chromiumcodereview.appspot.com//9340001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3973 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 22:45:05 +00:00
srdjan@google.com
4b3a6e1e57
Fixed a bug in isNegate intrinsified code, fixed negation for doubles (handling of negative zeros). Added tests. Fix issue 1554.
...
Factored out parts of X86Decoder::InstructionDecode in order to satisfy lint (500 lines max per function).
Review URL: https://chromiumcodereview.appspot.com//9338002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3971 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 22:16:44 +00:00
nweiz@google.com
617257d06e
Add a constructor for DOMParser.
...
Review URL: https://chromiumcodereview.appspot.com//9310103
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3969 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 21:03:02 +00:00
ahe@google.com
994b7e3a90
Skip tests that times out in debug mode
...
Review URL: https://chromiumcodereview.appspot.com//9331010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3967 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 20:45:25 +00:00
regis@google.com
2edb4ae9c7
Add token index position to classes and types for more accurate error reporting.
...
Review URL: https://chromiumcodereview.appspot.com//9325047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3965 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 19:52:02 +00:00
sgjesse@google.com
b6c9b6de24
Spelling corrections to the API header file
...
R=asiva@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9332007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3964 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 19:31:32 +00:00
srdjan@google.com
c097795d6e
Improve repoorting of NoSuchMethod:
...
NoSuchMethodException: incorrect number of arguments passed to method named 'foo'
Receiver: Instance of 'A'
Tried calling: foo(5, 6, 7)
Found: foo(b, c)
Review URL: https://chromiumcodereview.appspot.com//9317099
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3960 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 18:05:16 +00:00
sgjesse@google.com
29ff35540e
Fix Windows build
...
TBR=asiva@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9335001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3955 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 17:03:18 +00:00
ahe@google.com
35fcd5e429
Also increase timeout for leg-debug
...
Review URL: https://chromiumcodereview.appspot.com//9332001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3951 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 16:19:41 +00:00
ahe@google.com
bb39ff705f
Increase timeout limit in frog-debug
...
Review URL: https://chromiumcodereview.appspot.com//9328043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3950 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 16:12:55 +00:00
sgjesse@google.com
186e0078e4
Fix Windows build
...
TBR=asiva@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9309124
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3949 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 15:56:44 +00:00
sgjesse@google.com
be4fb55ac9
Fix Windows and Mac OS builds
...
TBR=asiva@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9323082
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3948 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 15:52:39 +00:00
sgjesse@google.com
4e9686dc4b
Implemented encoding af a Dart_CMessage structure into a Dart message. Currently supported types are:
...
Boolean
Smi
Double
String
Array
The encoding uses the upper bits of the Dart_CObject type field for "marking" already written objects with their object id for generating backward references. After serialization these mark are removed.
Added the API Dart_PostCMessage for encoding and posting a Dart_CMessage structure.
Removed the API Dart_PostIntArray and used Dart_PostCMessage instead.
R=asive@google.com ,turnidge@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9104041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3947 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 15:42:15 +00:00
ahe@google.com
cefacc0a90
Skip tests in debug mode that times out
...
Review URL: https://chromiumcodereview.appspot.com//9323080
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3946 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 15:35:02 +00:00
zundel@google.com
574f7dfb0b
Fix DartRunner to work properly with --check-only cmdline flag
...
Review URL: https://chromiumcodereview.appspot.com//9310096
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3944 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 14:15:52 +00:00
ahe@google.com
f11e7ce964
Add co19-leg.status
...
Review URL: https://chromiumcodereview.appspot.com//9317118
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3942 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 12:53:47 +00:00
podivilov@google.com
69ee1341d9
Support 'Conditional' idl attribute.
...
'Conditional' attribute is a replacement for "#if defined" conditions and should be processed accordingly.
R=sra@google.com
Review URL: https://chromiumcodereview.appspot.com//9323028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3939 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 12:06:16 +00:00
ngeoffray@google.com
1b8cf53985
Fix for issue 1480: analyze a method even if it does not have a body, and do not try to evaluate a call if it does not have the right number of arguments.
...
Review URL: https://chromiumcodereview.appspot.com//9325029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3937 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 11:57:42 +00:00
ahe@google.com
48b1eff052
Debug means debug build, --checked is a seperate step
...
Review URL: https://chromiumcodereview.appspot.com//9310113
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3935 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 11:38:04 +00:00
ager@google.com
5b598c889f
Fix flakiness of SocketCloseTest by waiting for all close events.
...
The assumption that all close events are delivered before the server
shutdown message is received is false.
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9325062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3933 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 11:27:03 +00:00
ahe@google.com
533aebd06d
@dynamic-type-error are no longer negative tests
...
BUG=http://code.google.com/p/dart/issues/detail?id=1550
Review URL: https://chromiumcodereview.appspot.com//9310118
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3932 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 11:26:15 +00:00
ahe@google.com
f1f7ca7734
Update co19-frog.status
...
Review URL: https://chromiumcodereview.appspot.com//9328031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3929 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-05 14:19:41 +00:00
ahe@google.com
2c9093125d
Run co19 language tests on leg.
...
Review URL: https://chromiumcodereview.appspot.com//9325033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3928 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-05 13:35:04 +00:00
sra@google.com
602d778a47
Use fields in hidden native DOM classes instead of getters/setters.
...
Frog can generate JS with the field syntax when the reciever type can be inferred.
BUG=1520
TEST=
Review URL: https://chromiumcodereview.appspot.com//9312003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3926 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-04 08:29:05 +00:00
efortuna@google.com
2586551813
Fix GCTest in language status file.
...
Review URL: https://chromiumcodereview.appspot.com//9325046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3925 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 23:38:58 +00:00
asiva@google.com
ce3621d92f
Revert tests to their original form, these were missed out in an earlier CL.
...
Review URL: https://chromiumcodereview.appspot.com//9317092
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3924 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 23:07:51 +00:00
srdjan@google.com
be66ab9a1c
Fix for issue 1307: throw runtime exception instead of reporting a compile time error if a static call cannot be resolved.
...
Review URL: https://chromiumcodereview.appspot.com//9316100
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3922 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 22:25:16 +00:00
jacobr@google.com
5825741150
Cleanup mdn scripts
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9315026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3920 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 22:01:58 +00:00
scheglov@google.com
15234d56d5
Remove DartDocumentationGenerator and related flags.
...
R=zundel@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9317093
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3919 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 21:27:31 +00:00
vsm@google.com
9c064586b3
Remove deps on deleted files
...
Tbr'ing to fix the build.
TBR=mmendez
Review URL: https://chromiumcodereview.appspot.com//9317082
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3917 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 18:07:51 +00:00
vsm@google.com
516032d7ad
Remove obsolete readme/license files.
...
We no longer host IDL within this repo.
Review URL: https://chromiumcodereview.appspot.com//9310088
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3916 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 17:46:57 +00:00
srdjan@google.com
0735ee20b4
Simarm is not yet implemented. Disable all tests in tests/util. "Fixed" r1409.
...
Review URL: https://chromiumcodereview.appspot.com//9307085
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3912 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 17:22:37 +00:00
srdjan@google.com
19c79a3660
If programmer mistakes the number of arguments, VM throws noSuchMethod. Extend reporting to report correct number/name of arguments if a method with the same name exists. Example:
...
NoSuchMethodException - receiver: 'Instance of 'A'' function name: 'foo' arguments: [1]]
Found 'foo(alpha, beta, message)'
0. Function: 'Object.noSuchMethod' url: 'bootstrap' line:647 col:3
1. Function: '::main' url: '/sources/chinstrap/dart/runtime/Test.dart' line:8 col:8
Review URL: https://chromiumcodereview.appspot.com//9307074
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3911 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 17:13:09 +00:00
ahe@google.com
922a869e63
Implement script tags.
...
Review URL: https://chromiumcodereview.appspot.com//9309061
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3909 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 17:09:16 +00:00
ahe@google.com
69e9ffe19b
Mark test as flaky
...
Review URL: https://chromiumcodereview.appspot.com//9325030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3908 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 16:09:21 +00:00
ahe@google.com
48784a33d2
Update win32 checked co19 status
...
Review URL: https://chromiumcodereview.appspot.com//9323032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3907 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 16:04:31 +00:00
ahe@google.com
47e82b7e73
Update win32 co19 status
...
Review URL: https://chromiumcodereview.appspot.com//9320072
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3906 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 15:56:09 +00:00