Commit Graph

123 Commits

Author SHA1 Message Date
Arthur Britto
2997bde362 JS: Fix amount parsing to accept negative exponents. 2012-12-17 17:33:02 -08:00
Stefan Thomas
4032f9351a Add more precision options to to_human(). 2012-12-16 11:55:04 -08:00
Arthur Britto
fd0bd1433f UT: Test offer counts. 2012-12-14 21:21:27 -08:00
Arthur Britto
f93dc7a7b4 Fix network state reporting in server and client. 2012-12-14 16:34:11 -08:00
JoelKatz
e65c390423 Allow larger amounts in normal notation. 2012-12-13 15:56:39 -08:00
JoelKatz
7810cffd18 Sync to C++ code logic. One test fails, I'm tracking it down now. 2012-12-13 15:42:41 -08:00
Stefan Thomas
269abd0131 Fix infinite loop when using a zero amount in a multiplication. 2012-12-13 11:28:45 -08:00
Arthur Britto
6d3c82ab7b Merge branch 'reserve' 2012-12-12 21:55:25 -08:00
Arthur Britto
f1735c5cdf Move from account create fee to reserve XRP. 2012-12-12 21:54:56 -08:00
Stefan Thomas
55a595a880 "Fix" multiply by disabling rounding - doesn't seem to produce correct results. 2012-12-12 20:56:55 -08:00
Stefan Thomas
9e8a25ddb2 Fix semantic errors in Amount#multiply. 2012-12-12 20:52:45 -08:00
Stefan Thomas
038b9f3e2a Add product_human, fix ratio_human. 2012-12-12 19:37:23 -08:00
Stefan Thomas
0d5f2d0012 Add ratio_human. 2012-12-12 17:39:25 -08:00
Arthur Britto
bc376f7645 JS: Do not retry as much to connect. 2012-12-12 16:20:13 -08:00
JoelKatz
dd95a4b25e Fix this to match. 2012-12-11 22:57:19 -08:00
Arthur Britto
4752c9ff4e UT: Fix payment test. 2012-12-11 21:23:56 -08:00
JoelKatz
44b3c6eda7 Restore [(10X+3)(10Y+3)]/100 rounding. 2012-12-11 16:10:13 -08:00
JoelKatz
7652a75edb Start of fix. 2012-12-11 16:02:35 -08:00
JoelKatz
f2ff4b3773 Simplify multiplication. 2012-12-11 00:15:06 -08:00
JoelKatz
1bb3db9a7d Don't set offsets to 'undefined' anymore. 2012-12-11 00:08:52 -08:00
Arthur Britto
0ebdac4f91 JS: Fix non-XRP add and canonicalize. 2012-12-10 23:47:14 -08:00
Arthur Britto
fe9610af70 JS: Better but still broken divide and friends again. 2012-12-10 23:16:07 -08:00
Arthur Britto
2537e47fc0 JS: Better but still broken divide and friends. 2012-12-10 22:33:33 -08:00
Stefan Thomas
10935c1773 Fix is_negative for new unified neg. number handling. 2012-12-10 17:02:01 -08:00
Stefan Thomas
2ce23c45b2 Add support for mixed operands to divide(). 2012-12-10 16:44:34 -08:00
Vahe Hovhannisyan
0436928249 expose Seed 2012-12-10 16:05:20 -08:00
Arthur Britto
e6e2ecd80c JS: Export Seed. 2012-12-10 14:47:54 -08:00
Arthur Britto
9fc885e1ea JS: Add Seed support and big fix for Amount. 2012-12-10 14:42:32 -08:00
Arthur Britto
6e6cbe19af JS: Fix for divide. 2012-12-09 00:15:31 -08:00
Arthur Britto
ea42fbce26 JS: Amount add multiply and divide. 2012-12-09 00:10:21 -08:00
Arthur Britto
afabfc8eac JS: Reorder Amount functions alphabetically. 2012-12-08 23:27:46 -08:00
Arthur Britto
e955bc5bb9 JS: Fixes for add and subtract. 2012-12-08 18:15:37 -08:00
Arthur Britto
f8587c36c3 JS: Add is_zero and compareTo to Amount. 2012-12-08 17:55:37 -08:00
Arthur Britto
4126d149cc JS: Add abs, add, and subtract to Amount. 2012-12-08 17:38:08 -08:00
Arthur Britto
8801a95409 JS: Rework NaN testing for Amount. 2012-12-08 17:08:15 -08:00
Arthur Britto
dda0769c5e JS: Add is_native() to Currency. 2012-12-07 22:24:50 -08:00
Stefan Thomas
10e53b7562 Add WebSocket Secure (SSL) support to client library. 2012-12-06 14:33:28 -08:00
Stefan Thomas
73db82ac56 Only consider a server connection with server_status == 'ok' as being 'online'. 2012-12-06 12:33:47 -08:00
Stefan Thomas
d3acc2cf75 Fix fractional part in to_human(). 2012-12-06 11:25:51 -08:00
Arthur Britto
10ba85a493 JS: Add support for getting random from server subscribe. 2012-12-06 00:01:05 -08:00
Arthur Britto
5b68f2a15d Refactor NetworkOps and RPC to specify account_index and ledgers better. 2012-12-05 18:02:41 -08:00
Arthur Britto
d6b0dca146 JS: Fix offline reporting. 2012-12-04 19:27:44 -08:00
jed
50953ff6d5 add account_offers and refactor 2012-12-04 12:12:11 -08:00
jed
4ef15c5536 windows 2012-12-04 00:05:40 -08:00
Stefan Thomas
7bda03745e Use custom assert in JS library.
The assert was previously provided by Buster.JS which is not available outside
of the test suite.
2012-12-03 19:45:31 -08:00
Stefan Thomas
a1ae6c1866 Set signed option to true by default and use "-" as prefix by default. 2012-12-03 19:25:48 -08:00
Stefan Thomas
33611cdede Add signed option to to_human output. 2012-12-03 17:11:01 -08:00
Arthur Britto
f7c90810fc Merge branch 'broken_emit_ledger_closed' 2012-12-03 16:46:53 -08:00
Arthur Britto
2791f43b1d Fixes for emit ledger_closed. 2012-12-03 16:46:27 -08:00
Arthur Britto
5d3684b9b9 Merge branch 'rpc_refactor' 2012-12-03 16:14:28 -08:00