Commit Graph

1459 Commits

Author SHA1 Message Date
blois@google.com 665339880a Renaming CSS primitive types to have CSS prefixes.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19504 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 19:02:51 +00:00
kustermann@google.com d1d19278f5 Fixed missing 'io.' prefixes on exit() calls
Review URL: https://codereview.chromium.org//12378073

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19451 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 09:29:08 +00:00
regis@google.com 9b56f35621 Add missing import to tools/test-runtime.dart
Review URL: https://codereview.chromium.org//12379093

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19444 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 01:17:44 +00:00
blois@google.com 0ae18dedcd Updating annotations for shadow dom types.
Needed to add an annotation for CssHostRule and updated Chrome supported version (it was a flag on Chrome 25, is now on by default in Chrome 26).

BUG=8239

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19442 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 01:13:11 +00:00
amouravski@google.com 3772e3c3fb Add Dartdoc testing to pub bots.
Review URL: https://codereview.chromium.org//12321154

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19417 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 19:40:49 +00:00
floitsch@google.com d91bca2813 Add List.asMap().
Review URL: https://codereview.chromium.org//12391046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19399 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 16:57:52 +00:00
lrn@google.com f4300b84a2 Make List.from and Iterable.toList default to not growable.
Review URL: https://codereview.chromium.org//12401002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19391 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-04 14:55:40 +00:00
antonm@google.com 5e96e05745 Support DateTime conversions.
R=ager@google.com,blois@google.com,podivilov@chromium.org
BUG=8836

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19333 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 18:23:58 +00:00
antonm@google.com b3d61988af Implement necessary support.
R=ager@google.com,blois@google.com,podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19329 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 17:50:12 +00:00
blois@google.com edb2b3c697 Revert "Revert "Converting dart:html to use DateTime rather than Date.""
Re-submitting change to use DateTime rather than Date.

I'm just disabling the new tests I added since they're failing on Dartium. Opened a bug tracking the Dartium and tests changes.

This means that dates are broken on Dartium, but they were broken everywhere before this change.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19325 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 17:34:40 +00:00
kustermann@google.com 6109ccf605 Quote all arguments when printing test.py command
Review URL: https://codereview.chromium.org//12386047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19293 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 11:31:41 +00:00
kustermann@google.com c7857e7c0b Quote all arguments when printing a Command
Review URL: https://codereview.chromium.org//12379041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19291 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 10:33:59 +00:00
ricow@google.com fe7e6586ea Revert revision 19289
Review URL: https://codereview.chromium.org//12391030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19290 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 10:06:12 +00:00
ricow@google.com 923a9e72d9 Build the Editor from GYP/build.py.
The Editor is only rebuilt if it changes, not if the SDK changes.
Review URL: https://codereview.chromium.org//12090092

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19289 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 10:02:39 +00:00
blois@google.com f310d35ea4 Speeding up Node.nodes.addAll
During profiling of the Dart API app I noticed quite a non-trivial amount of time and garbage in nodes.addAll. This case can be optimized for the case where we know that both lists are node lists.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19268 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 00:03:35 +00:00
ager@google.com d984c7dd1d Remove custom remove method from HTMLSelectElement in dart.idl. The members are suppressed in htmlrenamer.py and it is confusing to have them in dart.idl just to be suppressed somewhere else.
R=antonm@google.com,blois@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19242 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 16:07:13 +00:00
ricow@google.com e76f1b4825 Use correct pattern in annotated steps browser matching
Review URL: https://codereview.chromium.org//12385018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19227 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 14:04:35 +00:00
ricow@google.com b7fc3d65eb Add csp flag for browser bots instead of dart2js bots.
Review URL: https://codereview.chromium.org//12389020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19226 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 13:57:11 +00:00
ricow@google.com 4d043ab57d Add csp option to annotated steps for dart2js bots
Review URL: https://codereview.chromium.org//12383020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19222 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 13:41:19 +00:00
kasperl@google.com f54583de00 Add --csp flag to test.dart.
When running test with that flag we make sure the HTTP server emits
Content-Security-Policy restriction headers and we pass --disallow-unsafe-eval
to dart2js.

R=ricow@google.com,kustermann@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19208 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 08:59:33 +00:00
blois@google.com d4d1228ce9 Cleaning up the TableElement API
Basically just converting to more proper types for a number of the APIs.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19175 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 21:47:09 +00:00
antonm@google.com 76ac9cdf05 WebKit IDL roll.
TBR=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19158 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 17:50:11 +00:00
antonm@google.com 04082f2d09 Proper support for typedefs.
And allow them in WebKit IDLs.

R=ager@google.com,blois@gogole.com,podivilov@chromium.org,sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19146 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 15:48:26 +00:00
antonm@google.com a118f08856 Chrome roll 181864->184590.
TBR=ager@google.com,podivivlov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19129 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 12:53:40 +00:00
lrn@google.com 08c3df394d Fix bug in html library.
Review URL: https://codereview.chromium.org//12319141

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19114 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 09:00:46 +00:00
lrn@google.com 6b4f4b1bab Change new List(n) to return fixed length list.
Deprecate List.fixedLength, add List.filled.

Make Iterable.toList and List.from take "growable" argument,
defaulting to false.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19112 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 08:45:04 +00:00
blois@google.com 4698696514 Revert "Converting dart:html to use DateTime rather than Date."
This reverts commit 19107 because it broke Dartium.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19108 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 03:16:01 +00:00
blois@google.com bc54cc3f32 Converting dart:html to use DateTime rather than Date.
We had been exposing JS Date objects as Dart Dates, but it appears to never actually worked. Switched over to DateTime and added a converter for it.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19107 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 02:57:31 +00:00
amouravski@google.com 89b1a828db Added library comment and warning message to web_sql.
Review URL: https://codereview.chromium.org//12334098

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19092 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 22:36:55 +00:00
blois@google.com 8c0eeaa152 Removing an unnecessary throw for JS interop.
Was hitting this debugging some code using JS interop, seems like a simple cleanup.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19090 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 22:26:21 +00:00
tball@google.com 23d1c0a348 Updated ddbg to use new streams API.
Review URL: https://codereview.chromium.org//12315097

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19086 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 21:53:48 +00:00
amouravski@google.com 5d07be1a6c Added Web SQL to the docs.json generation.
Review URL: https://codereview.chromium.org//12334086

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19062 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 17:54:28 +00:00
amouravski@google.com 81692cf82d Fix copy_dart to correctly put library comments BEFORE the library directive.
Review URL: https://codereview.chromium.org//12315102

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19059 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 17:35:58 +00:00
blois@google.com 70a105d262 Fixing web_sql SqlResultSetRowList row accessor.
Basically the JS generated code is using indexed getters even when they are not available and alternate methods should be used.

BUG=8666

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19055 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 16:59:11 +00:00
amouravski@google.com 4e66d9d8fe Remove old json files that aren't doing anything.
Review URL: https://codereview.chromium.org//12310124

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19029 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 03:28:00 +00:00
blois@google.com d9b1c12f4c Fixing CssStyleDeclaration to not throw exceptions for unsupported values.
Only occurs on IE9, but unsupported values should fail silently.

BUG=8588

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19024 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 00:48:23 +00:00
blois@google.com 0d2c7ea397 Fixing Indexed DB supported check.
The test was incorrectly passing on platforms which do not support IndexedDB.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18998 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 20:59:12 +00:00
blois@google.com bc4f90bd09 Dartifying remainder of Index DB APIs.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18992 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 18:59:34 +00:00
devoncarew@google.com f6d7f5251c Remove r09 of guava; make sure all the dartc files are updated to use r13.
Review URL: https://codereview.chromium.org//12326093

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18989 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 18:26:34 +00:00
blois@google.com ee0477df38 Adding supported checks and annotations to Crypto API.
BUG=8703

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18985 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 17:39:08 +00:00
kustermann@google.com 90e2760642 Start two http servers for every configuration
This should fix: http://dartbug.com/8366

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18964 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 11:54:20 +00:00
lrn@google.com 3c0ac360e7 Remove deprecated string features.
Make String.codeUnits return a List.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18960 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 10:48:09 +00:00
benwells@google.com 088ae22e82 Update idlsync.py to pull in dependencies required for chrome api generation.
BUG=None

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18955 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 03:52:06 +00:00
sra@google.com e713872550 Annotations for WebGLRenderingContext.getParameter
Review URL: https://codereview.chromium.org//12315064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18938 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-23 01:09:34 +00:00
blois@google.com 5b0fea791f Removing DateTimeInputElement.
This has been removed from Chrome and it sounds like it's being removed from the spec.

Chromium bug- https://code.google.com/p/chromium/issues/detail?id=175080

BUG=8709

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18910 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 19:29:20 +00:00
nweiz@google.com c8f6014ae7 Move pkg/path to pkg/pathos.
Review URL: https://codereview.chromium.org//12316056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18906 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 18:45:55 +00:00
sra@google.com a979ddd7b5 Make quotes in support code match rest of code
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18905 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 18:40:01 +00:00
blois@google.com 0f8df99a73 Fixing WheelEvent.deltaMode polyfill after IDL update.
BUG=8713

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18904 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 18:32:19 +00:00
ager@google.com 8594f56bbf Update WebKit idl files after chrome roll
R=antonm@google.com,blois@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18889 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 13:15:56 +00:00
ager@google.com 51527e2115 WheelEvent template changes for chrome rool.
R=antonm@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18881 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-22 11:52:14 +00:00