Commit graph

2658 commits

Author SHA1 Message Date
Christoph Atteneder
68e4a72c03
Add sanity check 2021-02-01 11:26:45 +01:00
Christoph Atteneder
9c31abfd36
Reset references to enable GC 2021-02-01 11:26:33 +01:00
Christoph Atteneder
91e75641eb
Minor cleanup 2021-02-01 11:26:24 +01:00
Christoph Atteneder
dcfcf6c214
Add sanity check 2021-02-01 11:24:20 +01:00
Christoph Atteneder
ade1c86c72
Reset references to enable GC 2021-02-01 10:52:21 +01:00
Christoph Atteneder
fd3f0e6d25
Minor cleanup 2021-02-01 10:52:06 +01:00
Christoph Atteneder
18d622e680
Bottom align elements in offerbook tools box 2021-02-01 09:33:21 +01:00
Christoph Atteneder
a35f50c882
Cleanup code 2021-02-01 09:33:12 +01:00
Christoph Atteneder
429ae08414
Prevent overlapping of offer tools
Moves everything into box to prevent hiding of information in all languages
2021-02-01 09:32:53 +01:00
Christoph Atteneder
1af7e6a971
Bottom align elements in offerbook tools box 2021-02-01 09:30:37 +01:00
chimp1984
0bfa633e23
Extract onSendBsq method, return early 2021-01-31 15:15:16 -05:00
chimp1984
2de65bb686
Remove unused BalanceWithConfirmationTextField 2021-01-30 11:59:21 -05:00
Christoph Atteneder
4164c77cf9
Cleanup code 2021-01-30 16:56:38 +01:00
Christoph Atteneder
2839b7a73a
Prevent overlapping of offer tools
Moves everything into box to prevent hiding of information in all languages
2021-01-30 16:56:02 +01:00
Steven Barclay
0a38aebdf8
Fix stale trade stats list view when new entries arrive
Ensure the trade statistics list in TradesChartsView doesn't go stale
upon new stats arrivals, by moving a fillList() call from the currency
combobox onChangeConfirmed event handler to the selectedTradeStatistics
(TradesChartsViewModel field) listener.

Also avoid unnecessary use of an ObservableList as a temporary variable.
2021-01-27 20:42:52 +00:00
Steven Barclay
d0172c2424
Load (Deposit|Transactions)ListItem tooltips lazily
Add a nested class of lazy fields to (Deposit|Transactions)ListItem,
together with an associated memoised Supplier, lazyFieldsSupplier, which
initialises them all the first time any one of them is requested. Move
the txConfidenceIndicator & tooltip fields to this class, so that they
are only loaded when the given address/tx row is displayed in the
deposit/transactions views, respectively.

This prevents a minor bottleneck, as profiling indicates that creating a
tooltip for each tx confidence indicator in the list is quite expensive
and takes up around half the rendering time. (There may be 1000's of txs
or addresses in an old wallet.)
2021-01-26 23:58:13 +00:00
Steven Barclay
8a385ba91b
Add missing WalletService.removeBalanceListener to fix leak
Fix a serious memory leak in DepositListItem due to missing removal of
the BalanceListener (one per item) from BtcWalletService. This prevented
GC of the entire list of items, which was observed to leak ~500 MB in
JProfiler after repeated switching (several dozen times) between tabs.
2021-01-26 23:20:55 +00:00
Steven Barclay
db26a1fe2d
Optimise TransactionAwareTrade.isRelatedToTransaction
Attempt to remove a bottleneck during the transactions view load, as
revealed by JProfiler, by optimising the code to determine if any given
transaction and trade are related. Since both these sets will tend to
grow linearly with time, causing quadratic slowdown of TransactionsView,
try to alleviate (without completely fixing) the problem.

To do this, add a cached set of disputed trade IDs to DisputeListService
so that TransactionAwareTradable.is(Dispute|RefundPayout)Tx can be made
O(1) in the common case that the given trade is not involved in any
dispute. Also avoid calling Sha256Hash::toString by passing tx IDs as
Sha256Hash objects directly to is(Deposit|Payout)Tx, and short circuit
an expensive call BtcWalletService.getTransaction in isDelayedPayoutTx,
in the common case, by pre-checking the transaction locktime.

This also fixes a bug in isRefundPayoutTx whereby it incorrectly returns
false if there are >1 disputes in the list returned by RefundManager but
the given trade is not involved in the last one.
2021-01-26 20:10:47 +00:00
Christoph Atteneder
60fc17be2c
Update data stores for v1.5.5 2021-01-25 14:18:21 +01:00
jmacxx
d579361df7
CBM currency selection to use drop down combo
This changes CBM to use one currency per payment account.
2021-01-25 09:37:10 +01:00
jmacxx
dbdaadba89
CBM currency selection to use drop down combo
This changes CBM to use one currency per payment account.
2021-01-24 11:21:41 -06:00
Jakub Loucký
172af9bd6b
Resolve unintended ellipsis. Make popup wider. 2021-01-24 15:06:54 +01:00
Jakub Loucký
e2de30a6e4
Resolve unintended ellipsis. Make popup wider. 2021-01-23 23:46:48 +01:00
jmacxx
849f1ec45f
code cleanup 2021-01-22 20:18:23 -06:00
jmacxx
da45b8e6cf
Add pre-release software update notifications 2021-01-22 20:08:02 -06:00
chimp1984
4621076fb3
Fix null pointer 2021-01-22 19:12:41 +01:00
Christoph Atteneder
80cd4a8ad6
Merge pull request #5101 from chimp1984/fix-nullpointer-at-bsq-tx-cvs-export
Fix null pointer
2021-01-22 19:12:24 +01:00
chimp1984
0169bd334c
Fix null pointer 2021-01-22 10:02:19 -05:00
jmacxx
7300a1379a
Manual payout tool: prevent absurdly high fee payout
- trims whitespace from numeric input fields before parsing
- adds percentage display of the tx fee
- validates that the tx fee percentage is not higher than 10%
2021-01-22 11:26:48 +01:00
jmacxx
db76346cde
Manual payout tool: prevent absurdly high fee payout
- trims whitespace from numeric input fields before parsing
- adds percentage display of the tx fee
- validates that the tx fee percentage is not higher than 10%
2021-01-21 12:49:08 -06:00
Christoph Atteneder
b9e889050a
Bump version number for v1.5.5 2021-01-21 16:01:45 +01:00
Steven Barclay
8104301b52
Use new Bitcoind(Client|Daemon) & remove btcd-cli4j
Migrate RpcService over to the new block notification daemon and RPC
client based on jsonrpc4j. Drop in own DTO classes in place of the ones
defined by btcd-cli4j and rename requestBtcBlock & addNewBtcBlockHandler
to requestDtoBlock & addNewDtoBlockHandler respectively.

Also remove now redundant filtering from the logback config and update
grade-witness.
2021-01-21 10:10:28 +00:00
Christoph Atteneder
334fbdbc86
Merge pull request #5092 from jmacxx/add_cashbymail3
Add payment method "Cash by mail"
2021-01-21 10:26:59 +01:00
sqrrm
71b6b84b43
Merge pull request #5087 from ripcurlx/improve-responsiveness
Keep main navigation items left aligned
2021-01-19 11:12:03 +01:00
Christoph Atteneder
071e1e5a57
Merge pull request #5090 from jmacxx/disable_cpu_intensive_animations
Disable CPU-intensive animations
2021-01-19 10:54:12 +01:00
Christoph Atteneder
3f5c455f06
Merge pull request #5091 from jmacxx/test2
Reword "trade started" popup messages per suggestion
2021-01-19 10:27:43 +01:00
Christoph Atteneder
88c4272c63
Merge pull request #5080 from chimp1984/do-not-require-reason-for-payment
Change rule for "reason for payment" field to not use trade ID but leave it empty
2021-01-19 10:01:52 +01:00
jmacxx
2a33434a4e
codacy 2021-01-18 22:05:42 -06:00
jmacxx
3839f5961c
codacy 2021-01-18 21:58:14 -06:00
jmacxx
e11209d395
Add payment method "Cash by mail" 2021-01-18 21:15:18 -06:00
jmacxx
a90d606c01
Reword trade started popups per @m52go suggestion 2021-01-18 16:43:43 -06:00
jmacxx
daf5106e84
Disable animated progress indicator for Take offer 2021-01-18 15:07:08 -06:00
jmacxx
feb88bc769
Disable CPU-intensive animations
Comments out the code for footer bar progress indicator shown when
receiving a DAO block

Comments out the code for the spinner indicator shown when waiting
for trade to be funded

https://github.com/bisq-network/bisq/issues/4649#issuecomment-761950701

Fixes #4649
2021-01-18 13:23:18 -06:00
Christoph Atteneder
6ba04dd432
Keep main navigation items left aligned 2021-01-18 11:29:27 +01:00
sqrrm
d3971ef7dd
Merge pull request #5072 from chimp1984/persist-and-republish-mailbox-messages
Persist and republish mailbox messages
2021-01-16 20:24:13 +01:00
Christoph Atteneder
7cf741033c
Replace non-existing contact email
To make it clear that there will be no response when using it
2021-01-14 10:29:17 +01:00
Christoph Atteneder
48ef1453f9
Move primary bundle ID into environment variable 2021-01-14 10:28:34 +01:00
Christoph Atteneder
74efd53c6b
Extract re-used arguments 2021-01-14 10:28:06 +01:00
Christoph Atteneder
8b5c6d8604
Remove license confirmation prompt
As we already have a TAC popup in place on first application launch
2021-01-14 10:27:02 +01:00
Christoph Atteneder
d09a4ecda7
Add missing volume icon for dmg bundle 2021-01-14 10:25:19 +01:00