Commit Graph

2444 Commits

Author SHA1 Message Date
chimp1984
097376ef07
Set onAction handlers in activate not in initialize 2021-02-18 11:42:16 -05:00
chimp1984
fdad973f4c
Add TxInputSelectionWindow for coin input selection.
It is both for BSQ and non-BSQ (BTC) used.
2021-02-18 11:42:16 -05:00
chimp1984
64e2d2b2c4
Add addButtonCheckBoxWithBox method with top param 2021-02-18 11:42:15 -05:00
chimp1984
2b9b9ef8a8
Add refreshValidation method 2021-02-18 11:42:15 -05:00
chimp1984
b2beec6bc8
Merge branch 'master' of https://github.com/bisq-network/bisq into master_upstream 2021-02-17 20:52:27 -05:00
sqrrm
a5790de99a
Merge pull request #5197 from bisq-network/hotfix/v1.5.6
Release v1.5.6
2021-02-18 00:06:43 +01:00
unofficial bisq contributor
fabfd6189c
fix #4019 Dark mode ColoredDecimalPlacesWithZerosText not working as intended 2021-02-16 20:33:50 +00:00
Christoph Atteneder
d2825c317c
Merge branch 'master' of github.com:bisq-network/bisq into hotfix/v1.5.6
# Conflicts:
#	build.gradle
#	desktop/package/linux/Dockerfile
#	desktop/package/linux/package.sh
#	desktop/package/linux/release.sh
#	desktop/package/macosx/create_app.sh
#	desktop/package/macosx/finalize.sh
#	desktop/package/macosx/insert_snapshot_version.sh
#	desktop/package/windows/package.bat
#	desktop/package/windows/release.bat
#	relay/src/main/resources/version.txt
2021-02-16 21:27:15 +01:00
Christoph Atteneder
5c614be5d7
Revert to SNAPSHOT version 2021-02-16 21:23:37 +01:00
Christoph Atteneder
1507b58e26
Bump version number for v1.5.6 2021-02-16 09:04:10 +01:00
Christoph Atteneder
31b7292d56
Merge pull request #5117 from jmacxx/add_country_amazon_account
Specify Amazon eGift Card country
2021-02-12 20:34:51 +01:00
jmacxx
f89e4187af
When country not known, prompt user to ask in Trader Chat. 2021-02-12 12:37:56 -06:00
Christoph Atteneder
de57900765
Merge pull request #5175 from jmacxx/fix_NPE_trader_chat
Fix NPE in trader chat
2021-02-12 11:35:44 +01:00
chimp1984
54ca03cdbd
Merge branch 'master' of https://github.com/bisq-network/bisq into master_upstream 2021-02-10 13:27:52 -05:00
sqrrm
e9e596e89c
Merge pull request #5172 from jmacxx/fix_npe_offer_trigger_price
Fix NPE at offer entry when trading account switched
2021-02-10 15:33:18 +01:00
sqrrm
78140ccadb
Merge pull request #5134 from chimp1984/remove-unused-BalanceWithConfirmationTextField
Remove unused BalanceWithConfirmationTextField
2021-02-10 14:40:59 +01:00
sqrrm
9ef4ea164d
Merge pull request #5120 from stejbac/speed-up-deposit-and-transactions-view-loads
Speed up deposit and transactions view loads
2021-02-10 14:39:49 +01:00
sqrrm
cedf108926
Merge pull request #5108 from jmacxx/pre_release_notifications
New Feature: Pre-release notifications
2021-02-10 14:38:53 +01:00
sqrrm
570ed0e032
Merge pull request #5148 from bisq-network/release/v1.5.5
Release/v1.5.5
2021-02-10 10:35:35 +01:00
Christoph Atteneder
5ad670fe27
Merge pull request #5178 from jmacxx/refund_agent_payout_fee
Refund agent payout to use withdrawal fee rate from settings
2021-02-09 21:03:25 +01:00
jmacxx
fc04e88a55
Refund agent payout to use withdrawal fee rate from settings 2021-02-09 10:51:01 -06:00
jmacxx
ed78d0fbb4
Fix NPE when sending trader chat
Show error message to user when trader chat message cannot be sent.
2021-02-08 17:35:56 -06:00
jmacxx
98feab3ef7
fix NPE when payment account changed on offer entry (with trigger price) 2021-02-08 10:55:25 -06:00
chimp1984
81fb615d86
Merge branch 'master' of https://github.com/bisq-network/bisq into master_upstream 2021-02-06 16:06:55 -05:00
jmacxx
d72b1a6639
Specify Amazon eGift Card country
Adds countryCode to AmazonGiftCardAccountPayload
Account upgrade done at startup => Eurozone accounts will prompt for country.
Trade buyer step 2 prompts use of the appropriate Amazon website for buying gift card.
2021-02-03 13:57:20 -06:00
Christoph Atteneder
63b39d5995
Revert to SNAPSHOT version 2021-02-02 10:34:27 +01:00
Christoph Atteneder
480ccd2c8e
Hide trigger price box if not used in confirmation step 2021-02-01 19:55:32 +01:00
Christoph Atteneder
d9f51afb8d
Hide trigger price box if not used in confirmation step 2021-02-01 19:52:31 +01:00
chimp1984
927ab2de21
Merge branch 'master' of https://github.com/bisq-network/bisq into master_upstream 2021-02-01 11:23:17 -05:00
sqrrm
1a8aba8221
Merge pull request #5145 from ripcurlx/improve-pending-trades-list
[v1.5.5] Improve pending trades list rendering
2021-02-01 13:05:03 +01:00
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