Commit Graph

59 Commits

Author SHA1 Message Date
Arthur Britto
bd0dc68a22 JS: More fixes and tests for Amount.negate(). 2012-10-21 21:45:04 -07:00
Arthur Britto
fff39797c0 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.
2012-10-21 20:33:11 -07:00
Arthur Britto
59a61d7b35 JS: Add support for more types of transactions to remote.js. 2012-10-21 14:44:35 -07:00
Arthur Britto
416f62a3f5 JS: Add Date support to offer_create. 2012-10-20 19:11:30 -07:00
Arthur Britto
27ea314f8d UT: Rework server.js and clean up test output. 2012-10-20 17:04:33 -07:00
Arthur Britto
49f1b42d26 Cosmetic. 2012-10-19 23:10:49 -07:00
Arthur Britto
083e78e124 JS: Add offer_cancel. 2012-10-19 21:16:09 -07:00
Arthur Britto
5d9fdae5cf JS: Fix UInt160 to use config. 2012-10-19 21:15:22 -07:00
Arthur Britto
fd1122c673 JS: Fix request_ripple_balance. 2012-10-18 20:00:36 -07:00
Arthur Britto
81cbbc2642 JS: Lots of fix for Amount parsing. 2012-10-18 20:00:02 -07:00
Arthur Britto
52d45d0b04 JS: Make remote.js more flexible. 2012-10-18 18:51:07 -07:00
Arthur Britto
43f7b2654d JS: Make Amount more flexible. 2012-10-18 18:50:35 -07:00
Arthur Britto
32b70e638e WS: Change ledger entry to take 'ledger_closed' instead of 'ledger'. 2012-10-18 12:48:49 -07:00
Arthur Britto
86303472bc JS: Add negate() and parse_issuer() to Amount. 2012-10-18 12:23:17 -07:00
Arthur Britto
ceb2aac937 Clean up. 2012-10-18 00:35:50 -07:00
Arthur Britto
04f369886a JS: Have remote look in the current ledger to get Sequence for new accounts. 2012-10-18 00:12:48 -07:00
Arthur Britto
660c7e3b2b JS: Fix ripple_line_set. 2012-10-17 23:27:57 -07:00
Arthur Britto
4083ca2a8a JS: Add support for config accounts to UInt160.parseJson(). 2012-10-17 23:27:19 -07:00
Arthur Britto
bacfcff48c 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.
2012-10-17 18:15:04 -07:00
Arthur Britto
2f4867caec JS: report final transaction status. 2012-10-17 15:41:18 -07:00
Arthur Britto
b23f596e3f JS: Automatically subscribe to server. 2012-10-17 15:37:23 -07:00
Arthur Britto
edf47a7a07 JS: Automatically maintain connection. 2012-10-17 13:26:31 -07:00
Arthur Britto
5558505288 JS: Improvements to transaction result handling for remote.js 2012-10-16 15:49:42 -07:00
Arthur Britto
d98e415107 JS: Fix offer_create. 2012-10-14 02:50:34 -07:00
Arthur Britto
d5c9cc78c7 JS: Fix transaction creation. 2012-10-14 02:23:52 -07:00
Arthur Britto
5fc3d98ef5 UT: Clean up and faster tearDown. 2012-10-14 01:33:00 -07:00
Arthur Britto
1c2d16f1ad Rework remote.js to be event oriented. 2012-10-13 19:38:19 -07:00
Arthur Britto
41cbcda510 JS: Better flag handling for send. 2012-10-12 21:14:32 -07:00
Arthur Britto
90543550d2 JS: Adjust to new address encoding. 2012-10-12 15:10:09 -07:00
Arthur Britto
d7cd404c12 JS: rename BigInteger consts to start bi_. 2012-10-12 14:24:22 -07:00
Arthur Britto
c4eaeb6340 JS: Add clone() and copyTo() to Amount and friends. 2012-10-12 12:56:51 -07:00
Arthur Britto
bb83bcf0d1 Revise remote.js and unit tests to use new amount.js. 2012-10-11 21:41:07 -07:00
Arthur Britto
f419dcc77b JS: fixes and tests from amounts. 2012-10-11 20:08:08 -07:00
Arthur Britto
8ebceaa53e UT: Initial check in unit tests for amount.js. 2012-10-11 16:25:01 -07:00
Arthur Britto
773f9263dc JS: Add BigInteger support to Amount. 2012-10-11 16:22:07 -07:00
Arthur Britto
37da7aa8bc Make jsbn a single node style file. 2012-10-11 16:21:09 -07:00
Arthur Britto
0509d5af37 JS: Split node utils into their own file. 2012-10-11 16:19:24 -07:00
Arthur Britto
84aec67507 JS: Add ledger_accept to remote.js 2012-10-10 00:38:29 -07:00
Arthur Britto
b7c2eb65f2 Cosmetic. 2012-10-08 17:27:00 -07:00
Arthur Britto
2cc4bd5fed JS: improve hexToString and add unit tests. 2012-10-08 16:58:47 -07:00
Arthur Britto
9ea500a2ab JS: Initial check in of Amount. 2012-10-08 16:15:25 -07:00
Arthur Britto
1c25cb7fe0 Add sub modules cryptojs and sjcl.
- Update dependancy docs.
2012-10-08 13:23:16 -07:00
Arthur Britto
5d62d6f4f9 Initial check in of jsbn's BigInteger. 2012-10-08 13:07:21 -07:00
Arthur Britto
4430d0231a JS: Add draft of ripple_line_set. 2012-10-08 12:58:21 -07:00
Arthur Britto
78bc3f54ad JS: Add support for sumbit transactions and send_xns transaction. 2012-10-07 00:19:04 -07:00
Arthur Britto
5a38fc1371 JS: Fix self and lots of other stuff for remote.js 2012-10-05 18:05:53 -07:00
Arthur Britto
433989a5ab JS: better secret and seq handling. 2012-10-05 16:06:36 -07:00
Andrey Fedorov
0076130be1 a few formatting changes 2012-10-04 21:17:40 -04:00
Andrey Fedorov
0e3b4cc1a8 a few formatting changes 2012-10-04 21:04:19 -04:00
Arthur Britto
534b5980a1 JS: Rework remote framework. 2012-10-04 17:50:46 -07:00