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
ajohnsen@google.com
d548955117
Enable parsing of IPv6 form addresse (see rfc2373 and rfc2732).
...
This also wraps the 'domain' component in toString with [...], if it
contains any ':' characters.
BUG=
R=floitsch@google.com , sgjesse@google.com
Review URL: https://codereview.chromium.org//14753005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22228 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-01 09:27:50 +00:00
nweiz@google.com
7523a1df0d
Be lazier when capturing stack traces.
...
It turns out that capturing stack traces is cheap; converting them to strings is
what's so expensive.
R=rnystrom@google.com
Review URL: https://codereview.chromium.org//14647003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22205 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 21:34:08 +00:00
nweiz@google.com
0ff9830d88
Fix a bug in pathToFileUri.
...
TBR
Review URL: https://codereview.chromium.org//14287003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21916 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 01:00:03 +00:00
nweiz@google.com
18ef5b5d80
Clean up various ways we find paths in pub.
...
This makes it so that it's never necessary to pass in DART_SDK.
Review URL: https://codereview.chromium.org//14449004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21914 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 23:55:46 +00:00
nweiz@google.com
cdb1f717a3
Use UnmodifiableListView to expose read-only lists.
...
Review URL: https://codereview.chromium.org//14394003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21855 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 23:05:30 +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
lrn@google.com
0f607e459c
Remove methods on StackTrace class.
...
The API is not ready for finalization, so we remove it for further
development after M4.
Makes dart2js's StackTrace object implement dart:core's StackTrace.
Marks dart2js stack-trace tests as Fail instead of Skip.
Review URL: https://codereview.chromium.org//14009004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21437 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 11:44:30 +00:00
floitsch@google.com
94fd64a5e2
Import math library with a prefix.
...
Review URL: https://codereview.chromium.org//14111004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21406 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-13 13:17:13 +00:00
lrn@google.com
f41508d33b
Added new version of reduce.
...
Removed min/max and uses of min/max.
Review URL: https://codereview.chromium.org//14071002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21258 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 08:32:31 +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
23bf53be66
Use the stack_trace library in scheduled_test.
...
This also adds a couple features to stack_trace.
Review URL: https://codereview.chromium.org//13157004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20752 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-01 20:46:15 +00:00
nweiz@google.com
0d0cdb58b2
Check in pkg/stack_trace/lib/src/utils.dart.
...
Review URL: https://codereview.chromium.org//13371002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20710 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:47:33 +00:00
nweiz@google.com
250224ed32
Be more careful about converting between file URIs and paths.
...
This happened to work on Windows because it interprets forward slashes as
directory separators.
Review URL: https://codereview.chromium.org//13191011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20708 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-30 00:36:38 +00:00
nweiz@google.com
829edfcfa6
Fix the stack_trace frame test on Windows as well.
...
Review URL: https://codereview.chromium.org//12681036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20588 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 21:57:31 +00:00
nweiz@google.com
e3fcad44c3
Fix Frame.location on Windows in pkg/stack_trace.
...
Review URL: https://codereview.chromium.org//12545080
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20586 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 21:37:20 +00:00
nweiz@google.com
3697a04750
Add a library for manipulating stack traces.
...
Review URL: https://codereview.chromium.org//13102003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20582 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-27 21:15:55 +00:00