ager@google.com
c4c92c4f7b
Introduce runtime/platform directory for code shared between vm
...
and bin.
Cleaned up globals.h. Common parts now in platform/globals.h.
vm specific parts are in vm/globals.h and bin/globals.h is gone.
R=sgjesse@google.com ,iposva@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9114008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3030 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 11:28:21 +00:00
ager@google.com
98777d80cb
Revert error introduced on purpose.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3029 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 11:00:05 +00:00
ager@google.com
af84bcf943
Make the buildbot fail on purpose.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3028 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 10:58:38 +00:00
ager@google.com
3f7dcb6557
Add python wrapper for test.dart.
...
Use test.dart (through the wrapper) for all frog testing both
for developers and on the buildbot.
Will commit this once the frogium tests have been fixed to be
runable from the frog directory.
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9086008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3026 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 10:26:37 +00:00
lrn@google.com
26d525c702
Fix Leg test failures.
...
Change expectation for test that now succeedes.
Add conservative equality for QuotedString, and stop assuming string HLiterals can compare their .values directly.
Review URL: http://codereview.chromium.org//9126001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3025 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 10:02:40 +00:00
sra@google.com
102b4213ea
Add map to dart:dom collections.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//9114026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3021 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 03:43:42 +00:00
iposva@google.com
54bf6eceb2
- Bump the code heap to avoid running out when running with compile all and
...
the DOM/HTML libraries.
Review URL: http://codereview.chromium.org//9116029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3020 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 00:13:58 +00:00
sra@google.com
de052963a9
Make most native types hidden.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//9109032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3019 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 23:41:09 +00:00
hausner@google.com
4ee7c947aa
Getting value of local variables on stack trace
...
Introduce concept of scope in local variable info, according
to mirror proposal.
Review URL: http://codereview.chromium.org//8983034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3017 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 22:33:37 +00:00
sra@google.com
e58a667b25
Remove monkey_dom.
...
It has outlived its usefulness as a sanity check.
We don't use it anymore and I don't want to include it in refactoring.
BUG=
TEST=
Review URL: http://codereview.chromium.org//9114019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3016 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 22:03:04 +00:00
terry@google.com
08472ec5db
Remove obsolete appengine-python reference.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//9116020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3015 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 21:47:58 +00:00
sra@google.com
e63c4dc213
Remove 'browser analysis' from dartgenerator.py
...
We don't need a list of 'good types' anymore.
BUG=
TEST=
Review URL: http://codereview.chromium.org//9110016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3014 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 21:35:24 +00:00
hausner@google.com
ee79bc031d
Second try at additional nested block in functions.
...
The last change broke dartium tests because as a side effect, the generated
code size increased by 2 or 3 percent. Fixed this unintended side
effect.
Review URL: http://codereview.chromium.org//9109024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3013 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 21:28:32 +00:00
terry@google.com
08b5e48385
Pyscss is obsolete with Dart CSS complier; remove all pyscss code.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//9111023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3012 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 21:24:26 +00:00
devoncarew@google.com
e7469aa059
Fix for an NPE for cases where the native keyword on a class is not followed by a string identifier.
...
Review URL: http://codereview.chromium.org//9109019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3011 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 21:08:30 +00:00
jmesserly@google.com
ff8a1713e4
Support for nested comments
...
Fixes http://code.google.com/p/dart/issues/detail?id=1044
Review URL: http://codereview.chromium.org//9111019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3005 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 18:10:55 +00:00
karlklose@google.com
5a58fe2319
Implement code generation for === and !==.
...
TEST=tests/leg/src/IdentityTest.dart
Review URL: http://codereview.chromium.org//9112012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3004 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 17:15:11 +00:00
floitsch@google.com
edcea7dd21
closure calls (just the invocation part).
...
Review URL: http://codereview.chromium.org//9086010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3003 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 16:27:54 +00:00
scheglov@google.com
4bcedc935b
Convert "library unit" File path into "absolute unit path", issue 590.
...
http://code.google.com/p/dart/issues/detail?id=590
Actually URI is not expectedto be absolute path to the unit, this is just ID.
And Compiler provides it in form pathToTheLibraryUnit/unitName.dart
So, I've tweaked converting URI into File.
R=brianwilkerson@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8898001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3002 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 16:05:32 +00:00
scheglov@google.com
0c8e0d803d
Report error for interface method with body
...
http://code.google.com/p/dart/issues/detail?id=971
R=zundel@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9086015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3000 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 15:48:06 +00:00
whesse@google.com
6f47474a2c
Add standard options to test.dart browser tests compilation command.
...
BUG=
TEST=tools/test.dart -cfrogium --checked client/html
Review URL: http://codereview.chromium.org//9112011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2999 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 15:17:05 +00:00
ahe@google.com
99d546b97b
Improve error recovery in parser.
...
Review URL: http://codereview.chromium.org//9112008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2998 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 15:07:37 +00:00
whesse@google.com
9ae78036dc
Fix static type warnings in test.dart.
...
BUG=
TEST=dartc tools/test.dart ; frog tools/test.dart
Review URL: http://codereview.chromium.org//9109012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2997 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 14:08:15 +00:00
ager@google.com
fce78ae7cb
Allow runtime tests to run on Windows.
...
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9112007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2996 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 14:03:59 +00:00
ahe@google.com
af4de59113
Detect crashes in frog/leg (when running on VM).
...
Review URL: http://codereview.chromium.org//9111012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2992 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 12:26:20 +00:00
whesse@google.com
d74fb28fd0
Fix test.dart problem when matching client status files when run from a subdirectory.
...
BUG=dart:1040
TEST=cd frog; ../tools/test.dart -cfrogium client; ../tools/build.py; ../tools/test.dart -cfrogium client
Review URL: http://codereview.chromium.org//9111010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2990 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 11:19:51 +00:00
ahe@google.com
262b239804
Don't use Skip in status file
...
Review URL: http://codereview.chromium.org//9114006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2989 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 10:18:11 +00:00
ajohnsen@google.com
1af7a35c4b
Removed a debug print line.
...
Review URL: http://codereview.chromium.org//9113007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2988 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 10:13:39 +00:00
ajohnsen@google.com
c2b45bf04e
Add optional workingDirectory argument to Process.start.
...
Review URL: http://codereview.chromium.org//9108008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2987 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 09:54:54 +00:00
ager@google.com
33a9192da0
Fix incorrect status file syntax.
...
The test.py status parser is doing this wrong. test.dart catches the
problem.
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9112005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2985 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 09:52:49 +00:00
whesse@google.com
15a3f0852a
Clean up test.dart by merging dartium and chromium test case generation.
...
BUG=
TEST=tools/test.dart -cchromium,dartium,frogium
Review URL: http://codereview.chromium.org//9087011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2983 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 09:26:51 +00:00
ager@google.com
8e2382fa7a
Fix wrong return type on fullPath in File API.
...
R=ajohnsen@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9111009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2981 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 08:43:21 +00:00
vsm@google.com
981772b59e
Reverting r2970 to fix Dartium break
...
This should get the Dartium bot green again.
TBR=hausner
TEST=language/HelloDartTest
Review URL: http://codereview.chromium.org//9116002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2980 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 06:31:17 +00:00
sra@google.com
8fa41465c9
Use .dynamic to suppress dartc warning.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//9113004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2979 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 05:40:32 +00:00
sra@google.com
142b3202a5
Revert "Revert "Refresh dart:dom""
...
This reverts commit bd91f6600f0ac42bb7eab9f3b544c7c5ba230507.
Retrying, with dartc fixes.
BUG=
TEST=
Review URL: http://codereview.chromium.org//9106002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2978 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 02:11:58 +00:00
jmesserly@google.com
f5774e3f69
Fixes improper boxing in obj.dynamic
...
http://code.google.com/p/dart/issues/detail?id=651
I considered the other fix (omitting the call entirely) but it gets a bit strange if someone overrides Object.dynamic.
Review URL: http://codereview.chromium.org//9111002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2977 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 02:11:02 +00:00
hausner@google.com
5796ad3e3a
Fix potential problem with expression evaluation.
...
Review URL: http://codereview.chromium.org//9110001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2976 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 01:47:10 +00:00
nweiz@google.com
694afe0a9f
Support SVGElement#elements, #innerHTML, and #outerHTML. Also add a .svg constructor.
...
Review URL: http://codereview.chromium.org//8965006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2975 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 01:17:01 +00:00
sra@google.com
8e4e14d185
Revert "Refresh dart:dom"
...
This reverts commit 095ef24e8064ac34e781e6a31fb1e0ee975de1e2.
BUG=
TEST=
Review URL: http://codereview.chromium.org//9103001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2974 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 01:10:45 +00:00
sra@google.com
d23eb296b6
Refresh dart:dom
...
(1) Ignore new WebKit [Supplement=TargetInterface] attributes
Filed http://code.google.com/p/dart/issues/detail?id=1047 to improve on this.
(2) Refresh generated files.
BUG=
TEST=
Review URL: http://codereview.chromium.org//9084005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2973 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 00:36:50 +00:00
vsm@google.com
7d769998ab
Fix sign extension issue with clang/gcc
...
This is an adaptation of antonm's CL with mods suggested by asiva
http://codereview.chromium.org/9003015
Dartium Mac tests pass with this.
Review URL: http://codereview.chromium.org//9091016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2972 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 00:24:52 +00:00
hausner@google.com
0a3c9e6577
Put function parameters into their own scope.
...
Local function variables in the outermost scope can shadow function parameters.
Review URL: http://codereview.chromium.org//9088024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2970 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 21:31:23 +00:00
codefu@google.com
edda250619
Update EXPECTED001 in CPParserTest
...
TBR=zundel
R=zundel
BUG=
TEST=
Review URL: http://codereview.chromium.org//9088022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2968 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 20:29:27 +00:00
codefu@google.com
7360b44dac
Issue 1043: Missing --documentation-out should default to "out" instead of asserting
...
http://code.google.com/p/dart/issues/detail?id=1043
R=zundel
BUG=
TEST=
Review URL: http://codereview.chromium.org//9094001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2965 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 20:16:55 +00:00
codefu@google.com
dbb10e2cc8
Issue 1039: Nested comments
...
http://code.google.com/p/dart/issues/detail?id=1039
Language Specification 0.06, 14.1.2 specifices that multiline comments can
nest:
MULTI LINE COMMENT:
‘/*’ (MULTI LINE COMMENT | ̃ ‘*/’)* ‘*/’
;
R=zundel
BUG=1039
TEST=
Review URL: http://codereview.chromium.org//9030028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2964 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 19:59:21 +00:00
zundel@google.com
7ac1417b3d
Test fails only in checked mode on vm
...
http://code.google.com/p/dart/issues/detail?id=943
Review URL: http://codereview.chromium.org//9088019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2962 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 19:03:30 +00:00
zundel@google.com
fc5faa5920
Mark test failing for frog build.
...
Review URL: http://codereview.chromium.org//9088018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2959 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 18:31:22 +00:00
zundel@google.com
eb007b203c
Fix dartc bounds checking for invoking interface constructors/factory methods
...
http://code.google.com/p/dart/issues/detail?id=943
Review URL: http://codereview.chromium.org//9014029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2957 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 18:24:50 +00:00
zundel@google.com
9c6d9fc4de
Flag methods as not being valid compile time constants
...
BUG=1000
TEST=
Review URL: http://codereview.chromium.org//9016050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2956 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 18:19:34 +00:00
pquitslund@google.com
0aeb29e533
Hacking format of Expect failure messages to play nice with rendered HTML.
...
The culprits are the '<' and '>' in this bit:
_fail("Expect.equals(expected: <$expected>, actual: <$actual>$msg) fails.")
in Expect.equals(..) which cause $expected and $actual to get treated as tags when
the message is shoveled (untreated) into an HTML page as one might do when rendering
test run results in an HTML page (e.g., http://codereview.chromium.org/9034030/ ).
This here *hack* sidesteps the issue but it's neither elegant nor properly
placed (methinks). The question is, how should this problem get fixed for real?
Thoughts/redirects greatly appreciated!
Review URL: http://codereview.chromium.org//9022042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2954 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 18:06:10 +00:00