Commit Graph

415 Commits

Author SHA1 Message Date
Arthur Britto
55378cedf7 Add Amount.from_number(). 2013-04-26 14:54:08 -07:00
Stefan Thomas
0813e312d6 New test suite name. See #1. 2013-04-26 10:05:18 +02:00
Stefan Thomas
6b75b38d0e Re-add .gitmodules. See #1. 2013-04-26 10:03:14 +02:00
Stefan Thomas
39599a2814 Remove some websocketpp leftovers. See #1. 2013-04-26 09:57:46 +02:00
Stefan Thomas
7f190358ec Add ISC open-source license. See #1. 2013-04-26 09:10:42 +02:00
Stefan Thomas
1774f5624e Update README for standalone ripple-lib. See #1. 2013-04-26 09:10:24 +02:00
Arthur Britto
5b7aa4d425 ripple-lib version 0.7.10 2013-04-26 09:01:45 +02:00
Arthur Britto
2cee64c47c JS: Fixes for compareTo(). 2013-04-26 09:01:45 +02:00
Arthur Britto
b791a6342f ripple-lib version 0.7.9 2013-04-26 09:01:45 +02:00
Arthur Britto
aea1976887 JS: Support tfSell flag. 2013-04-26 09:01:45 +02:00
Arthur Britto
3ac9e57898 JS: Major fix for comparing XRP (reported by @vinniefalco). 2013-04-26 09:01:45 +02:00
Arthur Britto
0099b987d2 ripple-lib version 0.7.8 2013-04-26 09:01:45 +02:00
Stefan Thomas
8f5f5f566f JS: Remove unsafe usage of X.prototype = new Y; 2013-04-26 09:01:45 +02:00
Arthur Britto
462cca12b6 ripple-lib version 0.7.7 2013-04-26 09:01:45 +02:00
Arthur Britto
007cd46621 JS: Fix a leak with requests. 2013-04-26 09:01:45 +02:00
Arthur Britto
957513c14c JS: Fix server requests to use self. 2013-04-26 09:01:45 +02:00
Arthur Britto
79338621f9 ripple-lib version 0.7.6 2013-04-26 09:01:45 +02:00
Arthur Britto
570cbad6e3 JS: Fix request_ripple_balance() setting issuer. 2013-04-26 09:01:45 +02:00
Arthur Britto
1ed5d6b3e5 JS: Fixes and improvements for Amount.
- Add from_quality()
- Add parse_quality()
- Improve add.
- Better peformance for copyTo().
- Fix parse_issuer(), set_issuer(), & set_currency() not to modify sub
  object.
- Correctly set currency and issuer of XRP in parse_json().
- Make not_equals_why more explicit.
2013-04-26 09:01:44 +02:00
Arthur Britto
f9b0e3384b package.json version 0.7.5 2013-04-26 09:01:44 +02:00
jatchili
44ae91c157 Made some changes to account_tx-test.js 2013-04-26 09:01:44 +02:00
jatchili
bac556dd73 Added unit test: account_tx-test.js. Also, revised request_account_tx in remote.js to use the new argument list for account_tx. 2013-04-26 09:01:44 +02:00
Vahe Hovhannisyan
ecc4b458ae JS: new account_tx 2013-04-26 09:00:23 +02:00
Arthur Britto
5756cf277c Add trust auto clear. Fixes #28 2013-04-26 09:00:23 +02:00
Arthur Britto
0e56274525 Major pathfinding fixes. 2013-04-26 09:00:23 +02:00
Arthur Britto
b438bba775 UT: Fix server stopping. 2013-04-26 09:00:23 +02:00
Stefan Thomas
457296a231 JS: Expose Meta class. 2013-04-26 09:00:23 +02:00
Arthur Britto
fa16e8dc12 JS: Fix access to Transaction. 2013-04-26 09:00:23 +02:00
Arthur Britto
311d07b824 JS: Export Transaction. 2013-04-26 09:00:23 +02:00
Arthur Britto
6d693a1b8a JS: Add ImmediateOrCancel and FillOrKill to Transaction flags. 2013-04-26 09:00:23 +02:00
Arthur Britto
af0c3bf517 UT: Verify quality setting. 2013-04-26 09:00:23 +02:00
Arthur Britto
d190aa4038 JS: Adjust request_ripple_balance results. 2013-04-26 09:00:23 +02:00
Arthur Britto
85fdbac840 UT: Revise for new request_ripple_balance. 2013-04-26 09:00:23 +02:00
Arthur Britto
b6caf2be4a JS: Enhance request_ripple_balance. 2013-04-26 09:00:23 +02:00
Arthur Britto
96510b1c09 ripple-lib version 0.7.4 2013-04-26 09:00:23 +02:00
Stefan Thomas
cc5c839cde JS: Hold requests until connection is established.
This will have to change when we add multiple server support, but it does the
trick for now.
2013-04-26 09:00:23 +02:00
Stefan Thomas
b075f2623f JS: Fix orderbook subscribe on (re)connect. 2013-04-26 09:00:23 +02:00
Stefan Thomas
83a9ae838a JS: Don't count OfferCancel transactions as trades. Hurp Durp. 2013-04-26 09:00:22 +02:00
Stefan Thomas
c727fe2382 JS: Better deal with buggy WebSocket implementations. 2013-04-26 09:00:22 +02:00
Stefan Thomas
decd020c59 JS: Factored server-related logic out into separate Server class. 2013-04-26 09:00:22 +02:00
Stefan Thomas
9a7a710334 JS: state_now -> snapshot, both_sides -> both 2013-04-26 09:00:22 +02:00
Stefan Thomas
654d91079c JS: Emit orderbook events when trades happen. 2013-04-26 09:00:22 +02:00
Stefan Thomas
8bce369c9c JS: Removed some debug code. 2013-04-26 09:00:22 +02:00
Stefan Thomas
8650b2b96a JS: Realtime orderbooks. 2013-04-26 09:00:22 +02:00
Stefan Thomas
ead47deab7 JS: Fix Currency#is_valid.
Currency.is_valid("USD") returned false, because "USD" is NaN (not a Number).

We should not use NaN as a stand-in value, since it means "not a *JavaScript*
number", whereas our meaning really is "not a BigInteger object". So we should
be using null.
2013-04-26 09:00:22 +02:00
Stefan Thomas
104dcedf3a Revert SJCL downgrade. 2013-04-26 09:00:22 +02:00
Arthur Britto
5b4ebda9ff JS: Make transaction signing not require remote. 2013-04-26 09:00:22 +02:00
Arthur Britto
00965dc520 ripple-lib version 0.7.3 2013-04-26 09:00:22 +02:00
Stefan Thomas
ae6aba2573 JS: Orderbook: Get current state when subscribing. 2013-04-26 09:00:22 +02:00
Stefan Thomas
397a1ecb61 JS: Fix missing boundary bytes in PathSet serialization. 2013-04-26 09:00:22 +02:00