alanknight@google.com
4b6fb5546a
Fix serialization doc bug, update to use class literals in a few more places
...
R=sethladd@google.com
Review URL: https://codereview.chromium.org//126383003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31577 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-07 21:23:42 +00:00
alanknight@google.com
dfc3d8ce9d
Pub wishes serialization had a README and a LICENSE
...
BUG=
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//110853011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31302 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 21:12:30 +00:00
alanknight@google.com
edf8f44dd0
Update serialization for the 1.0 changes to mirrors
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//118823002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31293 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-19 18:48:08 +00:00
sethladd@google.com
7a47bc4442
you can use a type for a rule in serialization
...
BUG=
R=alanknight@google.com
Review URL: https://codereview.chromium.org//103283005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30858 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-04 17:05:49 +00:00
rmacnak@google.com
ec164981cb
Remove use of deprecated mirror API from pkg/serialization.
...
R=alanknight@google.com , gbracha@google.com
Review URL: https://codereview.chromium.org//86193003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30645 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 21:29:27 +00:00
iposva@google.com
1cae21b556
- Reverting mirror changes.
...
Review URL: https://codereview.chromium.org//62373008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30029 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 02:07:37 +00:00
iposva@google.com
a2d280501e
- Reverting mirror changes.
...
Review URL: https://codereview.chromium.org//63563003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30027 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:48:45 +00:00
rmacnak@google.com
bc897425e1
Cascaded mirror removal revert.
...
Review URL: https://codereview.chromium.org//63363003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30024 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:20:51 +00:00
rmacnak@google.com
1caa73df59
Remove implementations of mirror methods not in the API from the VM. Update tests.
...
R=iposva@google.com
Review URL: https://codereview.chromium.org//63063002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30005 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 22:30:45 +00:00
dgrove@google.com
18ca7d0036
Re-land r29957 (add versions and constraints for packages and samples), with
...
SDK constraints bumped from 1.0.0 to 0.8.10+6 .
R=ricow@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//62473002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29986 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 18:28:22 +00:00
ajohnsen@google.com
61f6c51990
Revert "add versions and constraints for packages and samples"
...
This is currently blocking us from testing samples.
BUG=
R=kasperl@google.com
Review URL: https://codereview.chromium.org//59513007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29960 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 09:09:18 +00:00
jmesserly@google.com
02638c5760
add versions and constraints for packages and samples
...
- all packages at 0.9.0, except "analyzer" which had a version already
- dependencies at ">=0.9.0 <0.10.0" except analyzer is ">=0.10.0 <0.11.0"
- sdk constraint ">=1.0.0 <2.0.0"
R=sigmund@google.com
Review URL: https://codereview.chromium.org//59763006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29957 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 03:27:58 +00:00
ahe@google.com
36e2df1a1d
Mirrors overhaul.
...
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//23455028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29551 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-30 14:58:58 +00:00
floitsch@google.com
6a72655d1b
Very simple version of Isolates.
...
R=ajohnsen@google.com , iposva@google.com , kasperl@google.com , lrn@google.com
Review URL: https://codereview.chromium.org//27215002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29271 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 19:23:00 +00:00
alanknight@google.com
32d12cab3a
Get rid of several old collection workarounds in serialization
...
R=jmesserly@google.com , kevmoo@j832.com
Review URL: https://codereview.chromium.org//24582004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28315 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-07 17:16:19 +00:00
lrn@google.com
0f1e912d9d
Reapply "Make LinkedHashMap also have a factory constructor and be customizable""
...
The change was reverted due to failing Dartium tests that were not easily handelable on a Friday afternoon.
Review URL: https://codereview.chromium.org//23872008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27284 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-09 10:49:32 +00:00
lrn@google.com
761f55b1b9
Revert "Make LinkedHashMap also have a factory constructor and be customizable"
...
Dartium expectations expects "LinkedHashMap" and gets "_LinkedHashMap".
Review URL: https://codereview.chromium.org//23890008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27250 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 14:29:04 +00:00
lrn@google.com
64359158ab
Make LinkedHashMap also have a factory constructor and be customizable
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org//23494027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27246 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 13:01:54 +00:00
lrn@google.com
eaf1021a87
Make HashMap constructor a factory.
...
Add optional parameters that aren't supported yet.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//23513010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27044 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 11:45:12 +00:00
floitsch@google.com
74da0c7286
Remove usage of dart:json.
...
R=jmesserly@google.com , lrn@google.com , nweiz@google.com , rnystrom@google.com
Review URL: https://codereview.chromium.org//23596007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26789 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 14:05:11 +00:00
alanknight@google.com
4c5223f7a6
Switched Serialization identityMap to use a wrapper, not linear search.
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//23467002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26737 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 19:08:00 +00:00
alanknight@google.com
578d4c24e4
Change reflective serialization rules to be able to take type literals
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//23447003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26720 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 16:53:42 +00:00
kathyw@google.com
19079d26da
serialization library-level doc comments
...
R=mcampione@google.com
Review URL: https://codereview.chromium.org//23424002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26690 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 07:46:20 +00:00
kevmoo@j832.com
9692e19334
pkg/serialization updates
...
Serialiation.rules is now publicly unmodifiable
More return types
locked down some fields with final
R=alanknight@google.com
Review URL: https://codereview.chromium.org//22375012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26071 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 18:23:26 +00:00
kevmoo@j832.com
18d38085ab
pkg: analysis aided cleanup
...
Removed a lot of warnings and hints when opening many pkg projects in the editor
R=gram@google.com
Review URL: https://codereview.chromium.org//22284003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25831 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 20:42:04 +00:00
kevmoo@j832.com
11ccfad71b
pkg/serialization: add format param to Serialization.read method
...
Made read/write params named instead of positional
R=alanknight@google.com
Review URL: https://codereview.chromium.org//17578002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24487 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 20:34:52 +00:00
floitsch@google.com
48b1656690
Allow Object when doing lookups.
...
According to our typing rules a Set<Apple> is a Set<Fruit>. However, before this change, we couldn't use it as a Set<Fruit>:
===
bool foo(Set<Fruit> fruits) {
// Would yield a type-error since we actually got a Set<Apple>.
return fruits.contains(new Banana());
}
foo(new Set<Apple>());
===
R=ajohnsen@google.com , blois@google.com , lrn@google.com
Review URL: https://codereview.chromium.org//14246008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24326 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-24 12:45:10 +00:00
kevmoo@j832.com
3579b85204
pkg/serialization: cleanup
...
R=alanknight@google.com
Review URL: https://codereview.chromium.org//17379025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24306 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-21 23:24:25 +00:00
ahe@google.com
9f19ff761e
Work around VM bug in ClassMirror.superclass.
...
R=alanknight@google.com
Review URL: https://codereview.chromium.org//16745007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23859 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 15:45:46 +00:00
floitsch@google.com
5d058bb0eb
Adding isNotEmpty property to collection and string.
...
BUG= http://dartbug.com/3074
R=floitsch@google.com
Review URL: https://codereview.chromium.org//15263004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23294 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 17:30:37 +00:00
sgjesse@google.com
9d6a64e81b
Merge the dart:uri library into dart:core and update the Uri class
...
This merges the dart:uri library into dart:core removing the dart:uri library. Besides moving the library the Url class has been changed.
* Removed existing Uri constructor as it was equivalent with Uri.parse
* Remamed constructor Uri.fromComponents to Uri
* Moved toplevel function encodeUriComponent to static method Uri.encodeComponent
* Moved toplevel function decodeUriComponent to static method Uri.decodeComponent
* Moved toplevel function encodeUri to static method Uri.encodeFull
* Moved toplevel function decodeUri to static method Uri.decodeFull
* Rename domain to host
* Added static methods Uri.encodeQueryComponent and Uri.decodeQueryComponent
* Added support for path generation and splitting
* Added support for query generation and splitting
* Added some level of normalization
R=floitsch@google.com , lrn@google.com , nweiz@google.com , scheglov@google.com
BUG=
Review URL: https://codereview.chromium.org//16019002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23266 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:35:01 +00:00
alanknight@google.com
e5d595681c
Add a DateTimeRule to default serialization
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//14578008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22750 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-15 17:56:45 +00:00
alanknight@google.com
cdb307fe06
Change default format to produce output that can be passed between isolates
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//14566015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22686 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-14 16:34:23 +00:00
kevmoo@j832.com
b215e0ecfb
pkg/serialization - more types
...
R=alanknight@google.com
Review URL: https://codereview.chromium.org//14985015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22637 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-13 18:08:11 +00:00
alanknight@google.com
2ea02fe7ca
Fix regression in meta-serializing rules
...
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//14773027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22603 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-10 22:15:29 +00:00
kevmoo@j832.com
b07a7fd229
fix for return type issue in 22524
...
R=alanknight@google.com
Review URL: https://codereview.chromium.org//14688020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22526 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-08 19:43:38 +00:00
kevmoo@j832.com
d28d86f8dc
pkg/serialization types cleanup
...
Hide a few things, fix return types, make a few things final, etc.
R=alanknight@google.com
Review URL: https://codereview.chromium.org//14793016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22524 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-08 18:59:40 +00:00
alanknight@google.com
66fbf314d5
adding missing interfaces to _LazyList
...
R=alanknight@google.com
Review URL: https://codereview.chromium.org//13985040
Patch from Adam Singer <financecoding@gmail.com >.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22143 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-29 19:11:31 +00:00
alanknight@google.com
2abd6c9b51
Fix for mirror API breaking change to index libraries by URI, and clean up references in doc comments
...
Review URL: https://codereview.chromium.org//14447008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22040 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 16:49:38 +00:00
alanknight@google.com
1e92447b78
Update pkg/serialization to use Symbols and synchronous mirrors
...
Review URL: https://codereview.chromium.org//13982012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21818 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 17:00:58 +00:00
sethladd@google.com
8fd2c2e5ea
add installation instructions to pkg packages
...
BUG=
Review URL: https://codereview.chromium.org//14188048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21770 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 20:51:10 +00:00
floitsch@google.com
759a366cea
Remove insertRange.
...
Review URL: https://codereview.chromium.org//13956006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21464 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:20:16 +00:00
lrn@google.com
485c8a5999
Move Iterable implementation to collection.
...
Add IterableMixin and IterableBase to dart:collection.
For now, the implementation is duplicated, because mixins and const
constructors don't mix. We hope that mixins will be improved in the
future to allow using the mixin to define the base class.
Review URL: https://codereview.chromium.org//14022007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21457 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 14:32:16 +00:00
gbracha@google.com
e08647bfd3
BREAKING CHANGE: Rename InstanceMIrror.invoke, .getField, .setField to invokeAsync, getFieldAsync, setFieldAsync. Likewise ClosureMirror.apply and ClassMIrror.newInstance. This is in preparation of new synchronous versions of the originals.
...
Review URL: https://codereview.chromium.org//13967003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21242 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:58:22 +00:00
lrn@google.com
24e3c0bbb0
Reapply "Reduce usage of IterableMixinWorkaround"
...
Fix bug and recommit
Review URL: https://codereview.chromium.org//13496014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21049 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 08:07:39 +00:00
erikcorry@google.com
4e0db7cede
Revert 20969: Reduce usage of IterableMixinWorkaround
...
R=ahe@google.com
BUG=
Review URL: https://codereview.chromium.org//13598015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20972 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 15:18:13 +00:00
lrn@google.com
f3608405a3
Reduce usage of IterableMixinWorkaround.
...
Review URL: https://codereview.chromium.org//13685004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20969 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 15:01:19 +00:00
alanknight@google.com
c0eea0c042
Fix bug in code sample
...
Review URL: https://codereview.chromium.org//13581006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20897 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 22:01:08 +00:00
lrn@google.com
3b13f62170
Remove addLast from List.
...
The List.addLast method has been deprecated for quite a while.
A recent change removed it from the interface, but left the
implementation in place (which caused some errors from the analyzer).
This removes it completely.
Review URL: https://codereview.chromium.org//13528004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20857 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 12:52:19 +00:00
alanknight@google.com
6ed8fcc992
Add test and fix for 9203, fix sdk dep, delete unused file.
...
Review URL: https://codereview.chromium.org//12604023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20346 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 20:40:17 +00:00