efortuna@google.com
81cbd6d83a
Tripped up by the two different language.status files. AGAIN.
...
Review URL: https://codereview.chromium.org//11028124
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13502 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 20:59:49 +00:00
srdjan@google.com
e01b80da2c
Report error in APIs if type is malformed instead of crashing. Example:
...
Dart_FunctionReturnType: malformed type encountered: 'file:///sources/dartall/dart/pkg/intl/lib/intl.dart': Error: line 235 pos 10: cannot resolve class name 'dynamic' from 'Intl'
Review URL: https://codereview.chromium.org//11099049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13500 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 20:54:49 +00:00
scheglov@google.com
a1f8e0080e
Lower ~/ priority from WARNING to INFO
...
R=devoncarew@google.com
BUG=
Review URL: https://codereview.chromium.org//11088059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13499 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 20:46:46 +00:00
dgrove@google.com
3ace8972f6
Remove Hashable.
...
Review URL: https://codereview.chromium.org//11028123
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13498 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 20:43:55 +00:00
srdjan@google.com
cd3a59cbdc
Fix a crash in compiler.
...
Review URL: https://codereview.chromium.org//11087062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13496 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 20:27:33 +00:00
pquitslund@google.com
180c097241
Vim syntax highlighting patches (dartbug.com/5568).
...
(Submitted by srackham.)
Adds multiline string hightlighting; adds new
syntaxes and deprecates old ones.
- Added: dartMultilineString, dartRawMultilineString
- Updated: new library and raw string syntaxes.
- Changed: string highlighting follows Dart Editor and normative
conventions i.e. hightlight entire string literal (don't exclude
quotes).
- Deprecated (highlighted Todo and named like *_DEPRECATED):
* old library and raw string syntaxes
* Dynamic interface (added dynamic type keyword)
* BadNumberFormatException (added FormatException)
Review URL: https://codereview.chromium.org//11085011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13495 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 20:26:31 +00:00
srdjan@google.com
5158c55cce
Trace intrinsified native calls for doubles.
...
Review URL: https://codereview.chromium.org//11087061
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13494 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 20:15:48 +00:00
floitsch@google.com
026b907d2e
Register parameter types for closure invocations to the backend.
...
Submit CL 11091029 on behalf of Nicolas.
https://codereview.chromium.org/11091029
BUG=http://dartbug.com/5744
Review URL: https://codereview.chromium.org//11099044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13492 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 20:09:54 +00:00
gram@google.com
29611d7d98
Added ability to have custom test HTTP server handlers in the test directories.
...
Review URL: https://codereview.chromium.org//11093033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13490 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 19:48:18 +00:00
efortuna@google.com
517b046467
Additional fix to language.status after commit of "Added support for exports and
...
re-exports"
Review URL: https://codereview.chromium.org//11099043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13487 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 18:33:49 +00:00
alanknight@google.com
986f155836
Try removing explicit use of dynamic
...
Review URL: https://codereview.chromium.org//11017057
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13486 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 17:16:28 +00:00
alanknight@google.com
588a8fbd77
Remove function types from intl, as they appear to break the vm
...
Review URL: https://codereview.chromium.org//11066099
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13485 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 17:02:28 +00:00
alanknight@google.com
4a0d950454
Make verifiedLocale work differently depending on what it's verifying for
...
Review URL: https://codereview.chromium.org//11086033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13484 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 16:36:13 +00:00
johnniwinther@google.com
58586845b0
language.status updated
...
Review URL: https://codereview.chromium.org//11093051
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13482 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 15:47:24 +00:00
floitsch@google.com
9dad6e7c47
Revert "Allow closures inside lazy initializers."
...
This reverts commit 13467.
Review URL: https://codereview.chromium.org//11092050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13480 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 15:33:14 +00:00
johnniwinther@google.com
a7a074c3da
language.status updated
...
Review URL: https://codereview.chromium.org//11085043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13479 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 15:26:18 +00:00
johnniwinther@google.com
ef93dd9da1
Added support for exports and re-exports.
...
BUG=5429
TESTS=language/export_test, language/export_cyclic_test
Review URL: https://codereview.chromium.org//10990060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13478 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 15:08:18 +00:00
floitsch@google.com
14d9b05093
Add another test for JS semantics. (range propagation).
...
Review URL: https://codereview.chromium.org//11086046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13477 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 14:57:58 +00:00
antonm@google.com
2a77601516
Rename WebKit's WheelEvent.wheelDelta{X,Y} to W3C WheelEvent.delta{X,Y}.
...
Also remove WheelEvent.wheelDelta.
We originally have done that for dart2js, but that broke Dartium support. Instead of
removal, just rename to generate binding code still.
R=blois@google.com ,podivilov@chromium.org
BUG=5756
Review URL: https://codereview.chromium.org//11099033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13476 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 14:53:29 +00:00
karlklose@google.com
6fa5d0065c
Complete support for type variables in new expressions.
...
Review URL: https://codereview.chromium.org//11092046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13475 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 14:53:24 +00:00
ricow@google.com
a45b8dfe2a
Prepare push to trunk. Now working on version 0.1.1.0
...
Review URL: https://codereview.chromium.org//11066097
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13474 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 14:10:37 +00:00
podivilov@google.com
5464ab01d3
Get rid of webkit_renames in dartdomgenerator.py.
...
Now that we don't rename interfaces in fremontcutbuilder, there is
no need to rename them back in dartdomgenerator.
R=antonm@google.com ,vsm@google.com
Review URL: https://codereview.chromium.org//11062005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13473 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 13:31:16 +00:00
podivilov@google.com
f8762b2568
Introduce ListLikeIDLTypeInfo as a replacement for nativified_classes table.
...
IDLTypeInfo hierarchy is a convenient way to deal with idl type polymorfism.
R=antonm@google.com ,efortuna@google.com ,vsm@google.com
Review URL: https://codereview.chromium.org//11065042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13472 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 13:22:45 +00:00
zerny@google.com
22e619ff31
Recursive inlining.
...
Due to large performance regressions on dart2js the default depth is set to 1, i.e., we only inline the first level of calls by default. The depth can be changed with the inlining_depth_threshold flag.
R=kmillikin@google.com
Review URL: https://codereview.chromium.org//11029027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13471 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 13:18:40 +00:00
podivilov@google.com
9d19336573
Add interface_name and implementation_name to IDLTypeInfo class and use them instead of dart_type.
...
R=antonm@google.com
Review URL: https://codereview.chromium.org//11040059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13470 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 12:38:41 +00:00
ricow@google.com
cc768f8f98
Add a dart library and a dart script for creating version numbers.
...
Review URL: https://codereview.chromium.org//11090046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13469 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 12:33:12 +00:00
antonm@google.com
8cbfa7530e
Do not allow platform prefices to conflict with fixed members.
...
Currently when generating prefices for platform libs we can generate
a name which equals to some fixed member. Example, there is
ImageElement.x getter in dart:html which makes 'x' into a set
of forbidden member names.
Now imagine the class:
import 'dart:math' as math;
class Foo {
get x => null;
f() => math.cos(.5);
}
We retain 'x', but we can generate 'x' as a prefix for dart:math emitting:
import 'dart:math' as x;
class C {
get x => null;
f() => x.cos(.5);
}
Caboooooom!
R=smok@google.com
BUG=5674
Review URL: https://codereview.chromium.org//11040063
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13468 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 12:18:56 +00:00
floitsch@google.com
1b5cc82678
Allow closures inside lazy initializers.
...
BUG:http://dartbug.com/3559 .
Committed: https://code.google.com/p/dart/source/detail?r=13459
Review URL: https://codereview.chromium.org//10913133
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13467 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 12:09:57 +00:00
johnniwinther@google.com
f673494e0a
Copy to make benefit of glorious subversion
...
... to prepare for library_loader.dart
Review URL: https://codereview.chromium.org//11092045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13466 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 12:05:30 +00:00
floitsch@google.com
ae83e25dec
Revert "Allow closures inside lazy initializers."
...
This reverts commit 13459.
Review URL: https://codereview.chromium.org//11086045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13464 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 11:10:52 +00:00
jwren@google.com
6312917b13
Updated dart2dart status file to remove some now passing tests.
...
BUG=
Review URL: https://codereview.chromium.org//11028113
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13463 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 11:07:32 +00:00
fschneider@google.com
483f813769
Slightly improved register constraints for mint add and sub.
...
Review URL: https://codereview.chromium.org//11099034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13462 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 10:49:06 +00:00
ricow@google.com
018ebdc980
Add VERSION file to the checkout.
...
Review URL: https://codereview.chromium.org//11092024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13461 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 09:47:41 +00:00
jwren@google.com
0a6a39048c
Fix to dartbug.com/5170, explictly static library variables now get an appropriate error message.
...
BUG=
Review URL: https://codereview.chromium.org//11087025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13460 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 09:22:17 +00:00
floitsch@google.com
c5600d9947
Allow closures inside lazy initializers.
...
BUG:http://dartbug.com/3559 .
Review URL: https://chromiumcodereview.appspot.com//10913133
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13459 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 09:18:46 +00:00
erikcorry@google.com
c08200af1a
Add minifying renamer to the JS printer so locals are called z0, z1, z2, etc.
...
BUG=
Review URL: https://codereview.chromium.org//11086022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13457 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 08:17:32 +00:00
zerny@google.com
5200dfb8b1
Remove slow assert from VM.
...
Replaced slow-asserts with verify-compiler and removed vm/assert.h
R=srdjan@google.com
BUG=5720
Review URL: https://codereview.chromium.org//11017027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13456 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 08:03:28 +00:00
vsm@google.com
df630b64cd
Fixed typo
...
Review URL: https://codereview.chromium.org//11092040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13454 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 04:22:09 +00:00
vsm@google.com
9a19a1f517
Roll IDL to multivm@937
...
TBR=blois
Review URL: https://codereview.chromium.org//11098032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13453 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 23:58:44 +00:00
rnystrom@google.com
fc169ee8b2
"Reverting 13451"
...
Review URL: https://codereview.chromium.org//11066091
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13452 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 23:32:21 +00:00
rnystrom@google.com
87f5622b44
Print out the working directory when git fails.
...
Also (sigh) re-enabling Windows again.
Review URL: https://codereview.chromium.org//11087039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13451 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 23:26:43 +00:00
gram@google.com
306a9255d2
Revert r13442. The extension fails to install under Windows, and the sentinel
...
message approach does not work on Mac; Mac seems to need the old timeout approach.
So only Linux works at this point.
Review URL: https://codereview.chromium.org//11098028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13450 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 22:48:13 +00:00
efortuna@google.com
686844d201
Add IEDriver Server to webdriver setup script.
...
Review URL: https://codereview.chromium.org//11097004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13449 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 22:46:53 +00:00
srdjan@google.com
4ad647121f
Fix build breakage, removed arguments twice instead of once.
...
Review URL: https://codereview.chromium.org//11092038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13448 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 22:40:54 +00:00
gram@google.com
187d456a9d
Add missing binary file.
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13445 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 21:48:54 +00:00
efortuna@google.com
47d4ff93d3
Fix IEDriver error on closing.
...
Review URL: https://codereview.chromium.org//11088038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13444 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 21:48:02 +00:00
srdjan@google.com
c83fd716e4
Implement SmiToInt and DoubleToInt. All necessary tests are in tests/language/arithmetic_test.dart
...
Review URL: https://codereview.chromium.org//11098009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13443 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 21:43:10 +00:00
gram@google.com
ee34ca9e60
Chrome extension to get console messages upon test failures. Unlike the
...
prior one which used chrome.experimental.console APIs, which aren't accessible
to non-devtool extensions, this one uses remote debugging APIs, which are.
Review URL: https://codereview.chromium.org//11092015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13442 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 21:09:22 +00:00
rnystrom@google.com
e9ff2669b8
"Reverting 13440"
...
Review URL: https://codereview.chromium.org//11099019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13441 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 21:02:26 +00:00
rnystrom@google.com
8fe2700fd8
Try enabling Git on Windows again.
...
Review URL: https://codereview.chromium.org//11098025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13440 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 20:55:46 +00:00