Commit Graph

218 Commits

Author SHA1 Message Date
spandi
7fb6e148ed test class added which replicates the code from testlibusb.c
new test class for MX500 mouse
allow test with only read operations and interrupt and/or bulk transfers

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@251 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-08-11 12:42:19 +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
8be58d4b78 - LibusbWin changed to LibusbJava in error messages
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@245 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-02-20 19:26:59 +00:00
spandi
11f8d93094 - print extra descriptors as hex array
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@244 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-02-19 19:22:46 +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
spandi
8c35efc3ee - directory demos added to svn:ignore
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@240 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-02-05 17:23:43 +00:00
spandi
ada3e09480 - version increased to 0.4.2
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@239 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-02-05 17:11:15 +00:00
spandi
546472fd21 - file header updated with new project page and e-mail
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@238 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-02-05 17:10:46 +00:00
spandi
be44148bd0 - deployment updated for new project page
- create jar file with versioned name

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@237 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-02-05 17:09:22 +00:00
spandi
9dfd3773ef - LibusbWin corrected to LibusbJava
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@236 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-02-05 17:05:34 +00:00
spandi
a5c1fd261a - derive USBException from IOException instead of Exception
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@235 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-02-03 18:57:20 +00:00
schlaepfer
4e713b1f3d - version increased
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@234 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-01-12 14:46:23 +00:00
schlaepfer
6f0c071943 - set LogLevel to OFF if wrong .configure file is loaded
- Debug output added

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@233 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2007-01-12 14:45:56 +00:00
schlaepfer
53fcb783b8 - support for control transfer
- USBException replaced by ArrayIndexOutOfBoundsException on array boundary check

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@232 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-12-19 08:19:30 +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
2d8c8fd9cc - AbstractDeviceInfo moved to ch.ntb.usb.testApp (no more references to test directory)
- initialization parameters for TestDevice added

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@229 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-12-12 12:49:32 +00:00
schlaepfer
416301ee83 - use pack instead of setSize to fit the windows to the correct size
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@228 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-12-07 08:06:41 +00:00
schlaepfer
07eab220ce - release resources and clear device handle
- tests for invalid parameters

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@227 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-12-06 11:20:45 +00:00
schlaepfer
f41c33f20d - missing copyright note added
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@226 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-12-04 08:05:08 +00:00
schlaepfer
db8d66c992 - TestApp ported from SWT to Swing
- Start TestApp from UsbView with selected interface
- some refactoring

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@225 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-12-04 08:01:32 +00:00
schlaepfer
3f79739681 - deploy target renamed
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@224 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-29 11:57:08 +00:00
schlaepfer
1211129d0e - demo files added
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@223 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-29 11:54:05 +00:00
schlaepfer
464fb91249 - build files seperated (build / deployment)
- support for java2html for demos

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@222 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-29 11:46:20 +00:00
schlaepfer
4a284332a6 - JScrollPane added
- expand tree 

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@221 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-29 11:44:49 +00:00
schlaepfer
af40b52734 - use getter methods to access Usb_xxx instance variables
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@220 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-29 11:44:06 +00:00
schlaepfer
9ec7c3c53c - project name updated
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@219 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-28 10:11:36 +00:00
schlaepfer
511ccb4045 - project description updated
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@218 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-28 10:09:18 +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
a64b9fef50 - uml jpg added
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@214 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-28 07:41:22 +00:00
schlaepfer
f75cd0ff5f - add main class to jar manifest
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@213 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-28 07:41:09 +00:00
schlaepfer
74647ec42f - document changes
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@212 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-28 07:40:24 +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
06b61e3820 - license section added
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@209 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-24 13:05:54 +00:00
schlaepfer
17dcf1b09d - LibusbWin renamed to LibusbJava
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@208 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-24 13:05:08 +00:00
schlaepfer
48d62f7232 - output a warning instead of an exception if the properties file .configure can not be found
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@207 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-24 13:04:03 +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
schlaepfer
5b525a7a73 - dll renamed to LibusbJava
- ant file for compiling on Windows and Linux
- use g++ instead of gcc
- version string in resource file (should be provided as command line argument, but doesn't work with windres -> bug?)

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@204 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-24 11:22:57 +00:00
schlaepfer
c7b9340bf9 - Exceptions added
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@203 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-22 12:48:39 +00:00
schlaepfer
6ab623c1fb - licese information included
- readme added

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@202 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-22 09:11:17 +00:00
schlaepfer
04e135a3b4 git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@201 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c 2006-11-21 10:09:58 +00:00
schlaepfer
06d13b297b - invalid trunk deleted
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@200 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2006-11-21 07:57:02 +00:00