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
nweiz@google.com
ce421c4dd1
Stop working around issue 6775.
...
R=rnystrom@google.com
BUG=
Review URL: https://codereview.chromium.org//23093023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26664 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 17:50:00 +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
nweiz@google.com
526d551cd6
Stop working around issue 2644.
...
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//16756002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23829 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-10 21:21:15 +00:00
sgjesse@google.com
69df933ff3
Remove the HttpRequest.queryParameters getter
...
The parsed query parameters are now now available from the Uri object.
TBR=whesse@google.com
BUG=http://dartbug/2641
Review URL: https://codereview.chromium.org//15688013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23413 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 13:39:24 +00:00
sgjesse@google.com
bb6d8c6d20
Remove library dart:crypto
...
Moved the contnet of dart:crypto to the package pkg/crypto.
R=dgrove@google.com , floitsch@google.com , iposva@google.com , nweiz@google.com
BUG=
Review URL: https://codereview.chromium.org//15820008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23322 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 07:29:29 +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
sgjesse@google.com
f13b6178e1
Change fromString constructor to parse static method
...
on HeaderValue and ContentType.
R=ajohnsen@google.com
BUG=
Review URL: https://codereview.chromium.org//14914002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22406 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-06 07:30:02 +00:00
nweiz@google.com
efbaba7355
Fix a broken oauth2 test.
...
TBR
Review URL: https://codereview.chromium.org//14694002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22203 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 21:25:04 +00:00
nweiz@google.com
3f7e020ad7
Adding Uri.parse to AuthorizationException
...
BUG=https://code.google.com/p/dart/issues/detail?id=10050
R=nweiz@google.com
Review URL: https://codereview.chromium.org//14135014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22199 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 21:11:00 +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
466d6670c1
Refactor Future constructors.
...
BUG=
Review URL: https://codereview.chromium.org//14070010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21517 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 21:24:27 +00:00
nweiz@google.com
49113955eb
Normalize packages' library names.
...
This makes the library names play nicer with dartdoc.
Review URL: https://codereview.chromium.org//13674024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21106 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 19:39:30 +00:00
nweiz@google.com
c590e8ae0c
Switch pkg packages, pub, and dartdoc to use package: imports.
...
This also changes the SDK layout by replacing the "pkg" directory, which
contained the full source of all the packages needed by pub and dartdoc, with a
"packages" directory that contains only their lib directories. This directory is
used as the package root for pub and dartdoc when run from the SDK.
BUG=6745
Review URL: https://codereview.chromium.org//12782016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20640 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 20:27:28 +00:00
nweiz@google.com
94073b77e4
Fix an outdated method call in example code for oauth2.
...
BUG=7675
Review URL: https://codereview.chromium.org//12787015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20341 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 18:50:59 +00:00
dgrove@google.com
7d86e62d26
Import packages outside oauth2 via ../../.../pkg/ . This allows packages
...
to have their imports rewritten and uploaded to pub.
Review URL: https://codereview.chromium.org//12543004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19566 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 17:17:05 +00:00
nweiz@google.com
3dc5889034
Make oauth2 warning-clean.
...
Review URL: https://codereview.chromium.org//12379021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19262 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-28 23:08:27 +00:00
floitsch@google.com
ecce8a6293
Remove deprecated Strings class.
...
Review URL: https://codereview.chromium.org//12295014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18686 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-19 13:57:03 +00:00
floitsch@google.com
02a5b031fe
Change Future.delayed to take a Duration.
...
Review URL: https://codereview.chromium.org//12224081
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18471 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 19:31:22 +00:00
lrn@google.com
9b23dff467
Reapply "Rename mappedBy to map."
...
This reverts commit r17907.
TBR.
Review URL: https://codereview.chromium.org//12090093
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17918 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 15:12:56 +00:00
floitsch@google.com
b1a118d5ce
Revert "Rename mappedBy to map."
...
This reverts commit 17899.
Review URL: https://codereview.chromium.org//12087103
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17907 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:02:27 +00:00
lrn@google.com
0dc2f4b1ba
Rename mappedBy to map.
...
Retain a deprecated mappedBy for now.
Change return type of mappedBy, skip and take on List to Iterable.
BUG= http://dartbug.com/8063
BUG= http://dartbug.com/8064
BUG= http://dartbug.com/6739
BUG= http://dartbug.com/7982
Review URL: https://codereview.chromium.org//12086062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17899 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 12:37:13 +00:00
floitsch@google.com
ed938af868
Rename new Uri.fromString to Uri.parse.
...
Review URL: https://codereview.chromium.org//12052038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17562 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 13:26:18 +00:00
floitsch@google.com
fb7b9e3c5c
Rename Date to DateTime.
...
BUG=http://dartbug.com/1424
Review URL: https://codereview.chromium.org//11770004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17549 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 12:16:37 +00:00
hausner@google.com
a885f8638b
Fix map literals from change 17410
...
Remove any type arguments from map literals
that had one type argument before change 17410.
Review URL: https://codereview.chromium.org//12045024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17412 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 17:31:29 +00:00
hausner@google.com
dc3bf6646a
Stop supporting map literals with 1 type argument
...
To be checked in next week Tue (Jan 22)
Review URL: https://codereview.chromium.org//12021022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17410 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 16:48:00 +00:00
nweiz@google.com
7cf1400969
Fix the OAuth2 documentation to use then rather than chain/transform.
...
Review URL: https://codereview.chromium.org//11826010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16828 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 00:18:13 +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
nweiz@google.com
4ba4e92937
Handle OAuth2 AuthorizationExceptions in pub.
...
BUG=6950
Review URL: https://codereview.chromium.org//11416352
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15747 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-05 19:47:32 +00:00
nweiz@google.com
00780eb118
Make the oauth2 lib handle OAuth2 401 errors.
...
BUG=6813
Review URL: https://codereview.chromium.org//11316325
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15713 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-04 22:50:12 +00:00
nweiz@google.com
70e056e7ae
Refactor http.Client and http.BaseClient to allow http.Client in type annotations.
...
Review URL: https://codereview.chromium.org//11308111
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15124 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 23:54:31 +00:00
nweiz@google.com
6b0b1fb262
Add TODOs about narrowing JSON catch clauses to the OAuth2 package.
...
Review URL: https://codereview.chromium.org//11308110
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15120 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 23:17:00 +00:00
nweiz@google.com
a99dde64ec
Fix OAuth2 tests, and disable them on non-dart:io platforms.
...
TBR
Review URL: https://codereview.chromium.org//11412083
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15116 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 22:38:44 +00:00
nweiz@google.com
ed9a474a50
Add a package for authenticating via OAuth2.
...
Review URL: https://codereview.chromium.org//11420025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15115 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 22:23:33 +00:00