hausner@google.com
021029a386
Not my day today
...
Review URL: https://chromiumcodereview.appspot.com//9113100
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3638 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 01:01:01 +00:00
hausner@google.com
ae5c6905ac
Fix new test in checked mode
...
Murphy is in a really bad mood today...
Review URL: https://chromiumcodereview.appspot.com//9289061
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3637 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 00:49:02 +00:00
hausner@google.com
690df302d4
More lottery wins...
...
Review URL: https://chromiumcodereview.appspot.com//9235082
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3636 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 00:33:00 +00:00
hausner@google.com
9dea8d3795
Bingo
...
Tripped the linux compiler again...
Review URL: https://chromiumcodereview.appspot.com//9113099
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3635 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 00:29:47 +00:00
hausner@google.com
864393bdad
Add debugger functions to inspect objects and classes.
...
Next steps: inspect global variables, better support for inspecting local variables on stack.
Review URL: https://chromiumcodereview.appspot.com//9288071
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3634 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 00:27:12 +00:00
regis@google.com
6f6543f4f9
Disable failing new tests for frog and leg.
...
Review URL: https://chromiumcodereview.appspot.com//9271086
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3633 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 00:05:51 +00:00
regis@google.com
76a765b72f
Simplify parsing of 'new' operator.
...
Fix checking of default factory type parameters (add new tests).
Start cleanup of class resolution code in parser and finalizer.
Review URL: https://chromiumcodereview.appspot.com//9290065
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3632 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 23:50:29 +00:00
rnystrom@google.com
dc14652319
Fix apidoc to work with latest frog and dartdoc.
...
Review URL: https://chromiumcodereview.appspot.com//9113094
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3631 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 23:19:43 +00:00
ajohnsen@google.com
20f24769c8
Fix type error
...
Review URL: https://chromiumcodereview.appspot.com//9249052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3629 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 22:56:50 +00:00
ajohnsen@google.com
56d0e3a746
Send data in chunks when writing to socket.
...
Review URL: https://chromiumcodereview.appspot.com//9220008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3628 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 22:50:26 +00:00
nweiz@google.com
aa269a9589
Change a couple vars -> finals.
...
TBR
Review URL: https://chromiumcodereview.appspot.com//9234069
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3627 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 20:39:51 +00:00
scheglov@google.com
99cc34e500
Issue 1287. Allow to invoke function literal.
...
http://code.google.com/p/dart/issues/detail?id=1287
R=zundel@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9288021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3626 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 20:22:08 +00:00
zundel@google.com
256f8ab403
Removed total tests from client dir and relocated them to the samples dir
...
Review URL: https://chromiumcodereview.appspot.com//9169098
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3625 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 20:18:17 +00:00
ahe@google.com
95a88f1be0
Don't allow escaping newlines in single line strings.
...
Review URL: https://chromiumcodereview.appspot.com//9288070
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3624 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 19:33:42 +00:00
efortuna@google.com
e16df64b9d
Wrote a daily update script.
...
Review URL: https://chromiumcodereview.appspot.com//9235046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3623 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 19:26:09 +00:00
zundel@google.com
226ed91138
Added runtime type checking to the elements of list and map literals in dartc
...
http://code.google.com/p/dart/issues/detail?id=220
http://code.google.com/p/dart/issues/detail?id=221
Review URL: https://chromiumcodereview.appspot.com//9289029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3619 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 17:33:04 +00:00
ager@google.com
4605b5ea33
Minor changes to the dart:io library files.
...
- Split some of the streams into an interface and an implementation file.
- Add documentation comments where missing.
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9289042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3616 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 10:03:19 +00:00
cshapiro@google.com
9869598950
Fix a build break caused by an new execution test that cannot run on ARM.
...
Review URL: https://chromiumcodereview.appspot.com//9169073
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3614 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 03:36:04 +00:00
cshapiro@google.com
569ef3c044
Add ByteArray interface and provide internal and external implementations.
...
The new ByteArray interface supersedes the ByteBuffer type which allowed
only external data storage. This type has been removed and replaced by
the more flexible ByteArray with a default implementation that stores its
elements on the managed heap.
Review URL: https://chromiumcodereview.appspot.com//9195031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3613 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 02:42:08 +00:00
scheglov@google.com
6f85c329e7
Issue 1330. Return actual Type from DartNewExpression.
...
http://code.google.com/p/dart/issues/detail?id=1330
R=zundel@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9113064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3609 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 21:43:57 +00:00
iposva@google.com
092f54c99a
Revert 3502 as it causes flaky test runs on Macs:
...
- Disable test-runtime.dart for Mac OS test runners.
Review URL: https://chromiumcodereview.appspot.com//9169056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3608 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 21:16:42 +00:00
zundel@google.com
7169189529
Update map literal syntax to expect only one type parameter
...
As of the spec v0.6, the correct syntax is now:
<V>{"key" : value };
Whereas you used to also specify the key. Added a deprecation warning
for the old syntax.
http://code.google.com/p/dart/issues/detail?id=1151
Review URL: https://chromiumcodereview.appspot.com//9235015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3606 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 20:21:24 +00:00
jimhug@google.com
86fa666526
Reapply r3590 with frog fixes
...
Review URL: https://chromiumcodereview.appspot.com//9113061
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3599 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 15:36:32 +00:00
ahe@google.com
fe8225307a
Build script tags.
...
For now, ignore script tags but warn that they aren't supported. This flushes out bugs elsewhere in the compiler.
Review URL: https://chromiumcodereview.appspot.com//9283031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3594 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 09:34:27 +00:00
ahe@google.com
a69cb93349
Setup getter and setter elements.
...
Review URL: https://chromiumcodereview.appspot.com//9117033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3593 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 09:15:08 +00:00
ngeoffray@google.com
b12ed463bd
Change error message (and not the internal method names) to report 'final field' instead of 'const field'.
...
Review URL: https://chromiumcodereview.appspot.com//9117025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3592 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 08:09:47 +00:00
sra@google.com
6e2020202a
Revert "Implement List<T> operations on dom types via manual mixins."
...
This reverts commit 60ce58f3cef71e7fa413b134dcb565eb1563b315.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9290010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3591 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 07:46:54 +00:00
sra@google.com
b9ba0e9e5d
Implement List<T> operations on dom types via manual mixins.
...
This gets HTMLCollectionTest.html and Typing.html from the layout
tests working for Frog.
I tried using a hidden native parameterized base class but that did
not work, so I had to backed off to having to mix-in the
List<T> methods on each native class that implements List<T>.
This is what we did with dartc.
The mixins are in a template - not quite as bad as in the python code
but still not so easy for others to find.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9271036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3590 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 06:58:45 +00:00
jimhug@google.com
a068090b22
Fixes isolate issue #1329
...
Review URL: https://chromiumcodereview.appspot.com//9290007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3589 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 02:54:08 +00:00
efortuna@google.com
a84c69a064
Reverting r3585. Unclear how this broke dartc...
...
TBR=sigmund@google.com ,
Review URL: https://chromiumcodereview.appspot.com//9290006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3588 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 02:45:41 +00:00
regis@google.com
54bf52428d
Allow the list of type parameters in the default factory clause to be omitted.
...
Review URL: https://chromiumcodereview.appspot.com//9169032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3587 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 01:30:14 +00:00
efortuna@google.com
0d150af08d
More fixes for test.dart to run browser tests on Windows!
...
Review URL: https://chromiumcodereview.appspot.com//9146049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3585 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 00:57:09 +00:00
vsm@google.com
a9b650dade
Fix for AudioContext in Frog
...
TEST=AudioContext.dart
TBR=sra
Review URL: https://chromiumcodereview.appspot.com//9235022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3584 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 00:44:16 +00:00
vsm@google.com
e17d9e183e
DOM Isolate test
...
(TBR'ing. I'll refactor more cleanly as I migrate other tests, but I wanted to get this broken one in quickly.)
BUG=1329
TEST=IsolateLight
TBR=jimhug
Review URL: https://chromiumcodereview.appspot.com//9289006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3583 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 00:05:04 +00:00
nweiz@google.com
538dabd388
Add constructors for Float32Array and friends.
...
Fixes issue 560.
TBR
Review URL: https://chromiumcodereview.appspot.com//9113039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3582 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 00:04:39 +00:00
sra@google.com
072cd51e52
Make DOMType the root of DOM implementation types.
...
Move irregular classes (Storage, Console) to templates.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9271031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3580 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 23:25:27 +00:00
regis@google.com
f9e785eb29
Remove support for obsolete syntax of factory methods and default classes.
...
Review URL: https://chromiumcodereview.appspot.com//9285031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3578 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 22:37:45 +00:00
turnidge@google.com
0c9f177bf0
Don't access a message after it has been enqueued. It may be deleted
...
at that point.
Review URL: https://chromiumcodereview.appspot.com//9288001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3576 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 22:02:53 +00:00
hausner@google.com
0071e91d16
Any time now...
...
Review URL: https://chromiumcodereview.appspot.com//9283043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3575 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 21:51:04 +00:00
hausner@google.com
a64a696ca9
If at first you don't succeed...
...
Review URL: https://chromiumcodereview.appspot.com//9117051
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3574 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 21:46:40 +00:00
hausner@google.com
dd0f8f0d21
Appease picky linux gcc.
...
Review URL: https://chromiumcodereview.appspot.com//9285030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3573 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 21:38:56 +00:00
hausner@google.com
f4dee306e5
Fix local variable info in debugger stack trace.
...
Review URL: https://chromiumcodereview.appspot.com//9117042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3572 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 21:33:40 +00:00
hausner@google.com
02d59f08ba
Add functions to list library and script urls in an isolate.
...
Review URL: https://chromiumcodereview.appspot.com//9117015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3571 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 21:33:04 +00:00
jimhug@google.com
cd32d6bfbe
cleanup from r3556
...
Review URL: https://chromiumcodereview.appspot.com//9284030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3566 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 20:28:00 +00:00
iposva@google.com
9e8666ce55
- Avoid running into an unimplemented and add more debugging help.
...
Review URL: https://chromiumcodereview.appspot.com//9212059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3565 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 20:24:12 +00:00
zundel@google.com
1431b3238e
Provide better debugging if a null type is encountered.
...
Patches up at least one case where the 'this' keyword could return null if used in a static context.
http://code.google.com/p/dart/issues/detail?id=761
Review URL: https://chromiumcodereview.appspot.com//9160004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3564 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 20:12:07 +00:00
turnidge@google.com
8920623dc5
OOB messages and general message refactor.
...
(1)
No longer give embedders direct access to inter-isolate messages.
Instead, keep these messages in an internal queue and rely on the
embedder only to provide notifications. This simplifies the api in
numerous ways:
- post message callback drops parameters and becomes message notify callback.
- close port callback goes away
- Dart_Message type goes away
- Dart_HandleMessage gets a simpler signature
Updated the custom_isolate_test to show what use of the new apis looks like.
(2)
Begin to add support for out-of-band (OOB) messages. These messages
supercede regular messages in the queue. We will attempt to deliver
these messages even while code is running, by using the isolate
interrupt mechanism. These messages are not user-visible. They will
be used by the runtime internally to implement things like reflection.
Renamed PortMessage to Message.
Refactored message sending apis in PortMap and Isolate.
Modified MessageQueue to be aware of multiple priorities.
Modify Dart_HandleMessage to process multiple OOB messages
Review URL: https://chromiumcodereview.appspot.com//9182001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3562 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 19:31:01 +00:00
scheglov@google.com
f7182176bf
Issue 1229. Report error for using unary plus operator.
...
http://code.google.com/p/dart/issues/detail?id=1229
R=zundel@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9284029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3560 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 19:05:55 +00:00
scheglov@google.com
74ce938e44
Mark test as failing in release.
...
http://code.google.com/p/dart/issues/detail?id=1317
R=mmendez@google.com ,zundel@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9284027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3558 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 17:39:39 +00:00
jimhug@google.com
b05356a0b1
update status file for quick fix to r3553
...
Review URL: https://chromiumcodereview.appspot.com//9285019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3556 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 16:16:06 +00:00