Commit Graph

4531 Commits

Author SHA1 Message Date
Arthur Britto
45c54b6484 JS: Fix UInt160 comparison. 2013-04-26 08:58:59 +02:00
Arthur Britto
c0eec780de JS: Add support for parsing and encoding base58. 2013-04-26 08:58:59 +02:00
Arthur Britto
114ec072c4 JS: Add arraySet() and stringToArray() to utils.js 2013-04-26 08:58:58 +02:00
Arthur Britto
02805651cf JS: More fixes and tests for Amount.negate(). 2013-04-26 08:58:58 +02:00
Arthur Britto
1aac962116 UT: Lots of improvements and fixes.
- Parse negative amounts.
- Make Amount.negate() return a new value.
- Add Amount.equals().
- Rename Remote.trace() to set_trace().
- Fix request_ripple_balnce.
- Add more tests to send-test.js.
- Add more tests to amount-test.js.
- Add helper functions create_accounts and credit_limits to
  testutils.js.
2013-04-26 08:58:58 +02:00
Arthur Britto
0beab03255 UT: Share setUp and tearDown code. 2013-04-26 08:58:58 +02:00
Arthur Britto
b4fbf076b4 JS: Add support for more types of transactions to remote.js. 2013-04-26 08:58:58 +02:00
Arthur Britto
a5eed197d2 JS: Add Date support to offer_create. 2013-04-26 08:58:58 +02:00
Arthur Britto
a6a8b0b29a UT: Rework server.js and clean up test output. 2013-04-26 08:58:58 +02:00
Arthur Britto
d658f0b685 Cosmetic. 2013-04-26 08:58:58 +02:00
Arthur Britto
70f950cba0 JS: Add offer_cancel. 2013-04-26 08:58:58 +02:00
Arthur Britto
8c3c33e638 JS: Fix UInt160 to use config. 2013-04-26 08:58:58 +02:00
Arthur Britto
b54bac5add JS: Fix request_ripple_balance. 2013-04-26 08:58:58 +02:00
Arthur Britto
c020f14c19 JS: Lots of fix for Amount parsing. 2013-04-26 08:58:58 +02:00
Arthur Britto
09b29f7ab3 JS: Make remote.js more flexible. 2013-04-26 08:58:58 +02:00
Arthur Britto
19c887e64f JS: Make Amount more flexible. 2013-04-26 08:58:58 +02:00
Arthur Britto
234272a0bf WS: Change ledger entry to take 'ledger_closed' instead of 'ledger'. 2013-04-26 08:58:58 +02:00
Arthur Britto
a033980b66 JS: Add negate() and parse_issuer() to Amount. 2013-04-26 08:58:58 +02:00
Arthur Britto
84d0057c91 Clean up. 2013-04-26 08:58:58 +02:00
Arthur Britto
eca2631491 JS: Have remote look in the current ledger to get Sequence for new accounts. 2013-04-26 08:58:58 +02:00
Arthur Britto
0f80fa79e2 JS: Fix ripple_line_set. 2013-04-26 08:58:58 +02:00
Arthur Britto
9f9ad852a1 JS: Add support for config accounts to UInt160.parseJson(). 2013-04-26 08:58:58 +02:00
Arthur Britto
8792871e48 Improve remote.js and test starts.
- Transactions now emit 'pending' and 'lost'
- Remote now supports once().
- Tests now use 'ledger_closed' to know when to start.
- Fix quick close of remote.
2013-04-26 08:58:58 +02:00
Arthur Britto
a4481dc4d1 JS: report final transaction status. 2013-04-26 08:58:58 +02:00
Arthur Britto
8b57357231 JS: Automatically subscribe to server. 2013-04-26 08:58:58 +02:00
Arthur Britto
43b7b5f2ff JS: Automatically maintain connection. 2013-04-26 08:58:58 +02:00
Arthur Britto
7a579f3d51 JS: Improvements to transaction result handling for remote.js 2013-04-26 08:58:58 +02:00
Arthur Britto
a989f8b599 JS: Fix offer_create. 2013-04-26 08:58:58 +02:00
Arthur Britto
a23155836b JS: Fix transaction creation. 2013-04-26 08:58:58 +02:00
Arthur Britto
ad227c344b UT: Clean up and faster tearDown. 2013-04-26 08:58:58 +02:00
Arthur Britto
7b4e77dd21 Rework remote.js to be event oriented. 2013-04-26 08:58:58 +02:00
Arthur Britto
a6a0c85c7d JS: Better flag handling for send. 2013-04-26 08:58:58 +02:00
Arthur Britto
203400d6da Rename everything from newcoin to ripple except the protocol buffers. 2013-04-26 08:58:58 +02:00
Arthur Britto
15f3c5d311 UT: Adjust to new address encoding. 2013-04-26 08:58:58 +02:00
Arthur Britto
c29c903c07 JS: Adjust to new address encoding. 2013-04-26 08:58:58 +02:00
Arthur Britto
926d6bb03e JS: rename BigInteger consts to start bi_. 2013-04-26 08:58:58 +02:00
Arthur Britto
f40dd0fa83 JS: Add clone() and copyTo() to Amount and friends. 2013-04-26 08:58:58 +02:00
Arthur Britto
8b04a5d68d Revise remote.js and unit tests to use new amount.js. 2013-04-26 08:58:58 +02:00
Arthur Britto
38ee4bf3c4 JS: fixes and tests from amounts. 2013-04-26 08:58:57 +02:00
Arthur Britto
566833f702 UT: Initial check in unit tests for amount.js. 2013-04-26 08:58:57 +02:00
Arthur Britto
5425ac4bfb JS: Add BigInteger support to Amount. 2013-04-26 08:58:57 +02:00
Arthur Britto
49382cf15f Make jsbn a single node style file. 2013-04-26 08:58:57 +02:00
Arthur Britto
dffa27a6e7 JS: Split node utils into their own file. 2013-04-26 08:58:57 +02:00
Arthur Britto
9e60500e0d Add Tom Wu BSD licensing for jsbn to LICENSE. 2013-04-26 08:58:57 +02:00
Arthur Britto
63262c9be7 JS: Add ledger_accept to remote.js 2013-04-26 08:58:57 +02:00
Arthur Britto
7c802e501b UT: split out utils test. 2013-04-26 08:58:57 +02:00
Arthur Britto
1af8c6f7d4 Cosmetic. 2013-04-26 08:58:57 +02:00
Arthur Britto
f4569ad84a JS: improve hexToString and add unit tests. 2013-04-26 08:58:57 +02:00
Arthur Britto
831767b1bd JS: Initial check in of Amount. 2013-04-26 08:58:57 +02:00
Arthur Britto
3dab846af2 Add sub modules cryptojs and sjcl.
- Update dependancy docs.
2013-04-26 08:58:57 +02:00