ccc175dfc2
Disable build, keep using prebuilt libraries and include them in the artifacts
2016-08-10 13:22:07 +01:00
6bff4bee90
Reorganise prebuilt libraries
2016-08-10 13:21:21 +01:00
e7c1cec32b
Restore missing file
2016-08-10 13:20:29 +01:00
070037110c
Delete test code
2016-07-14 08:46:59 +01:00
e1f6ffc410
Add gradle wrapper
2016-07-14 08:45:50 +01:00
e7bf70ef9f
Replace tabs with spaces
2016-07-10 22:42:25 +01:00
a86b4d35ed
Migrate from LGPL to GPLv3 license
2015-03-16 20:41:30 +00:00
f80b7f67e6
Move prebuilt shared libraries from LibusbJava to jlibusb in build directory
2014-11-30 09:30:43 +00:00
d35f1df2aa
Revert to old java source from 519dac0002 (svn r273)
2014-11-30 09:29:01 +00:00
5774872a71
Merge branch 'Branch_519dac0002f6562f0092c9c2f24921431e146168'
2014-11-30 09:23:17 +00:00
c8f404ac38
Move required java source files to appropriate directory
2014-11-30 09:21:10 +00:00
8975760ad4
Towards building jlibusb with gradle
...
* rename package ch.ntb.inf.libusbJava to ch.ntb.usb/Device.java
* separate main, app, test and demo source files
* reorganise static library files
* add prebuilt libraries for testing purposes
* move auxiliary files to appropriate directories
* remove obsolete files
2014-11-29 22:34:06 +00:00
f847c1a597
Roughly move files to fit gradle project
2014-11-29 20:01:56 +00:00
1e8e887d60
Add gradle wrapper
2014-11-29 20:01:23 +00:00
uniederer
29a6694698
- Included string.h to make memset visible.
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@310 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2013-02-10 10:30:00 +00:00
uniederer
92a7bc7178
- Removed library's JNI test
...
- Introduced code to explicitly unref devices
- Corrected code formatting
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@309 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2013-02-03 17:08:07 +00:00
uniederer
620fb612b7
- Switched UsbTreeModel to LibusbJava1
...
- Corrected code formatting
- Introduced explicit setup and teardown functions
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@308 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2013-02-03 17:04:22 +00:00
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
11d13e4cb4
- Corrected Include path for linux build
...
- Added version information
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@306 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2013-02-03 16:59:17 +00:00
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
8744f6acb7
Ignore the bin-folder
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@297 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-19 15:44:23 +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
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
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
6b02bd0494
Added Urs Graf's overview image
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@293 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-12 14:46:04 +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
0aae67e050
- Added the depricated annotation for the legacy-libusb class
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@291 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-11 05:27:12 +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
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
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
d9284beee7
- Removed obsolete folder
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@285 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-04-04 14:14:17 +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
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
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
uniederer
957a4e193a
- Changed package names of the test modules according to the new naming convention
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@278 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2012-03-16 13:09:13 +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
8b297fd01e
version increased due to modifications in rev 273
...
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@275 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2009-05-17 19:45:22 +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
519dac0002
busName added to be able to distinguish multiple instances of the same device on Linux
...
getRegisteredDevice fixed
documentation updates and other minor improvements
git-svn-id: https://svn.code.sf.net/p/libusbjava/code/trunk@273 94ad28fe-ef68-46b1-9651-e7ae4fcf1c4c
2009-05-15 19:04:59 +00:00