blois@google.com
dd811bb838
Making FormData able to add Blobs and Files.
...
BUG=7152
Review URL: https://codereview.chromium.org//11473004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15871 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 22:32:34 +00:00
rnystrom@google.com
2b9281fe14
Add in basic logging system.
...
Review URL: https://codereview.chromium.org//11470023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15870 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 22:13:47 +00:00
rnystrom@google.com
89dbb7be66
Add "toString()" to BaseRequest.
...
Review URL: https://codereview.chromium.org//11480003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15869 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 21:49:27 +00:00
srdjan@google.com
3a28c6ec9c
Add code comments to slow paths.
...
Review URL: https://codereview.chromium.org//11475042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15868 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 21:45:37 +00:00
nweiz@google.com
af15a10d6a
Fix "src" detection in the pub lish validator on Windows.
...
Review URL: https://codereview.chromium.org//11472033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15866 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 21:33:35 +00:00
efortuna@google.com
0e73e270a9
Fix KeyboardEvent constructor to default to empty string for keyIdentifier.
...
BUG=
Review URL: https://codereview.chromium.org//11478031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15861 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 20:24:01 +00:00
ager@google.com
c44170ebd5
Reapply change to use system code page on Windows to fix Pub.
...
This time with correct null termination of the char* that
we convert.
R=sgjesse@google.com
BUG=dartbug.com/7180
Review URL: https://codereview.chromium.org//11472032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15860 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 20:14:37 +00:00
nweiz@google.com
89dca42b83
Properly parse library names on Windows in pub.
...
Review URL: https://codereview.chromium.org//11476030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15859 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 19:46:10 +00:00
nweiz@google.com
97f425b7de
Add a validator that checks package names.
...
BUG=7045
Review URL: https://codereview.chromium.org//11444018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15857 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 19:30:51 +00:00
nweiz@google.com
e15d4788ce
Require a description field in pubspecs.
...
BUG=7045
Review URL: https://codereview.chromium.org//11466020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15856 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 19:27:03 +00:00
blois@google.com
a9a2c026f2
Removing more APIs from Document.
...
Basically hiding APIs which are either redundant or should be on HtmlDocument rather than Document.
BUG=6989
Review URL: https://codereview.chromium.org//11470009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15855 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 19:04:28 +00:00
rnystrom@google.com
cf5ab6030e
Revert "By default use current code page on Windows for decoding string"
...
This reverts commit c247cd299958d0ee713dcfef8aaf44d230a3a7e0.
Revert "Fix memory leaks in system string patch"
This reverts commit 5e533a0c383518fc1851fbdc01a796f7d6b077f8.
Review URL: https://codereview.chromium.org//11446067
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15854 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 18:49:52 +00:00
efortuna@google.com
917f8cec1f
Fix up DOM keyboardEvent constructor for dartium.
...
BUG=
Review URL: https://codereview.chromium.org//11475033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15853 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 18:34:16 +00:00
vsm@google.com
787f007ca4
Build samples on android bot
...
Reverting the revert. The bot has the proper version of ant now. See
https://chromiumcodereview.appspot.com/11465017/
TBR=gram
Review URL: https://codereview.chromium.org//11476026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15852 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 18:30:29 +00:00
srdjan@google.com
d6772016eb
Cleanups based on Kevin's and Florian's suggestions.
...
Review URL: https://codereview.chromium.org//11481002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15850 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 17:59:53 +00:00
efortuna@google.com
249a253d38
Add documentation for HttpRequest.
...
Review URL: https://codereview.chromium.org//11471005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15848 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 17:26:42 +00:00
iposva@google.com
19a89a947e
- Do not read past the end of the utf32_array.
...
Review URL: https://codereview.chromium.org//11447009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15847 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 17:18:22 +00:00
ager@google.com
2d5c3b2101
Fix memory leaks in system string patch
...
R=sgjesse@google.com
BUG=
Review URL: https://codereview.chromium.org//11470017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15846 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 13:30:17 +00:00
kmillikin@google.com
3dabe31e91
Reapply "Do not call ResolveCompileInstanceFunction from the lookup stub."
...
With a fix for a crash bug on x64. The near jump encoding could fail on
some platforms due to platform-specific code.
BUG=
Review URL: https://codereview.chromium.org//11476021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15845 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 13:00:38 +00:00
ager@google.com
66f08dcabf
By default use current code page on Windows for decoding string
...
data from processes.
R=sgjesse@google.com
BUG=dartbug.com/7180
Review URL: https://codereview.chromium.org//11475026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15844 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 12:51:49 +00:00
kmillikin@google.com
1ddeb10349
Revert "Do not call ResolveCompileInstanceFunction from the lookup stub."
...
This reverts svn revision 15842 due to a snapshot build failure on Mac.
TBR=fschneider@google.com
Review URL: https://codereview.chromium.org//11467015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15843 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 11:21:13 +00:00
kmillikin@google.com
c9bab9efaa
Do not call ResolveCompileInstanceFunction from the lookup stub.
...
The InstanceFunctionLookup stub is only called after the inline cache miss
handler. The miss handler ensures that ResolveCompileInstanceCallTarget is
called.
BUG=
Review URL: https://codereview.chromium.org//11451036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15842 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 11:13:51 +00:00
ahe@google.com
0301e91b94
Remove stale dependencies on dart2js scripts.
...
Also, add build rule to delete old dart2js scripts.
Review URL: https://codereview.chromium.org//11446040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15841 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 10:04:38 +00:00
ahe@google.com
46c1741645
Have list_pkg_directories.py print something.
...
Review URL: https://codereview.chromium.org//11478021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15840 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 09:54:26 +00:00
lrn@google.com
a874cecaed
Revert "Add @deprecated and @override to core."
...
Revert "Adding deprecated flag to deprecated members."
The "deprecated" and "override" features are still not accepted as language
features, and shouldn't be in the SDK until they are.
Review URL: https://codereview.chromium.org//11475020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15839 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 09:27:57 +00:00
karlklose@google.com
6d5654f4aa
Represent runtime type information as nested lists.
...
The class of a type is represented either by its Javascript constructor or, if it is a native JavaScript type, by a string. A type without type arguments uses its class' representation. A types with type arguments is represented by a list, where the first element is the representation of the class and the rest are the representation of the arguments.
Review URL: https://codereview.chromium.org//11448009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15838 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 07:51:17 +00:00
vsm@google.com
0997aeffed
Revert "Build samples on android bot"
...
I'll investigate why the bot is failing tomorrow.
TBR=gram@google.com
Review URL: https://codereview.chromium.org//11471026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15836 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 05:52:10 +00:00
vsm@google.com
2763d45db9
Build samples on android bot
...
Review URL: https://codereview.chromium.org//11465017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15835 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 05:47:27 +00:00
asiva@google.com
7a20334bac
Issue 2345 is apparently fixed so turning the test back on.
...
Review URL: https://codereview.chromium.org//11466015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15834 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 02:57:58 +00:00
asiva@google.com
1a76ed33c4
Return an unhandled exception error on an OOM or other errors while
...
reading a message. This ensures that we never call FindExceptionHelper
with no dart invocation frames.
Review URL: https://codereview.chromium.org//11475012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15833 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 01:41:53 +00:00
blois@google.com
8290caa63a
Adding deprecated flag to deprecated members.
...
BUG=7190
Review URL: https://codereview.chromium.org//11473013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15831 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 01:07:46 +00:00
rnystrom@google.com
e3bc775e68
Revert "Add logging system to pub and sprinkle some logging in."
...
This reverts commit 60468a1a0854389bb3f460cf2368f22013f1af31.
BUG=
Review URL: https://codereview.chromium.org//11472016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15830 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:48:12 +00:00
tball@google.com
47070b7c93
Rolling back temporary change to tests list.
...
Review URL: https://codereview.chromium.org//11465015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15829 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:32:01 +00:00
tball@google.com
a3dc1f279f
Temporarily enabling failing Windows tests, to get failure log.
...
As soon as that log is available, this CL will be reverted.
Review URL: https://codereview.chromium.org//11472012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15828 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:30:22 +00:00
rnystrom@google.com
578c415134
Add logging system to pub and sprinkle some logging in.
...
We'll have to tune which things we log over time, but this covers
most IO operations which is where almost all of our problems come
from.
This patch also means that going forward you should no longer call
print() or printError() (which is gone) directly. Instead:
print() -> log.message()
printError() -> log.error()
That ensures all messages will correctly get added to the log's
transcript.
Review URL: https://codereview.chromium.org//11437019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15827 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:29:23 +00:00
nweiz@google.com
83fa5c203c
Stop working around issue 7044.
...
Review URL: https://codereview.chromium.org//11478004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15826 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:11:35 +00:00
nweiz@google.com
29318c2f5c
Revert "Stop working around issue 6984."
...
Review URL: https://codereview.chromium.org//11464015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15825 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:09:19 +00:00
amouravski@google.com
344435c45b
Alphabetize json output.
...
This is just a stopgap until the new tool is built.
Review URL: https://codereview.chromium.org//11446053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15824 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:07:52 +00:00
efortuna@google.com
4a930b68a7
"Reverting 15820"
...
BUG=
Review URL: https://codereview.chromium.org//11478015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15823 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-07 00:06:36 +00:00
srdjan@google.com
a9a187ce7a
Fix failures in byte array tests, reenabled test.
...
Review URL: https://codereview.chromium.org//11471014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15821 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 23:27:01 +00:00
efortuna@google.com
18bb45a44d
Fix dartium constructor for KeyboardEvent.
...
BUG=
Review URL: https://codereview.chromium.org//11451015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15820 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 23:15:43 +00:00
srdjan@google.com
0cd1bedc60
Disable one test while investigating.
...
Review URL: https://codereview.chromium.org//11473010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15815 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 22:39:30 +00:00
srdjan@google.com
76fe027314
Windows complains:
...
'dart::RawUint8Array' : base classes cannot contain zero-sized arrays
Replicate code for now instead of subclassing.
Review URL: https://codereview.chromium.org//11464011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15814 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 22:30:08 +00:00
srdjan@google.com
6c9335729a
FIx dartc redness ('implement' Uin8ClampedArray im dart2js).
...
Review URL: https://codereview.chromium.org//11472010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15813 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 22:15:54 +00:00
alanknight@google.com
a6c56f84cb
Create mock pub links for all packages under pkg, not a hard-coded list
...
Review URL: https://codereview.chromium.org//11444015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15811 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 22:09:34 +00:00
cshapiro@google.com
f5c4d7a381
Unify specification of file open, close, and write callbacks.
...
Review URL: https://codereview.chromium.org//11442024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15807 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 21:56:31 +00:00
srdjan@google.com
93dd217564
Added Uint8ClampedList. COmpielr optimziations to follow in next CL.
...
Review URL: https://codereview.chromium.org//11437028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15806 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 21:53:51 +00:00
sra@google.com
67dcd71b0a
Allow variable minification in generative constructors.
...
Gain: about 1%.
Review URL: https://codereview.chromium.org//11467007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15805 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 21:09:50 +00:00
nweiz@google.com
01dd8fcb4e
Stop working around issue 6984.
...
Review URL: https://codereview.chromium.org//11464006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15804 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 20:50:21 +00:00
blois@google.com
8bf95806ac
Hiding FilteredElementList class and fixing FilteredElementList.length.
...
BUG=6982
Review URL: https://codereview.chromium.org//11471004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15803 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 19:19:49 +00:00