Commit Graph

2367 Commits

Author SHA1 Message Date
efortuna@google.com d06cbc3f28 Adjust HTTP Request docs.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28025 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 20:49:33 +00:00
ajohnsen@google.com 7cfda3591f Let test-runner wait for stdout & stderr when running tests.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28009 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 13:19:12 +00:00
danrubel@google.com 03461fba17 update build to modify 64 bit DartEditor.ini
This modifies the 64 bit DartEditor.ini files to increase the starting and maximum memory
BUG=dartbug.com/13580
R=devoncarew@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27967 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 18:31:07 +00:00
floitsch@google.com 2b550970e6 Run DOM callbacks in the zone they are coming from.
This CL is an adapted version of: https://chromiumcodereview.appspot.com/23054006/

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27961 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 16:50:25 +00:00
kustermann@google.com 55e9dc75b4 test.py: Parse unittest-suite-{wait-for-done,success} messages in output of d8/jsshell/vm
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27953 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 14:06:01 +00:00
floitsch@google.com a24014ab08 Automatically append ".js" on spawnUri if we are running in JavaScript.
BUG= http://dartbug.com/9422
R=kasperl@google.com, kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27941 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 11:32:11 +00:00
blois@google.com b73395196c Fixing docs generation
From dartium revision, inlined createElement, so it's no longer getting this doc comment.

Also, this was recently made public as there are valid use cases for it, so the comment was misleading.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27923 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 23:29:15 +00:00
blois@google.com 354c4dd5ad Revert "Revert "Start of dartium custom element lifecycle event support.""
Primary changes are that a fast-path has been added for the single-argument Document.createElement and the systemnative.py changes were split out to CL https://codereview.chromium.org/24661002/.

This is dependent on https://codereview.chromium.org/24677002/

First patch is the original, second is the updates.

BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27921 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 23:15:09 +00:00
efortuna@google.com c8fde9aa01 Fixed more HttpRequest documentation.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27912 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 21:03:00 +00:00
blois@google.com f4734449cd Emitting CustomElementCallbackDispatcher for all APIs impacting custom element lifecycle
This is part of getting custom element lifecycles working in Dart and follows the same model that V8 is using. Basically it ensures that the lifecycle events are processed after any operations which may have custom element side-effects.

BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27910 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 20:34:33 +00:00
efortuna@google.com 63f0ac715d Adjust _chrome library name to point to correct file (_chrome.dart instead of chrome.dart).
BUG=
R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27909 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 20:31:46 +00:00
efortuna@google.com f45e68f435 Adjusted HttpRequest documentation to discourage using open and send in simple cases.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27901 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 18:20:25 +00:00
efortuna@google.com 3854434797 Removed position and totalSize because HttpRequestProgressEvent has other fields that do the same thing.
Turns out position and totalSize were on Firefox 3 and earlier, but we don't
have to worry about backwards compatibility that far.
https://developer.mozilla.org/es/docs/XMLHttpRequest/Usar_XMLHttpRequest

BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27900 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 18:03:20 +00:00
blois@google.com 3fd115d5e3 Revert "Start of dartium custom element lifecycle event support."
This reverts commit 27718 to see if it gets performance back down.

BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27897 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 17:56:53 +00:00
jwren@google.com 7710f874e8 Add a flag to disable the reporting and generation of hints in the analyzer.
I have a pending cl (24454002) which would break the analyzer bot since hints will be generated on langage and co19 where the output is asserted to be clean.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27891 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 16:37:37 +00:00
kustermann@google.com 766d8c6eea test.py: Use *.precompiled.js in csp mode for customHtml tests as well
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27872 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 10:00:40 +00:00
dgrove@google.com dcd741bd99 Move dart:chrome to dart:_chrome.
Turn off doc generation for dart:_chrome.

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27861 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 23:52:16 +00:00
efortuna@google.com 9c59a54913 "Reverting 27844"
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27848 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 20:25:16 +00:00
blois@google.com b5bc0e1367 - Fixing analyzer error on legacy custom element polyfill
- Adjsuting IE status (filed bug to investigate)
 - Fixing polymer tests on Dartium

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27846 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 20:11:36 +00:00
efortuna@google.com b7c5067cbc Try caching attribute map to try to improve performance.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27844 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 19:52:06 +00:00
blois@google.com 209e413a5c Retry of custom element lifecycle events.
First patch is the original, changes were:
 - Shadow DOM upgrade landed as separate CL
 - CustomElement polyfill wasn't always firing WebComponentsLoaded event (causing timeouts on FF and IE), fixed polyfill.
 - Dartium test exclusions were not working

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27841 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 19:14:16 +00:00
ahe@google.com 2fa6b681cf Address comments from CL 23721012.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27816 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 13:07:02 +00:00
ahe@google.com ab78c663ad Generate out.precompiled.js, not precompiled.js.
BUG=http://dartbug.com/6880
R=kasperl@google.com, kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27813 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 12:04:49 +00:00
kustermann@google.com ed3fe0161c test.py: Support for CompileTimeError,RuntimeError,MissingRuntimeError,MissingCompiletimeError markers in status files
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27804 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 10:21:15 +00:00
asiva@google.com 928894a58c - Added Dart_GetNativeIsolateData so that the bindings code can access the IsolateCurrentData
where possible without having to invoke Isolate::Current()
- Modified lookupWrapper to accept DartDOMData as a parameter so that the return to Dart functions
  won't invoke Isolate::Current()

Some Dromaeo numbers before this change:
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-attr getAttribute runs-per-second 1162.2
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-attr element_property_access runs-per-second 1255.6

after this change:
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-attr getAttribute runs-per-second 1237.6
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-attr element_property_access runs-per-second 1385.4

R=rmacnak@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27789 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-23 23:53:39 +00:00
kevmoo@j832.com 784099d155 fix for XCode 5
also fixes 'Unknown Xcode Version' code path

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27752 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-23 11:08:12 +00:00
ahe@google.com 05a9a7834e Emit CSP code in separate file.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27745 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-23 09:06:14 +00:00
blois@google.com 6def065afd Revert "Dart2js support for custom element lifecycle events"
This reverts commit 27729. Shadow DOM polyfill appears to have regressed some tests and some issues are coming up with the browser controller.

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27730 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-21 00:46:48 +00:00
blois@google.com fb8f32bcc4 Dart2js support for custom element lifecycle events
BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27729 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 23:49:12 +00:00
blois@google.com 34f58a8209 Start of dartium custom element lifecycle event support.
These are the Dart repo changes paired with https://codereview.chromium.org/24294002/

BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27718 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 18:40:11 +00:00
asiva@google.com ca128dea70 - Modify toDart to first do a simple lookup in the appropriate table before going down the templatized
morass of switch statements
- Add a returnToDart function so that the WeakPersistent Handle returned from a lookup/create of the wrapper
  could be returned as is without the need to call Dart_handleFromWeakPersistentHandle
- Use Dart_SetDoubleReturnValue for doubles

some DromaeoDartium numbers before this change:

CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-query getElementsByTagName(div) runs-per-second 84240.6
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-traverse nextSibling runs-per-second 207.91683326669332
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-query getElementsByTagName(*) runs-per-second 69599.2

some DromaeoDartium numbers after this change:

CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-query getElementsByTagName(div) runs-per-second 104252.4
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-traverse nextSibling runs-per-second 366.8
CONSOLE MESSAGE: RESULT: Dromaeo-drt dartium-dart dom-query getElementsByTagName(*) runs-per-second 94922.6

R=rmacnak@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27710 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 16:25:12 +00:00
whesse@google.com c41a588dc0 Disable 20s unittest timeout for docs_test and dartdoc_test.
Thes tests have started occationally timing out on the pub_linux buildbot.

BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27658 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-19 13:25:36 +00:00
kustermann@google.com be1fc8ad2d co19-roll to r587
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27657 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-19 11:50:48 +00:00
ricow@google.com 8fb583f473 Archive cross compiled arm binaries to a revision specific file name
Also fetch that from the arm board.

I make another cl for pruning old builds

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27649 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-19 09:18:20 +00:00
ricow@google.com 04e6c00f9b Fix chrome bots to fetch the right dartium to run off.
Filed issue 13399

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27597 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-18 09:23:10 +00:00
jacobr@google.com cac607707a Make Dart_ScriptGetTokenInfo account for line_offset() and col_offset()
Cleanup bugs in wrapExpressionAsClosure Fix bug in how setters were handled and filter out 'this' from local variables list.

BUG=
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27581 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 20:52:22 +00:00
vsm@google.com e0a30046ef Remove spawnDomFunction from dart:html
Note, spawnDomFunction is still used under the hood in Dartium to
implement Timers and printing in background isolates.  I don't think
this is necessary, but I'll clean up in a separate CL once we decide
what we're doing with background isolates.

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27577 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 17:26:58 +00:00
jacobr@google.com d9b198f2bf Cleanup bugs in wrapExpressionAsClosure Fix bug in how setters were handled and filter out 'this' from local variables list.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27576 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 17:08:40 +00:00
kustermann@google.com 612b2e4b72 We can use subprocess.Popen(shell=True) only on windows
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27554 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 09:09:23 +00:00
kustermann@google.com 0ab3784e86 Run gsutil in the cmd.exe shell on windows
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27553 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 08:47:04 +00:00
kustermann@google.com d52c1da883 Bugfix in tools/bots/bot_utils.py: don't get the dirname in case of the gsutil shell script on buildbots
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27552 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 08:31:40 +00:00
kustermann@google.com 7d5b61f247 Use shell script on buildbot to call gsutil otherwise the python script
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27551 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 08:17:49 +00:00
kustermann@google.com 46a5e58287 Make editor builders archive to gs://dart-archive/ in addition to the other GCS buckets
This is the first step towards release channels.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27550 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-17 07:51:53 +00:00
zra@google.com e155ff8c53 Revert last commit
Review URL: https://codereview.chromium.org//23889034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27507 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 23:36:32 +00:00
zra@google.com a61d0c66b0 Allows build of the standalone VM for ARM adroid.
R=iposva@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27506 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 23:29:14 +00:00
blois@google.com 5f2320dea7 Making Document, Element and Window documentable via @DocsEditable
TBR
BUG=13291

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27503 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-13 21:23:07 +00:00
blois@google.com a7c9ce28d7 Fixing Element.shadowRoot JS type annotation
Getter was annotated as never returning null, but in fact can return null.

BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27455 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 22:20:16 +00:00
rmacnak@google.com 2a87dc5402 Give each binding class an id to be used as an index into a cache of handles on the corresponding Dart classes.
BUG=
R=asiva@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27452 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 21:55:30 +00:00
jacobr@google.com 9d5d4c0ea8 Dart helper methods to support the Dart REPL
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27436 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 17:03:20 +00:00
blois@google.com d312cbbd08 Exposing document.createElement
As part of removing all $dom_ APIs, making this one public. There are valid scenarios for creating elements in other documents.

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27415 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-12 00:00:39 +00:00