Commit Graph

25510 Commits

Author SHA1 Message Date
nweiz@google.com 6812f7c10a Add more metadata to non-programmatic barback exceptions.
This also adds a BarbackException superclass for errors that come from the
package graph or from transformers.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26133 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 18:12:17 +00:00
nweiz@google.com a24a587bb0 Support "..." VM frames in pkg/stack_trace.
Also include the original stack trace when a parse error occurs.

R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26132 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 18:10:23 +00:00
ricow@google.com 53b6219630 Mark unmodifiable_collection/test/unmodifiable_collection_test as flaky on dart2js/d8
This is flaky failing due to what looks like a bug in v8 opt/deopt

See http://dartbug.com/12429

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26116 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 12:56:56 +00:00
ricow@google.com 73826dc6bf Add support for ie in the browser controller
Also, add no caching headers (since IE will cache the task that it gets)

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26112 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 11:30:48 +00:00
efortuna@google.com 5504f5a970 Fix message_extraction test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26103 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 00:45:48 +00:00
janicejl@google.com 6cb2943ede Hides libraries that should not be documented.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26102 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 00:36:27 +00:00
efortuna@google.com 6970ef4c98 Rename CompositeMessage's named parent constructor.
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26101 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 00:33:14 +00:00
janicejl@google.com b0845759f4 Checks if a mirror is a typedef mirror first.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26098 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 00:14:28 +00:00
janicejl@google.com 50e7815aa4 parts of
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26094 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 23:44:39 +00:00
tmandel@google.com 92c1a85aab Added preview comments to libaries in library_list
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26088 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 22:29:35 +00:00
pquitslund@google.com 693d048c15 Provisional formatter main.
For testing purposes primarily, a formatter main entry point.

Revisions and refinements to follow.

R=brianwilkerson@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26087 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 21:48:43 +00:00
pquitslund@google.com 6b3d069dd2 Formatter cleanup.
Migration to emitToken begins...

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26079 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 20:08:41 +00:00
kevmoo@j832.com 9692e19334 pkg/serialization updates
Serialiation.rules is now publicly unmodifiable
More return types
locked down some fields with final

R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26071 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 18:23:26 +00:00
pquitslund@google.com 88e634dba0 Formatter token emission baby-steps.
Still playing around with emitToken(..) as a general strategy.  Next step will likely be to migrate all appropriate print(..) calls to it.  (Along the way a great rename will happen too.)

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26064 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 17:06:23 +00:00
nweiz@google.com f3b74cb621 Better handling of asset collisions in barback.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26042 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 22:25:03 +00:00
tmandel@google.com e5a4142dfd Added script to run local files on App Engine
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26035 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 21:23:23 +00:00
alanknight@google.com 9f565af534 Workaround for bug 11834 with Chrome XHR
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26028 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 20:33:04 +00:00
ahe@google.com a2f28059eb Mark pkg/stack_trace/test/trace_test as failing on Safari.
Review URL: https://codereview.chromium.org//22866003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26009 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 16:09:12 +00:00
kustermann@google.com e1d4069eab Revert "Status file updates after changing testing scripts to use a dependency graph"
BUG=http://dartbug.com/12239
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25998 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 11:44:04 +00:00
tmandel@google.com 4a20e0ee98 Added to the index to return better search results.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25991 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-10 00:29:11 +00:00
sigmund@google.com 4464598607 Fix source maps test (failed in checked mode).
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25987 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 22:44:51 +00:00
sigmund@google.com 1df9a489d2 Make observable transform a barback transform.
R=jmesserly@google.com, nweiz@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25985 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 22:29:38 +00:00
vsm@google.com bdc22a1325 Reenable custom_element_test
This one is now passing with yesterday's fixes.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25983 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 22:06:50 +00:00
efortuna@google.com e1d58357fa Add new method to Custom Element.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25980 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 20:58:14 +00:00
nweiz@google.com 5395c1e611 Consistently schedule operations in the barback tests.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25978 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 20:35:59 +00:00
alanknight@google.com 31ab754cbf Add support for Intl.select
Moves some of the validation logic into the appropriate objects, so we can more easily deal with Select, which takes its arguments in a Map, versus Plural/Gender which expect named arguments.

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25965 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 17:08:03 +00:00
ricow@google.com 4d03dda01a Mark analyzer_experimental/test/generated/ast_test as failing on dart2js
Filed issue 12341

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25960 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-09 08:48:51 +00:00
jmesserly@google.com cec81d6c29 [pkg:shadow_dom] workaround issue in ownerDocument
See https://github.com/polymer/ShadowDOM/issues/200
note: this code is from https://github.com/dart-lang/ShadowDOM/commit/ad85d2210df1077d1dc361e99691f6ba9bdae78d

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25951 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 22:25:27 +00:00
tmandel@google.com 9234f84583 Fixed too many files being open
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25950 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 22:02:06 +00:00
kevmoo@j832.com 47e8d45430 analyzer_exp fixes
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25946 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 21:07:01 +00:00
kevmoo@j832.com 0394f73d54 pkg/mdv: point folks to the current repo on github
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25945 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 20:57:34 +00:00
pquitslund@google.com f6b9baced7 Formatter checkpoint.
Review URL: https://codereview.chromium.org//22403004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25941 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 19:51:32 +00:00
tmandel@google.com 372ce91fc7 Added back abstract class change and fixed test
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25939 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 19:32:41 +00:00
nweiz@google.com 12207b384d Support cross-package transforms in barback.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25937 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 18:27:44 +00:00
tmandel@google.com d6aa027f46 "Reverting 25934"
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25936 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 18:07:20 +00:00
scheglov@google.com 0039dfca51 Remove dart:io dependency from scanner/ast/parser tests.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25935 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 17:46:50 +00:00
tmandel@google.com f43b4cd4e9 Class and abstract class merge, preview comments, and error/exception checking
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25934 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 17:12:19 +00:00
ricow@google.com 2d4a78cec3 Only use one action to create links.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25920 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 10:19:39 +00:00
kustermann@google.com 27ab3ec418 Staus file update: analyzer_experimental/test/ast_test seems to be passing
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25917 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 08:19:44 +00:00
scheglov@google.com 25c4b2e625 Skip more analyzer_experimental tests for browser.
TBR

R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25905 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 22:06:32 +00:00
scheglov@google.com c6fad25d50 Fix pub and dart2js browser tests.
R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25904 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 21:43:16 +00:00
scheglov@google.com c52c1736ee New analyzer_experimental snapshot.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25902 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 21:15:25 +00:00
tmandel@google.com 306390e86e Changed qualifiedname to qualifiedName and commentfrom to commentFrom
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25892 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 18:04:24 +00:00
kustermann@google.com b497bd0a4b Status file update for tests failing on dart2js-drt after chrome roll
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25874 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 14:00:56 +00:00
blois@google.com 8a81ebd09e Adding missing Element APIs to CustomElement, fixing analyzer errors.
TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25850 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 01:06:32 +00:00
vsm@google.com 7268cbd7a2 Update expectations
These appear to break on 32-bit OSes...

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25848 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 00:15:00 +00:00
kevmoo@j832.com 18d38085ab pkg: analysis aided cleanup
Removed a lot of warnings and hints when opening many pkg projects in the editor

R=gram@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25831 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 20:42:04 +00:00
alanknight@google.com 12ee5f7c61 Improvements to warnings on message extraction.
Add warning for message names that don't match the function name, and
a warnings-are-errors command-line option.

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25829 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 20:01:13 +00:00
tmandel@google.com bf808f34e2 Fixed inheritance not going from Object to all other classes
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25828 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 19:41:13 +00:00
jmesserly@google.com 01eeb7fc07 fix issue 12190 -- better error message
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25806 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 00:15:17 +00:00