Commit graph

892 commits

Author SHA1 Message Date
whesse@google.com 90c7a56bdd Update status for Dartium tests.
BUG=dartbug.com/21012, dartbug.com/21000
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40491 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 10:22:04 +00:00
kevmoo@google.com 650012e159 fix win11 bots with status changes
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40487 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 04:20:24 +00:00
kevmoo@google.com 3d056175bc fix pkg status file for unittest
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40484 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 01:45:28 +00:00
kevmoo@google.com 38d6c15539 pkg/scheduled_test: status tweaks
BUG= https://code.google.com/p/dart/issues/detail?id=21007
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40483 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 01:36:49 +00:00
kevmoo@google.com 5c6bc92daa pkg/scheduled_test updated status file for jsshell
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40480 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-19 00:06:00 +00:00
kevmoo@google.com 02e029636b pkg/metatest: adding homepage to metatest pubspec
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40479 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 23:39:45 +00:00
kevmoo@google.com 615819acf9 Sharing metatest logic between unittest and scheduled_test
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40475 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 22:40:13 +00:00
nweiz@google.com 6ee6d6b110 Mark a bunch of tests as passing now that stack_trace works with the new Firefox.
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40474 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 22:38:13 +00:00
jakemac@google.com 8c422a0862 fix findController for non-dart elements
BUG= http://dartbug.com/20931
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40458 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 20:30:56 +00:00
sethladd@google.com b1ae6d0817 remove serialization. it's moved to github
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40456 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 20:07:25 +00:00
sethladd@google.com ba1ab7d8f5 Revert "remove serialization. it's moved to github"
This reverts commit e06d6fbb470445cdbd7875a7aa24f5ecb6ee04d4.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40451 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 18:30:25 +00:00
sethladd@google.com ca72cda5b6 remove serialization. it's moved to github
BUG=
R=alanknight@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40447 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 17:59:10 +00:00
ricow@google.com acb59f47b1 Mark pkg/analysis_server/test/socket_server_test as slow on jsshell
R=eernst@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40431 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 10:49:18 +00:00
karlklose@google.com c1597202c4 Fix typo in previous CL.
TBR=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40425 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 07:17:08 +00:00
karlklose@google.com 74a5d0559d Update test expectations.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40424 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-18 07:10:20 +00:00
jakemac@google.com 5230bf6eca simple index.html files for folders that contain entry points
BUG= http://dartbug.com/20963
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40408 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-17 22:14:16 +00:00
vsm@google.com 2eb587b49d Status fixes
TBR=terry@google.com,leafp@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40222 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 22:02:03 +00:00
karlklose@google.com e71b933bfe Make test as failing on safarimobilesim.
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40202 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 06:51:10 +00:00
ricow@google.com df319447f1 Remove suppressions for ie9
R=blois@google.com, whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40201 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-12 06:01:14 +00:00
karlklose@google.com bde34d0efa Mark refactoring_test as Slow on js_shell.
TBR=jonniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40145 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-11 13:15:47 +00:00
vegorov@google.com 183abe7207 Fix StoreIndexedInstr input representation requirements for Int32/Uint32 arrays.
Previous implementation changed input representation depending on the propagated type of the value which violated assumptions made by SelectRepresentations phase.

Instead of using tagged/mint input require unboxed Int32/Uint32 input and insert explicit truncating unboxing when building StoreIndexed operation in the optimizer. This also leads to strictly better code and opens possibilities for further optimizations.

Implement Int32/Uint32 representation support on all platforms. This includes boxing, unboxing and unboxed converter operations.

Merge BoxInt32/BoxUint32 and UnboxInt32/UnboxUint32 instruction sequences to minimize duplication.

Improve instruction sequences by utilizing CARRY flag set by smi untagging where possible (ARM, ia32, x86).

Enable all tests that were disabled by r40078, r40079.

BUG=http://dartbug.com/20875
R=fschneider@google.com, johnmccutchan@google.com, srdjan@google.com, zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40143 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-11 12:32:54 +00:00
sigmund@google.com 6318e91c82 Mark template_attr test as failing in IE until we investigate the issue.
Review URL: https://codereview.chromium.org//562013002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40133 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-11 00:10:25 +00:00
jakemac@google.com fb2d027d36 add flaky tests :(
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40127 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-10 22:54:36 +00:00
jakemac@google.com 589c718ac0 update polymer js to 0.4.0
BUG= http://dartbug.com/20809

The following files were not migrated, they used to be in platform.js
and are like polyfills, but are adding non-html spec functionality used
by polymer:

src/declaration/mdv.js
src/declaration/polymer.js
src/declaration/queue.js
src/declaration/styles.js
src/lib/dom.js
src/lib/lang.js
src/lib/loader.js
src/lib/styleloader.js
src/lib/url.js
src/system/compat.js
src/system/microtask.js
src/system/module.js
src/system/patches-mdv.js
src/system/unresolved.js

The following tests were not migrated. For the most part they are just
testing the features added by the files above:

test/html/loader-deduplicate.html
test/html/mdv-shadow.html
test/html/mdv-tests/polymer-expressions-tests.js
test/html/styling/recursive-style-import.html
test/html/url.html
test/js/bindMDV.js
test/js/oop.js
test/html/styling/rules/*
test/js/styling.js
test/js/register.js
test/js/utils.js
test/html/template-repeat-wrappers.html

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40120 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-10 21:41:47 +00:00
iposva@google.com f208566475 - Disable tests failing failing with --optimization-counter-threshold=5.
Review URL: https://codereview.chromium.org//562523002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40079 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-10 03:52:21 +00:00
ricow@google.com f6bec3b946 Suppress flakiness in pkg/observe/test/list_path_observer_test on IE
Filed issue 20849 to track this

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39983 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-08 17:39:23 +00:00
kevmoo@google.com e0fa649db9 pkg/math: remove placeholder
R=sethladd@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39946 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-07 00:30:06 +00:00
nweiz@google.com c37ddb51b3 Fix glob match and parse tests for Windows and URL styles.
R=rnystrom@google.com
BUG=20788, 20789

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39922 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-05 19:04:34 +00:00
sigmund@google.com 1781d2cb42 Step one towards stable error messages with details:
- switches polymer to use a messages type
 - autogenerates an HTML page from the message list.
 - use these messages on polymer transformers
 - moves build_logger to code_Transformers, so we can also use this in other packages.

Still pending to do more, for example, find a permanent location and URI scheme for messages
so we can show them on the command-line, improve the UI to tak advantage of clustering, etc.

But I think it's good enough to get it in and iterate afterwards

R=jakemac@google.com, kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39884 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-04 20:28:15 +00:00
jakemac@google.com c9227e35e3 delete debug only files from output in release mode
Note: This adds a couple hundred milliseconds to the build for my sample application. However, that should remain fairly constant even if we add more files later since we already paid the price of spinning up the transformers.

BUG= http://dartbug.com/19521
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39828 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-03 20:01:48 +00:00
ricow@google.com 686409778b Mark pkg/glob/test/match_test as failing on browsers
Mark 	pkg/glob/test/match_test and pkg/glob/test/parse_test failing on windows on the vm

Filed issues 20789 and 20788 to track this

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39790 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-03 05:58:17 +00:00
srawlins@google.com 400ffc0c48 Addressing Issue 5991, where functions are requested for:
* greatest common denominator
* modulo inverse
* modulo exponentiation

In addition, I implemented functions for least common multiple and extended gcd, as they are so closely related.

These functions are respectively named gcd(), invert(), modexp(), lcm(), gcdext(), provided in the math package,
and tested in the math package.

When passed arguments larger than 2^53, a javascript implementation of dart will yield unpredictable results,
as is true with all of the dart:int methods.

Some of the function names are arbitrary, as they go by different names in different languages:

* For modular multiplicative inverse, I chose "invert." It goes by "invert" in GMP [1], "modInverse" in Java and Go,
"invmod" in Julia, "PowerMod" in Mathematica, and "pow" in Python.
* For modular exponentiation, I chose "powmod." It goes by "powm" in GMP, "exp" in Go, "modPow" in Java,
"powermod" in Julia and Mathematica, and "pow" in Python (optional arg).
* For extended gcd, I chose "gcdext." It goes by "gcdext" in GMP, "gcd" in Go (optional return args), "gcdx" in Julia,
and "ExtendedGCD" in Mathematica.

BUG= https://code.google.com/p/dart/issues/detail?id=5991

[1] https://gmplib.org/

R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39769 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-02 19:49:48 +00:00
scheglov@google.com 844f477d10 Use MockSdk to speed-up tests.
R=paulberry@google.com, brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39717 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-30 05:51:09 +00:00
paulberry@google.com b33b0f7ff0 Mark analyzer2dart tests as "slow" on debug bots
Diet parsing isn't currently used so these tests wind up parsing the
entire SDK.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39701 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-29 14:24:41 +00:00
paulberry@google.com 658ba06a25 Skip dart2analyzer tests on browsers
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39648 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-28 12:05:17 +00:00
sigmund@google.com 4ad3066210 Mark template_binding/test/custom_element_bindings_test as flaky
BUG=https://code.google.com/p/dart/issues/detail?id=20714
TBR=jakemac@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39632 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-28 01:29:30 +00:00
jakemac@google.com c0badd0fc4 flaky test
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39600 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-27 16:06:16 +00:00
jakemac@google.com 3a8813b38d add content tag to the js_interop_test element so its content is queryable
update web_components to latest

BUG= http://dartbug.com/20413
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39596 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-27 14:58:13 +00:00
paulberry@google.com df89cc1494 Run all pub tests on Windows with -j1
Should avoid timeouts with some particularly resource-intensive tests
(e.g. analysis server integration tests).

TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39591 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-27 11:35:03 +00:00
kustermann@google.com 8e77e9c704 Remove obsolete http_base package
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39543 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-26 10:09:34 +00:00
whesse@google.com 3d48991511 Update co19 status for dartium and android.
BUG=dartbug.com/19544
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39450 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-21 13:30:41 +00:00
whesse@google.com 99180f5797 Update status for pkg tests.
BUG=dartbug.com/20575 dartbug.com/20576

TBR=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39366 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-19 09:35:46 +00:00
paulberry@google.com 7226309842 Import analysis_services.dart into analysis_server.dart.
Having two separate packages doesn't really have any benefit, and has
the downside of forcing us to carefully avoid circular dependencies
between the two.  It makes more sense to just combine them.

This is largely a mechanical change consisting of the following renames:

1. pkg/analysis_services/lib/src/* -> pkg/analysis_server/lib/src/services/*
2. pkg/analysis_services/lib/* -> pkg/analysis_server/lib/src/services/*
3. pkg/analysis_services/test/* -> pkg/analysis_server/test/services/*

There were 4 instances where 1 and 2 created a collision:
.../services/correction/assist.dart, .../services/correction/fix.dart,
.../services/refactoring/refactoring.dart, and
.../services/search/search_engine_internal.dart.  To fix the
collision, the files coming from pkg/analysis_services/lib/src were
renamed to "..._internal.dart".

In addition, pkg/analysis_services/test/test_all.dart was modified to
call pkg/analysis_services/test/services/test_all.dart.

R=brianwilkerson@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39349 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-18 20:17:49 +00:00
jakemac@google.com 5f94bfb494 Revert "Roll polymer to 0.3.5"
This reverts commit 9923eeb0a39a13926406896a78878237b32fa10e.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39336 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-18 15:59:01 +00:00
jakemac@google.com 82150beb8a Roll polymer to 0.3.5
The following files were not migrated, mostly tests that we don't have an equivalent for (that I could find):

declaration/properties.js
test/html/element-registration.html
test/html/bind-object-repeat.html
test/html/publish-attributes.html

Also, observe.js was not migrated since it no changes looked to be applicable to us, https://github.com/Polymer/observe-js/compare/0.3.4...0.3.5.

BUG= http://dartbug.com/20413
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39330 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-18 14:23:03 +00:00
whesse@google.com 3176e3c5e8 Update test status for polymer on Windows.
BUG=dartbug.com/19326
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39324 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-18 08:05:24 +00:00
paulberry@google.com f822f41189 Update analysis server and integration tests to match new ChangeContentOverlay.
The spec was changed in r39199 so that ChangeContentOverlay contains a
list of edits rather than a single edit.  This updates the analysis
server and integration tests accordingly.

BUG=dartbug.com/20495
R=brianwilkerson@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39218 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-13 20:04:55 +00:00
paulberry@google.com 21e307fb6b Skip analysis server integration tests with dart2js
TBR=jwren@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39213 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-13 18:31:14 +00:00
paulberry@google.com 159c19b0fc Don't expect update_content_test to fail for analyzer.
This is a runtime failure only; analysis of the test should still
succeed.

TBR=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39211 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-13 18:09:21 +00:00
paulberry@google.com 96d5bd1bf0 Add union types to the analysis server API spec.
R=brianwilkerson@google.com, jwren@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39208 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-13 17:38:11 +00:00