uniederer
ba1bfd141c
- Introduction of real Unit-Tests
...
- First steps of modularizing the code by extracting the Usb_Device part into a single, testable module.
- Integration of Unit-Tests for the LibusbJava methods
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@305 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2013-02-03 16:55:44 +00:00
uniederer
884034ada9
Missing include paths for linux build
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@304 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2013-02-02 15:05:27 +00:00
uniederer
b770ae0ad3
Switch to libusbx
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@303 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-12-04 08:27:54 +00:00
uniederer
33de3f93a5
Moved the library parts to a subdirectory
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@302 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-12-04 07:49:53 +00:00
uniederer
4e116ce35c
- Reorganization of the build script to make it more portable
...
- Removed the conditional code that decided whether to use JVM for unit tests or not
- Changed the unit test code so the test code is now imported by using the DLL function
- Introduced mechanisms to concentrate the loading of classes to specific methods instead of putting them into another function
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@301 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-11-29 17:10:26 +00:00
uniederer
cb29ce07f4
Imporved Documentary
...
made some inline-declarations consistent
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@300 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-11-07 07:15:50 +00:00
uniederer
537d6901c3
- Added unit test facilities for the dll
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@298 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-05-09 06:35:49 +00:00
uniederer
da72b7b39b
- First steps in doing unit tests of the C-part
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@295 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-19 15:37:26 +00:00
uniederer
667906d5d4
- Bugfix: LibusbJava.cpp, Ln 1288 removed the manipulation of the return value
...
- Bugfix: Guaranteeing '\0'-Termination of the retrieved C-Strings for all libusb_get_string_descriptor* calls
- Change: The whole interface makes now use of exceptions to pass errors into the java environment instead encoding them into return values.
- Change: Allowing Descriptor strings to have a length of 0
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@292 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-12 14:40:09 +00:00
uniederer
8800bb8e83
- Added Libraries to bind against
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@290 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-05 11:48:22 +00:00
uniederer
0931c64507
- Corrected include path settings, so the C/C++ Analysis of Eclipse Indigo works
...
- Added a debug build option to build.xml
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@289 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-05 11:28:33 +00:00
uniederer
e8e83ded12
- Bug#3316451 Changed the "shouldn't happen" sections. Instead of just stopping the iteration we continue to a normal end.
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@287 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-05 09:50:56 +00:00
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
dccd241266
- Version info updated
...
- removed unnecessary defines
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@283 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-04 13:51:40 +00:00
uniederer
1deb3c6291
- Corrected Include-Path for Eclipse Code Analysis
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@282 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-04 12:03:52 +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
2f5eb043e5
Typo corrected
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@280 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-03-16 15:13:40 +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
7b6e027f77
use only one version property for Windows and Unix-like systems
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@274 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2009-05-17 19:37:40 +00:00
spandi
ab05c5b054
project file updated
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@272 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2009-05-15 14:42:17 +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
ff313eafa5
version incremented
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@267 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2008-02-18 20:42:22 +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
27bedb75c4
properties definition moved to have standard values assigned
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@254 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-08-11 17:00:37 +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
47b3e28aee
third include path option added in linux target to work with jdk 6
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@249 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-04-19 20:41:40 +00:00
spandi
f0d9b57029
second include path option added in linux target
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@248 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-04-19 19:37:02 +00:00
spandi
5157352d25
build target for mac added (thanks to mike)
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@246 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-04-09 12:40:19 +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
spandi
188aaf27f8
- project url updated
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@241 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-02-14 19:15:11 +00:00
schlaepfer
f56b79d33a
- make targets removed from project
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@231 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-12-15 15:50:22 +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
28202880db
- include path fixed (changed to basedir instead of user.dir)
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@217 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-28 08:02:50 +00:00
schlaepfer
c41b4faed1
- description updated
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@216 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-28 07:44:53 +00:00
schlaepfer
d55ace1231
- header updated
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@215 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-28 07:42:51 +00:00
schlaepfer
e3cd1774f3
- compiler corrected
...
- delete so.* file
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@211 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-24 13:48:47 +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
68318424d9
- makefile deleted
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@206 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-24 11:27:10 +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