Arthur Britto
e6e2ecd80c
JS: Export Seed.
2012-12-10 14:47:54 -08:00
Arthur Britto
9fc885e1ea
JS: Add Seed support and big fix for Amount.
2012-12-10 14:42:32 -08:00
Arthur Britto
6e6cbe19af
JS: Fix for divide.
2012-12-09 00:15:31 -08:00
Arthur Britto
ea42fbce26
JS: Amount add multiply and divide.
2012-12-09 00:10:21 -08:00
Arthur Britto
afabfc8eac
JS: Reorder Amount functions alphabetically.
2012-12-08 23:27:46 -08:00
Arthur Britto
e955bc5bb9
JS: Fixes for add and subtract.
2012-12-08 18:15:37 -08:00
Arthur Britto
f8587c36c3
JS: Add is_zero and compareTo to Amount.
2012-12-08 17:55:37 -08:00
Arthur Britto
4126d149cc
JS: Add abs, add, and subtract to Amount.
2012-12-08 17:38:08 -08:00
Arthur Britto
8801a95409
JS: Rework NaN testing for Amount.
2012-12-08 17:08:15 -08:00
Arthur Britto
dda0769c5e
JS: Add is_native() to Currency.
2012-12-07 22:24:50 -08:00
Stefan Thomas
10e53b7562
Add WebSocket Secure (SSL) support to client library.
2012-12-06 14:33:28 -08:00
Stefan Thomas
73db82ac56
Only consider a server connection with server_status == 'ok' as being 'online'.
2012-12-06 12:33:47 -08:00
Stefan Thomas
d3acc2cf75
Fix fractional part in to_human().
2012-12-06 11:25:51 -08:00
Arthur Britto
10ba85a493
JS: Add support for getting random from server subscribe.
2012-12-06 00:01:05 -08:00
Arthur Britto
5b68f2a15d
Refactor NetworkOps and RPC to specify account_index and ledgers better.
2012-12-05 18:02:41 -08:00
Arthur Britto
d6b0dca146
JS: Fix offline reporting.
2012-12-04 19:27:44 -08:00
jed
50953ff6d5
add account_offers and refactor
2012-12-04 12:12:11 -08:00
jed
4ef15c5536
windows
2012-12-04 00:05:40 -08:00
Stefan Thomas
7bda03745e
Use custom assert in JS library.
...
The assert was previously provided by Buster.JS which is not available outside
of the test suite.
2012-12-03 19:45:31 -08:00
Stefan Thomas
a1ae6c1866
Set signed option to true by default and use "-" as prefix by default.
2012-12-03 19:25:48 -08:00
Stefan Thomas
33611cdede
Add signed option to to_human output.
2012-12-03 17:11:01 -08:00
Arthur Britto
f7c90810fc
Merge branch 'broken_emit_ledger_closed'
2012-12-03 16:46:53 -08:00
Arthur Britto
2791f43b1d
Fixes for emit ledger_closed.
2012-12-03 16:46:27 -08:00
Arthur Britto
5d3684b9b9
Merge branch 'rpc_refactor'
2012-12-03 16:14:28 -08:00
Arthur Britto
f8a906ce9a
Refactor RPC wallet_accounts.
2012-12-03 16:12:32 -08:00
Arthur Britto
dc977d1bfd
Update remote.js for RPC account_tx.
2012-12-03 16:05:45 -08:00
Arthur Britto
81e69c038c
Update remote.js for RPC unl_delete.
2012-12-03 16:03:41 -08:00
Arthur Britto
1696263bcf
Update remote.js for RPC connect.
2012-12-03 16:01:03 -08:00
Arthur Britto
125a1ae5d3
Refactor RPC ripple_lines_get.
2012-12-03 15:58:48 -08:00
Arthur Britto
e8f2efab93
Refactor RPC ledger.
2012-12-03 15:40:11 -08:00
Stefan Thomas
2e49493776
Add Amount.is_negative();
2012-12-03 15:34:51 -08:00
Stefan Thomas
665bd4b1de
Added set_issuer.
2012-12-03 14:28:36 -08:00
jed
0db2d312bb
pass whole message in serverClosed
2012-12-03 13:55:35 -08:00
Arthur Britto
65175b8e54
Refactor RPC submit and submit_json.
2012-12-02 19:46:32 -08:00
Stefan Thomas
2151572b8e
As per the wiki - if no issuer set, the txn json shouldn't contain one.
...
See: http://ripple.com/wiki/index.php/API_Example_Transactions#Basic_IOU_Send
2012-12-01 23:47:27 -08:00
Arthur Britto
643d4e1c7e
JS: Hide _secret and clean up transaction submiting.
2012-11-30 16:02:59 -08:00
Arthur Britto
6a3e9a7d24
JS: default build_path is now false and is actually passed.
2012-11-30 15:50:54 -08:00
jed
9ce31adc28
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-11-29 17:32:27 -08:00
jed
07cbb4a4f4
change emit
2012-11-29 17:31:19 -08:00
Arthur Britto
007f241040
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-11-29 16:05:48 -08:00
Arthur Britto
7e8d13b554
JS: More fixes for caching.
2012-11-29 16:05:38 -08:00
jed
1f0aa8f56c
have remote.js emit all messages
2012-11-29 15:54:59 -08:00
Arthur Britto
6627d7160d
Merge commit '28268bbaed27f5df9fbce7888ebe467374efeb22'
2012-11-29 15:46:19 -08:00
Arthur Britto
28268bbaed
JS: Fix transparent caching of ledger entries.
2012-11-29 15:33:23 -08:00
Stefan Thomas
5c3ffb4fd3
If you need override a method, do it straight up, don't abuse events.
...
Events are meant for managing asynchronous activity. Don't replace normal method
calls with events.
Look at the implementation for request() in the removed code. We can see that an
event is being emitted, but the code catching it could be anywhere in this file
or a different file or even in multiple places. Code containing too many events
quickly becomes unmaintainable.
Events are the most complex tool we have, callbacks are less complex and
synchronous calls are the least complex. Use the least complex tool that can
solve your problem.
2012-11-26 18:49:29 -08:00
Stefan Thomas
f1f7ccda52
Add digit group separator formatting to to_human().
2012-11-26 18:49:29 -08:00
Stefan Thomas
e94765d0da
Fix for non-native currencies in parse_human.
2012-11-26 18:49:29 -08:00
Arthur Britto
2bffd0d699
JS: Fix local_fee for remote.js.
2012-11-26 16:28:52 -08:00
Stefan Thomas
49ac818e28
Added different logging style when running in browser.
2012-11-26 15:12:15 -08:00
Stefan Thomas
6aa468f174
I think that comment belongs here.
2012-11-26 14:31:45 -08:00