Commit Graph

760 Commits

Author SHA1 Message Date
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
dgrove@google.com 8998e74536 Start moving non-platform libraries from lib/ to pkg/ .
Review URL: https://chromiumcodereview.appspot.com//10827227

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10655 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 16:26:41 +00:00
antonm@google.com 0bdef30a5b Do not force checked mode on VM.
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10635 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 11:47:35 +00:00
ricow@google.com 5f0160badc Add python script for clobbering the output directory of a build on any platform given the mode and architecture.
Review URL: https://chromiumcodereview.appspot.com//10830302

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10629 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 10:59:29 +00:00
efortuna@google.com d0639b090e Fix get_archive to deal with ranges of numbers that appear in the
dartium_archive (see issue # 4484).
Review URL: https://chromiumcodereview.appspot.com//10828291

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10614 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 23:16:48 +00:00
scheglov@google.com ba4c0b4a2b Fix test_suite.dart to fix dartc tests
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10580 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 15:03:56 +00:00
antonm@google.com b5afc18701 Speculative fix for dartc problem.
TBR=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10576 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 14:43:26 +00:00
antonm@google.com 553cfe80b6 Proper support for VMOptions declarations for dart2dart.
Plus remove suppressions for now passing tests and retriage ones
for which we hoped the reason was in VMOptions.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10563 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 12:05:58 +00:00
jackpal@google.com 106e96f420 Filter out _android.(cc|h) files for non-Android OS targets
This change allows us to add _android.(cc|h) files to the
source tree without affecting other OSs.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10526 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 18:42:10 +00:00
efortuna@google.com 5072b18d98 Enable Opera testing (!!!).
Review URL: https://chromiumcodereview.appspot.com//10832239

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10513 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 16:50:34 +00:00
sigmund@google.com 26eed674ba Fix layout tests.
Review URL: https://chromiumcodereview.appspot.com//10854075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10462 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-09 21:52:07 +00:00
vsm@google.com 7a5a9ecc63 More robust exit test for Dromaeo
This should fix the immediate close in Safari.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10423 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 22:02:31 +00:00
sethladd@google.com 82487ff3b2 get svn rev num even if using git svn
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10389 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 14:55:01 +00:00
ricow@google.com 8af43b1439 Revert 10374 - clobbering did not help.
Review URL: https://chromiumcodereview.appspot.com//10834225

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10375 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 11:37:44 +00:00
ricow@google.com bd3018976d Relanding 10366 - expecting a clobber to resolve the linking issue.
Review URL: https://chromiumcodereview.appspot.com//10831209

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10374 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 11:19:42 +00:00
ricow@google.com cb8c30393c Revert 10366, this breaks the windows builders
Review URL: https://chromiumcodereview.appspot.com//10830212

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10372 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 09:06:51 +00:00
ricow@google.com 525627c2ba Fix gyp settings for builds within Visual Studio.
This is landing of a community patch from  Don J. Olmstead, see: http://code.google.com/p/dart/issues/detail?id=4296
Review URL: https://chromiumcodereview.appspot.com//10854036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10366 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 07:49:32 +00:00
gram@google.com 04addcf452 Fix break.
Review URL: https://chromiumcodereview.appspot.com//10834195

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10317 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-06 22:57:17 +00:00
gram@google.com 8532a6349d Clean up the test wrapper code so that it does not use reportTestError, and made that private.
The HTML configs still need a way of reporting errors so I added a method to Config which can be used for this purpose. This seems a bit cleaner and more flexible, as configs can now override this.
Review URL: https://chromiumcodereview.appspot.com//10854013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10311 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-06 22:00:59 +00:00
jackpal@google.com 5e62db3e6a Make code follow the Python style guidelines
+ Use a doc string for the whole file.

+ Lower case function names.

+ Consistently use single-quotes for quoted strings.

+ align wrapped elements with opening delimiter.

+ use a main() function
Review URL: https://chromiumcodereview.appspot.com//10837127

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10307 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-06 21:02:28 +00:00
jackpal@google.com d51cff04c0 Update gyp, keep VS 2008 default for Windows builds.
Use the environment variable GYP_MSVS_VERSION to override
the default.

all.deps/DEPS now calls tools/gyp_dart.py to generate
the build files. (Previously it called gyp directly.)

tools/gyp_dart.py adds the logic to make VS 2008 the
default build file format on Win32 systems.

The same logic was added to tools/generate_projects.py
which is called by all-deps/DEPS to generate build files
for dart vm sub-projects. These sub-project build files
aren't used in official builds, but apparenlty are used
by some engineers. I don't know how many of those engineers
are building on Windows, but we might as well keep the
two build systems compatible.
Review URL: https://chromiumcodereview.appspot.com//10836101

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10299 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-06 18:56:48 +00:00
efortuna@google.com df9944faad Update script to switch through revision history successfully.
Review URL: https://chromiumcodereview.appspot.com//10832149

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10271 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-04 20:37:24 +00:00