lrn@google.com
|
e2e17c3f26
|
Make JSON parsing work as a chunked conversion sink.
This allows JSON parsing to work on individual chunks of source instead
of collecting and concatenating all the parts before parsing.
This is made in anticipation of having a UTF-8 version that parses directly
on the input codes, without creating a String first.
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//649113005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41311 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-10-27 12:11:39 +00:00 |
|
lrn@google.com
|
d8a2043098
|
Fix wrong limit on list index in double.parse.
Review URL: https://codereview.chromium.org//623073002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40892 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-10-03 07:03:45 +00:00 |
|
lrn@google.com
|
3192c983bf
|
Dart version of double.parse that works for numbers that can be represented exactly as doubles.
BUG= http://dartbug.com/17711
R=vegorov@google.com
Review URL: https://codereview.chromium.org//520693004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@40891 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-10-03 06:01:44 +00:00 |
|
lrn@google.com
|
d983493c1a
|
Add extra information to FormatException.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//389603002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38181 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-07-14 07:47:45 +00:00 |
|
lrn@google.com
|
7a32a75dcc
|
Avoid unnecessary copying when parsing doubles.
R=sgjesse@google.com, vegorov@google.com
Review URL: https://codereview.chromium.org//368483004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37863 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-07-01 11:59:31 +00:00 |
|
srdjan@google.com
|
97021b5861
|
Add class id constants fields to dart:_internal class 'ClassID'. Use the fields in the library (more uses to come).
R=asiva@google.com
Review URL: https://codereview.chromium.org//351673002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37628 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-06-23 22:41:59 +00:00 |
|
srdjan@google.com
|
d44423b766
|
Add VM internal Dart class 'ClassID' used to manage class-ids of known classes. Next CL: add constant fields corresponding to each class id (smiCid, oneByteStringCid, etc).
R=asiva@google.com
Review URL: https://codereview.chromium.org//345223003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37567 260f80e4-7a28-3924-810f-c04153c831b5
|
2014-06-20 20:56:55 +00:00 |
|
lrn@google.com
|
ef66be8610
|
Change Expect.identical(NaN, x) to not assume NaNs are identical.
R=floitsch@google.com
Review URL: https://codereview.chromium.org//87953002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30667 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-11-26 10:32:51 +00:00 |
|
lrn@google.com
|
e1b4afa85d
|
Add num.parse.
The implementation is still primitive: It calls int.parse, then double.parse, and then fails if it hasn't found a result yet.
BUG= http://dartbug.com/8237
R=floitsch@google.com
Committed: https://code.google.com/p/dart/source/detail?r=30624
Review URL: https://codereview.chromium.org//85633003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30663 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-11-26 08:44:38 +00:00 |
|
lrn@google.com
|
f5bf3613dc
|
Revert "Add num.parse."
Fails on IE9.
Review URL: https://codereview.chromium.org//85623004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30631 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-11-25 14:52:23 +00:00 |
|
lrn@google.com
|
e0f3bb3092
|
Add num.parse.
The implementation is still primitive: It calls int.parse, then double.parse, and then fails if it hasn't found a result yet.
BUG= http://dartbug.com/8237
R=floitsch@google.com
Review URL: https://codereview.chromium.org//85633003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30624 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-11-25 13:09:04 +00:00 |
|
lrn@google.com
|
4723e4142d
|
Changed names of parameters of double.parse in patches to match change in external signature.
Review URL: https://codereview.chromium.org//23146008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26273 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-08-16 12:41:07 +00:00 |
|
floitsch@google.com
|
09d7da9250
|
Rewrite double.parse.
BUG= http://dartbug.com/5654
R=lrn@google.com, srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=23062
Reverted: https://code.google.com/p/dart/source/detail?r=23065
Committed: https://code.google.com/p/dart/source/detail?r=23066
Reverted: https://code.google.com/p/dart/source/detail?r=23068
Review URL: https://codereview.chromium.org//15333006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23071 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-05-23 14:30:16 +00:00 |
|
floitsch@google.com
|
9849fb8900
|
Revert "Rewrite double.parse."
This reverts commit r23066.
Review URL: https://codereview.chromium.org//15814003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23068 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-05-23 13:28:37 +00:00 |
|
floitsch@google.com
|
75cafec89d
|
Rewrite double.parse.
BUG= http://dartbug.com/5654
R=lrn@google.com, srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=23062
Reverted: https://code.google.com/p/dart/source/detail?r=23065
Review URL: https://codereview.chromium.org//15333006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23066 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-05-23 13:09:05 +00:00 |
|
floitsch@google.com
|
724fb6b4aa
|
Revert "Rewrite double.parse."
This reverts commit r23062.
Review URL: https://codereview.chromium.org//15868003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23065 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-05-23 13:00:05 +00:00 |
|
floitsch@google.com
|
d39ef26225
|
Rewrite double.parse.
BUG= http://dartbug.com/5654
R=lrn@google.com, srdjan@google.com
Review URL: https://codereview.chromium.org//15333006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23062 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-05-23 12:00:45 +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 |
|
iposva@google.com
|
7ae807a19c
|
- Move MathNatives from dart:core to dart:math.
- Split out double and integer parsing from MathNatives.
Review URL: https://codereview.chromium.org//11316031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15032 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-11-16 19:42:02 +00:00 |
|
lrn@google.com
|
26fab5183a
|
Move parseInt parseDouble to int/double classes as a static method.
Remove math dependency from core/coreimpl in dart2js.
The existing Math.parseInt and Math.parseDouble are kept *for now*, but
simply redirect to the static methods.
They will be removed in time (when library code is ready for it).
Review URL: https://codereview.chromium.org//10913271
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12417 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-09-17 07:25:38 +00:00 |
|