uniederer
95b3ca5b9d
- Inserted a helperfunction to convert buffers to byte arrays that provides:
...
- Consequent error handling (especially allocation errors)
- fast uniform access to the java array class
- Added some parameter checks in the changed functions to avoid dereferencing of invalid pointers
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@286 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-05 09:28:20 +00:00
uniederer
cc65dbfa74
- Binding to Libusb 1.0
...
- Adding version information to the library
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@281 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-03-30 12:08:45 +00:00
uniederer
5ef50110e7
- Changed the project name according to the new naming convention
...
- Changed package names according to the new naming convention
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@277 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-03-16 12:17:47 +00:00
spandi
fae4615b79
memory leak in JNI write functions fixed
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@270 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2008-12-20 08:44:46 +00:00
spandi
3fc955f9fd
use the address of the device structure for device selection in usb_open instead of the device number
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@266 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2008-02-10 22:36:59 +00:00
spandi
b6d82b5754
support for 64 bit os (thanks to Jonas)
...
dummy root bus added to UsbView
tests updated
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@259 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-09-03 19:09:49 +00:00
spandi
2a13255fd0
support for system specific error numbers
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@253 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-08-11 15:02:40 +00:00
spandi
391d56910f
always return 0 in usb_open instead of -1, -2 as this may be valid addresses -> set shared library specific error strings to get a precise error cause
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@250 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-08-11 12:37:58 +00:00
spandi
0f627b66c6
- support for extra descriptor added
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@243 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-02-14 21:57:42 +00:00
schlaepfer
df090671df
- bux fixed in usb_control_msg (the values read were not written to the original array)
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@230 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-12-15 15:50:08 +00:00
schlaepfer
82ae8bfe32
-haeder file include corrected
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@210 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-24 13:46:42 +00:00
schlaepfer
a6e28f655b
- directory LibusbWin renamed to LibusbJava
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@205 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-24 11:25:05 +00:00