Commit Graph

55 Commits

Author SHA1 Message Date
Terry Lucas 621b12f324 Removed DARTIUM codegen for IDLS (sdk/lib/dartium)
TBR=alanknight@google.com

Review-Url: https://codereview.chromium.org/2978213002 .
2017-07-18 11:02:02 -07:00
Erik Corry aa6353b6da Dart SDK Spelling b, c, and d.
R=kmillikin@google.com
BUG=

Review-Url: https://codereview.chromium.org/2850783002 .
2017-05-01 08:28:10 +02:00
Alan Knight 30b489578d Revert "Reapply zone tasks."
This reverts commit 6a7c037aa6.

BUG=

Review URL: https://codereview.chromium.org/2162643002 .
2016-07-18 13:12:36 -07:00
Florian Loitsch 6a7c037aa6 Reapply zone tasks.
This reverts commit 34d3c37233.

Committed: https://github.com/dart-lang/sdk/commit/f746f8f77e93fd93cb4ff3b4ed644c96a432947a

R=lrn@google.com

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

Reverted: https://github.com/dart-lang/sdk/commit/dae392291595fa394d601d2d0baa77b66d85533f
2016-07-05 17:33:09 +02:00
Florian Loitsch dae3922915 Revert "Reapply zone tasks."
This reverts commit f746f8f77e.

Review URL: https://codereview.chromium.org/2123593002 .
2016-07-04 21:58:15 +02:00
Florian Loitsch f746f8f77e Reapply zone tasks.
This reverts commit 34d3c37233.

Review URL: https://codereview.chromium.org/2119243002 .
2016-07-04 19:55:58 +02:00
Florian Loitsch 34d3c37233 Revert zone tasks.
Revert "Add tasks to zones."

This reverts commit 85cccde717.

Revert "Make Dom events run through zone tasks."

This reverts commit 6d1f6b2af6.

Revert "Add zone task support for request-anim."

This reverts commit 726b9f8dc7.

Revert "Add zone task support to http-requests."

This reverts commit b40cfcb57f.

Revert "Update status file for jsshell."

This reverts commit 5e05ee9b5f.

Review URL: https://codereview.chromium.org/2120063002 .
2016-07-01 22:36:52 -07:00
Florian Loitsch b40cfcb57f Add zone task support to http-requests.
R=alanknight@google.com, lrn@google.com

Review URL: https://codereview.chromium.org/2042033002 .
2016-07-01 19:44:19 -07:00
Jacob Richman c65854d2e4 Optimize dartium dart:html bindings so real world application performance is acceptable. Improves dart:html performance by 2X-30X for microbenchmarks. Real world improvement is typically 2X-3X.
BUG=

Review URL: https://codereview.chromium.org/1832713002 .
2016-03-29 18:32:52 -07:00
Terry L. Lucas 7b322c246c Dartium JS Enabled take 2
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org//1348173002 .
2015-09-16 07:13:53 -07:00
Terry L. Lucas 09c804aa78 Revert "Dartium JS Interop enabled."
This reverts commit 403bd1698d.

TBR=alanknight@google.com

Review URL: https://codereview.chromium.org//1345083002 .
2015-09-15 19:44:26 -07:00
Terry L. Lucas 403bd1698d Dartium JS Interop enabled.
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org//1349493003 .
2015-09-15 17:36:47 -07:00
Terry L. Lucas 9b0d2582fc Revert "Dartium w/ JsInterop enabled"
This reverts commit 346af54711.

TBR=alanknight@google.com

Review URL: https://codereview.chromium.org//1330163010 .
2015-09-09 17:33:24 -07:00
Terry L. Lucas 346af54711 Dartium w/ JsInterop enabled
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org//1321613005 .
2015-09-09 17:01:40 -07:00
Terry L. Lucas 012c998f64 Revert "Patched in Dartium JsInterop"
This reverts commit 4bb2e617db.

TBR=alanknight@google.com

Review URL: https://codereview.chromium.org//1327083002 .
2015-09-08 13:35:03 -07:00
Terry L. Lucas 4bb2e617db Patched in Dartium JsInterop
TBR=alanknight@google.com

Review URL: https://codereview.chromium.org//1310363006 .
2015-09-08 12:46:41 -07:00
alanknight@google.com 4a1b567136 Pass Redirect status higher than 307 through to the user
BUG=
R=terry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45739 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-12 16:25:56 +00:00
sra@google.com b68a69329f Add type annotations to some dart:html closures
This helps code quality when the types can be trusted or verified.

R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43349 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-30 23:08:39 +00:00
sra@google.com 7516e95066 Redo "Use @Native annotation on dart2js DOM native classes"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38488 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-23 04:27:48 +00:00
sra@google.com 9a4f73207e Revert "Use @Native annotation on dart2js DOM native classes"
TBR=blois@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38486 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-23 01:44:13 +00:00
sra@google.com 11a19d95be Use @Native annotation on dart2js DOM native classes
This is one of many steps to removing non-standard syntax from the dart2js libraries.

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38484 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-23 00:23:17 +00:00
efortuna@google.com 4f041c2cff Updated documentation for HttpRequest.
Fix for https://code.google.com/p/dart/issues/detail?id=14423

BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36844 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-30 22:26:23 +00:00
sethladd@google.com 763918f8df Additions to HttpRequest docs
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32635 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 23:58:13 +00:00
amouravski@google.com fb475209a8 Reproducing changes from https://chromiumcodereview.appspot.com/23556009/
Review URL: https://codereview.chromium.org//54183007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29709 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 22:13:43 +00:00
blois@google.com cb304c5ea7 Adding HttpRequest.responseHeaders
The code is mostly from Closure's getResponseHeaders function, with modifications to make the keys case-insensitive (following jQuery's model).

BUG=13584
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28812 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 18:11:00 +00:00
floitsch@google.com 8882916b21 Update dom streams with new signatures.
Review URL: https://codereview.chromium.org//27036002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28517 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 14:44:52 +00:00
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
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 78487899af Attempting to fix IE9 XHR cross domain flakiness.
Appears to be related to http://social.msdn.microsoft.com/Forums/ie/en-US/30ef3add-767c-4436-b8a9-f1ca19b4812e/ie9-rtm-xdomainrequest-issued-requests-may-abort-if-all-event-handlers-not-specified

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26875 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 16:30:16 +00:00
blois@google.com 7c393eb095 Adding support for cross-origin requests on IE9.
BUG=12728
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26752 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 23:27:59 +00:00
blois@google.com 823767564d Adding HttpRequest method to make it easier to post form data.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25790 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-05 19:53:42 +00:00
blois@google.com 9dd81d94a7 Fixing up DOM constructors.
This is a continuation of https://codereview.chromium.org/17063007/

Basically I changed it so factory constructors are only added if the class derives from a native type. Otherwise the native type now extends Interceptor.

BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24619 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-29 00:14:23 +00:00
blois@google.com 6b44f65407 Revert "Making all DOM types abstract and removing superfluous Dartium constructors."
This reverts commit http://code.google.com/p/dart/source/detail?r=24241.

Compiler error, not sure of best fix.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24245 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 19:37:47 +00:00
blois@google.com c3547d4e9b Making all DOM types abstract and removing superfluous Dartium constructors.
Adding factory constructors to all classes to suppress missing generative constructor warnings.

Adding a throw to Dartium's base DOM class to prevent construction of native objects.

This also includes the changes necessary to make all DOM types abstract, but I'm running into a dart2js issue which is preventing that.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24241 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 17:31:36 +00:00
blois@google.com 31db2b16d2 Fixing overrideMimeType on IE10.
I thought the test was failing for a different reason earlier, but it's that overrideMimeType is not supported on IE.

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22607 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-10 23:47:37 +00:00
blois@google.com 078208e1cf Adding ability to specify request headers and mime type for Future-based XHRs.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22588 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-10 17:36:42 +00:00
efortuna@google.com 804fcbe9f6 Revert the revert.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20416 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 21:04:29 +00:00
efortuna@google.com ad7c3f9561 "Reverting 20336"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20409 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 19:38:28 +00:00
blois@google.com 575ee1430c Adding CORS support to HttpRequest
It's a fairly complicated polyfill to support IE9 CORS with 1 star and not something that jquery does out of the box.

BUG=6016

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20336 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 17:54:55 +00:00
blois@google.com b5f7c44836 Fixing documentation for HttpRequest
The sample code wasn't updated from Future conversion.

BUG=8461

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20330 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 17:04:15 +00:00
efortuna@google.com 58b10f811e Reapply Futureification.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19590 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 00:13:57 +00:00
efortuna@google.com 60a5ed7215 "Reverting 19586"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19587 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 22:43:47 +00:00
efortuna@google.com 18f08c3a4c Future-ify All the methods!
(with a few exceptions we've planned).
Also added some tests to test these apis.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19586 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 22:32:54 +00:00
blois@google.com fd2c1cbf89 Adding supported checks and flags to FormData
Also fixing the test to pass on IE10.

BUG=4793

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18554 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 02:23:52 +00:00
blois@google.com 53d00496f8 Converting XHR from onLoad to onReadyStateChange
Thought that onLoad was sufficient, but it's causing issues for loading files from file:// URIs (from a Chrome extension).

BUG=8401

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18233 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-07 21:11:41 +00:00
blois@google.com 1d982e1198 Fixing dartium xhr issue
Dartium-only type check issue in XHR.request.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17960 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 01:12:24 +00:00
blois@google.com 1fb79cdb28 Resubmit "Adding ease-of-use methods to HttpRequest."
Fixing the dependent pkg/intl code.

This is the same as my previous CL, but with the modification to pkg/intl/lib/src/http_request_data_reader.dart

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17949 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 22:40:04 +00:00
blois@google.com 07200209ab Revert "Adding ease-of-use methods to HttpRequest."
This reverts commit 17942, it broke some pkg tests that I need a few more moments than I have right now to fix.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17944 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 21:10:46 +00:00
blois@google.com b1cc462093 Adding ease-of-use methods to HttpRequest.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17942 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 20:52:58 +00:00
blois@google.com de9fbf0e90 Renaming dart:html library from 'html' to 'dart.html'
This should be invisible to end users, but basically brings dart:html in-line with the core libraries.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17929 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 17:25:55 +00:00