Stefan Thomas
0a13875c53
JS: More tests for Amount#equals and Amount#not_equals_why.
2013-04-26 09:00:21 +02:00
Stefan Thomas
76fd1896f8
JS: Amount - handle plain numbers as arguments to ratio_human and product_human.
2013-04-26 09:00:21 +02:00
Stefan Thomas
d394b074db
JS: Failing test. Amount#equals does not compare exponent.
2013-04-26 09:00:21 +02:00
Stefan Thomas
f7a26468d7
JS: Added class OrderBook for listening to order books.
2013-04-26 09:00:21 +02:00
Stefan Thomas
102e62cf9c
JS: Correct object reference in Account.
2013-04-26 09:00:21 +02:00
Arthur Britto
7583f667af
JS: Fix Add for Amount.
2013-04-26 09:00:21 +02:00
Arthur Britto
870e74c8f8
JS: Fix add of zero for non-XRP.
2013-04-26 09:00:21 +02:00
Arthur Britto
b759a9001a
JS: Amount set_currency() nows sets _is_native.
2013-04-26 09:00:21 +02:00
Arthur Britto
58bb750a67
JS: Add is_positive() to Amount.
2013-04-26 09:00:21 +02:00
Arthur Britto
2d62b3ce98
Move gateways option to opts instead of config.
2013-04-26 09:00:21 +02:00
Stefan Thomas
c95a0bbdbe
NPM: Add grunt dependency. Needed for new grunt installation method.
2013-04-26 09:00:21 +02:00
Stefan Thomas
6e91927742
JS: Correctly calculate affected accounts when routing account events.
2013-04-26 09:00:21 +02:00
Stefan Thomas
82f14395fb
JS: Correctly calculate affected accounts when routing account events.
2013-04-26 08:59:49 +02:00
Stefan Thomas
0213ec7d84
JS: Fix Account class realtime event processing.
2013-04-26 08:59:49 +02:00
Stefan Thomas
4b7230a8b4
JS: Account class keeps track of AccountRoot entry.
2013-04-26 08:59:49 +02:00
Stefan Thomas
7dd0ee6ed9
JS: Allow an integer factor in Amount#product_human.
2013-04-26 08:59:49 +02:00
Stefan Thomas
cd0a70565a
JS: Typo.
2013-04-26 08:59:49 +02:00
Stefan Thomas
5522897703
JS: Fix Transaction#paths.
2013-04-26 08:59:49 +02:00
Stefan Thomas
a86584652f
JS: Prevent duplicate WebSocket objects.
2013-04-26 08:59:49 +02:00
Stefan Thomas
5596427e30
JS: Add some more canonical event names as alternatives.
...
Most JS events are infinitive, not past tense, e.g. DOM events "click",
"mouseover", "load" and Node.js events "connect", "close".
2013-04-26 08:59:49 +02:00
Stefan Thomas
cfe76ef92e
JS: Handle account events through Account class.
2013-04-26 08:59:49 +02:00
newcoin
540b52081e
JS: Fixes for load.
2013-04-26 08:59:49 +02:00
Arthur Britto
2604670cc2
JS: Fixes for load and add announcing load.
2013-04-26 08:59:49 +02:00
Stefan Thomas
1930baa9ca
JS: Remove broken Seed parse_json string interpretation.
2013-04-26 08:59:49 +02:00
Stefan Thomas
d81ce99d8a
JS: Support for more types in serializedtypes.js.
2013-04-26 08:59:49 +02:00
Stefan Thomas
3fff761a1e
JS: Correctly construct submit request when using local_signing.
2013-04-26 08:59:49 +02:00
Stefan Thomas
c886ae843e
JS: Seed from passphrase support.
2013-04-26 08:59:49 +02:00
Stefan Thomas
dd43969183
JS: Crypto: Fix ECDSA DER signature encoding.
2013-04-26 08:59:49 +02:00
Stefan Thomas
75ade94f1c
JS: Override SJCL ECDSA with a standards-compliant version.
2013-04-26 08:59:49 +02:00
Stefan Thomas
194d6a293a
JS: Move transaction preparation logic to Transaction class.
2013-04-26 08:59:49 +02:00
Stefan Thomas
02319f0729
JS: Transaction: Fix multiple "final" events due to race condition.
2013-04-26 08:59:49 +02:00
Stefan Thomas
dbf116900f
JS: Re-upgrade SJCL.
2013-04-26 08:59:49 +02:00
Stefan Thomas
d110cd74fc
JS: Local signing bugfixes.
2013-04-26 08:59:49 +02:00
Arthur Britto
65e380d6f7
Add no_gateway option to UInt160's to_json().
2013-04-26 08:59:49 +02:00
Stefan Thomas
49af9f20d9
JS: Added ripple.config.load convenience function.
2013-04-26 08:59:49 +02:00
Arthur Britto
2f0d4f5461
JS: Pass opts in to_human_full().
2013-04-26 08:59:49 +02:00
Arthur Britto
70d556b4a1
JS: Add to_human_full and support for gateways to addresses.
2013-04-26 08:59:49 +02:00
Stefan Thomas
72448737d6
Add transaction signing basics.
...
Most fields aren't supported yet and there aren't any nice external APIs, but my
test script successfully serializes and signs an XRP Payment, so this seems like
a good time to make a commit.
2013-04-26 08:59:49 +02:00
Stefan Thomas
5652ffe340
Create abstract UInt class for UInt160, UInt256, ...
2013-04-26 08:59:49 +02:00
Stefan Thomas
6f34cfa369
Refactor JavaScript library.
...
- Separate classes in separate modules (files)
- Constants should be associated with a class
- Replace exports.config scheme with a config singleton
- Refactor base58 functions as a static class
2013-04-26 08:59:48 +02:00
Stefan Thomas
daada2b298
Move custom SJCL extensions from client over to Ripple library.
2013-04-26 08:59:48 +02:00
Arthur Britto
9e1741123c
JS: Make transaction subscription robust.
2013-04-26 08:59:48 +02:00
jed
2257a7c18b
still working
2013-04-26 08:59:48 +02:00
Stefan Thomas
242a19e948
Create a ripple-lib NPM package for the JavaScript code.
2013-04-26 08:59:48 +02:00
Stefan Thomas
94503dce0b
Switch to reduced binformat.
2013-04-26 08:59:48 +02:00
Stefan Thomas
3687170bb6
Add binformat and corresponding generator script.
2013-04-26 08:59:48 +02:00
Arthur Britto
ca57b3ffe1
JS: Add automatic support to subscribe to transactions.
2013-04-26 08:59:48 +02:00
Arthur Britto
ddd9407170
JS: Don't require leading zeros on float styles.
2013-04-26 08:59:48 +02:00
Arthur Britto
ba41b1b27d
UT: Update offer-test for new Transaction split.
2013-04-26 08:59:48 +02:00
Stefan Thomas
957b8eb1a8
Split Transaction class off into separate file.
2013-04-26 08:59:48 +02:00