Commit Graph

6631 Commits

Author SHA1 Message Date
hausner@google.com 2642b1e522 Evaluate expression in the context of a class
Allows debugger to evaluate an expression in the context of a
static method of a class.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26617 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 22:42:41 +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
vsm@google.com f1f2431bef Platform.upgradeCustomElements for Dartium
Using this as a workaround for 12642.

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26602 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 16:12:08 +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
vsm@google.com fd3b80939d Modify get_archive script to optionally download debug Dartium
It can be invoked as follows to easily get the latest debug build:

> ./tools/get_archive.py -d dartium
Removing old Dartium tree client/tests/dartium
Copying gs://dartium-archive/dartium-lucid64-debug/dartium-lucid64-debug-26539.0.zip...
Downloading: 756.45 MB/756.45 MB
Successfully downloaded to client/tests/dartium

R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26553 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 20:41:38 +00:00
ricow@google.com fbe8335669 Catch race condition where we are shutting down a browser and that browser is sending back results.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26532 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 16:30:56 +00:00
ricow@google.com b7567a39c0 Actually use the new browser controller on the normal waterfall.
Review URL: https://codereview.chromium.org//23241016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26510 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 09:08:27 +00:00
sgjesse@google.com db24c54987 Cleanup of isolate.status (first step)
R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26506 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 07:35:25 +00:00
jacobr@google.com 05f9ed2189 Re-enable NodeIterator
A matching Dartium CL does the heavy lifting.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26502 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 01:41:06 +00:00
asiva@google.com 4f6536ba66 Use new Dart API functions
Dart_GetNativeIntegerArgument
Dart_GetNativeBooleanArgument
Dart_GetNativeDoubleArgument

R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26500 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 01:15:58 +00:00
blois@google.com 0820807ae6 Fixing dart2js codesize regression from blink roll.
New ErrorEvent.error was pulling in everything.

BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26468 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 20:27:54 +00:00
vsm@google.com 89b8d13fb6 Support for type extensions in Dartium (part 1)
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26458 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 19:30:28 +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
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
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
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
vsm@google.com 69bea8b4e8 Suppress getPresentationAttribute
Should fix analyzer bot.

TBR=jacobr@google.com,blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26364 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 16:19:05 +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
sgjesse@google.com 13f0f94448 Find issue number from comment in status file.
R=kustermann@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26360 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 15:01:00 +00:00
ricow@google.com 6fba467edf Support testing the dart2js compiler on the 64 bit vm
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26343 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 10:25:27 +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
sgjesse@google.com 6b514b1a0c Remove all remaining references to dartc
R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26338 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 06:17:03 +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
hausner@google.com d62ea57f8e Evaluate expression in context of an object
This is the core functionality needed for the debugger.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26328 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-19 22:17:09 +00:00
asiva@google.com 24c3ca0b47 Fix for issue 12489.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26327 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-19 20:44:33 +00:00
regis@google.com f9df206e2e Report compile-time errors for conflicting overrides as specified by latest
language spec (fix issue 12342).
Add override conflict tests.
Update status files.
Add support for 'ok' status in multi-tests.

R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26302 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 23:39:41 +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
blois@google.com 6ab8204fc9 Renaming dom.py's http_server command and adding variant for Dartium.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26283 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 17:29:27 +00:00
vsm@google.com 3a17d47e58 Modify custom elements to inherit from HtmlElement
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26275 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 15:24:32 +00:00
vsm@google.com 7c85f03cc9 Move _HTMLElement to HtmlElement
The old HtmlElement is now HtmlHtmlElement.  The custom tests don't break for now.  I'll modify them in a separate CL to inherit from HtmlElement instead.

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26248 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 00:46:10 +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
benwells@google.com 5aa944301a Update dart:chrome to include fileSystem, and update summary docs.
The dart:chrome library already includes the file system module but
this wasn't included properly at the top level of the API object,
making it unavailable.

The documentation from the generator included in the API has also
been updated.

BUG=None
R=blois@google.com, kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26241 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 23:27:37 +00:00
sethladd@google.com b47c9a2bf6 one-line doc for audio
BUG=
R=kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26235 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 22:32:29 +00:00
sethladd@google.com 6cbbf07554 add one-line doc for web gl
BUG=
R=kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26229 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 22:07:28 +00:00
sra@google.com 1ffafc705d Additional code to https://codereview.chromium.org/15026006
to enable user classes extending DOM classes to be registered.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26221 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 21:18:07 +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 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
asiva@google.com f010ffa98d - Add a new toNative which accepts Dart_NativeArguments as a parameter.
Currently it is implemented as two calls to the API to get at the native
  wrapper (will be made one call in another CL).
- Use the new API call Dart_SetWeakHandleReturnValue to return a string
  from the cache directly without having to call Dart_NewHandle(...)

R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26148 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 20:45:40 +00:00
blois@google.com affaf4c2df Renaming Crypto's new horribly generic class 'Key' to CryptoKey.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26142 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 19:54:44 +00:00
vsm@google.com 4d51b41ff8 Initial Dartium custom element support
This will need to be rebased with Stephen's CL or vice versa.  The test mod is taken from his CL.

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26141 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 19:47:07 +00:00
ricow@google.com 7ad8abe556 Use the browser controller on ie9 on fyi
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26113 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 11:39:52 +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 03e749caba Fix Event delegation on IE.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26092 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 23:10:09 +00:00
efortuna@google.com b1045e115b More clean up for HttpRequest docs.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26091 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 22:58:27 +00:00
kustermann@google.com 058b7f648d Remove -static from ldflags after precise upgrade
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26055 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 15:15:21 +00:00
blois@google.com 59c29150b4 Removing overloaded operations in dart2js.
BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26041 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 22:23:42 +00:00
zra@google.com 8ffef7528d Bug fix and status file updates for MIPS HW.
R=regis@google.com

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

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