Commit Graph

26 Commits

Author SHA1 Message Date
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
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 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 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
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
alanknight@google.com 9fef95b7cc Some fixes to work better with the services framework
Review URL: https://codereview.chromium.org//12136002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18357 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 23:38:22 +00:00
floitsch@google.com 1b65d1175b Remove import of collection-dev.
Review URL: https://codereview.chromium.org//12096042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17802 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 19:29:54 +00:00
alanknight@google.com 205d67aa3f Add a MapRule
Review URL: https://codereview.chromium.org//11931030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17724 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 17:57:11 +00:00
floitsch@google.com 1febeb689a Move some core classes to collection library.
Review URL: https://codereview.chromium.org//11867024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17352 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 13:34:02 +00:00
alanknight@google.com ddd106b523 [ak] Fixed
Review URL: https://codereview.chromium.org//11889039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17152 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 18:21:34 +00:00
alanknight@google.com b3b4c02a96 Make output formats pluggable, adapt to new libraries
Review URL: https://codereview.chromium.org//11820032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16989 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 22:17:14 +00:00
floitsch@google.com 4a7dfd2da3 Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
alanknight@google.com 7602684d20 Fix documentation bugs 7517 and 7518 in serialization.
Review URL: https://codereview.chromium.org//11624031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16581 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-02 18:01:20 +00:00
alanknight@google.com db782503f0 Rename specialTreatmentFor, improve handling of constants as constructor parameters.
Review URL: https://codereview.chromium.org//11644030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16448 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 18:27:57 +00:00
alanknight@google.com 87601ebd4a Duplicate of https://chromiumcodereview.appspot.com/11567018/
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16229 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-17 21:14:30 +00:00
alanknight@google.com b909ef7dd9 Replicating CL https://chromiumcodereview.appspot.com/11553012/
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16182 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-14 22:14:53 +00:00
alanknight@google.com 5df2b86dff Initial version of a serialization framework
Review URL: https://codereview.chromium.org//11293283

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15796 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-06 18:13:36 +00:00