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
ager@google.com
e943ed9998
Add base 64 encoding to the crypto library utils.
...
It is clearly useful for Crypto APIs. Whether or not we should move
base64 encoding somewhere else can be discussed. However, at least
it is available now.
R=sgjesse@google.com
BUG=dartbug.com/2458
TEST=tests/lib/crypto/base64_test.dart
Review URL: https://chromiumcodereview.appspot.com//10456028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8108 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 15:16:06 +00:00
ager@google.com
b6e35655cf
Make the crypto library an official dart:crypto library.
...
The library now works on dart2js and on the VM.
Add the library to the API docs and to the sdk.
R=iposva@google.com ,dgrove@google.com ,kasperl@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10332109
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7604 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-14 11:20:56 +00:00
ager@google.com
cc21879aef
After bit-operation fixes the crypto library works with dart2js.
...
Only change is to avoid remaining issue that (8 >> 32) is 8 with
dart2js at this point. We restrict the length of the message to
"2^32 - 1" bits which.
R=sgjesse@google.com ,floitsch@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10388068
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7533 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 08:09:49 +00:00
ager@google.com
7a29f7b569
Implement md5 hash in crypto library.
...
It might be nicer to leave it out because we do not want to
encourage its use. On the other hand, there are multiple
places where md5 hashing is used so making it available
seems like the right thing to do.
R=sgjesse@google.com ,benl@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10351008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7406 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-08 08:32:52 +00:00
ager@google.com
2093c28840
Add CryptoUtils class.
...
Currently only contains digestToHex to convert a message digest to a hex string.
R=sgjesse@google.com
BUG=dartbug.com/2839
TEST=
Review URL: https://chromiumcodereview.appspot.com//10383041
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7384 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-07 14:34:56 +00:00
ager@google.com
cb6ba80054
Make sure to use a fresh hasher instance for all HMAC hashing.
...
R=sgjesse@google.com ,benl@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10268007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7157 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 13:44:15 +00:00
ager@google.com
a51e9e3591
Implement HMAC support in lib/crypto.
...
R=sgjesse@google.com ,benl@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10170027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7145 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 09:54:59 +00:00
ager@google.com
eb8967b5c4
Add common interface for cryptographic hash functions to lib/crypto.dart.
...
Implement sha1 and sha256.
R=sgjesse@google.com ,iposva@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10134055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6941 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 14:17:45 +00:00
iposva@google.com
8b61a341a5
- Add lib/crypto.
...
- Add a static SHA1 implementation.
Review URL: https://chromiumcodereview.appspot.com//10196011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6875 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 13:20:19 +00:00