aboutsummaryrefslogtreecommitdiffstats
path: root/msvc/libusb_sources
Commit message (Collapse)AuthorAgeFilesLines
* Windows: Restructure DDK/MSVC project filesChris Dickens2018-03-121-3/+6
| | | | | | | | | | | For simplicity and to address some build warnings, this commit reworks the project files to eliminate duplication and consolidate common build flags and options. Also adds the stress and testlibusb projects to the DDK build script. Closes #402 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* Windows: Ditch UsbDk build configurationSameeh Jubran2018-01-081-5/+1
| | | | | | | Previous patch introduced run-time UsbDk backend activation, therefore separate build configuration is not needed anymore. Signed-off-by: Sameeh Jubran <sameeh@daynix.com>
* Windows: Enable dynamic selection between WinUSB and UsbDk backendsChris Dickens2018-01-081-3/+3
| | | | | | | | | | | | | This commit unifies the two Windows backends into a single project and enables the user to switch to the UsbDk backend, if available, using the libusb_set_option() function. All contexts will use the WinUSB backend by default for backwards compatibility. With this change, the UsbDk-specific projects are no longer required. Closes #309 Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* build: Integrate usbdk backendDmitry Fleytman2016-01-261-1/+6
| | | | | Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com> Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* windows: Rename windows_usb.h/c windows_winusb.h/cDmitry Fleytman2016-01-231-1/+1
| | | | | Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com> Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* windows: Move common definitions to a separate fileDmitry Fleytman2016-01-231-0/+1
| | | | | | | New files windows_nt_common.h/c introduced. Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com> Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
* Core: Add a libusb_strerror() functionHans de Goede2013-06-101-0/+1
| | | | | | | | | | | | | | | | | | | This patch adds the much requested libusb_strerror() function, taking into account all issues people raised wrt previous attempts. Criteria / Decisions underlying this implementation: - Must support translated messages - Must not use gettext as that does not work well in combination with Windows (when building with Visual C, or for Windows CE) - API compatible with FreeBSD and various patched libusb-s floating around - KISS: - Do not add any (other) library dependencies - Do not try to deal with message encodings (iconv), simply always return UTF-8 making encoding the problem of the application using libusb_strerror. - Defaults to English, so apps which don't want translated messages, don't need to do anything special - Defaults to English (with pure ASCII messages), so apps which don't call libusb_setlocale() don't need to worry about encoding
* Add hotplugtest to msvc project filesPete Batard2013-05-161-0/+1
|
* Windows: MS project files part 2 - WDK project filesPete Batard2011-06-131-0/+36
References #57.