Commit Graph

7 Commits

Author SHA1 Message Date
uniederer
3c1a359c28 Added Error codes
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@307 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2013-02-03 17:02:21 +00:00
uniederer
4b7e567c32 - Added unit-test functions to the DLL interface
- Marked the unit-test functions as deprecated to prevent developers from using them in productive code
- Added unit-tests for helper functions in the DLL
- Setup the classes using "LibusbJava" so they don't warn of using a deprecated class

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@296 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-19 15:43:09 +00:00
uniederer
2730203a29 - First testing steps for LibusbJava1
- Improved Codeformatting and comments
- Changed classpath so it's easier to start applications using the newly compiled dll

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@294 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-12 15:55:43 +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
82ec219081 - The evaluation of the return value was not correct.
- There is still an issue with this kind of evaluation as there could be handles being 
  valid but have negative number. See Bug ID: 3515055 for details

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@288 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-05 11:26:31 +00:00
uniederer
332c16dac7 - Adding Roger Millischers work on the java side making libusb 1.0 run
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@284 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-04 13:58:33 +00:00
uniederer
ce4ef62456 - Corrected wrong package name in test directory
- Moved demo classes from the test tree to the application tree

git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@279 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-03-16 14:56:59 +00:00