Commit Graph

560 Commits

Author SHA1 Message Date
Chris Beams
c71d9a0fb8
Remove UI test runner classes and .fxml files
These classes were used during individual screen creation but are now
effectively dead test code.
2014-11-05 01:13:18 +01:00
Chris Beams
9def11118f
Refactor BitcoinModule to extend AbstractBitsquareModule 2014-11-05 01:13:17 +01:00
Chris Beams
093759a21d Revert "Work around outdated OracleJDK8 on Travis CI server"
This reverts commit 153eb5326b, removing
now that Travis CI is running 8u25 by default. See
http://blog.travis-ci.com/2014-10-30-november--build-environment-updates
2014-11-05 00:51:22 +01:00
Manfred Karrer
8731194921 Merge remote-tracking branch 'origin/master' 2014-11-05 00:28:17 +01:00
Manfred Karrer
74baf63763 Update to latest master 2014-11-05 00:28:05 +01:00
Chris Beams
dabef6be8d Merge pull request #251 from bitsquare/coverage
Support code coverage using JaCoCo and Coveralls
2014-11-03 14:26:09 +01:00
Chris Beams
43cf337fe4
Support code coverage using JaCoCo and Coveralls
The Gradle build now supports generating code coverage reports using
JaCoCo. The reports can be run with:

    ./gradle jacocoTestReport

and then view the HTML output at:

    build/reports/jacoco/test/html/index.html

The bitsquare repository has now also been registered with a (free)
account at http://coveralls.io. Our Travis CI configuration has been
updated to publish JaCoCo XML test report data to coveralls.io, which
results in the reports found at:

 - https://coveralls.io/r/bitsquare/bitsquare

For more information on the JaCoCo and Coveralls Gradle plugins, see:

 - http://www.gradle.org/docs/current/userguide/jacoco_plugin.html
 - https://github.com/kt3k/coveralls-gradle-plugin
2014-11-03 13:56:14 +01:00
Chris Beams
830932d93d
Strip trailing whitespace 2014-11-03 12:33:41 +01:00
Manfred Karrer
4e5fbb5f0b Add chaching flag to tests 2014-11-02 20:36:20 +01:00
Manfred Karrer
03f158f61d Use testnet and server seed as default, fix logs 2014-11-01 14:38:20 +01:00
Manfred Karrer
020ceb15e9 Merge remote-tracking branch 'origin/master' 2014-11-01 14:27:29 +01:00
Manfred Karrer
5ef1df11b2 Update to verison 91276e8 2014-11-01 14:27:21 +01:00
Lloyd
68a73a7279 Update README.md
Added a link to the Bitsquare website
2014-11-01 15:02:26 +08:00
Manfred Karrer
032fc21ec5 Cleanup 2014-10-31 18:59:49 +01:00
Manfred Karrer
0831052d77 Update UtilsDHT2 2014-10-31 18:43:01 +01:00
Manfred Karrer
137cf1ca82 Use new TomP2P build 3784b7a 2014-10-31 18:13:33 +01:00
Manfred Karrer
ae3a2e5bc6 Wrap PeerAddress into Peer, Make TomP2P Serializable 2014-10-31 14:09:13 +01:00
Manfred Karrer
942284480f Add Localhost, set regtest as default, remove relay as default 2014-10-31 13:44:44 +01:00
Chris Beams
835937e0e7
Restructure Guice modules 2014-10-30 20:33:34 +01:00
Chris Beams
00af59aa20
Introduce network package and Peer abstraction
Prior to this change, TomP2P's 'PeerAddress' was used heavily throughout
Bitsquare, effectively tying many parts of the system to the TomP2P API
when they otherwise had no need to be aware of TomP2P at all.

The Peer interface (and the new 'network' package to which it belongs)
is designed to provide this missing abstraction and is a step toward
isolating TomP2P functionality as completely as possible--so as to make
the latter easy to test (and easy to replace if necessary).

A very simple TomP2PPeer implementation of the Peer interface has been
provided in the new 'network.tomp2p' package. It is currently just a
wrapper for an underlying PeerAddress object, but it is reasonable to
expect that more functionality will find its way into this class over
time.
2014-10-30 16:52:46 +01:00
Chris Beams
311e15c0e5
Remove Mockito dependency for now
Mockito was causing conflicts with JUnit's use of the Hamcrest library
and its Matchers. Sort this out when Mockito is actually needed.
2014-10-30 16:50:51 +01:00
Chris Beams
52a3d58493
Merge branch 'refactor-enzo' into refactor 2014-10-30 15:55:57 +01:00
Chris Beams
a845088a6e
Customize enzo Notification to meet Bitsquare reqs
This reflects the customizations to Notification originally committed in
revision 1a6fb9, but includes *only* the Notification class instead of
bringing in all related enzo types and resources. We now rely on the
enzo jar for that.
2014-10-30 15:52:21 +01:00
Chris Beams
6435e2ab80
Reformat enzo Notification per Bitsquare rules 2014-10-30 15:52:20 +01:00
Chris Beams
47d9693a07
Re-introduce enzo Notification in original form
Copied from https://hansolo@bitbucket.org/hansolo/enzo.git at commit
eb1d32
2014-10-30 15:52:20 +01:00
Chris Beams
cbdd60631c
Introduce dependency on eu.hansolo.enzo:Enzo:0.1.5
Remove manually-copied classes and resources in favor of depending on the
latest released Enzo distribution.
2014-10-30 15:52:20 +01:00
Chris Beams
88951d71b8
Capitalize 'Bitsquare' consistently 2014-10-30 15:52:19 +01:00
Chris Beams
9620993e4d
Remove TomP2P example NAT classes 2014-10-30 13:09:41 +01:00
Chris Beams
8ca7b72e48
Introduce NoopMessageFacade 2014-10-30 13:03:57 +01:00
Chris Beams
e3b21fecff
Rename MessageFacade => TomP2PMessageFacade
- Rename MessageFacade => TomP2PMessageFacade
 - Reintroduce MessageFacade as an interface
2014-10-30 12:43:58 +01:00
Manfred Karrer
f91b0ba349 Remove awaitUninterruptibly() in listener (can cause a deadlock) 2014-10-29 00:31:16 +01:00
Manfred Karrer
74fa325aee Use https 2014-10-28 15:59:44 +01:00
Manfred Karrer
8cb8428982 Merge remote-tracking branch 'origin/master' 2014-10-28 15:58:46 +01:00
Manfred Karrer
57a466da85 Update links 2014-10-28 15:58:38 +01:00
Chris Beams
1323e77608
Support generation of native installer binaries
Use `./gradlew run` to build and run Bitsquare directly.

Use `./gradlew shadowJar` to generate a portable, executable jar.

Use `./gradlew packageNative` to generate an installer binary specific
to the platform you are running on.

In the case of Windows, it is necessary to copy the two .dll files in
the `package/` directory to the directory where Bitsquare.exe is
ultimately installed.

Resolves #243
2014-10-28 15:44:21 +01:00
Manfred Karrer
0687fc2f9b Add null checks 2014-10-27 15:58:53 +01:00
Manfred Karrer
9c8b76d2b6 Update to latest TomP2P master 2014-10-27 15:09:52 +01:00
Manfred Karrer
2a78e194bd Update to a new address 2014-10-27 15:05:43 +01:00
Manfred Karrer
670a19037e Reset offerbook filter values at screen change (#235) 2014-10-27 02:22:41 +01:00
Manfred Karrer
27b47830b2 Reset offerbook filter values at screen change (#235) 2014-10-27 02:07:41 +01:00
Manfred Karrer
35dcb862d9 Reset offerbook filter values at screen change 2014-10-27 02:01:54 +01:00
Manfred Karrer
8160397361 Shutdown correctly 2014-10-27 02:01:01 +01:00
Manfred Karrer
008ae0ef52 Fix bug with open trades row selection (#238) 2014-10-27 01:32:00 +01:00
Manfred Karrer
52da080f22 Add simple Seednode for testing 2014-10-26 16:32:53 +01:00
Manfred Karrer
39509b91c8 Fix withdrawal bug 2014-10-25 20:17:57 +02:00
Manfred Karrer
7c8a8dffcd Fix problem with relay and portforwarding 2014-10-25 19:22:02 +02:00
Manfred Karrer
6a51dd154a Deactivated port forwarding and isSuccess check because of a bug in TomP2P 2014-10-25 02:57:37 +02:00
Manfred Karrer
de2563d4bf Deactivate digitalocean2.bitsquare.io 2014-10-25 02:15:04 +02:00
Manfred Karrer
72763d0e5a Rename orders to portfolio, orderbook to offerbook 2014-10-25 01:53:04 +02:00
Manfred Karrer
637f954d25 Deactivate not implemented elements 2014-10-25 01:51:20 +02:00