Commit Graph

1070 Commits

Author SHA1 Message Date
ager@google.com 431954b584 Rename dart:typeddata to dart:typed_data.
R=asiva@google.com, floitsch@google.com, srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21871 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:54:54 +00:00
devoncarew@google.com 3eff092c12 Change our encoding for javac compiles to explicitly use UTF-8.
Review URL: https://codereview.chromium.org//14103023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21684 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 17:47:43 +00:00
brianwilkerson@google.com 239462be94 Fix exception in dartc
Review URL: https://codereview.chromium.org//14230014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21581 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 21:33:24 +00:00
ahe@google.com 5b6c0ba820 Rename InvocationMirror to Invocation.
Review URL: https://codereview.chromium.org//14049009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21465 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:42:44 +00:00
kustermann@google.com 5d13ebba43 Use intermediate file containing javac arguments to overcome windows limitations
Review URL: https://codereview.chromium.org//13982010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21362 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 15:19:49 +00:00
floitsch@google.com c3f6080829 Deprecate Collection class.
Review URL: https://codereview.chromium.org//13530003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20870 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 16:08:48 +00:00
devoncarew@google.com 439269739c Update references from scalarlist ==> typedata.
Review URL: https://codereview.chromium.org//13335002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20686 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-29 19:03:05 +00:00
hausner@google.com 89346f3e3a Remove legacy syntax support for library import
Remove legacy syntax for #import, #library and #source
Update test programs
Recalc fingerprints of inlined functions that were apparently
affected by the change of library name from "dart:io" to dart.io.
Review URL: https://codereview.chromium.org//12880023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20466 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-25 18:11:08 +00:00
kustermann@google.com 8621bd99fb Use the lowest MacOS SDK available on a system
Review URL: https://codereview.chromium.org//12672003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20062 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 08:39:31 +00:00
devoncarew@google.com a4a72c29ca Updates to the new analyzer to help make the try bot happy.
Review URL: https://codereview.chromium.org//12438007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19946 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-13 17:06:20 +00:00
scheglov@google.com 8f5487dee5 Fix warning work arounded in 12787002.
https://codereview.chromium.org/12787002/

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19895 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 20:52:51 +00:00
scheglov@google.com 925e6d68be Issue 9084. Don't recompute binary operator RHS argument type.
https://code.google.com/p/dart/issues/detail?id=9084

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19891 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-12 20:15:18 +00:00
scheglov@google.com b81211896e Tweak dartc test for String concat.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19805 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 16:50:28 +00:00
lrn@google.com 32eb275524 Disable analyzer-test checking for string.+.
It doesn't recognize that String has an operator+.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19801 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 16:05:40 +00:00
lrn@google.com 36adbd18e0 Change analyzer to not complain about string+string.
Review URL: https://codereview.chromium.org//12566012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19792 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 13:56:19 +00:00
keertip@google.com cbb4b0d59a fix for uri creation when host is null
Review URL: https://codereview.chromium.org//12633010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19700 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 17:47:23 +00:00
scheglov@google.com c92c823df7 Issue 8973. Don't cast to NodeElement where not needed.
https://code.google.com/p/dart/issues/detail?id=8973

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19696 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 16:43:07 +00:00
scheglov@google.com 7917247dd9 Intern AST and Model names to reduce char[]/String waste.
This allows to save 53 MB (25% of total 200 MB) in workspace with "analyzer-experimental".
No any difference in Editor Core test execution time.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19646 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 17:45:56 +00:00
scheglov@google.com 8e7e5422aa Rollback 'analyze Dart in Html'.
Was https://codereview.chromium.org/11348291/

R=devoncarew@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19505 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-05 19:11:48 +00:00
devoncarew@google.com 0020cd93e3 Add the services_test plugin to the buildbot_test suite.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19174 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-27 21:43:26 +00:00
devoncarew@google.com 3796de128e Update dartc tests and services_test plugins to run from the buildbot_test plugin.
Adds the services tests to the buildbot test suite.
Review URL: https://codereview.chromium.org//12328102

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19051 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 16:22:10 +00:00
scheglov@google.com 92efd81030 Issue 8705. Fix for NPE when use method from mixin inside of class.
https://code.google.com/p/dart/issues/detail?id=8705

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19011 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-25 22:56: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
scheglov@google.com 5bb176d2d1 Issue 8132. Suppress INFO problems in SDK.
http://code.google.com/p/dart/issues/detail?id=8132

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18362 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 01:08:14 +00:00
floitsch@google.com bbbe0c382d Allow ambiguous Expect and ExpectException imports.
This patch temporarily allows Expect to come from core and from any other library without (I wanted to make the CL public reporting an error (or warning).
Once everyone (including co19) has migrated I will revert this CL.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18318 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 17:59:52 +00:00
scheglov@google.com d4abbe1355 Getter and setter methods can share name.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18306 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 05:44:16 +00:00
scheglov@google.com c2b18c46b2 Issue 8426. Ignore depecated warnings in DartCompilerListenerTest.
http://code.google.com/p/dart/issues/detail?id=8426

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18257 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 16:09:08 +00:00
floitsch@google.com dd28b0e76a Disable tests for dartc.
Review URL: https://codereview.chromium.org//12223051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18246 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-08 11:42:06 +00:00
floitsch@google.com e1efa71761 Hide collection-dev library.
Committed: https://code.google.com/p/dart/source/detail?r=18167
Reverted: https://code.google.com/p/dart/source/detail?r=18169

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18172 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 15:11:47 +00:00
scheglov@google.com 5bf69f1a83 Ignore output folders.
R=messick@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17818 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 23:50:32 +00:00
scheglov@google.com 018e8cca32 Issue 8169. Type inferred from 'query' is 'inferred exact'.
http://code.google.com/p/dart/issues/detail?id=8169

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17795 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 18:37:17 +00:00
scheglov@google.com 368d8d1b5c Issue 8027. Disallow cyclic mixins.
http://code.google.com/p/dart/issues/detail?id=8027

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17664 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 22:47:10 +00:00
scheglov@google.com d9605fe9ef Issue 8051. Make extended exit codes optional.
http://code.google.com/p/dart/issues/detail?id=8051

Unfortunately testing framework expects exactly 0 and 1.
So, I've made 0/1/2 exit codes optional.

Phil, FYI

R=devoncarew@google.com,pquitslund@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17629 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 04:11:12 +00:00
scheglov@google.com 312cb765fe Issue 8108. Don't record 'deprecated' warnings in integration test.
http://code.google.com/p/dart/issues/detail?id=8108

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17625 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 01:24:27 +00:00
scheglov@google.com be31b47690 Issue 8051. dart_analyzer return codes on errors
http://code.google.com/p/dart/issues/detail?id=8051

R=devoncarew@google.com,whesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17622 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 00:47:48 +00:00
blois@google.com 3c4764e13b Tweaking analyzer test to ignore dart:html deprecation warnings.
I opened bug #8108 to track this.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17598 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 21:05:19 +00:00
scheglov@google.com 321bcf58e4 Issue 7597. Use foo= when setter requested, even if there is method foo().
http://code.google.com/p/dart/issues/detail?id=7597

Language/07_Classes/3_Setters_A04_t04
Language/07_Classes/4_Abstract_Instance_Members_A02_t01
are not changed because they are part of huge list of tests which promis to don't have static type errors, but have them.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17520 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 05:15:39 +00:00
scheglov@google.com cc4b22ea10 Issue 8059. Disallow mixing in classes that use 'super' from any member.
http://code.google.com/p/dart/issues/detail?id=8059

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17518 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 01:00:29 +00:00
scheglov@google.com 1bf84876fc Issue 7598. Skip metadata when parse directives for LibraryUnit.
http://code.google.com/p/dart/issues/detail?id=7598

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17485 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 18:08:47 +00:00
scheglov@google.com 06a378f5dd Issue 7605. Check separately getters and setter implementation when check for abstratc members.
http://code.google.com/p/dart/issues/detail?id=7605

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17482 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:56:19 +00:00
scheglov@google.com e61663d00e Issue 7633. Report error when instance field is accessed from factory constructor.
http://code.google.com/p/dart/issues/detail?id=7633

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17479 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:45:41 +00:00
scheglov@google.com b1bdb27a12 Issue 7802. Fix for redundant casts.
http://code.google.com/p/dart/issues/detail?id=7802

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17476 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:33:57 +00:00
scheglov@google.com b806f5f3f9 Issue 7884. Use UTF-8 for output.
http://code.google.com/p/dart/issues/detail?id=7884

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17475 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:31:47 +00:00
scheglov@google.com 761ea9993f Issue 8025. Disallow mixing in classes that have constructors.
http://code.google.com/p/dart/issues/detail?id=8025

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17473 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:26:46 +00:00
scheglov@google.com 76771f343e Issue 8006. Allow abstract modifier for typedef mixin applications.
http://code.google.com/p/dart/issues/detail?id=8006

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17429 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:39:32 +00:00
scheglov@google.com 23bf0056b3 Issue 8022. Report compile-time error when using mixing with not Object superclass.
http://code.google.com/p/dart/issues/detail?id=8022

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17428 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:28:42 +00:00
scheglov@google.com 804db39323 Issue 7980. Report problem when type 'dynamic' is shadowed.
http://code.google.com/p/dart/issues/detail?id=7980

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17425 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 21:12:12 +00:00
scheglov@google.com d8d842ffe1 Issue 8038. Don't report 'is not a function type' if class has 'noSuchMethod'.
http://code.google.com/p/dart/issues/detail?id=8038

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17424 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 21:09:28 +00:00
danrubel@google.com fd96d93fa9 fix http://code.google.com/p/dart/issues/detail?id=7999
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17364 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 16:55:12 +00:00
devoncarew@google.com 50d731bd00 Rev the version of apache ant in third_party to 1.8.4. This will fix an issue with
windows build failures not being reported correctly (older versions of ant didn't 
properly return process eit codes). It will also let us use some newer features of
ant.
Review URL: https://codereview.chromium.org//11973012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17228 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 17:56:34 +00:00