JoelKatz
61e5b549ed
Don't set offsets to 'undefined' anymore.
2013-04-26 08:59:46 +02:00
Arthur Britto
c2286dc059
JS: Fix non-XRP add and canonicalize.
2013-04-26 08:59:46 +02:00
Arthur Britto
ea02e7e2d3
JS: Better but still broken divide and friends again.
2013-04-26 08:59:46 +02:00
Arthur Britto
44ff7d2609
JS: Better but still broken divide and friends.
2013-04-26 08:59:46 +02:00
Stefan Thomas
eefaea7a74
Added some test cases for Amount.add().
2013-04-26 08:59:46 +02:00
Stefan Thomas
5347d19503
Fix is_negative for new unified neg. number handling.
2013-04-26 08:59:46 +02:00
Stefan Thomas
d8076d5f9b
Add support for mixed operands to divide().
2013-04-26 08:59:46 +02:00
Vahe Hovhannisyan
2d824a8bd4
expose Seed
2013-04-26 08:59:46 +02:00
Arthur Britto
03039dc399
JS: Export Seed.
2013-04-26 08:59:46 +02:00
Arthur Britto
128a533aed
JS: Add Seed support and big fix for Amount.
2013-04-26 08:59:46 +02:00
Arthur Britto
7813c4da4f
JS: Fix for divide.
2013-04-26 08:59:46 +02:00
Arthur Britto
728a8c02db
JS: Amount add multiply and divide.
2013-04-26 08:59:46 +02:00
Arthur Britto
6a0c173168
JS: Reorder Amount functions alphabetically.
2013-04-26 08:59:46 +02:00
Arthur Britto
9d18fadf8d
JS: Fixes for add and subtract.
2013-04-26 08:59:46 +02:00
Arthur Britto
1d65d5434d
JS: Add is_zero and compareTo to Amount.
2013-04-26 08:59:46 +02:00
Arthur Britto
d49d83d69d
JS: Add abs, add, and subtract to Amount.
2013-04-26 08:59:46 +02:00
Arthur Britto
dbc80c043b
JS: Rework NaN testing for Amount.
2013-04-26 08:59:46 +02:00
Arthur Britto
dfcd04b320
JS: Add is_native() to Currency.
2013-04-26 08:59:46 +02:00
Stefan Thomas
d24271a740
Add WebSocket Secure (SSL) support to client library.
2013-04-26 08:59:46 +02:00
Stefan Thomas
a50661752c
Only consider a server connection with server_status == 'ok' as being 'online'.
2013-04-26 08:59:46 +02:00
Stefan Thomas
b60bfc91f2
Fix fractional part in to_human().
2013-04-26 08:59:46 +02:00
Arthur Britto
06dd0ce26c
JS: Add support for getting random from server subscribe.
2013-04-26 08:59:46 +02:00
Arthur Britto
e6c1cf98fd
Refactor NetworkOps and RPC to specify account_index and ledgers better.
2013-04-26 08:59:46 +02:00
Arthur Britto
70c7dfc3b2
JS: Fix offline reporting.
2013-04-26 08:59:46 +02:00
jed
029c0a3ee9
add account_offers and refactor
2013-04-26 08:59:46 +02:00
jed
5166924f8c
windows
2013-04-26 08:59:46 +02:00
Stefan Thomas
eb822483f4
Use custom assert in JS library.
...
The assert was previously provided by Buster.JS which is not available outside
of the test suite.
2013-04-26 08:59:45 +02:00
Stefan Thomas
627689731d
Set signed option to true by default and use "-" as prefix by default.
2013-04-26 08:59:45 +02:00
Stefan Thomas
c9255f0f56
Add signed option to to_human output.
2013-04-26 08:59:45 +02:00
Arthur Britto
216c2fb9fa
Fixes for emit ledger_closed.
2013-04-26 08:59:45 +02:00
Arthur Britto
5757b10da8
Refactor RPC wallet_accounts.
2013-04-26 08:59:45 +02:00
Arthur Britto
90b5dbd41a
Update remote.js for RPC account_tx.
2013-04-26 08:59:45 +02:00
Arthur Britto
1fd32a19c3
Update remote.js for RPC unl_delete.
2013-04-26 08:59:45 +02:00
Arthur Britto
9c786b67e1
Update remote.js for RPC connect.
2013-04-26 08:59:45 +02:00
Arthur Britto
4e0d1155de
Refactor RPC ripple_lines_get.
2013-04-26 08:59:45 +02:00
Arthur Britto
47129f27b0
Refactor RPC ledger.
2013-04-26 08:59:45 +02:00
Stefan Thomas
265fb2994c
Add Amount.is_negative();
2013-04-26 08:59:45 +02:00
Stefan Thomas
ce5f521bca
Added set_issuer.
2013-04-26 08:59:45 +02:00
jed
d6721af5b5
pass whole message in serverClosed
2013-04-26 08:59:45 +02:00
Arthur Britto
7a66446a9a
Refactor RPC submit and submit_json.
2013-04-26 08:59:45 +02:00
Stefan Thomas
736db4d887
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
2013-04-26 08:59:45 +02:00
Arthur Britto
04fbe52ef5
JS: Hide _secret and clean up transaction submiting.
2013-04-26 08:59:45 +02:00
Arthur Britto
704f03e4cd
JS: default build_path is now false and is actually passed.
2013-04-26 08:59:45 +02:00
jed
40a4ae1e8d
change emit
2013-04-26 08:59:45 +02:00
Arthur Britto
1771207f7c
JS: More fixes for caching.
2013-04-26 08:59:45 +02:00
jed
f9b04ca5d9
have remote.js emit all messages
2013-04-26 08:59:45 +02:00
Arthur Britto
0d52f87c8b
JS: Fix transparent caching of ledger entries.
2013-04-26 08:59:45 +02:00
Stefan Thomas
8cb65c7d28
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.
2013-04-26 08:59:45 +02:00
Stefan Thomas
b4169c88bc
Add digit group separator formatting to to_human().
2013-04-26 08:59:45 +02:00
Stefan Thomas
24a4bee1ee
Fix for non-native currencies in parse_human.
2013-04-26 08:59:45 +02:00