Commit Graph

15 Commits

Author SHA1 Message Date
floitsch@google.com c10172597f Make Uri.isAbsolute and Uri.hasAuthority getters.
BUG= http://dartbug.com/8504

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18505 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 09:48:52 +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 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
sgjesse@google.com 7e293aa077 Reapply "Fix URI encoding/decoding of + and space""
Updated test expectations for some tests for pkg/http, pkg/oauth2 and
pub to match the change.

TBR=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16426 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 09:50:05 +00:00
sgjesse@google.com 48822ca742 Revert "Fix URI encoding/decoding of + and space"
TBR=ager@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16421 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 09:16:46 +00:00
sgjesse@google.com 489f68046f Fix URI encoding/decoding of + and space
The URI decoder now encodes space as + and + as %2B. Likewise the URI
decode decodes + as space (and %2B as +, but that was already the
case).

R=lrn@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16419 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-21 08:53:38 +00:00
erikcorry@google.com 359736e97a Fix Unicode issues in dart2js and dart2dart.
R=floitsch@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15254 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-22 12:51:14 +00:00
dgrove@google.com 7897a78551 Changes outside pkg/ and lib/ for directory refactoring
Review URL: https://codereview.chromium.org//11358024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14475 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-02 15:18:11 +00:00
lrn@google.com a1faa6f135 Change IllegalArgumentException to ArgumentError.
Review URL: https://codereview.chromium.org//10989013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12841 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 12:27:52 +00:00
kasperl@google.com 0904f658c8 Change Uri.fromComponents to take named optional arguments.
R=iposva@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10919239

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12261 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-12 13:11:59 +00:00
ahe@google.com 98bb912a50 Added origin property to Uri class Added unit test coverage for origin property
Committed on behalf of Alexander Aprelev <aprelev@gmail.com>.

Original review URL: https://chromiumcodereview.appspot.com/10832092/.

BUG=dart:4232
TEST=uri_test

Review URL: https://chromiumcodereview.appspot.com//10869008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11124 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-22 06:42:08 +00:00
iposva@google.com 37c88890bb - Fix type in URI test.
Review URL: https://chromiumcodereview.appspot.com//10826114

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10170 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 14:26:36 +00:00
ahe@google.com 1e0c2471a5 Changed default Uri constructor to Uri.fromComponents(), new default constructor is Uri.fromString(). This is to avoid new Uri('http://www.google.com') resulting in Uri with scheme='http://www.google.com'.
Committing on behalf of: Alexander Aprelev <aprelev@gmail.com>

BUG=dart-3348
TEST=new Uri('http://www.google.com') is the same as new Uri.fromString('http://www.google.com') same as new Uri.fromComponents(scheme:'http', domain:'www.google.com')

Review URL: https://chromiumcodereview.appspot.com//10850015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10168 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 13:48:30 +00:00
gram@google.com 45d0e6e824 URI encoder/decoder - copied from other repo. This is the same code already reviewed but the other repo is not allowing me to commit so trying again.
See  Issue 10310080: Added uriEncode/uriEncodeComponent/uriDecode/uriDecodeComponent functions.
Review URL: https://chromiumcodereview.appspot.com//10399077

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7758 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 18:39:18 +00:00
sigmund@google.com 1dd7f30abc test rename overhaul: step 11 - tests/utils
Review URL: https://chromiumcodereview.appspot.com//10170040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7117 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-28 00:16:04 +00:00