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
Stefan Thomas
e8d357b6cd
Added parsing function for parsing human-entered amount.
2012-11-26 14:31:40 -08:00
Stefan Thomas
1c09b9ceaa
Make local fee determination configurable.
2012-11-26 13:10:53 -08:00
Arthur Britto
67ce14e93f
JS: Add Amount.set_currency().
2012-11-26 13:06:48 -08:00
Arthur Britto
8a83251da7
JS: fixes for parsing amounts.
2012-11-26 12:59:52 -08:00
Arthur Britto
2af33273a5
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-11-24 14:08:34 -08:00
Arthur Britto
49e6ca70ba
JS & UT: add et to vim setting.
2012-11-24 14:07:41 -08:00
Stefan Thomas
9f44aff370
Renamed to_pretty to to_human in accordance with Currency.to_human.
2012-11-23 20:14:34 -08:00
Stefan Thomas
731abf0140
Added pretty printing method to Amount.
2012-11-23 19:57:37 -08:00
Stefan Thomas
c311206c4c
Remote trailing whitespace and convert tabs-spaces mixture to spaces.
2012-11-23 18:59:20 -08:00
Stefan Thomas
fb48d60818
Added local consts variable for easier access to constants.
2012-11-23 18:55:55 -08:00
Arthur Britto
6e543dfb1d
JS: Fix and another unit-test.
2012-11-23 18:50:20 -08:00
Arthur Britto
04d0e913e7
Merge branch 'master' of github.com:jedmccaleb/NewCoin
2012-11-23 18:47:56 -08:00