Commit Graph

25510 Commits

Author SHA1 Message Date
rnystrom@google.com f7d4b3829e Add "allowedExtensions" to Transformer.
BUG=
R=nweiz@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org//23050009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26385 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 19:47:15 +00:00
brianwilkerson@google.com 4fcdc6ee19 Implement the proxy annotation. Please verify that the semantics described are as desired.
R=gbracha@google.com

Review URL: https://codereview.chromium.org//23172011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26384 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 19:35:55 +00:00
vsm@google.com 8b5e40ee78 Fixes for Element API changes
The custom_element analyzer test started failing due to API changes on Element from the last roll.  This should fix.

TBR=jmesserly@google.com,sigmund@google.com

Review URL: https://codereview.chromium.org//22897014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26382 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 19:08:55 +00:00
alanknight@google.com d632beeaa4 Add a null check to avoid trying to load libraries that don't exist.
R=efortuna@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org//22986014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26377 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 18:22:42 +00:00
pquitslund@google.com 8951d19925 Formatter checkpoint.
Largely cleanup in a move from string literals to accessing the corresponding node tokens.

I'm also trying on an approach to tracking the need for preceding (and trailing) newlines.  In general I don't love state flags where I can avoid them but the alternatives were even more ungainly to my eye.

Thoughts, of course, are most welcome!

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//23308004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26370 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 16:50:03 +00:00
jacobr@google.com 339b0bdd70 Attempt to land Dartium roll a second time.
BUG=

Review URL: https://codereview.chromium.org//23064024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26363 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 15:54:49 +00:00
jacobr@google.com c6ebe4e4e0 rollback problem blink merge cl
Review URL: https://codereview.chromium.org//23163010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26339 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 06:22:24 +00:00
jacobr@google.com 785c8416bc Changes required for Dartium roll
Merge checkpoint. Everything compiles.

BUG=

Review URL: https://codereview.chromium.org//22886009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26335 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 01:50:17 +00:00
jacobr@google.com be39ab0527 Changes required for Dartium roll
BUG=
R=vsm@google.com

Review URL: https://codereview.chromium.org//23218004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26334 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 01:15:11 +00:00
nweiz@google.com 5fb4a3bb2a Remove the transformless phase from AssetCascade.
This is no longer necessary now that Phase tracks its outputs.

R=rnystrom@google.com
BUG=

Review URL: https://codereview.chromium.org//22854022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26332 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 00:26:23 +00:00
kevmoo@j832.com f1f368d927 pkg/barback: removed unused imports, added a missing import
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//23201013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26330 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-19 23:29:50 +00:00
kevmoo@j832.com 51fa3f92b5 pkg/unittest: give Configuration a default (blank) implementation
Use this to replace subclasses of SimpleConfiguration that mostly override members to replace behavior with no-op

BUG= https://code.google.com/p/dart/issues/detail?id=12495
R=gram@google.com

Review URL: https://codereview.chromium.org//22999020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26316 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-19 17:27:22 +00:00
ricow@google.com 649079a711 Remove flaky marker for csslib/test/declaration_test
This has been fixed in V8 and we rolled in a new version

R=kustermann@google.com

Review URL: https://codereview.chromium.org//22891007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26313 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-19 13:22:38 +00:00
tmandel@google.com 3ae50294c7 Fixed parameters losing their original order
BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//22877022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26301 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 23:13:35 +00:00
janicejl@google.com 83ae491059 Appending working for library_list.json
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//23003010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26294 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 21:39:04 +00:00
nweiz@google.com 97d87db6ed Fix a pass-through bug in barback.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//22852007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26289 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 19:07:35 +00:00
janicejl@google.com 385e47bb60 added the introduction option to the readme, and fixed the spacing on the help message for introduction.
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//23038005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26288 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 18:30:27 +00:00
kevmoo@j832.com 178afc3105 because Kasper cares
R=kasperl@google.com

Review URL: https://codereview.chromium.org//22904004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26286 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 18:04:48 +00:00
tmandel@google.com 5a5a63dd52 Added ability to make library_list be JSON instead of YAML
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//22884008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26277 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 16:09:34 +00:00
ricow@google.com b6acd066fd Mark pkg/crypto/test/sha256_test as flaky on safari.
See http://dartbug.com/12502

R=benwells@chromium.org

Review URL: https://codereview.chromium.org//23050005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26261 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 09:07:26 +00:00
ricow@google.com 6f66772760 Mark pkg/csslib/test/declaration_test as flaky crashing.
Filed v8 bug 2846.

R=kustermann@google.com

Review URL: https://codereview.chromium.org//22795008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26256 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 07:37:45 +00:00
blois@google.com 3d0ace5885 Re-try of Tightening up dart2js load timing.
This is a fixup of https://codereview.chromium.org/22488002/, first patch is the original, subsequent the fixes.

BUG=
R=ahe@google.com, vsm@google.com

Review URL: https://codereview.chromium.org//23121004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26244 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 23:57:07 +00:00
jmesserly@google.com f300344407 move fancy_syntax into Dart SVN
Changes after moving:

deleted: AUTHORS, LICENSE, PATENTS, codereview.settings.
these are redundant with the Dart repository files.

pubspec.yaml: remove versions, changed homepage
syntax_test.dart: add the HTML via Dart, so it can run on browser bots
syntax_test.html: removed the HTML that is now added by syntax_test.dart
pkg/pkg.status: skip the in-browser syntax_test on standalone VM

R=justinfagnani@google.com

Review URL: https://codereview.chromium.org//22950008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26237 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 23:04:19 +00:00
alanknight@google.com 3d80dba138 If you have something that recursively looks for messages in dependencies, it can end up parsing intl.dart and giving warnings that there are invalid messages in its internals. Change the calls to invoke the static messages without a prefix so that this won't complain.
R=efortuna@google.com

Review URL: https://codereview.chromium.org//23241004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26233 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 22:27:48 +00:00
terry@google.com 3fb3eb8d3a Build shadow_dom package in dart/pkg
BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//22951003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26231 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 22:20:05 +00:00
tmandel@google.com 8aa72ec3be Allowed for public classes to inherit from private superclasses
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//23181004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26226 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 21:44:18 +00:00
nweiz@google.com ab406948be Support passing barback assets through phases in which they're unused.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//23199004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26220 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 21:06:22 +00:00
kevmoo@j832.com 179c810f8a starting to work on unit test config interface
R=gram@google.com

Review URL: https://codereview.chromium.org//22883008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26215 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 20:48:32 +00:00
janicejl@google.com 4247f504cc Added an introduction option by passing in a file with markdown.
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//22831008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26213 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 20:32:43 +00:00
scheglov@google.com a3b42c7b8f Fix warnings in analyzer_experimental
R=pquitslund@google.com
BUG=

Review URL: https://codereview.chromium.org//22865011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26212 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 20:07:49 +00:00
janicejl@google.com fd6b69063b DOM elements now have MDN comments if provided.
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//22850005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26206 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 18:47:12 +00:00
kevmoo@j832.com 50465e7918 TestFailure + Error baseclass = stack traces!
R=gram@google.com

Review URL: https://codereview.chromium.org//22999018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26203 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 18:13:58 +00:00
alanknight@google.com b136efff1c Use deferred loading for message libraries.
R=efortuna@google.com

Review URL: https://codereview.chromium.org//22828006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26199 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 16:50:41 +00:00
ricow@google.com d1c11ce125 Mark pkg/crypto/test/base64_test as timing out on IE in checked mode
Filed issue 12486

R=kustermann@google.com

Review URL: https://codereview.chromium.org//23185003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26195 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 15:58:58 +00:00
ricow@google.com 653c15bf55 Revert revision 26149.
This is causing IE bots to fail

R=ahe@google.com, kustermann@google.com

Review URL: https://codereview.chromium.org//23201005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26186 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 11:19:11 +00:00
sgjesse@google.com 353428a918 Remove the Path class from dart:io
The Path class in dart:io has been deprecated for some time
now. It was scheduled to be removed on August 11th, so here it
goes.

dart:io still uses the Path class internally, but now it is
private. I will trim it down to what is actually used in a
follow-up change.

R=ahe@google.com, devoncarew@google.com, whesse@google.com
BUG=http://dartbug.com/11666

Review URL: https://codereview.chromium.org//23054008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26181 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 10:10:53 +00:00
jmesserly@google.com de7b363216 package:csslib -- update status file for issue 12469
Review URL: https://codereview.chromium.org//23020006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26167 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 22:47:06 +00:00
jmesserly@google.com 6652dea7d3 mark csslib+drt+dart2js checked mode flaky
Review URL: https://codereview.chromium.org//23223002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26166 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 22:40:42 +00:00
jmesserly@google.com 0002a5a1a4 workaround random dart2js crash in csslib tests
BUG=

Review URL: https://codereview.chromium.org//23019004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26163 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 22:17:18 +00:00
jmesserly@google.com 29397a566d html5lib -- workaround dart2js checked issues
Review URL: https://codereview.chromium.org//23221002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26161 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 22:09:44 +00:00
rnystrom@google.com 6c2fe4dea5 Normalize test paths.
BUG=
R=nweiz@google.com

Review URL: https://codereview.chromium.org//23183006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26160 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 21:46:41 +00:00
rnystrom@google.com 79743b6a93 Fix error handling in watcher.
BUG=
R=nweiz@google.com

Review URL: https://codereview.chromium.org//23085006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26156 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 21:28:31 +00:00
jmesserly@google.com 9e5b240923 move csslib into dart svn
deleted files that duplicate those in the Dart repository (LICENSE, pubspec.yaml, codereview.settings, .gitignore)

Otherwise, just changed pkg.status and pubspec

R=terry@google.com

Review URL: https://codereview.chromium.org//23168002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26155 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 21:11:30 +00:00
alanknight@google.com e8dd115eb6 Relax verification checks. The locale doesn't have to be constant, print
the node in the error message without making assumptions about its
type, and do not require the name parameter to match the function name.

R=efortuna@google.com

Review URL: https://codereview.chromium.org//23212003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26154 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 21:06:54 +00:00
rnystrom@google.com a07415d196 Handle watching a non-existent directory.
BUG=
R=nweiz@google.com

Review URL: https://codereview.chromium.org//22999008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26153 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 21:02:02 +00:00
jmesserly@google.com d1f780df0b move html5lib code into dart svn repo
also gets the tests running

Changes to scripts:
* pkg/pkg.gyp: add 'third_party' to list of folders to search
* tools/publish_pkg.py: update copyright year
* tools/publish_all_pkgs.py: also include pkg/third_party

Changes to html5lib:
* pubspec.yaml -- removed versions
* README.md -- removed some historical notes
* added html5lib.status
* test/browser -- rename browser_tests to browser_test so test framework finds it
* test/parser_test.dart, test/parser_feature_test.dart -- moved dart:io test into parser_test so parser_feature_test can work in browser
* test/support.dart -- now finds the data folder relative to entry point script
* test/support.dart -- rename "pathos" import to "path"

Not changed:
* ./test/run.sh still works for testing, in addition to ./tools/test.dart

R=dgrove@google.com, ricow@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org//22375011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26152 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 20:59:46 +00:00
blois@google.com daf090e7b3 Tightening up dart2js load timing.
The timing of main() execution in dart2js currently occurs after 'loaded' which is quite late in the page load phase (after all images) and is inconsistent with Dartium.

In order to get the timing more consistent with Dartium and more consistent in general this CL makes a couple of changes:
 - dart2js generated code is now executed synchronously- this gives end developers more control over timing of main().
 - A warning is generated if main() is executed during document parse time- this is primarily to ease the transition and let users know what needs to be done to more closely match Dartium behavior.
 - dart.js bootstrapper no longer waits for DOMContentLoaded- the modified script tags will be executed after parse phase, the additional delay should not be necessary.

Breaking changes:
 - dart2js main() execution in standard project templates now occurs after document parse but before all assets have been loaded
 - Script tags directly referencing dart.js files will now execute synchronously. It's recommended that defer tags be added to these, or that they be moved to the end of the body tag.
 - dart.js bootstrapper will now only auto-load script tags which occur before it on the page.

BUG=4718
R=sra@google.com, vsm@google.com

Review URL: https://codereview.chromium.org//22488002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26149 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 20:51:45 +00:00
tmandel@google.com 2a93864735 Filter annotations for only important ones
BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//23094004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26145 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 20:34:48 +00:00
jwren@google.com 7a9a98445a Turn strict mode off in the dartanalyzer
R=brianwilkerson@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org//22997004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26139 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 19:32:54 +00:00
cbracken@google.com d352df8d05 Added fixnum package docs.
Original bug:
http://dartbug.com/7834

BUG=
R=kathyw@google.com

Review URL: https://codereview.chromium.org//23173002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26134 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 18:30:55 +00:00