Commit Graph

6631 Commits

Author SHA1 Message Date
amouravski@google.com 83495ee8ec Refactor EventStreamProvider.dart to make flow make more sense.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29494 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 21:19:21 +00:00
amouravski@google.com 1573890b6e Updated top level docs for Window.
Review URL: https://codereview.chromium.org//51183002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29480 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 19:26:44 +00:00
vsm@google.com 1cef9f61aa Dartium support for Uri.base (dart-side)
BUG=13581
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29479 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 19:06:24 +00:00
sra@google.com c02e911962 JS_INTERCEPTOR_CONSTANT(Type) generates a constant interceptor in Dart code.
Use JS_INTERCEPTOR_CONSTANT(KeyboardEvent) in dart:html to avoid creating a lookup table.

R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29474 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 18:26:48 +00:00
amouravski@google.com 60b57c3a38 Update headings to use sentence case.
R=kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29462 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 17:23:32 +00:00
lrn@google.com d334b06602 Remove defunct reference to json.dart in copy_dart.py.
R=floitsch@google.com, jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29441 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 12:21:46 +00:00
ricow@google.com 9b736a2531 Add windows installer functionallity to editor build script.
Refactor create_mac_installer to pull out generic functionality.
Change naming util class to not include zip in name of editor file
Change windows installer creation script to support a directory as input in addition to a zip file
Review URL: https://chromiumcodereview.appspot.com//47553006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29440 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 12:20:56 +00:00
whesse@google.com 3b54950144 Remove dart:platform library.
This reverts commits r29154, r29244, r29251, r29268, and r29272.
The dart:io Platform class will not be moved to a dart:platform library.

R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29435 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 11:33:34 +00:00
kustermann@google.com 0456d4136b Run the analyzer on dart files under sdk/ -- even in sdk/_internal, if not ending with _test.dart
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29420 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 09:02:14 +00:00
kasperl@google.com 1bbe4d5452 Make sure that classes in dart:html do not implement both List and List<E>.
R=johnniwinther@google.com, blois@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29417 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-29 08:37:10 +00:00
jacobr@google.com fa8b243f62 Add JsArray
BUG=
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29393 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 20:46:36 +00:00
amouravski@google.com 8f1ff19004 Update EventStream docs with new capture method on the string.
Review URL: https://codereview.chromium.org//47543007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29392 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 20:36:53 +00:00
amouravski@google.com 79b447a313 Renamed XmlHttpRequestEventTarget to remove Xml for consistency.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29385 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 19:54:00 +00:00
kustermann@google.com b5373a419a Run all tests inside an iframe + restrict number of chrome browser processes on mac
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29367 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 16:31:18 +00:00
kustermann@google.com cf822a851a test.py: Run the analyzer on all dart files in the sdk.
BUG=http://dartbug.com/13024
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29362 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 14:45:59 +00:00
kustermann@google.com 94ebff2225 Bugfix in test.dart, adding of specialized test outcomes for analyzer
This CL will:
 - fix a bug in the legacy AnalyzerCommandOutputImpl class (in certain cases
   we did not report that the analyzer was missing a warning).
 - make the outcome of running the analyzer on a test be one of:
   * CompileTimeError
   * MissingCompileTimeError
   * StaticWarning
   * MissingStaticWarning
 - Make status file updates using the new Expectation markers
 - Remove support for '@static-clean':
     Previously running the analyer on a test could either result in
     'Pass' or in 'Fail'. The '@static-clean' annotation has been used
     as a (poor) mechanism to distinguish between errors and warnings.
     Having the 4 markers mentioned above means we can remove '@static-clean'
 - Remove 100 lines of rotted legacy code in our testing scripts.
 - Make a status file entry for every test that has analyzer errors or warnings

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29350 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 10:39:38 +00:00
ricow@google.com 1190326999 Add script for generating a windows installer from an archived editor bundle.
A few general notes:
  We always generate an installer that will do a full upgrade, i.e., uninstall the old installer and reinstall the new one.
  We need wix 3.6 or above, I will add a dependency for this to our bot that will run this. For local testing you can either put wix in your path or pass in the location
  We use * for both product id and component component guids (i.e., wix will generate them on the fly. Since we don't track files across versions and we always do a full update this is fine. If we want to change to patch releases we need to change that functionality.
  
Review URL: https://chromiumcodereview.appspot.com//43273003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29348 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 10:17:50 +00:00
blois@google.com 8c9c2d5c29 Exposing raw DOM lists from wrappers
This is to make them transferrable via dart:js

So basically all of our wrappers implement NodeListWrapper (which is defined in html_common).

One can check if the Dart list is a NodeListWrapper, then call rawList if so.

The result of rawList is typed as List<Node>, which should be either NodeList or HtmlCollection.

BUG=14485
R=justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29322 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-27 02:26:20 +00:00
scheglov@google.com 7ac0b7d0bd Rename analyzer_experimental to analyzer.
R=jmesserly@google.com, pquitslund@google.com, danrubel@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29302 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 23:59:38 +00:00
zra@google.com bdc3343090 Adds test target for Dartium on Android.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29293 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 21:34:25 +00:00
efortuna@google.com 45701cfb4b Second round of deprecation removal.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29275 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 19:39:09 +00:00
zra@google.com 5572278a23 Changes to run tests on Dartium content shell on Android.
- In browser_controller.dart, adds a drtOnAndroid Browser.
- Adds flags for starting test servers at fixed ports.
  - This is needed so that android reverse port forwarding
    can be set up in advance.
- Adds setProp to android.dart to be used in lieu of
  environment variables when testing on Android.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29259 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 16:39:48 +00:00
kustermann@google.com 746d924e59 co19-roll to r641
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29255 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 15:07:10 +00:00
lrn@google.com efcbc5d05a Remove references to dart:json from create_sdk
Review URL: https://codereview.chromium.org//43383003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29242 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 10:52:47 +00:00
lrn@google.com 3a01260611 Remove dart:json
BUG= http://dartbug.com/12843
R=floitsch@google.com, fschneider@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29240 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 10:30:34 +00:00
sra@google.com f41f6f6722 ImageData.data is a Uint8ClampedList
Review URL: https://codereview.chromium.org//41583005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29228 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 00:46:48 +00:00
efortuna@google.com 971dbf30ab Supress list mixins for deprecated/removed class.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29226 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 00:23:06 +00:00
amouravski@google.com c1eb44e3d0 Fix for getContextAttributes which wraps bare dictionary into a Dart type.
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29221 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 22:32:46 +00:00
efortuna@google.com 9b40aca70c Remove the low hanging deprecation fruit.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29219 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 22:13:51 +00:00
efortuna@google.com c49f1ce868 Allow matches selector to work on current Opera.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29216 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:55:08 +00:00
efortuna@google.com 7effd23744 Add DOMRect for Firefox Rectangle behavior.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29210 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:28:58 +00:00
efortuna@google.com 26bf1e0da4 Renamed contains in the rectangle class to containsRectangle.
BUG=https://code.google.com/p/dart/issues/detail?id=13876
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29203 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:27:22 +00:00
amouravski@google.com ea765638fb Updated webdriver setup script to use new location for downloads.
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29200 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 20:01:48 +00:00
blois@google.com f41e99e1ed Updating MutationObserver.observe documentation.
TBR
BUG=14375

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29181 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 17:01:08 +00:00
blois@google.com 3058d7ed00 Removing older lifecycle events
With the upgrade to Chrome beta, the shims for the older names can go away.

BUG=13220
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29180 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 16:54:32 +00:00
kustermann@google.com b3ba5c5c95 test.py: Support for running tests in checked mode on none-dartium with the browser controller
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29175 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 15:37:33 +00:00
kustermann@google.com 849ed804f4 Recursive copy with gsutil does only work work if more then one object is inside the source directory
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29165 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 11:10:34 +00:00
ajohnsen@google.com faba61a261 Copy 'dart:platform' library in to sdk.
BUG=
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29158 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 08:11:27 +00:00
efortuna@google.com 7e685302b9 Add back unseparated out version of method overloads in dart:html.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29135 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 00:07:45 +00:00
efortuna@google.com 7645b3b4c6 Temporarily disable TouchList constructor to implement varargs.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29133 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 22:46:35 +00:00
efortuna@google.com 1787f36d42 Rerun go.sh
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29120 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 20:54:41 +00:00
jacobr@google.com 88482fee49 Companion CL to support $0, $1, $2
BUG=
R=justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29112 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 19:32:23 +00:00
jacobr@google.com ec40463cb1 Fix inspector break from Dartium roll
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29104 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 18:26:11 +00:00
vsm@google.com db97191375 Dartium fixes for latest Blink rolls.
TBR=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29085 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 15:00:32 +00:00
kustermann@google.com cef7270700 Use os.rmdir() for symlinks on windows.
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29065 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 08:35:36 +00:00
kustermann@google.com 7efc949f4c Use os.remove() instead of shutil.rmtree() since the latter actually does follow pseudo-symlinks on windows
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29063 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 08:10:56 +00:00
kustermann@google.com 5447fabf8e Make sure we do not have stale entries inside build-dir/packages
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29062 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 07:57:50 +00:00
jmesserly@google.com 360ea42322 Rename mdv -> template_binding, remove experiemntal apis from dart:html
essentially, we trade off reduce dart:html API surface area for more annoying usage of these APIs. Since Polymer hides most of this, I suspect it won't be too annoying in practice.

Sample usage:

    nodeBind(node).bind(...)

    templateBind(node).model = ...;

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29057 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 02:11:49 +00:00
blois@google.com 15e086338d Revert "Revert "Removing some deprecated members""
Take-two of https://code.google.com/p/dart/source/detail?r=29022

The issue with the original was that addEventListener was changed to private, but this caused the IDB classes which override it to not override it any longer. This was breaking C++ multiple inheritance type casts. Fix is to make addEventListener public.

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29051 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 00:44:10 +00:00
efortuna@google.com a4a2e26bde Reapply lineDash with polyfill.
BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29050 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-23 00:15:36 +00:00