Commit Graph

322 Commits

Author SHA1 Message Date
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
Stefan Thomas
7bb87a7225 Fix logic error in Amount.add which caused results to always be positive. 2013-04-26 08:59:48 +02:00
Stefan Thomas
e8dda4d558 Add SHA512 to SJCL. 2013-04-26 08:59:48 +02:00
Stefan Thomas
b165c21a06 Enable symmetric encryption dependencies.
These are needed by the client and will soon be needed by ripple.js for message
encryption/decryption.
2013-04-26 08:59:48 +02:00
Stefan Thomas
5fdb70f7d6 Expose SJCL so the client doesn't have to include a second copy. 2013-04-26 08:59:48 +02:00
Stefan Thomas
01e98005bc Update SJCL. 2013-04-26 08:59:48 +02:00
Stefan Thomas
88032c6717 Load WebSocket module later.
This one change allows us to load the IE polyfills after the Ripple library.
Otherwise we would have to split up our dependencies into two groups, which
would add a bunch of complexity to the build system that I'd rather avoid.
2013-04-26 08:59:48 +02:00
Stefan Thomas
88c2062c89 Give more useful console output in IE9. 2013-04-26 08:59:48 +02:00
Stefan Thomas
9ca44e7e6f Update names of states the client considers "online". 2013-04-26 08:59:48 +02:00
Stefan Thomas
81483f47e5 JS: Add account_info RPC method. 2013-04-26 08:59:48 +02:00
Arthur Britto
d76e85bf78 JS: Forward account and transaction publishes. 2013-04-26 08:59:48 +02:00
Arthur Britto
ce4c9a502a UT: Add ledger_close to testutils. 2013-04-26 08:59:48 +02:00
Stefan Thomas
89305e941c Amount.product_human and Amount.ratio_human need to canonicalize. 2013-04-26 08:59:48 +02:00
Stefan Thomas
950310bc45 Add certain database-related files to .gitignore. 2013-04-26 08:59:48 +02:00
jed
e48cef8512 update deploy 2013-04-26 08:59:48 +02:00
jed
c94bc66a1b windows 2013-04-26 08:59:48 +02:00
Arthur Britto
385cae7ca3 UT: More work on detecting standalone server exit. 2013-04-26 08:59:48 +02:00