johnlenz@google.com
b2918972e8
Changes to allow the ClosureJsBackend to give people some options to play with:
...
- introduce a "fastDraft" mode that only runs the main code-removal passes and runs in about half the time and but produces code 2x the size (but still less than 10% of the original).
- allows it to run in an quasi-incremential mode by consuming the incrementially generated js (cuts ~4s off the build time but source maps are useless).
- allow source map generation to be turned off (saves a couple seconds).
- turns off not useful check passes and makes the rest switchable.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@91 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 06:41:19 +00:00
johnlenz@google.com
30232ec2c0
Remove more class name references from optimized code. Only removes 800 bytes from swarm.
...
Review URL: https://chromereviews.googleplex.com/3548012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@90 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 05:51:25 +00:00
sra@google.com
ea49561596
Mark parameters with [Optional=CallWithDefaultValue] as not optional.
...
This extended attribute was recently added to many WebKit IDL
operations to mark arguments that were accepted as missing.
Many are stupid legacy behaviour, like NodeList.item(index).
We don't want Dart to have such a broad API.
An example change is 2f24f20493
There will be some parameters marked as [Optional=CallWithDefaultValue] that
really should be optional. We will discover those and have to whitelist them.
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3531016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@89 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 04:30:51 +00:00
mmendez@google.com
115fc3df08
Revert "Revert "Eliminate retarded constructors.""
...
This reverts r66 which was a revert of r64. The original commit failed because "optimized" mode builds won't generate NoSuchMethodErrors and that is why the release mode test won't pass. So for that issue, I updated the language.status file.
The client failure appears to be test infrastructure flakiness because my rollback failed but the subsequent build succeeded and I'm unable to reproduce the failure at my desk.
Review URL: https://chromereviews.googleplex.com/3508025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@88 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-06 02:46:31 +00:00
arv@google.com
f5de883b77
Dart DOM: Implement dataAttributes Map.
...
BUG=None
TEST=None
Review URL: https://chromereviews.googleplex.com/3536014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@83 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 23:32:35 +00:00
hausner@google.com
b8a55bf3d7
Initializer expressions must not access 'this'
...
Catch explicit and implicit accesses to 'this' in initializer list of constructors.
Review URL: https://chromereviews.googleplex.com/3517020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@81 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 22:39:25 +00:00
cshapiro@google.com
9a664c355d
Wrap method bodies in a NoGCScope when receiving raw pointer arguments.
...
BUG=5413582
Review URL: https://chromereviews.googleplex.com/3521023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@80 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 22:38:38 +00:00
vsm@google.com
12b69ca3ba
New named optional arguments syntax
...
BUG=5218494
Review URL: https://chromereviews.googleplex.com/3516022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@79 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 22:35:00 +00:00
arv@google.com
3501cc95ce
Dart DOM: Rename query to queryAll and queryOne to query.
...
BUG=None
TEST=None
Review URL: https://chromereviews.googleplex.com/3517023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@77 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 22:19:09 +00:00
sigmund@google.com
ebd67ed258
htmlconverter: suggestions from dstockwell
...
Review URL: https://chromereviews.googleplex.com/3532012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@76 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 22:01:57 +00:00
arv@google.com
57051017bd
Revert "Add Element data property"
...
This reverts commit r71.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@74 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 21:43:54 +00:00
arv@google.com
515c527ecd
Dart DOM: Fix syntax error.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@73 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 21:43:42 +00:00
arv@google.com
1e650a0e64
Add Element data property
...
BUG=None
TEST=None
Review URL: https://chromereviews.googleplex.com/3512017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@71 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 20:40:39 +00:00
fabiomfv@google.com
02fc5cc91f
add debugging compiler flags:
...
--human-readable-output : generates readable source code in optimized output.
--disable-type-optimizations : disables type optimizations.
Review URL: https://chromereviews.googleplex.com/3513020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@70 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 20:40:38 +00:00
sigmund@google.com
b4be3ca2fe
htmlconverter: support DOMContentLoaded and more:
...
- adds support for running code on DOMContentLoaded, but only for chromium
- fix errors in tests after rename to List
- fix test due to bug in dartium importing dart:json
- add flag to htmlconverter_test to keep temporary files (for debugging)
- adds a test that relies on DOMCOntentLoaded (this will fail in dartium)
- make htmlconverter.py use the dartc build in the top-level directory
Review URL: https://chromereviews.googleplex.com/3512025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@69 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 20:31:50 +00:00
sra@google.com
9236cc458b
Remove unused dartrenderer.py and its tests.
...
Also fix databasebuilder test.
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3514030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@68 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 20:21:12 +00:00
mmendez@google.com
ad9389b6ca
Revert "Eliminate retarded constructors."
...
This reverts commit r64.
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3530013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@66 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 20:03:49 +00:00
johnlenz@google.com
661e359d74
Reduce swarm's optimized code size by 10% (480 to 433K) by replace class names with short ids.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@65 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 19:49:41 +00:00
mmendez@google.com
1fae22da51
Eliminate retarded constructors.
...
Modified: Resolver, Normalizer and GenerateJavascriptAST to special case implicit default constructors. Would be simpler if there was a notion of synthetics, but this is not the time to add such a scheme -- if nothing else it would disrupt the IDE.
BUG=4562150
Review URL: https://chromereviews.googleplex.com/3522019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@64 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 19:43:55 +00:00
zundel@google.com
705be03363
Move BatchTester into a separate file.
...
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3521020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@52 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 16:50:50 +00:00
srdjan@google.com
4b5b7fe381
Fix build.
...
Review URL: https://chromereviews.googleplex.com/3515026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@51 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 16:39:25 +00:00
srdjan@google.com
2ecf52534f
Terminate IC data array with a null group (preparation for new style of inline caching; easier to terminate when iterating over the array in assembly).
...
Review URL: https://chromereviews.googleplex.com/3507023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@50 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 16:31:37 +00:00
knorton@google.com
234c818be3
Remove $Dart$MapLiteralType as it is no longer used in core.js
...
Review URL: https://chromereviews.googleplex.com/3519019/
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@49 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 16:31:10 +00:00
srdjan@google.com
665b268641
Fix Dart_InvokeDynamic api to handle the null receiver properly: call Object's methods (e.g., "toString", "noSuchMethod").
...
Review URL: https://chromereviews.googleplex.com/3525014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@48 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 16:27:07 +00:00
jgw@google.com
da2581daa9
Fix for classes that are the default factory for multiple other classes/interfaces.
...
BUG=5009110
Review URL: https://chromereviews.googleplex.com/3522018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@47 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 16:25:25 +00:00
srdjan@google.com
288938bd88
Terminate IC data array with a null group (preparation for new style of inline caching; easier to terminate when iterating over the array in assembly).
...
Review URL: https://chromereviews.googleplex.com/3507023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@46 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 16:25:14 +00:00
rchandia@google.com
0e08858598
Adding gitignore again
...
R=zundel@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3526013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 15:53:57 +00:00
ager@google.com
7c191c392b
Fix Windows build after directory library changes.
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3527012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 15:02:27 +00:00
ager@google.com
023fa46e48
Finish non-recursive synchronous directory listing on Linux and Mac.
...
Next steps: Testing, Windows support and using isolates to make
listing async.
We should probably change the API to not tie a Directory object
to a given OS directory structure. When spawning an isolate to
perform a listing operation, that will open the directory,
list its contents and close the directory. That way we can
do multiple listing operations with the same Directory object
without having interference.
R=sgjesse@google.com ,iposva@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3511020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 14:33:49 +00:00
ngeoffray@google.com
a717c9b7c1
Fix library prefixes on top-level elements. Update status file to reflect reality on library prefixes.
...
Review URL: https://chromereviews.googleplex.com/3521018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 14:13:59 +00:00
zundel@google.com
78d16cca6c
Create a directory for python package, move 'testing' in there
...
Review URL: https://chromereviews.googleplex.com/3514028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 14:01:12 +00:00
floitsch@google.com
100f10211e
Add tests for const classes.
...
Review URL: https://chromereviews.googleplex.com/3524015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 12:36:26 +00:00
ngeoffray@google.com
a42380d3df
Define runner before it is used. This allows running individual tests again:
...
./tools/test.py language/MyTest
Review URL: https://chromereviews.googleplex.com/3508023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 12:35:03 +00:00
floitsch@google.com
6615d4cc39
Make stub-generator tests non-batchable.
...
Review URL: https://chromereviews.googleplex.com/3514029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 12:15:50 +00:00
floitsch@google.com
ea24bda4b2
Make sure we send fresh Sendports to other Isolates.
...
For now I prefer not to share *any* data between two different isolates.
We can relax this later.
Review URL: https://chromereviews.googleplex.com/3522014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 11:53:59 +00:00
floitsch@google.com
b87f38077c
Make open receive ports a non-fatal closing condition.
...
R=kasperl@google.com
Review URL: https://chromereviews.googleplex.com/3508021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 11:46:26 +00:00
floitsch@google.com
dacfcd5fa2
Allow nested spawns.
...
Review URL: https://chromereviews.googleplex.com/3511015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 11:38:17 +00:00
sgjesse@google.com
f4b71c573b
First step in enabling the process tests
...
This will enable the process tests for debug mode on Linux and Mac OS.
When access to command line options becomes available I will pass the full path to the process_test executable on the command line instead of hard-coding a relative path.
R=ager@google.com
BUG=
TEST=
Review URL: https://chromereviews.googleplex.com/3524014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 10:31:37 +00:00
iposva@google.com
f5dab1d2ff
Remove the redundant codereview.settings.
...
Review URL: https://chromereviews.googleplex.com/3525013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 09:33:50 +00:00
iposva@google.com
5c037233e4
Update review settings.
...
Review URL: https://chromereviews.googleplex.com/3521017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 09:24:19 +00:00
dgrove@google.com
ebe439410d
Initial checkin.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 06:22:36 +00:00
dgrove@google.com
5691b436c7
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:56:35 +00:00
dgrove@google.com
93071cee63
Initial checkin.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:34:32 +00:00
dgrove@google.com
6b6b28e065
Initial checkin.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:34:19 +00:00
dgrove@google.com
4c0f559d23
Initial checkin.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:20:07 +00:00
dgrove@google.com
6e10bccb64
Initial checkin.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:04:26 +00:00
dgrove@google.com
031784b703
Initial checkin.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:03:55 +00:00
dgrove@google.com
977977e6ea
Initial checkin.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:00:35 +00:00
dgrove@google.com
351bcb499f
Initial checkin.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:00:27 +00:00
dgrove@google.com
4bc64b8c2b
Initial checkin.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 04:52:33 +00:00