amouravski@google.com
566977fc1d
Update context2d.arc to take optional anticlockwise parameter
...
Review URL: https://codereview.chromium.org//12548010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19707 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 18:39:19 +00:00
blois@google.com
df12fc3a5f
Converting Element.client*, offset* and Screen.avail* over to Rects
...
Converting more APIs over to exposing as Rects.
BUG=
Review URL: https://codereview.chromium.org//12605003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19702 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 18:12:16 +00:00
floitsch@google.com
dd48256fe5
Remove deprecated StringBuffer.add, addAll and addCharCode.
...
Review URL: https://codereview.chromium.org//12473003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19690 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 13:07:18 +00:00
lrn@google.com
cd9bcfe956
Remove references to capital-D-Dynamic.
...
Review URL: https://codereview.chromium.org//12615002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19687 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 11:57:28 +00:00
kustermann@google.com
b14b9f7008
Pass half the timeout to run_selenium.py
...
TBR=ricow@google.com
Review URL: https://codereview.chromium.org//12674004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19686 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 11:51:37 +00:00
iposva@google.com
ee927443e0
- Add simarm and simmips to --arch=all for builds and tests.
...
Review URL: https://codereview.chromium.org//12690002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19684 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 11:46:56 +00:00
lrn@google.com
bead146749
Renamed StreamSink to EventSink. Renamed signalError to addError.
...
Review URL: https://codereview.chromium.org//12610006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19683 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 11:31:19 +00:00
ricow@google.com
95c7a9f507
Remove support for testing servers from the tools/test-runtime.py
...
Review URL: https://codereview.chromium.org//12385040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19674 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 09:57:40 +00:00
blois@google.com
dad0804d7b
Making Indexed DB's cursor stream not auto-advance if no subscribers
...
BUG=8552
Review URL: https://codereview.chromium.org//12644004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19667 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 01:37:02 +00:00
blois@google.com
2fcae75253
Exposing Point & Rect types
...
This exposes ClientRects as Rects and exposes UIEvent.clientX/Y properties as Points.
This also deprecates the UIEvent.clientX/Y properties.
BUG=
Review URL: https://codereview.chromium.org//12493003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19659 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 22:17:04 +00:00
blois@google.com
b784897b97
Adding helper script to make it easy to run common DOM tasks.
...
I'm not much of a python person, so there's probably cleaner ways of doing some of this. It's primarily a script that I've been using locally for quite a while, but seems like it'd be useful for others as well.
It's not intended to cover every single scenario, just make the common ones easy. It prints out the commands it executes so if there is a problem, hopefully you can easily debug it.
BUG=
Review URL: https://codereview.chromium.org//12211019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19648 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 18:18:45 +00:00
floitsch@google.com
d876e7ce7a
Add 'diff' option to progress.
...
Review URL: https://codereview.chromium.org//12611005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19639 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 16:48:19 +00:00
ricow@google.com
399e983668
Add back special casing for ie10
...
Review URL: https://codereview.chromium.org//12459009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19623 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 13:41:10 +00:00
ricow@google.com
bbc477a4b1
Remove special casing running dart2js tests on ie bots.
...
Review URL: https://codereview.chromium.org//12591002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19604 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 09:36:37 +00:00
ager@google.com
ee442f190e
Add dart analyzer test suite 'analyze_library' that fails if we
...
introduce static type warnings in certain dart libraries.
I wanted this for dart:io and might as well add it for the other
libraries that have no warnings when analyzed.
This required a bit of test script reworking. dartc used a leading
hash in a file to determine if it was a test. That is now broken
and has been removed. This also allowed me to override the
readOptionsFromFile method in test suites so that certain analyzer
test suites can require all tests to be static clean.
R=ricow@google.com ,kustermann@google.com ,sgjesse@google.com ,danrubel@google.com
BUG=
Review URL: https://codereview.chromium.org//12475004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19597 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 07:25:32 +00:00
blois@google.com
40e5bd7d28
Adding Node.insertAllBefore
...
Also addressing some late feedback from Node.nodes.addAll.
BUG=8882
Review URL: https://codereview.chromium.org//12374060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19593 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 00:43:53 +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
blois@google.com
a94084913c
Fixing a number of dart:html analyzer issues
...
A couple of real bugs, rotten code and deprecated APIs.
BUG=
Review URL: https://codereview.chromium.org//12510003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19588 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 22:46:34 +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
202fd00fab
Adding Point & Rect primitives
...
For making DOM APIs more user-friendly, a number of them should be exposed as points and rects. Adding basic classes with a core set of useful methods.
BUG=
Review URL: https://codereview.chromium.org//12395036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19577 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 19:20:01 +00:00
amouravski@google.com
7b7799dbad
Fix for editor tests (and everything else that uses dartdoc from build dir.)
...
Review URL: https://codereview.chromium.org//12499003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19531 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 00:04:49 +00:00
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