Commit Graph

25510 Commits

Author SHA1 Message Date
blois@google.com 63ecf1a3fd First rev of Safe DOM
BUG=
R=jacobr@google.com, jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26681 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 01:48:13 +00:00
nweiz@google.com 22f45f401e Don't run parse_compilation_unit_test on browser/dart2js bots.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26676 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 23:20:26 +00:00
nweiz@google.com e84b9dba61 Add a parseDartString method to pkg/analyzer.
R=brianwilkerson@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26673 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 22:06:55 +00:00
blois@google.com a6b1633153 Suppressing first-chance exception in path_observer. The exception is thrown and caught in Dartium but the debugger still stops on this line when first-chance exceptions are enabled.
I opened bug 12776 on this, but specifying the radix will suppress the exception.

Note that this sends the code down what's called the 'slowParse'. See https://code.google.com/p/dart/source/browse/branches/bleeding_edge/dart/runtime/lib/integers_patch.dart#83

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26671 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 21:54:34 +00:00
nweiz@google.com df5fec68eb Add encoding tests to pkg/http.
These were blocked on issue 6284.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26667 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 20:50:27 +00:00
nweiz@google.com ce421c4dd1 Stop working around issue 6775.
R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26664 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 17:50:00 +00:00
pquitslund@google.com c23446c37c Updated reference to missing UTF8 codec.
R=devoncarew@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26657 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 16:55:31 +00:00
pquitslund@google.com 4502a116e9 Minor formatter tweaks and a few more tests.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26655 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 16:38:04 +00:00
floitsch@google.com 35d7140e66 Remove Encoding-enum from dart:io and add interface in dart:convert.
BUG= http://dartbug.com/6284
BUG= http://dartbug.com/7966
R=nweiz@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26632 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 10:37:25 +00:00
alanknight@google.com 7602371022 Verify the locale when initializing dates over http
BUG=dartbug.com/11093
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26613 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 21:04:51 +00:00
pquitslund@google.com faac3d0e06 Formatter checkpoint.
Some fixes and a progress towards the elimination of references to String literals in visit methods.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26608 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 20:17:01 +00:00
efortuna@google.com 92d2bd8c28 Fix api for dart2js tests that failed.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26606 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 19:15:33 +00:00
efortuna@google.com 90873051ad Making almost all dom_ methods private. Exceptions will be addressed in a later CL.
Current ones that still remain to be made private include createElement(NS),
createRange, all the Element properties, and childNodes.

BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26605 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 18:25:40 +00:00
sigmund@google.com 3bfd140972 Add a deploy script based on polymer's transformers.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26601 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 15:58:39 +00:00
sigmund@google.com 6839e727d3 Declare the sequence of phases for the full polymer transform and add tests for
it.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26574 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 01:45:45 +00:00
nweiz@google.com bd9b8c296f Support actually removing phases in barback.
R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26573 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 00:32:21 +00:00
gram@google.com db89664f33 Migrate stack filtering change to new configfuration class.
R=kevmoo@j832.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26567 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 23:09:08 +00:00
sigmund@google.com ab9acd1dd2 Fix polymer transformers in windows. AssetId's always use posix style paths
regardless of the system.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26563 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 22:22:18 +00:00
kathyw@google.com 210edb7a54 Update meta and logging library descriptions; tweak fixnum
R=mcampione@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26562 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 22:17:10 +00:00
gram@google.com 5afecf5f67 Changes to how we handle fancy stacks:
- in the base config they are disabled
- in htmnl config they are enabled unless a certain meta tag is present in the
  page.
- in vm config they are enabled unless a --no-fancy-stacks flag is in the
  Options.

The test runner adds a fancy_stacks flag that can be used to control this
behavior, but by default turns off fancy stacks for all tests.

There were a couple of test runner tests that were affected and have kludgy
fixes where I strip out the new argument from Options first.

This has passed a baseline set of tests; I'm still running a more comprehensive
set.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26560 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 21:47:51 +00:00
alanknight@google.com 551f37ed99 Put the @lazy directive on a separate line from the import to avoid confusing naive parsers (e.g. dwc)
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26559 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 21:46:54 +00:00
rnystrom@google.com b35a36dbe5 Normalize incoming AssetID paths.
BUG=https://code.google.com/p/dart/issues/detail?id=12650
R=nweiz@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26558 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 21:36:36 +00:00
alanknight@google.com 5038d3b5e7 Make defaultLocale public
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26557 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 21:35:40 +00:00
nweiz@google.com 13ad318db4 Enable cross-package transforms to see new transformers in other packages.
R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26556 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 21:04:05 +00:00
alanknight@google.com f95ea62a8a Simplify the generated code for a message.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26548 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 19:23:35 +00:00
nweiz@google.com 431cfe333c Factor a PhaseOutput class out of Phase.
This lays the groundwork for supporting a cross-package transform picking up on
a new transform that applies to one of its secondary inputs.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26545 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 18:30:55 +00:00
floitsch@google.com 1640181cc1 Mark hmac test as flaky.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26524 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 14:24:31 +00:00
sigmund@google.com 44d16cd3fe Mark windows tests as failing (this time for real)
TBR=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26501 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 01:37:02 +00:00
sigmund@google.com aa5b9fc9bc Mark windows test as failing until we fix the issue
TBR=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26499 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 01:15:32 +00:00
sigmund@google.com 38b6042c12 Introduce polymer transformers (inlined code extraction, inlining html imports,
combining multiple script tags)

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26495 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 00:23:47 +00:00
kathyw@google.com 954ae820f4 add one-line description for crypto library
R=mcampione@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26475 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 21:32:14 +00:00
nweiz@google.com 90ec181fe3 Factor out an input-handling class from Phase in barback.
In addition to cleaning up Phase, this will make it easier to actually remove
phases when transformers are updated.

R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26469 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 20:32:44 +00:00
nweiz@google.com 56f9452f65 Fix a bad merge in pkg/stack_trace.
TBR
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26467 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 20:15:01 +00:00
nweiz@google.com 202a7a3e00 Support IE and Safari stack traces.
R=rnystrom@google.com
BUG=12380

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26464 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 19:58:07 +00:00
pquitslund@google.com 0ba745e63d Formatter fixes and tweaks.
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26462 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 19:40:53 +00:00
jacobr@google.com 8b84d8ee76 Changes required for Dartium roll
Merge checkpoint. Everything compiles.

BUG=

Committed: https://code.google.com/p/dart/source/detail?r=26335

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26455 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 18:41:58 +00:00
rnystrom@google.com d922bc34b8 Start sketching out a buildAll() method.
BUG=
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26452 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 18:09:39 +00:00
kustermann@google.com bc051d0a91 Remove entries in status refering to non-existent files
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26438 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 16:40:40 +00:00
sgjesse@google.com 38506f9d57 Remove the LineTransformer from dart:io
The LineTransformer has been retired, and is replaced with LineSplitter from dart:convert

R=floitsch@google.com, nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26419 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 07:35:46 +00:00
sigmund@google.com efcc9f755a Remove environment section in pubspec.yaml (this I believe is appended
automatically by the publish scripts)

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26416 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 00:53:16 +00:00
sigmund@google.com a1b0915ca3 Bring the rest of the polymer.dart code from github.
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26414 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 00:29:13 +00:00
blois@google.com ec11e52f62 Revert "Revert "Adding polyfill support for custom elements.""
This fixes the issues in the custom elements polyfills.

R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26412 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 00:08:46 +00:00
jmesserly@google.com d766a2f382 additional path on windows fixes
Review URL: https://codereview.chromium.org//22955008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26411 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 23:49:34 +00:00
blois@google.com 508affefed Revert "Adding polyfill support for custom elements."
Caused issues with DocumentFragment and some lingering changes from the blink roll.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26410 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 23:28:22 +00:00
jmesserly@google.com 3549ec0409 fix polymer tests on windows
R=sigmund@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26409 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 23:26:44 +00:00
blois@google.com 72651260aa Adding polyfill support for custom elements.
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26405 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 22:56:08 +00:00
jmesserly@google.com 068dec6712 move polymer.dart into dart svn
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26404 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 22:48:50 +00:00
nweiz@google.com b56d5196b8 Add the ability to dynamically modify transforms to barback.
R=rnystrom@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26403 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 22:31:41 +00:00
vsm@google.com f1f66bfcc4 Update status file
This should get the dart2js/drt bots back to green.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26398 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 21:58:10 +00:00
nweiz@google.com 53275e8ec5 Properly parse V8 stack traces that contain the exception description.
R=rnystrom@google.com
BUG=12151

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26395 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 21:41:33 +00:00