lrn@google.com
ed1ed6472d
Make top-level patch injections be compilation unit under library.
...
Review URL: https://chromiumcodereview.appspot.com//10824347
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10895 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-17 13:08:00 +00:00
johnniwinther@google.com
fdbabb995e
Dartdoc and Apidoc updated to use dart2js through the mirror system.
...
BUG=3414
Review URL: https://chromiumcodereview.appspot.com//10701091
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9584 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-12 08:52:19 +00:00
lrn@google.com
642b7d8a05
Revert "Revert "First step towards having patch files for generic libraries.""
...
This reapplies r9246 without the (known) bugs.
Review URL: https://chromiumcodereview.appspot.com//10689063
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9282 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-02 09:04:42 +00:00
lrn@google.com
83ce2f9f6e
Revert "First step towards having patch files for generic libraries."
...
This reverts commit r9246.
TBR: floitsch
Review URL: https://chromiumcodereview.appspot.com//10689038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9249 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-29 13:49:13 +00:00
lrn@google.com
1fad321449
First step towards having patch files for generic libraries.
...
As proof of concept, it patches a non-functional htmlEscape from web.dart.
Still has lots of restrictions:
- Only loads a normal library (no syntax extension to mark patches as
separate from additions). Assumes every element is a patch.
- Only handles top-level functions (probably won't handle getters/setters
or constructors), and not classes.
- Doesn't check that the patched function is marked external (no syntax for
that in the spec yet, doesn't even require it to be abstract).
- Doesn't check that the signature of the patch function matches the original
function.
- Probably won't work for 'coreimpl', as loaded from 'js_helper', since it's not
loaded using the 'dart:' scheme.
Review URL: https://chromiumcodereview.appspot.com//10689036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9246 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-29 12:32:40 +00:00
ahe@google.com
7b31e54ab7
Implement override checks.
...
First attempt committed as: https://code.google.com/p/dart/source/detail?r=9108
Review URL: https://chromiumcodereview.appspot.com//10575033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9151 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-27 09:07:36 +00:00
antonm@google.com
38bf8c295b
Revert "Implement override checks."
...
TBR=ahe@google.com
Review URL: https://chromiumcodereview.appspot.com//10666052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9112 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-26 14:36:00 +00:00
ahe@google.com
7f2041bf11
Implement override checks.
...
Review URL: https://chromiumcodereview.appspot.com//10575033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9108 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-26 12:51:55 +00:00
ahe@google.com
965676d7af
Don't crash when a file is missing.
...
Review URL: https://chromiumcodereview.appspot.com//10572014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8844 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-19 13:49:10 +00:00
ahe@google.com
caa708cddb
Update dart2js to use diagnostic kinds.
...
Review URL: https://chromiumcodereview.appspot.com//10579015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8843 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-19 13:48:13 +00:00
ahe@google.com
ed16318b23
Update type annotation.
...
Review URL: https://chromiumcodereview.appspot.com//10532159
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8716 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-15 12:34:17 +00:00
ahe@google.com
257f7f35ee
Don't canonicalize dart-URIs.
...
Review URL: https://chromiumcodereview.appspot.com//10535146
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8607 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-13 14:41:24 +00:00
ahe@google.com
fce345b983
Libraries should know their original URI, not their translated URI.
...
For example, a library should know that it is package:a.dart, not file:///.../a.dart.
Review URL: https://chromiumcodereview.appspot.com//10533123
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8606 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-13 14:21:04 +00:00
ngeoffray@google.com
5e9caaa372
Only generate assert in checked mode.
...
Review URL: https://chromiumcodereview.appspot.com//10540052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8430 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-08 10:21:22 +00:00
antonm@google.com
672ba6d920
Start working on unparse validation.
...
R=ahe@google.com
Review URL: https://chromiumcodereview.appspot.com//10332196
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7858 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 15:42:13 +00:00
ahe@google.com
355f5303a5
Add --package-root option to the compiler.
...
Review URL: https://chromiumcodereview.appspot.com//10407092
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7849 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 12:49:49 +00:00
antonm@google.com
2ef5f8e05e
Add a flag to control the backend.
...
R=ahe@google.com ,floitsch@google.com ,kasperl@google.com ,ngeoffray@google.com ,smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10414024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7806 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 16:29:15 +00:00
ahe@google.com
e16b9136b4
Don't report an internal error if attempting to compile a file that doesn't exist.
...
Review URL: https://chromiumcodereview.appspot.com//10382195
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7682 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-16 12:35:26 +00:00
vsm@google.com
9be4ac00ed
Move dart:dom to dart:dom_deprecated
...
Brian: Can you please look at the editor / dartc changes?
Bob: Can you look at the apidoc changes?
Stephen/Pavel: Can you guys look at the rest?
Pavel: I will update, test, and land your Dartium CL along with this change.
Review URL: https://chromiumcodereview.appspot.com//10389097
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7587 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-13 04:10:43 +00:00
ngeoffray@google.com
4e3f5102f9
Start implementing checked mode and tools support for using it.
...
Review URL: https://chromiumcodereview.appspot.com//10353014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7375 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-07 13:18:21 +00:00
kasperl@google.com
da29bdcace
Remove frog dependencies from lib/compiler.
...
Start importing the URI library using dart:uri rather than
dotting our way to the right directory in lib.
R=ahe@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10081004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6511 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 12:05:45 +00:00
nweiz@google.com
7ef24751bc
Add support for the package: directive in Frog and dart2js.
...
Review URL: https://chromiumcodereview.appspot.com//10032015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6430 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-11 20:02:21 +00:00
ahe@google.com
d03830349f
Add library mapping.
...
Review URL: https://chromiumcodereview.appspot.com//9866006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5935 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 16:07:58 +00:00
ahe@google.com
dc099c4a00
Move frog/leg to lib/compiler/implementation.
...
Review URL: https://chromiumcodereview.appspot.com//9873021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5926 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 08:54:01 +00:00