Commit Graph

25510 Commits

Author SHA1 Message Date
janicejl@google.com 392012b0c7 removed docgen/test/single_library_test: Skip # Uses js_helper
BUG=
R=efortuna@google.com

Review URL: https://codereview.chromium.org//19888005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25348 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 17:31:21 +00:00
kevmoo@j832.com 87a80f6a32 pkg/args: expose immutable collections
BUG= https://code.google.com/p/dart/issues/detail?id=10127
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//19810004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25347 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 16:56:13 +00:00
jmesserly@google.com 320656845d mark some tests as failing on dart2js+csp
see https://code.google.com/p/dart/issues/detail?id=11970
TBR=sigmund

Review URL: https://codereview.chromium.org//19577015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25330 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 03:51:31 +00:00
jmesserly@google.com a79067d9af Allow <template if="{{ expr }}"> to be equivalent to template bind
Port of https://github.com/Polymer/mdv/commit/9657f53fe38d2c87dd2b1f34398a41fafadc73b2
and
https://github.com/Polymer/mdv/commit/3bbb5047e58e22dcef54aeedb431c12f1359766c

R=justinfagnani@google.com

Review URL: https://codereview.chromium.org//19989002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25329 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 03:34:54 +00:00
jmesserly@google.com 184c50b300 [mdv] Implement two-way binding to HTMLTextArea.value
port of https://github.com/Polymer/mdv/commit/55104c3fed41db04f98076f825bc32f6dfc5624f
fixes https://code.google.com/p/dart/issues/detail?id=11859

R=justinfagnani@google.com

Review URL: https://codereview.chromium.org//19593006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25328 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 03:09:48 +00:00
jmesserly@google.com 8f3ff7d471 [mdv] template.ref must recursive to find the original source template
port of https://github.com/Polymer/mdv/commit/86040735c2973c8cc078677e3dabb56b5bfc70c0

R=justinfagnani@google.com

Review URL: https://codereview.chromium.org//19590007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25327 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 03:08:34 +00:00
jmesserly@google.com 85d6abbd52 implement dirty checking for @observable objects
This means MDV can be used without a compile step.
It continues to support implementation by-hand, so we can transform these objects automatically at deployment time.

R=sigmund@google.com

Review URL: https://codereview.chromium.org//19771010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25326 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-23 02:48:13 +00:00
janicejl@google.com d674a4cef7 add constant, abstract, and final to methods and variables.
R=alanknight@google.com

Review URL: https://codereview.chromium.org//19771019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25318 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 23:18:06 +00:00
janicejl@google.com d660f61824 Typedef information showing properly.
R=alanknight@google.com

Review URL: https://codereview.chromium.org//19500014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25310 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 22:04:43 +00:00
gram@google.com 925de17f16 Remove an old incorrect piece of documentation.
R=sigmund@google.com

Review URL: https://codereview.chromium.org//20005002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25308 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 21:52:29 +00:00
gram@google.com 6c6ed38b1c Fix moveTo to not include null optional parameters in JSON message.
BUG=11685
R=gram@google.com

Review URL: https://codereview.chromium.org//18529009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25307 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 21:44:05 +00:00
nweiz@google.com 2c39434647 Use window.location.href in path under dart2js.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//19939004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25304 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 21:06:37 +00:00
janicejl@google.com 1f16f80b27 "Reverting 25293"
BUG=

Review URL: https://codereview.chromium.org//19881005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25295 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 19:20:30 +00:00
janicejl@google.com 574d3548f2 removed docgen/test/single_library_test: Skip
R=ahe@google.com, efortuna@google.com

Review URL: https://codereview.chromium.org//19677010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25293 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 19:04:26 +00:00
janicejl@google.com a89fca38ca Changed script to use an explicit package root to execute docgen.
BUG=
R=alanknight@google.com, efortuna@google.com

Review URL: https://codereview.chromium.org//19775011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25286 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 17:22:44 +00:00
ahe@google.com 65fdfb0ad0 dartPrint should propagate unittest-suite-done.
R=kustermann@google.com

Review URL: https://codereview.chromium.org//19968003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25282 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 16:12:23 +00:00
ahe@google.com c17ca9d9b3 Implement top-level accessors.
Also, implement top-level fields in minified mode.

R=ngeoffray@google.com

Review URL: https://codereview.chromium.org//19676002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25276 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-22 14:52:39 +00:00
janicejl@google.com eef03f551e added generic information
R=alanknight@google.com

Review URL: https://codereview.chromium.org//19564013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25239 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 20:10:55 +00:00
ajohnsen@google.com 2bd55c23c7 Keep track of when a socket has been destroyed
This adds the event CLOSED to RawSocket and RawServerSocket. This
event indicate that the underlying socket is now destroyed.

This is used to make Socket.close and ServerSocket.close return a
future which is completed when the unserlying socket is
destroyed. This can be used to start listening on the same port after
closing a server socket.

R=ajohnsen@google.com, kustermann@google.com

BUG=https://code.google.com/p/dart/issues/detail?id=4155

Review URL: https://codereview.chromium.org//14864009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25213 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-19 13:26:48 +00:00
cbracken@google.com 85462a9c08 Migrate fixnum tests to unittest. Fix int32 rollover bug.
- Migrated tests to unittest
- Reorganized tests by operator
- Test coverage for +/- overflow/rollover
- Test coverage for null args
- Test coverage for unary -
- Test coverage for comparison operators

BUG=
R=justinfagnani@google.com

Review URL: https://codereview.chromium.org//19669002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25176 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-18 20:44:47 +00:00
janicejl@google.com d2013ecd31 renamed abstract to abztract due to keyword usage as a variable name.
R=efortuna@google.com

Review URL: https://codereview.chromium.org//19543009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25172 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-18 20:10:17 +00:00
nweiz@google.com 1b541506ff Roll forward "Use package:stack_trace in unittest."
This reverts r25135, and rolls forward r25131, r25132, and r25133.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//19540015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25169 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-18 19:30:33 +00:00
janicejl@google.com 242d978ded "Reverting 25160"
BUG=

Review URL: https://codereview.chromium.org//19638009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25163 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-18 18:32:34 +00:00
janicejl@google.com 62b1f479e1 Catergorized classes to abstract, class, typedef, and error/exception
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//19708003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25160 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-18 17:37:34 +00:00
janicejl@google.com 7cfa39f269 Created an index of qualified names for libraries, classes, methods, and variables.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//19704003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25156 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-18 17:20:23 +00:00
nweiz@google.com e93476aa9d Roll back "Use package:stack_trace in unittest."
This reverts r25131, r25132, and r25133.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//19684006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25135 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 23:55:46 +00:00
nweiz@google.com c7b527f8bc Roll forward "Use package:stack_trace in unittest."
This reverts r24669 and rolls forward r24652, r24659, and r24661.

BUG=11649
R=asiva@google.com, vsm@google.com

Review URL: https://codereview.chromium.org//18892003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25131 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 22:39:44 +00:00
nweiz@google.com a1ca4b84b4 Make the compact VM config keep open a receive port.
R=rnystrom@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org//19557003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25130 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 22:37:37 +00:00
pquitslund@google.com a5ed18ebdb Formatter check-point (blank-space preservation experiment).
Possibly not the long-term approach but an early checkpoint of one approach to preserving user defined blank spaces (between members).

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//19668003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25125 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 21:44:28 +00:00
scheglov@google.com 4ac2a1452c New analyzer_experimental snapshot.
FYI bot is red, as I can see this is caused by VM crashes.
https://code.google.com/p/dart/issues/detail?id=11873

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//19590006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25121 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 19:32:30 +00:00
kevmoo@j832.com 9261a0f698 pkg/path: fixed tiny doc bug
path.dirname('path/to') returns 'path', not 'to'

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//19492003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25120 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 19:28:45 +00:00
nweiz@google.com b31ce6c8cf Fix a barback bug that triggered when an asset was removed.
If a transform had that asset as its primary input, it would go into an error
state.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//19473002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25116 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 18:32:11 +00:00
kustermann@google.com 37560ff519 Support for inlining small methods (independent of they're called inside a loop or not)
BUG=http://dartbug.com/11478
R=ngeoffray@google.com

Review URL: https://codereview.chromium.org//19250002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25093 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 13:03:11 +00:00
ahe@google.com ed48b2394a Fix a few issues related to mirrors:
* Bad assertion in emitter.

* Don't assume we generate checked setters for statics.

* Unmangle field names using getter prefix (which makes "everything" work in minified mode).

BUG=http://dartbug.com/6490
R=ngeoffray@google.com

Review URL: https://codereview.chromium.org//19571002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25092 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 12:40:30 +00:00
nweiz@google.com 962d3fddb6 Rename several classes in barback.
AssetProvider     -> PackageProvider
AssetGraphManager -> PackageGraph
AssetGraph        -> AssetCascade

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//19402003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25080 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-17 00:34:33 +00:00
nweiz@google.com d28b8251f6 Make barback more package-aware.
This makes AssetGraph package-specific, but doesn't yet support cross-package asset usage.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//5695057915019264

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25079 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-16 22:56:53 +00:00
janicejl@google.com 0c116342c0 reverted back to path instead of pathos and use explicit package root, just like buildbot
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//19309004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25062 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-16 18:08:25 +00:00
scheglov@google.com b022ab975f Use pathos.fromUri() to make it work on Windows.
I was able to reproduce failure on Windows bots.
With this CL should work on both Windows and Posix.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//19266005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25055 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-16 16:35:44 +00:00
sigmund@google.com 19d6157bc3 Address hint discovered by dart2js: add hashCode to source_maps.Span
R=dgrove@google.com

Review URL: https://codereview.chromium.org//19315003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25050 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-16 16:01:36 +00:00
janicejl@google.com 8b64f07a01 "Reverting 25035"
BUG=
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//19309003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25037 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 23:53:57 +00:00
janicejl@google.com ac113eb9c1 Updated the schema of the yaml output.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//19220006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25035 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 23:38:34 +00:00
rnystrom@google.com 27772a4779 Test empty strings arguments to path.join().
BUG=https://code.google.com/p/dart/issues/detail?id=11819
R=nweiz@google.com, whesse@google.com

Review URL: https://codereview.chromium.org//19219002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25033 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 23:28:44 +00:00
janicejl@google.com ac3841e201 Modified README for docgen.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//19070003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25030 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 22:42:17 +00:00
scheglov@google.com 3aaa360346 Complete java_io.dart rallback.
TBR

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//19266004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25029 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 22:36:13 +00:00
scheglov@google.com 9783051dfb Try to fix Windows bots. Use absolute path instead of canonical.
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//19297002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25027 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 22:20:12 +00:00
vsm@google.com a81a6fcce6 RFC: introduce dart:js
This is a port of js-interop with an optimized dart2js compilation.
It also gets rid of noSuchMethod.
I also made some renamings inspired by https://github.com/dart-lang/js-interop/issues/68

BUG=
R=vsm@google.com

Review URL: https://codereview.chromium.org//15782009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25018 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 19:44:44 +00:00
scheglov@google.com 0f5432dc17 Fix for JavaFile.getCanonicalPath(), don't use Path.
I've tested JavaFile manually separately; and ran shared tests.

R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//19262002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25016 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 19:35:15 +00:00
ajohnsen@google.com ec867dd96b Disable mime_multipart_transformer_test on IE9, as it lacks typed data.
BUG=

Review URL: https://codereview.chromium.org//19178003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25004 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 12:39:40 +00:00
ajohnsen@google.com d3870479df Run mime-multipart test in 'test' callback.
BUG=

Review URL: https://codereview.chromium.org//19158004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24993 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 09:15:18 +00:00
ajohnsen@google.com b2cf4de3ef Fix editor warnings in http_server and mime.
BUG=

Review URL: https://codereview.chromium.org//19158002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24992 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 09:11:06 +00:00