Commit Graph

6631 Commits

Author SHA1 Message Date
whesse@google.com 61d20e42f9 Use new syntax for getters in test.dart and its libraries.
BUG=

Review URL: https://chromiumcodereview.appspot.com//10920003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11616 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 14:16:05 +00:00
ajohnsen@google.com 3cf5d6531d Move core and coreimpl from corelib/ to lib/core and lib/coreimpl.
BUG=

Review URL: https://chromiumcodereview.appspot.com//10890030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11606 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 11:45:40 +00:00
ricow@google.com 4de86f1946 Update V8 to version 3.12.
This is a reapply of 11597 with a fix for duplicate Dart_Debug section in the runtime-configurations.gype.
Review URL: https://chromiumcodereview.appspot.com//10917007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11601 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 11:20:35 +00:00
ahe@google.com 4a89ba1dca Revert "Update V8 to 3.12."
This reverts r11597.

Review URL: https://chromiumcodereview.appspot.com//10916006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11599 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 10:54:23 +00:00
ahe@google.com 7197f2ab2d Update V8 to 3.12.
This includes moving some xcode settings to
runtime-configurations.gypi as they were
conflicting with v8 build.

Testing:

$ ./tools/build.py -mrelease --arch=x64,ia32
$ ./tools/test.py -mrelease --arch ia32,x64
$ file xcodebuild/ReleaseIA32/dart xcodebuild/ReleaseX64/dart xcodebuild/ReleaseIA32/d8 xcodebuild/ReleaseX64/d8
xcodebuild/ReleaseIA32/dart: Mach-O executable i386
xcodebuild/ReleaseX64/dart:  Mach-O 64-bit executable x86_64
xcodebuild/ReleaseIA32/d8:   Mach-O executable i386
xcodebuild/ReleaseX64/d8:    Mach-O executable i386

Review URL: https://chromiumcodereview.appspot.com//10892034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11597 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 10:43:56 +00:00
podivilov@google.com b6620e03b8 Reapply revision 11570, custom callbacks are now implemented in dartium.
R=ricow@google.com

Review URL: https://chromiumcodereview.appspot.com//10908005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11588 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 09:06:43 +00:00
ricow@google.com c35c494dfa Revert revision 11570, this still has dartium failures.
Review URL: https://chromiumcodereview.appspot.com//10908003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11576 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-30 06:23:25 +00:00
efortuna@google.com 49b238839d Reapply DOMFormData => FormData rename. (this time with a fix for Dartium)
Review URL: https://chromiumcodereview.appspot.com//10887016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11570 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 23:07:08 +00:00
jackpal@google.com 6bd1886c0e Fix windows build.
Review URL: https://chromiumcodereview.appspot.com//10903002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11548 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 20:52:08 +00:00
jackpal@google.com 73ffeb4418 Add support for building the Dart VM for Android OS.
The Android target OS is based upon the existing Linux target OS.
The existing _linux source files have been copied to create
corresponding _android source files. The copies have been
modified as needed to adapt to differences between the Linux
platform and the Android platform.

Currently the dart vm binary builds on Linux and runs on x86 Android,
Simple test scripts execute correctly, but no formal testing has been
done.

The process for building the Dart VM for Android will be documented on
the Dart wiki.
BUG=

Review URL: https://chromiumcodereview.appspot.com//10823209

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11547 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 20:42:28 +00:00
kasperl@google.com 72e668595d Use new try-catch syntax in runtime/, tools/, and utils/.
R=ngeoffray@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10887023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11514 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 11:58:58 +00:00
samhop@google.com 8e0b8dda3f modify perf test locations
BUG=

Review URL: https://chromiumcodereview.appspot.com//10868090

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11487 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-29 00:55:03 +00:00
blois@google.com 71ff69c493 Revert "Changing paths to JS files in generated test HTML files to be relative paths rather than absolute."
This reverts commit 50186979e813006fedae3f56c3de11c088836e1b.

BUG=

Review URL: https://chromiumcodereview.appspot.com//10883075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11427 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-28 00:09:24 +00:00
blois@google.com f3289d3dfe Changing paths to JS files in generated test HTML files to be relative paths rather than absolute.
This makes it easier to serve up the files from a local webserver and test the files on other platforms.

BUG=

Review URL: https://chromiumcodereview.appspot.com//10870107

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11426 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-28 00:02:47 +00:00
antonm@google.com 664d33f08b Better splitting of flag string.
TBR=ricow@google.com

Review URL: https://chromiumcodereview.appspot.com//10876078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11375 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-27 10:03:04 +00:00
antonm@google.com 1febed7462 Add --additional-compiler-flags option to tweak compilation.
For now it is only supported by dart2dart pipeline, but can be easily
extended to other pipelines which require compilation step.

R=ricow@google.com

Review URL: https://chromiumcodereview.appspot.com//10880066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11374 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-27 09:46:14 +00:00
efortuna@google.com d66e243eb3 Further broaden NSME test for IE.
Review URL: https://chromiumcodereview.appspot.com//10882004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11243 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-23 17:34:54 +00:00
efortuna@google.com 045de4485c Smarter "new interesting code" detection.
Review URL: https://chromiumcodereview.appspot.com//10829408

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11186 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 21:15:35 +00:00
efortuna@google.com 6fd3ef2032 Made get_archive.py resilient to 403 forbidden errors.
Review URL: https://chromiumcodereview.appspot.com//10867005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11178 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 18:12:41 +00:00
ager@google.com 722c1a3ce6 Deprecate Math object in corelib in favor of dart:math library.
Review URL: https://chromiumcodereview.appspot.com//10829459

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11155 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 14:33:01 +00:00
devoncarew@google.com d6041d86fc Add dart:mirrors to the SDK - this will allow the editor to resolve the mirrors library and the types within it.
Review URL: https://chromiumcodereview.appspot.com//10860074

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11099 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 21:16:01 +00:00
alanknight@google.com 96eb571837 Skip .svn files when copying "lib" directories under /pkg
Review URL: https://chromiumcodereview.appspot.com//10861032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11079 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 17:59:46 +00:00
alanknight@google.com 96c3872ffe Rename i18n to intl
Review URL: https://chromiumcodereview.appspot.com//10829442

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11076 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 17:30:21 +00:00
ahe@google.com d1af3e7465 Copy all frog/native tests to dart2js_foreign.
Review URL: https://chromiumcodereview.appspot.com//10855248

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11020 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-21 08:56:36 +00:00
efortuna@google.com 279352cdae Apply vsm's suggestion of keeping a table of "earliest revisions"
Review URL: https://chromiumcodereview.appspot.com//10862002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11002 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 21:34:16 +00:00
dgrove@google.com 518b80f7c6 Continue removal of frog.
Review URL: https://chromiumcodereview.appspot.com//10854232

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10996 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 19:35:58 +00:00
efortuna@google.com 8b32be9110 Don't let safari run too far in the past.
Review URL: https://chromiumcodereview.appspot.com//10831382

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10935 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-18 19:54:12 +00:00
dgrove@google.com e174e8d66f Move libraries.dart to lib/_internal/libraries.dart .
Review URL: https://chromiumcodereview.appspot.com//10829394

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10929 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 22:25:52 +00:00
efortuna@google.com 0a8eec36e2 Don't shortcut if we're trying to get the latest copy.
Review URL: https://chromiumcodereview.appspot.com//10832380

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10926 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 21:44:28 +00:00
efortuna@google.com eeb1586ae5 Prevent get_archive.py from going into an infinite loop if you request a
revision number that is too early.
Review URL: https://chromiumcodereview.appspot.com//10860015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10922 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 20:40:32 +00:00
efortuna@google.com 576dd8ced3 More tweaks to perf script
Review URL: https://chromiumcodereview.appspot.com//10836249

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10914 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 18:19:24 +00:00
dgrove@google.com de531b234a Move args from lib/ to pkg/ .
Review URL: https://chromiumcodereview.appspot.com//10831371

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10910 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 17:57:10 +00:00
ahe@google.com 5bbe4eb1e6 Install a signal handler to ensure drt-trampoline.py cleans up after itself.
Review URL: https://chromiumcodereview.appspot.com//10834363

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10840 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 17:03:50 +00:00
ager@google.com 37ae98110a Reapply "Sharing of sources for corelib date implementation between VM
and dart2js".

BUG=

Review URL: https://chromiumcodereview.appspot.com//10834353

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10799 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 08:00:02 +00:00
ager@google.com 2d1b1727ef Revert "Sharing of sources for corelib date implementation between VM and"
Revert "Fix create_sdk."

Revert "Fix bad merge. 'unified' directory is gone."

We need to update dartc to not check that final fields are initialized
for 'external' constructors (it does not have the body and
initializers for those).

R=ajohnsen@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10857029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10797 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 07:40:09 +00:00
ager@google.com 006ee76d31 Fix create_sdk.
R=ajohnsen@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10832337

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10795 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 07:15:25 +00:00
ricow@google.com 71ff9c1549 Fix dart editor buildbot scripts to support clobbering.
Additionally, default to deleting both debug and release mode output directories when nothing has been specified on the command line using the --mode option.
Review URL: https://chromiumcodereview.appspot.com//10829351

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10789 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-16 05:55:09 +00:00
dgrove@google.com f9c1f725b4 Missed this as I moved dartdoc from lib/ to pkg/ .
Review URL: https://chromiumcodereview.appspot.com//10837273

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10780 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 23:30:05 +00:00
dgrove@google.com 39889f6270 Move dartdoc from lib/ to pkg/ .
Reviewed at desk by rnystrom, since gcl upload fails when there
are binary images in the change.

TBR=rnystrom@google.com



git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10776 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 22:59:55 +00:00
devoncarew@google.com 07fb9c4a95 Increase the timeout for the dartc junit tests.
Review URL: https://chromiumcodereview.appspot.com//10831333

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10766 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 20:10:23 +00:00
antonm@google.com d5405063c1 Ignore unrecognized flags when running DartVM.
That matches behaviour of other chains which end up running on DartVM.

R=smok@google.com

Review URL: https://chromiumcodereview.appspot.com//10832317

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10749 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 16:56:43 +00:00
dgrove@google.com 1b580004e1 Remove old frog references from test.dart
Review URL: https://chromiumcodereview.appspot.com//10831329

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10742 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 15:27:44 +00:00
ager@google.com e2cb076b07 Get rid of last minute typo.
R=ajohnsen@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10829335

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10720 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 12:51:21 +00:00
ager@google.com 1642907152 Do not put runtime patch files in the SDK.
The analyzer is not supposed to see them. Once more of the source is
shared we will not need to have core-runtime at all.

R=ajohnsen@google.com,lrn@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10827349

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10718 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 12:49:02 +00:00
ricow@google.com 942e3cf4c1 Add a support for a slow marker in status files.
The reasoning for this is that we want to have a sufficiently low
timeout to catch performance regressions, but still want to maintain
the support for having a few tests that takes a longer time to
complete.

This cl adds 2 slow functions, I will add more if any additional tests timeout on the buildbot.
Review URL: https://chromiumcodereview.appspot.com//10854156

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10714 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 11:55:44 +00:00
ricow@google.com 1d85fdca8c Update clobber functionality to clobber runtime/{Debug,Release} on windows
Review URL: https://chromiumcodereview.appspot.com//10823341

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10702 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 07:26:40 +00:00
alanknight@google.com 4d23964337 Run tests in the pkg sub-directory when running all
Review URL: https://chromiumcodereview.appspot.com//10825358

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10695 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 00:38:49 +00:00
alanknight@google.com ce28be9d2f Move tests for things in /pkg into the right places for packages
Review URL: https://chromiumcodereview.appspot.com//10828310

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10688 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 23:05:20 +00:00
dgrove@google.com c265902bea Move unittest from lib to pkg.
Review URL: https://chromiumcodereview.appspot.com//10836241

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10685 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 22:36:59 +00:00
efortuna@google.com 6a2eb08f20 Make some changes to the perf tests running script.
Review URL: https://chromiumcodereview.appspot.com//10855139

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10659 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 17:40:17 +00:00