Commit graph

7364 commits

Author SHA1 Message Date
Manfred Karrer
15c776874e
Merge branch 'master' into release-candidate-0.9.0
# Conflicts:
#	.editorconfig
2018-11-23 11:24:07 +01:00
Manfred Karrer
63cec42523
Merge pull request #1955 from cbeams/quell-help-on-error
Quell help output on option parsing error
2018-11-23 11:21:56 +01:00
Manfred Karrer
13aacc3c38
Merge pull request #1954 from cbeams/remove-core-logback-config
Remove Logback config xml from core module
2018-11-23 11:20:50 +01:00
Manfred Karrer
c0729f1f0e
Merge pull request #1953 from cbeams/remove-crypto-restrictions
Remove Utilities.removeCryptographyRestrictions
2018-11-23 10:54:36 +01:00
Chris Beams
2b883c838a
Quell help output on option parsing error
This change suppresses help output when option parsing fails, e.g. due
to an unrecognized option being specified. This is in keeping with *nix
utility idioms; for example, notice what happens when running `git
--bogus` or `ls --bogus`: they output an error message, and in some
cases a usage message, but they do not print complete help text.
This approach is especially important in the case of an application like
Bisq, where there are many options and the help text is longer than a
typical screen, making it easy to miss the error message altogether, as
it is printed at the top of the screen.

This change also prints the error message to stderr vs stdout, which is
again in keeping with *nix utility idoms.
2018-11-23 09:11:35 +01:00
Chris Beams
b864a843ce
Remove Logback config xml from core module
Usually Bisq is run from its 'shadow jar', i.e. the executable fat jar
that collapses all dependencies and resources into a single file. In that
scenario, only a single 'logback.xml' is included in the fat jar and all
is well.

However, when Bisq is run with a normal external classpath, e.g. from
within IDEA, when using `gradle :desktop:run` or when running one of the
Gradle-generated shell scripts under desktop/build/scripts, multiple
'logback.xml' files are present on the classpath, which causes Logback
to complain with messages like the following:

    Found resource [logback.xml] at [file:.../desktop/build/resources/main/logback.xml]
    Resource [logback.xml] occurs multiple times on the classpath.
    Resource [logback.xml] occurs at [file:.../desktop/build/resources/main/logback.xml]
    Resource [logback.xml] occurs at [jar:file:.../core/build/libs/core.jar!/logback.xml]

Note the last line above. The presence of 'logback.xml' in the bisq-core
jar is the 'duplicate'. This is Logback's way of warning the user that
it doesn't know which file should be considered canonical. The only way
to avoid this error message (and the many other lines that get output
along with it) is to remove the offending duplicate file.

This commit removes logback.xml from core to solve the problem described
above. The file is unnecessary in the context of running bisq-desktop,
bisq-seednode, etc, and the only context in which it would actually be
used is when running BisqHeadlessAppMain in core. With that said, the
configuration in the core logback.xml file is identical to the default
Logback configuration, so removing the file has no effect on the logging
output from BisqHeadlessAppMain, and furthermore, it appears that
BisqHeadlessAppMain is not actually in use anywhere right now (it was
added some months ago in anticipation of integrating the new HTTP API,
but this has yet to occur).

In a future change, we should probably return the core module to being a
pure library, without any main methods, and introduce a different
module, e.g. 'daemon' that contains the equivalent of
BisqHeadlessAppMain and whatever logback.xml configuration is
appropriate for it. Doing things this way will avoid the 'duplicate'
errors shown above, because desktop, seednode, etc will not depend on
core module, but will not depend on the daemon module.
2018-11-23 06:42:02 +01:00
Chris Beams
b3d20b5b5f
Remove Utilities.removeCryptographyRestrictions
This code is no longer necessary after the recent move to JDK10, and
removing it entirely avoids spending unnecessary cycles and eliminates
the confusing "Cryptography restrictions removal not needed" message in
console output.
2018-11-23 06:09:59 +01:00
Manfred Karrer
d31fb45ae6
Merge pull request #1945 from devinbileck/limit-initial-window-size
Limit initial window size on application launch
2018-11-22 07:18:14 -05:00
Manfred Karrer
4acc4c6c39
Merge pull request #1950 from ripcurlx/ui-improvements
Redesign: Improve mobile notification, take offer and add account views
2018-11-22 07:16:55 -05:00
Manfred Karrer
ed597c23bf
Merge pull request #1951 from ripcurlx/enable-new-locales
Redesign: Enable locales for Thai and Vietnamese
2018-11-22 07:16:20 -05:00
Christoph Atteneder
57763a2607
Enable locales for Thai and Vietnamese 2018-11-22 13:11:08 +01:00
Christoph Atteneder
be945c4854
Display payment account name if only one account is applicable 2018-11-22 12:30:13 +01:00
Christoph Atteneder
a7a65052c5
Increase padding for account limitation when adding a new payment account to not overlap validation errors 2018-11-22 12:29:50 +01:00
Christoph Atteneder
735ab3acda
Update payment account selection when payment accounts are changed 2018-11-22 12:28:42 +01:00
Manfred Karrer
000236bfea
Merge pull request #1947 from ripcurlx/use-monospace-for-all-columns
Redesign: Use monospace font for all columns if it is used in one column
2018-11-21 10:27:41 -05:00
Christoph Atteneder
b0621fd7c4
Use monospace font for all columns if it is used in one column 2018-11-21 16:23:41 +01:00
Manfred Karrer
f2e0eafc44
Merge pull request #1946 from ripcurlx/ui-improvements
Redesign: Addresses issues of #1857
2018-11-21 10:20:29 -05:00
Christoph Atteneder
0853f1dc6f
Position notification popups to be top-right aligned 2018-11-21 15:54:46 +01:00
Christoph Atteneder
4c95d030e8
Adapt layout of popup windows 2018-11-21 15:31:49 +01:00
Christoph Atteneder
5f78103bae
Reduce visible row count to not exceed window size 2018-11-21 12:03:44 +01:00
Christoph Atteneder
48b4c3ce9c
Increase first line padding 2018-11-21 11:49:57 +01:00
Christoph Atteneder
15b7b8593f
Hide row focus border in table views 2018-11-21 11:46:12 +01:00
Christoph Atteneder
c969228578
Hide percentage value in busy animation 2018-11-21 11:31:19 +01:00
Christoph Atteneder
7f0439a028
Adapt show wallet data window popup layout 2018-11-21 10:56:35 +01:00
Christoph Atteneder
3ee5296194
Use new brand color for volume 2018-11-21 10:48:44 +01:00
Christoph Atteneder
88955efae7
Synchronize padding between create and take offer views 2018-11-21 10:44:35 +01:00
Christoph Atteneder
d8487644bd
Remove dotted line for disabled text fields 2018-11-20 17:42:46 +01:00
Christoph Atteneder
b5f1ed7b45
Use mono space font in all columns (except button) 2018-11-20 17:31:28 +01:00
Christoph Atteneder
c6ba21e70f
Fix positioning of x and = icons 2018-11-20 17:31:04 +01:00
Christoph Atteneder
d5ea8a62ff
Improve density of payment account fields 2018-11-20 17:13:42 +01:00
Christoph Atteneder
a57d3fc8ba
Adapt TorSettingsView 2018-11-20 16:55:57 +01:00
Christoph Atteneder
5e06153e49
Fix TextArea focus line positioning 2018-11-20 16:39:24 +01:00
Christoph Atteneder
559cd67b85
Show hand cursor on all buttons 2018-11-20 16:30:34 +01:00
Christoph Atteneder
26c9c4081b
Center align address label 2018-11-20 16:28:51 +01:00
Christoph Atteneder
7612fe3571
Adapt WitdrawalView to use full window width 2018-11-20 16:22:04 +01:00
Christoph Atteneder
94805128c3
Adapt DepositView to use full window width 2018-11-20 16:03:48 +01:00
Christoph Atteneder
fbb3020506
Fix confirmation progress indicator 2018-11-20 15:38:27 +01:00
Chris Beams
cd616ffaf3
Merge pull request #1944 from henryBTR/list-bitcoinrhodium-asset
List Bitcoin Rhodium (XRC)
2018-11-20 14:29:44 +01:00
Chris Beams
956e77710e
Update core/src/test/java/bisq/core/user/PreferencesTest.java
Co-Authored-By: henryBTR <42034896+henryBTR@users.noreply.github.com>
2018-11-20 14:22:36 +01:00
Chris Beams
e7f2fd4104
Update core/src/main/java/bisq/core/locale/CurrencyUtil.java
Co-Authored-By: henryBTR <42034896+henryBTR@users.noreply.github.com>
2018-11-20 14:22:23 +01:00
Chris Beams
666a888ad1
Merge pull request #1927 from devinbileck/add-gitattributes
Add gitattributes
2018-11-20 14:20:47 +01:00
Chris Beams
9f4f5c48e1
Preserve CRLF line endings in .bat files
This is specifically for the gradlew.bat file generated by the `gradle
wrapper` command. Typically, this file should never be edited, but just
in case it is, this configuration will preserve its original CRLF line
endings.
2018-11-20 14:18:30 +01:00
Manfred Karrer
a64d695c10
Merge pull request #1942 from ripcurlx/ui-improvements
Redesign: Extend focus line and textfield/textarea padding
2018-11-19 13:45:06 -05:00
henryBTR
9fd26676af List Bitcoin Rhodium (XRC) 2018-11-19 19:32:49 +01:00
Christoph Atteneder
f122a4579f
Add padding for text area 2018-11-19 11:31:53 +01:00
Christoph Atteneder
16fe990424
Add padding to text input fields and extends focus line in create offer views 2018-11-19 11:12:30 +01:00
Devin Bileck
27c41a080c
Limit initial window size on application launch
When launching the application, prevent the initial window size from
exceeding the maximum available bounds.
2018-11-18 22:35:35 -08:00
Manfred Karrer
2564ae93f4
Remove comment 2018-11-18 12:13:34 -05:00
Manfred Karrer
671e5e30a0
Merge branch 'sqrrm-confiscation-tracking' into release-candidate-0.9.0 2018-11-18 11:08:37 -05:00
Manfred Karrer
89b092b7ea
Small fixes
- Use Array list for PB list as PB lists are unmodifyable
- Rename method to contain the unspent property
- fix row index in view
2018-11-18 11:07:30 -05:00