iposva@google.com
e4809c8a9f
- Revert r80: Too large an impact on running in debug mode.
...
Review URL: https://chromereviews.googleplex.com/3558014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@202 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 08:44:46 +00:00
ngeoffray@google.com
c2b5e488da
Remove substringToEnd.
...
Review URL: https://chromereviews.googleplex.com/3561013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@201 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 08:41:38 +00:00
floitsch@google.com
697b7b46b8
Add another isolate message passing test.
...
Review URL: https://chromereviews.googleplex.com/3572012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@200 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 08:31:35 +00:00
kasperl@google.com
de889ee719
Get rid of the support for the old parameter syntax.
...
I've CC'ed Matthias too and I wouldn't be surprised if he can
find a nicer way of dealing with this, but this is pretty
simple and allows me to make progress on getting rid of the
old syntax.
R=iposva@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3569013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@199 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 08:03:04 +00:00
ngeoffray@google.com
cb3a9f6641
Add range methods to List. Throw not implemented for now.
...
Review URL: https://chromereviews.googleplex.com/3573012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@198 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 07:56:42 +00:00
ager@google.com
6fe04a2202
Mark EchoServerTests as Pass || Crash on Windows while we investigate.
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3564014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@197 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 07:56:01 +00:00
zundel@google.com
e890f48264
Extend --optimize to include chromium/release
...
R=jbrosenberg@google.com
Review URL: https://chromereviews.googleplex.com/3559013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@196 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 07:26:06 +00:00
karlklose@google.com
c3f3596e68
Store referenced element for invocations and property access.
...
Review URL: https://chromereviews.googleplex.com/3460036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@195 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 07:02:03 +00:00
jbrosenberg@google.com
f5d2bc1d69
Revert 192: "Bypass precompiled libs for up to date checks"
...
Appears to have broken chromium-release build
Review URL: https://chromereviews.googleplex.com/3571012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@194 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 06:38:05 +00:00
kasperl@google.com
c9f9ba04f2
Stop using the old syntax for default argument values in more places.
...
The code in client/html/generated/ will be regenerated shortly
but for now I want to get to a point where we can remove the
support for the old syntax.
TBR'ed.
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3564013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@193 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 05:46:15 +00:00
jbrosenberg@google.com
b66797f6e4
Bypass precompiled libs for up to date checks
...
Fixes to bundledArtifact handling
Review URL: https://chromereviews.googleplex.com/3562014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@192 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 05:11:24 +00:00
vsm@google.com
0369e68509
Fix stale config. Test is now passing.
...
TBR=mmendez
Review URL: https://chromereviews.googleplex.com/3569012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@191 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 04:56:13 +00:00
vsm@google.com
71197ca222
Package html lib into single (2 for now) files
...
To generate:
(1) cd into client/html
(2) run: ../tools/copy_dart.py release html.dart
Review URL: https://chromereviews.googleplex.com/3565013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@190 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 02:55:41 +00:00
zundel@google.com
909ba0d3a7
A problem with options parsing due to half-way converting from RunnerFlags
...
Cleans up the usage message for cmdline parsing, and passes the
object CompilerOptions (and friends) around instead of the array
of command line arguments.
Committed: https://code.google.com/p/dart/source/detail?r=187
Review URL: https://chromereviews.googleplex.com/3565012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@189 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 02:05:19 +00:00
johnlenz@google.com
5d45b72a3a
Rollback breaking change.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@188 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 01:16:59 +00:00
zundel@google.com
b5b46da81c
A problem with options parsing due to half-way converting from RunnerFlags
...
Cleans up the usage message for cmdline parsing, and passes the
object CompilerOptions (and friends) around instead of the array
of command line arguments.
Review URL: https://chromereviews.googleplex.com/3565012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@187 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:56:18 +00:00
sigmund@google.com
338a9b507a
htmlconverter: fixing the use of optimized output.
...
Review URL: https://chromereviews.googleplex.com/3532021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@178 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:26:48 +00:00
cshapiro@google.com
7163d2595d
Prove, instead of disprove, element width compatibility.
...
This improves robustness by ensuring that only one predicate variable
is true before selecting the implementation method.
Review URL: https://chromereviews.googleplex.com/3562012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@177 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:18:59 +00:00
jmesserly@google.com
50e675ca46
Fix for Swarm on iPad from static file server.
...
Also add parallel downloading to our offline image script.
Review URL: https://chromereviews.googleplex.com/3558012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@176 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:15:18 +00:00
sigmund@google.com
3c6d685a05
Use new file names for downloading dartium archives.
...
Review URL: https://chromereviews.googleplex.com/3561012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@175 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:04:57 +00:00
sigmund@google.com
6c03d06c5d
htmlconverter: allow imports in inlined code, including imports to dom/html
...
Review URL: https://chromereviews.googleplex.com/3530016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@174 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 23:48:20 +00:00
johnlenz@google.com
83337cd637
Remove the now-not-failing test from the right arch/mode
...
Review URL: https://chromereviews.googleplex.com/3550018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@173 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 23:47:34 +00:00
sra@google.com
56cc8ce66f
Test for deeply nested parameterized types.
...
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3543014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@171 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 23:11:00 +00:00
johnlenz@google.com
8dda0078b8
Fix bad merge.
...
Review URL: https://chromereviews.googleplex.com/3555012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@170 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 23:11:00 +00:00
cshapiro@google.com
9aca46d2a7
Implement support for reading and writing UTF-8 encoded strings.
...
In the past, characters in C strings were assumed to encode themselves
and when converting Dart strings to C strings characters were narrowed
to 8-bit values.
With this change, C strings are assumed to be UTF-8 encoded.
Converting a C string to a Dart string applies UTF-8 decoding and
converting a Dart string to a C string applies UTF-8 encoding.
Also part of this change are new methods to construct uninitialized
string objects and to copy string data.
BUG=5343358
Review URL: https://chromereviews.googleplex.com/3557012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@169 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:42:24 +00:00
regis@google.com
db3a736c33
Support optional named arguments at the dart_entry level in the VM.
...
Fix bug 5422033: Const expressions don't work with named arguments.
Review URL: https://chromereviews.googleplex.com/3552015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@168 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:40:45 +00:00
johnlenz@google.com
8ad115f998
Fix RTT map lookups in optimized mode.
...
Review URL: https://chromereviews.googleplex.com/3535020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@167 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:36:35 +00:00
regis@google.com
b618447392
Inline condition type check.
...
Review URL: https://chromereviews.googleplex.com/3534018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@166 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:35:01 +00:00
jacobr@google.com
2af03fc05b
Enhanced performance by removing unused UI, reducing the # of absolutely positioned elements thus reducing the # of render layers, and increasing the amount of logic performed using string concat instead of DOM manipulation.
...
Also added back a bugfix change I'd thought I'd landed to HTMLDocument,
Added some significant polish and missing features to the keyboard shortcuts
by correctly taking into account that some views may be partially visible.
New hotness available at:
http://dart.googleplex.com/jacobr-swarm-js.html
I'm finally not embarrassed by the performance when scrolling between pages of views on the iPad. Not quite 60fps but close enough to 30fps under the worst conditions scrolling horizontally.
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3543015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@165 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:15:50 +00:00
sra@google.com
5883649a35
Browser compat fix for setInterval and SetTimeout.
...
Firefox passes an argument to the TimeoutHander, Chrome doesn't. Fix
by dropping all arguments before calling the strict Dart function.
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3544020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@163 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:08:36 +00:00
terry@google.com
acd85abe79
Fixed --optimize not working.
...
- Output files are different file names.
- And -optimize requires --disable-type-optimizations for code to work.
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3550017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@162 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 22:07:55 +00:00
eub@google.com
0c2c6482b8
Modify the OfflineHTMLConverter's behavior when it fails to download
...
an image: instead of silently emitting a non-local URL that will fail
offline, rewrite to a blank image.
Add an arg and use it to save images as local files, rather than
embedding them in the HTML as data://.
Review URL: https://chromereviews.googleplex.com/3535014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@159 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 21:45:42 +00:00
sigmund@google.com
06ec980f3f
get_drt.py: renamed from get_dartium, tries to get the latest DumpRenderTree
...
from the most recent archive location that the user has access to.
Review URL: https://chromereviews.googleplex.com/3532018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@157 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 21:43:51 +00:00
zundel@google.com
a7a60d23c2
Fix build break on co19 file
...
I cannot get the test to fail locally, so marked it 'Skip'
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@154 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 20:34:56 +00:00
codefu@google.com
fa4590de77
Make the system libraries less brittle to recompile
...
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3508015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@153 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 20:21:04 +00:00
sra@google.com
5f7a1541ef
Implement List.xxxRange methods for DOM types in wrapping DOM.
...
All implementations are stubs. Since the lists are read-only,
only getRange need to be reimplemented.
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3538017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@148 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 19:17:44 +00:00
zundel@google.com
6bd18f8086
Fix name shadowing problem in compiler
...
Names in a scope should create shadow copies of names in enclosing scopes.
BUG=5382396
Review URL: https://chromereviews.googleplex.com/3543020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@147 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 19:17:31 +00:00
fabiomfv@google.com
be8e6320b3
http://b/issue?id=5407575
...
Review URL: https://chromereviews.googleplex.com/3548017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@145 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 18:57:17 +00:00
arv@google.com
21cc2799ec
Dart DOM: Add Element attributes setter
...
BUG=None
TEST=None
Review URL: https://chromereviews.googleplex.com/3526016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@143 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 18:48:23 +00:00
asiva@google.com
0b30a49971
5419598: Add a setjmp around the isolate spawning code so that parse errors
...
are caught and reported as errors.
5417103: Add a setjmp around Dart_Run_Loop so that parse errors
are caught and reported as errors.
Review URL: https://chromereviews.googleplex.com/3553012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@140 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 18:33:36 +00:00
srdjan@google.com
44392fdb03
Fix resolving of implicit closures: treat null objects same as instances of Object.
...
Review URL: https://chromereviews.googleplex.com/3551013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@138 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 16:31:31 +00:00
vsm@google.com
1bcf461c37
One more optional arg fix
...
Forgot this one.
Review URL: https://chromereviews.googleplex.com/3530017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@135 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 16:11:05 +00:00
floitsch@google.com
fdf276dd2a
Add test for const constructions with named arguments.
...
Review URL: https://chromereviews.googleplex.com/3530018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@134 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 15:56:33 +00:00
codefu@google.com
da07089568
DynamicElementImplementation: return dynamic type
...
MemberBuilder: accept broken methods
DeltaAnalyzer: Corelib types
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3531013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@133 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 15:50:13 +00:00
zundel@google.com
fa609a58ec
Updates the resolver to print the line and column number for name conflicts
...
Along the way I gave the ResoverTest more specific errors to test
against and found some cases that weren't being flagged properly
as errors.
BUG=5415945
Review URL: https://chromereviews.googleplex.com/3544012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@132 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 15:35:05 +00:00
floitsch@google.com
251cb020ec
Add comments to DateTimeTest.
...
R=ngeoffray@google.com
Review URL: https://chromereviews.googleplex.com/3540014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@131 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 15:28:14 +00:00
sgjesse@google.com
63782c5c50
Disable process tests on Linux
...
They can cause timeout once in a while.
R=ager@google.com
BUG=dart:1
TEST=
Review URL: https://chromereviews.googleplex.com/3531019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@130 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 15:25:30 +00:00
floitsch@google.com
63dd99d5e6
Remove TimeZone comment.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3547014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@129 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 15:19:02 +00:00
floitsch@google.com
ad89e94d67
Fix bad merge.
...
Unbreaks build.
TBR=ngeoffray
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3542013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@128 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 15:04:55 +00:00
sgjesse@google.com
6abaad8aa1
Restructured socket tests and fixed readUntil on InputStream
...
Most of the socket tests where written with closing both the server and client ends of the socket. However on Windows this can lead to errors once in a while (WSAECONNRESET). The tests now closes the socket in the client and and waits for a close event on the server side.
The readUntil on InputStream did not take data in the internal buffer into account. This has been fixed and the related test have been rewritten to check for two patterns which together will match all the input.
R=ager@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3536016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@126 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 14:47:49 +00:00