johnniwinther@google.com
28acc13c57
Update status files.
...
BUG=
R=karlklose@google.com
Review URL: https://codereview.chromium.org//17573005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24313 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 09:09:07 +00:00
ajohnsen@google.com
8a687aab84
Don't test links on Windows, as we can't create relative links, in http_server.
...
BUG=
Review URL: https://codereview.chromium.org//17570006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24312 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 09:07:29 +00:00
ajohnsen@google.com
96a8fe6aed
Add support for following links, in VirtualDirectory.
...
A link must be relative, and not escape the 'root' directory. The
implementation is kept conservative, to increase security.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//17582007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24310 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 08:21:51 +00:00
johnniwinther@google.com
2432ac4647
Support runtime check of function types.
...
New scheme for checking function subtyping:
1) Generate an $isX predicate on objects that are statically known subtypes of a given function type
2) Generate a signature encoding the whole function type on objects when a runtime check is needed.
A check succeeds if either 1) or 2) is true.
If too many predicates are needed a signature is generated instead, and if a signature is needed, no predicates are generated. Maximum number of predicates is currently determined by the magic constant MAX_FUNCTION_TYPE_PREDICATES in emitter.dart.
R=karlklose@google.com
Committed: https://code.google.com/p/dart/source/detail?r=24286
Review URL: https://codereview.chromium.org//12334070
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24309 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 06:58:55 +00:00
kevmoo@j832.com
3579b85204
pkg/serialization: cleanup
...
R=alanknight@google.com
Review URL: https://codereview.chromium.org//17379025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24306 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 23:24:25 +00:00
johnniwinther@google.com
90bf6203ee
Revert "Support runtime check of function types."
...
This reverts commit r24286.
BUG=
Review URL: https://codereview.chromium.org//17413013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24288 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 14:02:47 +00:00
johnniwinther@google.com
2ce76ed94a
Support runtime check of function types.
...
New scheme for checking function subtyping:
1) Generate an $isX predicate on objects that are statically known subtypes of a given function type
2) Generate a signature encoding the whole function type on objects when a runtime check is needed.
A check succeeds if either 1) or 2) is true.
If too many predicates are needed a signature is generated instead, and if a signature is needed, no predicates are generated. Maximum number of predicates is currently determined by the magic constant MAX_FUNCTION_TYPE_PREDICATES in emitter.dart.
R=karlklose@google.com
Review URL: https://codereview.chromium.org//12334070
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24286 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 13:35:56 +00:00
ajohnsen@google.com
bb2980367c
Fix virtual_directory_test and Fail, OK on dart2js/browsers.
...
BUG=
Review URL: https://codereview.chromium.org//16950015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24285 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 12:20:03 +00:00
ajohnsen@google.com
3514a89c19
Use toNativePath() in http_server pkg, to get the native path string on Windows.
...
BUG=
Review URL: https://codereview.chromium.org//17550004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24283 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 11:54:52 +00:00
ajohnsen@google.com
0ef921b335
First push of a new 'http_server' dart package.
...
The package will contain helper-classes for writing http server, such as
VirtualDirectory, VirtualHost etc.
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//17544005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24281 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 11:22:31 +00:00
ricow@google.com
dacb671c45
Remove accidential addition of safari to v8 bug suppression in 24260.
...
Review URL: https://codereview.chromium.org//17531003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24261 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 06:05:39 +00:00
ricow@google.com
1426d0ef14
Mark two sha1 tests as failing on dart2js-safari.
...
Filed http://dartbug.com/11407
Review URL: https://codereview.chromium.org//17534002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24260 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 05:57:52 +00:00
rnystrom@google.com
d1920cf1b7
Disable barback tests on the browser.
...
R=nweiz@google.com
Review URL: https://codereview.chromium.org//17379018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24259 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 00:53:45 +00:00
rnystrom@google.com
c283aca3b7
Remove unneeded imports to fix broken bots.
...
Review URL: https://codereview.chromium.org//17511007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24258 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 00:44:15 +00:00
rnystrom@google.com
81e2bed5c5
First pass at build dependency graph for barback.
...
BUG=
R=nweiz@google.com
Review URL: https://codereview.chromium.org//16854005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24257 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 00:21:53 +00:00
pquitslund@google.com
4d097b2712
Dart formatter checkpoint.
...
More babysteps. Note: some of the style is tentative (e.g., still trying on cascades).
Comments welcome.
R=brianwilkerson@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org//17470004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24255 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 22:35:48 +00:00
sigmund@google.com
c89ab41bff
add logging support for exceptions
...
BUG=
R=gram@google.com
Review URL: https://codereview.chromium.org//17467008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24246 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 19:43:00 +00:00
alanknight@google.com
0ec6fe103b
Allow translated messages that have no matching original message. Also clean up help text and get rid of type error for types whose name is no longer easily visible from analyzer.
...
R=efortuna@google.com
Review URL: https://codereview.chromium.org//17113002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24240 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 17:01:13 +00:00
lrn@google.com
89b3aeea7b
Add unmodifiable_collection package.
...
The package contains unmodifiable views for List, Map and Set, as well as
a fixed-length view for List.
The views simply wrap the original collection and forward all allowed calls
to it, but throws if calling a modifying method.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//17315017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24229 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 14:06:40 +00:00
janicejl@google.com
7cd34e372c
"Reverting 24208"
...
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//16975021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24209 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 23:40:17 +00:00
janicejl@google.com
350b57dbed
removed unnecessary comments and debug print statements.
...
added Command Line Arguments, support for directories, hiding private data, not parsing the SDK, removing linebreaks in html comments and added an ID for resolving links later.
beginning work of command line arguments.
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//16948010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24208 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 23:28:16 +00:00
amouravski@google.com
359d2beb4d
Added new style of tests for parser.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//17333004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24207 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 23:05:42 +00:00
nweiz@google.com
25ec4666f0
Fix the pkg/stack_trace tests.
...
On Windows they're now (correctly) using relative URIs as opposed to
relative paths.
Review URL: https://codereview.chromium.org//17157009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24205 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 22:15:07 +00:00
ngeoffray@google.com
25ed4974e4
Test does not crash anymore, with Peter's latest changes on diagnosing https://code.google.com/p/dart/issues/detail?id=11340 .
...
Review URL: https://codereview.chromium.org//17265011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24201 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 20:13:52 +00:00
nweiz@google.com
66404438fc
Add toUri and fromUri functions to pathos.
...
This also replaces the ubiqutous pathToFileUri/fileUriToPath functions.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//16848002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24196 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 19:06:19 +00:00
ahe@google.com
86bf096aba
Update status of mock tests
...
R=ngeoffray@google.com
Review URL: https://codereview.chromium.org//17448008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24183 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 13:34:58 +00:00
jmesserly@google.com
55ce585b19
fix analyzer error in path observer test
...
TBR=justinfagnani
(fixing bots)
Review URL: https://codereview.chromium.org//17151018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24167 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 02:37:56 +00:00
jmesserly@google.com
66398e12b5
Move PathObserver to mdv_observe package
...
(Since it doesn't actually depend on dart:html, didn't seem the right place for it)
R=blois@google.com
Review URL: https://codereview.chromium.org//17434008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24166 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-19 02:21:54 +00:00
scheglov@google.com
0bd1a231e5
Fixes for forgotten review comments.
...
Sorry, I forgot to fix the most important review comments from previous CL = https://codereview.chromium.org/16964008/
R=rnystrom@google.com
BUG=
Review URL: https://codereview.chromium.org//16885003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24157 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 18:37:55 +00:00
scheglov@google.com
77b659d93b
Tweak j2d for String.indexOf(s,int) semantics.
...
In Parser.parseCommentReferences() we attempted to use index + 1, which was length + 1.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//17009007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24144 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 15:38:45 +00:00
scheglov@google.com
2329919e5e
Fix build after analyzer_experimental changes
...
TBR
We have to disable converting to properties for some Parser methods, which are used via reflection.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//16983008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24118 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-18 00:05:00 +00:00
scheglov@google.com
fd7dde1aef
Code coverage, something is working now.
...
For now only 'statement' level coverage.
Review this, please.
Any comments about Dart code style, using libraries, etc will be helpful!
There are some Dart VM changes, which I'm _not_ going to commit.
I'm waiting for https://codereview.chromium.org/16368002/
So, ignore them.
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//16964008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24116 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 23:24:18 +00:00
scheglov@google.com
36ace54ada
Convert isX() methods to isX getter.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//17317002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24115 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 23:02:36 +00:00
scheglov@google.com
4d79a15ce3
New analyzer_experimental snapshot.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//17249003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24109 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 21:04:45 +00:00
amouravski@google.com
948fdd1e43
Moved the Option class to its own file in anticipation of working on it.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//16802002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24107 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-17 19:15:15 +00:00
gram@google.com
50c5137e55
Change MatchState to Map.
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//17090006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24046 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 19:46:16 +00:00
gram@google.com
a760998a03
Improved error messages from unittest.
...
R=sigmund@google.com
Review URL: https://codereview.chromium.org//16408019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24045 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 19:32:21 +00:00
ahe@google.com
3c81dea67e
Update status files.
...
Review URL: https://codereview.chromium.org//17064005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24031 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-14 14:17:06 +00:00
tmandel@google.com
51443b20b5
Added markdown reference recognition and output to JSON.
...
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//17000002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24009 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 20:31:14 +00:00
kustermann@google.com
ea0f07f4b6
Mark pkg/analyzer_experimental/test/ as slow for now
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//16949002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23953 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 08:49:49 +00:00
nweiz@google.com
84fef167cd
Fix more pkg.status bugs.
...
Review URL: https://codereview.chromium.org//16866005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23945 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 00:16:43 +00:00
nweiz@google.com
638bc9bc8a
Make some progress towards getting the bots green again.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//16855004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23944 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 23:19:15 +00:00
kustermann@google.com
aec3aaa241
Fix pathos_dartium_test to use html_config
...
BUG=http://dartbug.com/11259
R=nweiz@google.com
Review URL: https://codereview.chromium.org//16836011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23941 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 22:58:49 +00:00
tmandel@google.com
d9af545bb5
Moved docgen out of the sdk into pkg/
...
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//16839004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23935 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 21:31:20 +00:00
nweiz@google.com
4c59354754
Make pathos run in the browser.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//15967012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23929 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 20:13:09 +00:00
ahe@google.com
f0224cdc36
Implement:
...
JsClassMirror.methods, JsClassMirror.getters,
JsClassMirror.setters, JsMethodMirror.isGetter,
JsMethodMirror.isGetter, JsMethodMirror.isStatic,
and JsMethodMirror.isPrivate.
R=ngeoffray@google.com
Review URL: https://codereview.chromium.org//16780003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23892 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 06:51:35 +00:00
gram@google.com
a185faee2d
Fixes to webdriver.
...
Patch by zachconrad@
R=gram@google.com
Review URL: https://codereview.chromium.org//16758009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23889 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 00:25:27 +00:00
scheglov@google.com
b9950462a2
New analyzer_experimental snapshot.
...
Includes recent disambiguation and fixes.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//16774005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23878 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 20:08:54 +00:00
scheglov@google.com
a2e1288eec
Code coverage server babysteps.
...
Largely just structure and (happy part of) the life cycle.
It even works in trivial application, although it does nothing interesting within the touch() function.
R=pquitslund@google.com
BUG=
Review URL: https://codereview.chromium.org//16580018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23876 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 19:50:36 +00:00
ahe@google.com
9f19ff761e
Work around VM bug in ClassMirror.superclass.
...
R=alanknight@google.com
Review URL: https://codereview.chromium.org//16745007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23859 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 15:45:46 +00:00