Commit Graph

79322 Commits

Author SHA1 Message Date
sigmund@google.com 9fa7c19028 client.status: reneable html tests
Review URL: http://codereview.chromium.org//8968001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2472 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 19:09:36 +00:00
mmendez@google.com dbd3ee5514 Don't allow new of interface without constructors.
Addresses http://code.google.com/p/dart/issues/detail?id=868.  The behavior of allowing default construction of interfaces that have factories has been there for sometime.  We can remove that behavior once the issue has been settled.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2470 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 18:38:49 +00:00
codefu@google.com c5d6f1b773 Adding failure case for Frog: FuntionTypeAlias2Test
R=ahe@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2467 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 14:13:51 +00:00
alexeif@google.com 0a3383c963 Add operator keyword to vim syntax.
Review URL: http://codereview.chromium.org//8954011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2466 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 13:51:44 +00:00
codefu@google.com e9487a92e4 Expands on previous function RTT to support named/optional parameters.
Issues encountered:
http://code.google.com/p/dart/issues/detail?id=847
http://code.google.com/p/dart/issues/detail?id=848

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2465 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 13:31:32 +00:00
sigmund@google.com 0c903c8de6 update status for frogium
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2460 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 04:31:44 +00:00
sra@google.com 15def13751 File missed in http://codereview.chromium.org/8915019/
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2458 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 04:07:01 +00:00
sigmund@google.com bfe2649732 frog: better binding of methods.
Review URL: http://codereview.chromium.org//8914024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2457 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 03:59:22 +00:00
sigmund@google.com 252dcbfea0 green bots: skip html_tests
(tbr)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2456 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 03:56:04 +00:00
srdjan@google.com 7bffefc980 Disable OptimizedSetterTest for frog
Review URL: http://codereview.chromium.org//8950003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2455 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 01:00:04 +00:00
nweiz@google.com b82fa6a145 Cleaner and more correct fix for _ChildrenNodeList#forEach.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2454 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 00:57:49 +00:00
srdjan@google.com a3f519eacc Optimize instance setters for non-implicit-setters and for setters with multiple targets.
Review URL: http://codereview.chromium.org//8945002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2451 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 00:46:27 +00:00
danrubel@google.com ffdb38c1a4 Fix dartc tests (TBR)
Review URL: http://codereview.chromium.org//8909018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2450 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 23:15:33 +00:00
danrubel@google.com 364c30bcdf Rename frog dom to match SDK naming convention
Review URL: http://codereview.chromium.org//8915019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2449 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 22:47:06 +00:00
nweiz@google.com 304db26749 Fix _ChildrenNodeList#forEach.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2448 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 22:46:00 +00:00
nweiz@google.com e381b0a935 Fix client/html/ElementTests when there are other elements already on the page.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2444 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 20:59:26 +00:00
devoncarew@google.com 6684be82f9 Add frog/server/frog_server.dart and related files to the dart-sdk build.
Review URL: http://codereview.chromium.org//8911009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2442 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 20:27:35 +00:00
turnidge@google.com 3b9026f21d If an unhandled exception occurs in Dart_RunLoop, pass it out to the caller.
Review URL: http://codereview.chromium.org//8918028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2438 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 18:27:58 +00:00
asiva@google.com 79857c7d20 Changes to set up the object tag bits
- sets up canonical
- sets up created from a snapshot
Added code to capture the tag bits during snapshot generation.
Review URL: http://codereview.chromium.org//8879063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2436 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 18:09:18 +00:00
mmendez@google.com 03810b7877 Guard against NPE in: http://code.google.com/p/dart/issues/detail?id=815.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2429 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 14:30:25 +00:00
sgjesse@google.com 5b74b0065a Update comments for streams
R=whesse@google.com, ager@google.com

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2426 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 13:41:35 +00:00
ahe@google.com 7e68227003 Run the same leg tests on build bot as in presubmit.py.
Review URL: http://codereview.chromium.org//8898043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2423 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 11:34:14 +00:00
whesse@google.com cc9ae85f55 Fix read handler bug in tools/test.dart: Replace dataHandler with lineHandler if using readLine.
BUG=dart:802
TEST=language/Unary2Test

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2422 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 11:24:13 +00:00
sra@google.com b8977d6c8d Fix missing trampolines for named arguments.
To elide the trampoline, the named arguments must be in exactly the right positions, and not merely in the correct order to preserve evaluation order semantics.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2418 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 08:25:50 +00:00
sgjesse@google.com 9f92d783ef Change temp dir generation on Windows to use UUIDs instead of random numbers
This avoids having to generate random numbers for all platforms as
only Windows was using them. Also when the andom number generator is
deterministic the Windows implementation using random numbers could
end up running out of temporary files.

R=whesse@google.com

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2417 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 07:25:09 +00:00
sra@google.com 2b020ab084 Test for named arguments with tricky names.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2414 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 04:41:02 +00:00
rnystrom@google.com ce4f2b0d16 Include JSON in generated docs.
Review URL: http://codereview.chromium.org//8912015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2413 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 02:30:11 +00:00
sra@google.com 0a78b6a45b Test for named arguments with tricky (for frog) names.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2412 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 02:02:14 +00:00
nweiz@google.com 8708104bdc Make ElementTests independent of the existing HTML markup.
Review URL: http://codereview.chromium.org//8932011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2411 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 01:19:18 +00:00
srdjan@google.com c0f481100e Expand ArithmeticTest to include truncate divide corner case and to trigger optimizing compiler.
Review URL: http://codereview.chromium.org//8935015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2410 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 01:18:38 +00:00
srdjan@google.com e48749760e Fix truncate divide bug (reported by sra) when dividing MIN_SMI by -1.
Review URL: http://codereview.chromium.org//8931016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2409 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 01:18:12 +00:00
sigmund@google.com cd10dad521 frogium: fix all status file to reflect frogium current status.
Review URL: http://codereview.chromium.org//8930024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2407 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 00:57:56 +00:00
nweiz@google.com 570e2d685e Fix the event tests under Frog.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2406 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 00:19:00 +00:00
dgrove@google.com 317425483d Build and upload SDK in both debug and release.
Make move from sdk tmp directory to sdk atomic.
Review URL: http://codereview.chromium.org//8932009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2404 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 23:34:41 +00:00
dgrove@google.com e0b00f65a3 Create the SDK in dart-sdk directory. The sdk zip file's contents
will be rooted at dart-sdk/ (rather than being root at bin/lib/... ,
as it is today).

Also, add a revision file to the SDK that contains the version number.
Review URL: http://codereview.chromium.org//8935008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2400 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 22:47:56 +00:00
regis@google.com 4e76761dd5 Rename type parameter to comply with upcoming corelib changes.
Update error message in class finalizer.
Review URL: http://codereview.chromium.org//8933014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2398 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 21:19:36 +00:00
srdjan@google.com 76f7132369 Optimize truncated divide (intrinsics and inline).
Review URL: http://codereview.chromium.org//8934010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2397 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 21:09:13 +00:00
jmesserly@google.com 20c88fd220 Fix path in tip
I broke this when I moved to utils... fortunately an easy fix!

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2396 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 20:48:15 +00:00
regis@google.com 0a3e0f8a0f Fix frog build.
Review URL: http://codereview.chromium.org//8929011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2395 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 19:56:19 +00:00
regis@google.com 5db4de9756 Implement revised factories in the VM.
Emit warnings when obsolete syntax is used.
Review URL: http://codereview.chromium.org//8921033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2394 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 19:35:07 +00:00
efortuna@google.com 011093a066 Add Safari to the list of browsers we test on a regular basis.
Review URL: http://codereview.chromium.org//8920009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2393 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 18:56:41 +00:00
mrrussell@google.com 0f59b580f3 Per our email conversation I removed the print statement that told the user that gsutil could not be found and replace with a todo.
Review URL: http://codereview.chromium.org//8933004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2392 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 18:52:45 +00:00
sgjesse@google.com eed3c9bc2c Use Expect.throws for directory test
R=whesse@google.com

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2387 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 14:51:21 +00:00
sgjesse@google.com 55bfcb9f92 Fix broken test
The Expect.throws did not work as expected.

TBR=whesse@google.com

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2386 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 14:37:53 +00:00
sgjesse@google.com f2bda92a66 Add support for getting OS error information for creating temporary directories
R=whesse@google.com

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2385 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 14:22:50 +00:00
ngeoffray@google.com 50f743d593 Frogot this change from last commit.
Review URL: http://codereview.chromium.org//8930007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2384 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 13:39:55 +00:00
sra@google.com d5bf145d29 Mark VoidCallback as a [Callback]
This will let Dart 0-arg functions be passed to
NotifcationCenter.requestPermission to fix Issue 830.

The change required merging interface extended attributes.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2373 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 03:11:50 +00:00
nweiz@google.com 9586f917db Don't depend on dart:dom in file_system_memory.dart.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2372 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 02:25:50 +00:00
mrrussell@google.com 4adf860b73 Python Dict throws an exception if a key is not found. I needed to use the has_key function instead. TBR=danrubel
Review URL: http://codereview.chromium.org//8918030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2368 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 01:28:28 +00:00
mrrussell@google.com 27c00758c9 Changed upload_sdk.py to look for an environment variable and deploy to a different bucket if a developer is running a local editor build.
This prevents local developer builds from ending up on dart-dump-render-tree.
Review URL: http://codereview.chromium.org//8923007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2366 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 01:20:11 +00:00