Commit Graph

2071 Commits

Author SHA1 Message Date
karlklose@google.com 9ebe077ab2 Revert "Try to remove RuntimeError annotations for mirrors_reader_test."
This reverts commit r39856.

TBR=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39858 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-04 11:11:40 +00:00
karlklose@google.com d467e68881 Try to remove RuntimeError annotations for mirrors_reader_test.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39856 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-04 10:42:55 +00:00
karlklose@google.com 07b2ccd024 Skip mirrors_reader_test on mobile safari.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39853 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-04 09:26:14 +00:00
sigurdm@google.com 457c8c33c7 Remove support for the DeferredLibrary annotation and remove tests of it
BUG= 18562
R=floitsch@google.com, hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39797 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-03 08:34:34 +00:00
ricow@google.com 33dbdeea9c Remove analyzer suppression of analyze_library/lib/_internal/pub/lib/src/executable
This started passing after:
https://code.google.com/p/dart/source/detail?r=39787

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39791 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-03 06:01:50 +00:00
floitsch@google.com 59b78ff5fc Support typedefs in function signatures.
BUG= http://dartbug.com/18938
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39750 260f80e4-7a28-3924-810f-c04153c831b5
2014-09-02 15:53:59 +00:00
rnystrom@google.com f485ccfd7d Make analyzer bot happy again.
Review URL: https://codereview.chromium.org//515373002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39675 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-28 20:27:56 +00:00
rnystrom@google.com 9f052a7ef8 Fix two more analyzer bot failures.
Review URL: https://codereview.chromium.org//508323003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39629 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-28 00:30:49 +00:00
rnystrom@google.com 46a888019d Fix the analyzer bots.
Review URL: https://codereview.chromium.org//515783002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39627 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-28 00:12:01 +00:00
turnidge@google.com 2d4250d852 Defer execution of the main isolate's entry point until the message loop.
This allows us to know more accurately the stack limit while running main.

R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39558 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-26 17:21:20 +00:00
johnmccutchan@google.com 3299ed4a81 - Add VMMetric and some sample metrics
- Per isolate:

* heap.old.used
* heap.old.capacity
* heap.old.external
* heap.new.used
* heap.new.capacity
* heap.new.external

- VM:

* vm.isolate.count

- New metrics service namespace: /metrics/vm/...

R=koda@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39305 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-15 17:35:00 +00:00
floitsch@google.com 00ea30f29a Don't inherit metadata.
BUG= http://dartbug.com/20461
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39129 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-12 13:04:24 +00:00
floitsch@google.com f1eccb26d3 Fix type-checks for reflective redirection constructors.
R=ahe@google.com, johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39058 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-08 22:46:33 +00:00
rmacnak@google.com 3a40319ed2 Remove hard limit from mirrors accessor caches.
Avoids treadmilling the cache when the working set is larger than the cache size, such as the observe loop of a very large Angular app.

BUG=http://dartbug.com/20196
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@39057 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-08 22:20:36 +00:00
karlklose@google.com 2e3af11015 Mark test as passing after r38924.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38927 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-06 11:30:32 +00:00
sigmund@google.com 43b31f88a8 Fix js/null_test to run also in CSP mode
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38909 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-05 21:46:43 +00:00
karlklose@google.com b203f95355 Emit declarations for typedefs that are needed by reflection.
Typedefs are encoded like closure classes, but without a call-method and a superclass.

For example, the typedef `typedef int Foo(String s);` is emitted as:
  Foo: {'^': ':15'},
where `15` is the index into `init.metadata` at which the function type is emitted.

BUG= http://dartbug.com/16939
R=johnniwinther@google.com, floitsch@google.com, herhut@google.com

Committed: https://code.google.com/p/dart/source/detail?r=37814

Reverted in https://code.google.com/p/dart/source/detail?r=37848

Committed: https://code.google.com/p/dart/source/detail?r=37939

Reverted in https://code.google.com/p/dart/source/detail?r=37940

Committed: https://code.google.com/p/dart/source/detail?r=37945

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38891 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-05 07:18:32 +00:00
ricow@google.com d903b0f9cc Mark lib/js/null_test as failing in csp mode
I have filed issue 20310 to track this

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38827 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-01 08:56:01 +00:00
ricow@google.com 1f62607a46 Mark lib/profiler/metrics_test and lib/profiler/metrics_num_test as failing on the analyzer
I have filed issue 20309 to track this

R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38826 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-01 08:51:08 +00:00
johnmccutchan@google.com cc03602e70 Fix nits on metrics_test
BUG=
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38818 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-01 00:57:05 +00:00
johnmccutchan@google.com 21192cd3e6 Fix dart2js int double test failure
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38816 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-01 00:46:32 +00:00
sigmund@google.com 16f720a4cc Fix inconsistency with null vs undefined in dart:js
BUG=https://code.google.com/p/dart/issues/detail?id=20305
R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38814 260f80e4-7a28-3924-810f-c04153c831b5
2014-08-01 00:41:03 +00:00
johnmccutchan@google.com ea02d11a4c Fix metrics_test analyzer failure
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38808 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-31 23:11:39 +00:00
johnmccutchan@google.com 2e59674838 Initial backend for metrics in Observatory.
Two types of metrics:

* Counter - a measured value
* Gauge - A measured value with a min and max

Follow up CLs for the backend:

* Support for internal VM metrics (implemented in C++ but visible over the service).

Follow up CLs for the frontend:

* Query list of metrics
* Get latest value of a metric
* Collect values over time and graph them.

I'd like some feedback on the API and the data reported.

R=koda@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38793 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-31 18:27:38 +00:00
scheglov@google.com 57f076f17f New analyzer snapshot.
Not to be published.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38764 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-31 00:40:17 +00:00
kevmoo@google.com a68595f903 add isNaN and isNotNaN to matchers
BUG= https://code.google.com/p/dart/issues/detail?id=19302
R=kevmoo@google.com

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

Patch from Sam Rawlins <srawlins@google.com>.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38745 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-30 19:12:16 +00:00
herhut@google.com 948b8ee707 Make private symbol mangling test work on the VM, as well.
BUG=
TBR=sigurdm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38724 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-30 07:46:54 +00:00
herhut@google.com 30ce20dfe8 Ensure that unmangled private names are unique.
BUG= http://dartbug.com/19177
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38721 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-30 07:26:20 +00:00
floitsch@google.com 1681c30562 Update status file for typed-data test on Safari.
Review URL: https://codereview.chromium.org//417103008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38600 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-26 00:30:19 +00:00
floitsch@google.com d59fadf568 Revert "Library functions can never be constructors."
This reverts commit r38589.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38590 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-25 21:07:45 +00:00
floitsch@google.com 6c7a98cae3 Library functions can never be constructors.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38589 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-25 20:42:47 +00:00
paulberry@google.com eaf4796622 Disallow reserved words for "const Symbol(...)" with the exception of 'void'.
R=lrn@google.com, scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38555 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-24 21:41:09 +00:00
floitsch@google.com 4e61a760ad List allocation through mirrors doesn't work in checked mode.
Review URL: https://codereview.chromium.org//411253005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38540 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-24 12:29:33 +00:00
floitsch@google.com 8a80ade1ac Support class-setters in reflection.
BUG= http://dartbug.com/11954
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38538 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-24 11:45:30 +00:00
floitsch@google.com b99dafd2d2 Support optional (non-named) arguments in constructors for reflection.
BUG= http://dartbug.com/19635
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38536 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-24 09:44:07 +00:00
johnmccutchan@google.com d38e32631a Skip utf85_test on simarm64 because it timesout
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38413 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-18 21:44:13 +00:00
rnystrom@google.com 58f4ffe1e7 Fix test.
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38350 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-17 22:01:44 +00:00
rmacnak@google.com 7ff03558b2 Specifiy MethodMirror.isStatic is terms of whether 'this' is permitted.
BUG=http://dartbug.com/19059
R=gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38318 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-16 23:10:34 +00:00
floitsch@google.com 80adffe8f4 Update status file for failing async-test on jsshell.
Review URL: https://codereview.chromium.org//393313002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38278 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-16 11:16:05 +00:00
floitsch@google.com d352b5863d Implement scheduleImmediate on Chrome/Drt/Safari/Firefox.
BUG= http://dartbug.com/9002
R=lrn@google.com

Committed: https://code.google.com/p/dart/source/detail?r=38232
Reverted: https://code.google.com/p/dart/source/detail?r=38237

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38274 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-16 09:34:57 +00:00
floitsch@google.com 4efb23505f Revert "Implement scheduleImmediate on Chrome/Drt/Safari/Firefox."
This reverts commit r38232.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38237 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 15:10:05 +00:00
floitsch@google.com acad70653d Don't use a float32list as storage for simd.
R=lrn@google.com

Committed: https://code.google.com/p/dart/source/detail?r=38153
Reverted: https://code.google.com/p/dart/source/detail?r=38157

Committed: https://code.google.com/p/dart/source/detail?r=38194
Reverted: https://code.google.com/p/dart/source/detail?r=38231

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38236 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 14:58:01 +00:00
floitsch@google.com 39f3fa0cf8 Implement scheduleImmediate on Chrome/Drt/Safari/Firefox.
BUG= http://dartbug.com/9002
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38232 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 13:40:35 +00:00
floitsch@google.com 21cdf38dde Revert "Don't use a float32list as storage for simd."
This reverts commit r38194.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38231 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 13:09:28 +00:00
lrn@google.com 6335f0c911 Use correct name of test in status file update.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38228 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 12:38:19 +00:00
lrn@google.com e41bf80fbb Update test expectation for Safari to account for JSON.parse bug.
Also use num.parse now that we have it.

R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38223 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-15 08:01:43 +00:00
rmacnak@google.com bfd342fd8a Remove MirroredCompilationError from the VM.
Regenerate snapshot test due to removed symbol.

BUG=http://dartbug.com/16562
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38202 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-14 18:00:04 +00:00
scheglov@google.com a4dee8bf4c Resolve names in combinators for PropertyInducingElements instead of PropertyAccessorElements.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38199 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-14 17:11:34 +00:00
floitsch@google.com 6d75476b5d Don't use a float32list as storage for simd.
R=lrn@google.com

Committed: https://code.google.com/p/dart/source/detail?r=38153
Reverted: https://code.google.com/p/dart/source/detail?r=38157

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38194 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-14 15:02:36 +00:00
lrn@google.com 4feb28b5c2 Fix error message for unexpected characters in JSON.
The current version treats any unexpected character as a number
error.

R=kustermann@google.com

Committed: https://code.google.com/p/dart/source/detail?r=38184

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38185 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-14 11:08:36 +00:00