Commit Graph

10 Commits

Author SHA1 Message Date
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
johnniwinther@google.com c6d70857e4 Several new features and improvements for dartdoc.
* Dartdoc now works on multiple libraries and entrypoints.
* A dartdoc/dartdoc.bat script is generated into dart-sdk/bin
* The API libraries recognized by dart2js using the 'dart:' prefix
  have been updated to use the 'dart:*' name in their library tags.
  This makes the libraries show up with the correct prefix in the API docs.
* The processed libraries can be selected or limited, API
  libraries are not processed by default, and links to api.dartlang.org
  can be generated for API libraries.

  Because of the changed library tags on API libraries, the generated
  links don't current match the addresses on api.dartlang.org.
  For instance, the docs for Object is currently located in
  api.dartlang.org/core/Object.html, but with the new library
  tag 'dart:core', the address will be api.dartlang.org/dart_core/Object.html.
  The links will thus not work until api.dartlang.org have been updated with
  this patch.
* Code and pre blocks use overflow-x:auto to support wide lines.

BUG=2656,2686,3533,4029,4145,3555

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9843 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-24 09:16:33 +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
ahe@google.com e3cad04c02 Split the URI library across multiple files.
Review URL: https://chromiumcodereview.appspot.com//10383103

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7543 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 13:40:03 +00:00
ahe@google.com 8a459c921e Copy URI top-level helpers to separate file.
Review URL: https://chromiumcodereview.appspot.com//10392043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7542 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 13:32:17 +00:00
rnystrom@google.com a494569dfc Fix HTTP links in URI docs.
Also fixes a bug in our markdown parser where reference links are not
correctly case-insensitive.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6606 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-16 22:17:53 +00:00
iposva@google.com 8ff9b9e976 Reapply r5324, previously reviewed as https://chromiumcodereview.appspot.com/9662051
- Remove String + operator in uri.dart
Review URL: https://chromiumcodereview.appspot.com//9718006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5593 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-16 21:25:08 +00:00
iposva@google.com 993cd03e41 - Fix build by rolling back r5324, r5325.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5333 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 16:31:12 +00:00
iposva@google.com 3035015b6f - Remove String + operator in uri.dart.
Review URL: https://chromiumcodereview.appspot.com//9662051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5324 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 15:24:15 +00:00
dgrove@google.com 641f078329 Move utils/{uri, utf8} to lib/{uri, utf8} .
Fixes issue 1562 .
Review URL: http://codereview.chromium.org//9325085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4010 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 22:31:10 +00:00