Commit Graph

714 Commits

Author SHA1 Message Date
Klaus Reimer 4ca2b16ef9 Correct repo base url 2014-03-19 21:16:03 +01:00
Klaus Reimer a4b017cee8 [maven-release-plugin] prepare for next development iteration 2014-03-19 21:03:23 +01:00
Klaus Reimer 122ab7b5ef [maven-release-plugin] prepare release usb4java-1.2.0 2014-03-19 21:03:19 +01:00
Klaus Reimer 5ce8ec34fb Switch to release dependency versions 2014-03-19 21:02:28 +01:00
Klaus Reimer eff738df98 Fix link 2014-03-18 22:24:06 +01:00
Klaus Reimer 6a5da7a004 Improve documentation 2014-03-18 22:21:32 +01:00
Klaus Reimer c84c5fad92 Improve documentation 2014-03-16 20:09:18 +01:00
Klaus Reimer 04896fcd25 Correct modifier order 2014-03-16 19:53:17 +01:00
Klaus Reimer 7c63c7e787 Fix hotplug enumeration event. 2014-03-16 19:45:44 +01:00
Klaus Reimer a276f7c92a Add unit test for hotplug enumaration 2014-03-16 19:14:43 +01:00
Klaus Reimer f346dfe096 Update libusb copyrights 2014-03-16 12:41:21 +01:00
Klaus Reimer 493ad24e6f Replace www.libusb.org with libusb.info 2014-03-16 12:37:54 +01:00
Klaus Reimer 93c34a8965 Add unit test for LoaderException class 2014-03-15 16:36:17 +01:00
Klaus Reimer 55fca04843 Add unit test for LibUsbException class. 2014-03-15 16:33:56 +01:00
Klaus Reimer d4c250c15d Correct class names 2014-03-15 16:30:39 +01:00
Klaus Reimer 1be9a336aa Improved some documentation 2014-03-08 10:39:35 +01:00
Klaus Reimer b6198180ab Add LibUsbException for easier error code handling 2014-03-02 15:50:16 +01:00
Klaus Reimer b315157644 Fix documentation 2014-03-02 15:49:50 +01:00
Klaus Reimer 918ac83548 Add udevadm trigger hint to FAQ 2014-03-02 13:47:07 +01:00
Klaus Reimer 7cd2d908b0 Re-add assembly and update some site files. 2014-03-02 13:16:18 +01:00
Klaus Reimer 15c9170e8e Fix some wrong format strings 2014-03-02 13:15:57 +01:00
Klaus Reimer ce7437ece0 Added linux-arm dependency 2014-02-26 10:19:16 +01:00
Klaus Reimer 4d22396227 Directly depend on native artifacts. 2014-02-24 08:25:54 +01:00
Klaus Reimer 649be57dc2 Mark as loaded BEFORE loading to prevent recursive loading.
When load method is called by usb4java-javax then the loading of the
JNI library (Triggered by the load method) triggers the load method
again. This results in a crash. Setting the loaded flag before loading
the JNI lib prevents this.
2014-02-23 17:23:25 +01:00
Klaus Reimer 03efe3683a Fix equals test 2014-02-23 16:08:14 +01:00
Klaus Reimer 2baeb360f8 Simplify hashCode and equals.
Checking for pointer is enough.
2014-02-23 16:02:55 +01:00
Klaus Reimer 51254e97c9 Fix hashCode test 2014-02-23 15:53:30 +01:00
Klaus Reimer 11d359c39e Add unit test for DeviceList class 2014-02-23 15:52:38 +01:00
Klaus Reimer ba249ab3e0 Add test for getPointer() 2014-02-23 15:42:22 +01:00
Klaus Reimer 725388d8fc Add more tests for Version class and removed Comparable stuff.
There can be only one Version state (The current libusb version) so
there is never any other version to compare it to.
2014-02-23 15:35:51 +01:00
Klaus Reimer a0d8b16c0a Add unit test for BufferUtils 2014-02-23 15:22:05 +01:00
Klaus Reimer e4432eb85f Add unit test for DeviceListIterator and fix next() method. 2014-02-23 14:58:37 +01:00
Klaus Reimer 51390bf2d0 Move descriptor utils test to main package 2014-02-23 14:38:40 +01:00
Klaus Reimer 3b7d6fcdf6 Move utility classes into main package. 2014-02-23 14:31:45 +01:00
Klaus Reimer 4d40f1d404 Convert contant to upper-case 2014-02-23 14:27:42 +01:00
Klaus Reimer e21e5e1e5d Fix some more style violations reported by Sonar 2014-02-23 14:20:58 +01:00
Klaus Reimer e843d73b60 Fix some style guide violations 2014-02-23 14:11:02 +01:00
Klaus Reimer 1cb11d479b Fix javadoc syntax 2014-02-23 14:02:14 +01:00
Klaus Reimer f40723a54b Add missing author tags. 2014-02-23 14:01:16 +01:00
Klaus Reimer 4c6b92af3c Add private constructor to prevent instantiation 2014-02-23 13:59:53 +01:00
Klaus Reimer 58510ee648 Add getter for buffer 2014-02-23 13:58:47 +01:00
Klaus Reimer 5a0979590e Fix bitwise OR of signed byte values 2014-02-23 13:20:32 +01:00
Klaus Reimer a81ce1e517 Make unit test platform-independent 2014-02-23 13:14:07 +01:00
Klaus Reimer 8eec66545d Fix conditional execution of unit tests 2014-02-23 13:11:58 +01:00
Klaus Reimer b05594758b Use meta dependency 2014-02-22 11:11:30 +01:00
Klaus Reimer 6ff403f709 Move javax.usb and native stuff into their own packages.
The libusb wrapper of usb4java is now considered to be the central
main part of usb4java and the usb4java project itself only contains
the Java code of this library. The javax.usb stuff is moved into
the usb4java-javax project and the native JNI code is moved into the
libusb4java project. Binary files are no longer present as Java
resources. Instead they are (hopefully) automatically generated and
published as separate JAR files (And Maven Dependencies) so they can
be easily and selectively included into a project.
2014-02-16 16:10:51 +01:00
Klaus Reimer a162e33044 Add method documentation 2014-02-16 13:23:59 +01:00
Klaus Reimer d1e34aeae4 Remove now obsolete javax.usb copy constructors. 2014-02-16 13:00:06 +01:00
Luca Longinotti d810ce467e Update commons-lang dependency to 3.2.1.
Create more split JARs: libusb (org.libusb4java + C libs), libusb-no-natives (only org.libusb4java),
libusb-natives (only C libs), usb4java (only org.usb4java) and the main JAR with everything.
The content is correct for all of them, but the dependencies etc. listed in META-INF/ need some work as they
are simply equal for everybody.
2014-02-15 23:25:38 +01:00
Luca Longinotti a5f5eb62ee Move LibUsbException to org.usb4java, as it's never used in org.libusb4java, and only makes sense as a
convenience outside of it.
Nothing in org.libusb4java now depends on javax.usb, the only remaining dependency is Apache's commons-lang.
2014-02-15 21:56:31 +01:00