| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* Also update gitignore
* Closes #162
|
|
|
|
| |
* Also fixes and closes #129 again
|
|
|
|
| |
* Closes #129
|
|
|
|
|
|
|
|
|
|
| |
* This change makes it easier to debug issues in UI applications
which don't necessarily have a console connected to stderr.
* Outputting to the debugger shouldn't occur in normal situations so
this change has to be explicitly enabled by a build-time config flag.
* Uses OutputDebugString() on Windows platforms or the syslog facility
on other OSes, if available.
* Also align the report of configure defaults to autotool's.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
| |
|
| |
|
|
|
|
|
| |
* Most of these warnings are false positive from VS2012's "Run Code Analysis"
* Also closes #98: "windows_usb.c:376:30: 'dev_info' may be used uninitialized"
|
|
|
|
|
|
| |
* Update copyrights and switch to UTF-8 everywhere
* Add SleepEx() to missing.h, and move include to libusbi.h
* Remove ifdef for GetSystemTimeAsFileTime()
|
|
|
|
|
|
|
|
|
|
|
| |
* fxload sample provenance
* No need for <sys/types.h> in samples as already in libusb.h
* Don't bother about sscanf_s in xusb
* Use HAVE_### and rely on config.h where possible
* Formal inclusion of <winsock.h> in libusb.h for WinCE and WDK
* Cleanup of Windows' config.h
* Avoid ENAMETOOLONG and ENOTEMPTY conflict between errno.h and winsock.h for WinCE
* Additional newlines & braces cleanup
|
| |
|
| |
|
|
|
|
|
| |
* This file contains definition that will be shared between the
Windows and Windows CE backends
|
|
|
|
| |
* These files may not be available on all platforms (eg. WinCE)
|
|
|
|
| |
* As well as try to clean up MS's MSVC mess...
|
|
|
|
|
| |
See https://github.com/tobygray/libusbx/tree/testing as well
as http://libusbx.1081486.n5.nabble.com/Libusbx-devel-Crashes-tt433.html#a438
|
|
|
|
|
|
|
|
| |
* This program was modified from the original fxload at:
http://linux-hotplug.sourceforge.net to add libusbx
as well as non HEX images support.
* Only supports RAM upload for now, with EEPROM and FX3
support to be added at a later stage.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* The library is now compiled with warning level 4 for VS2010
* Move silencing of 4200, 28125 and 28719 to msvc/config.h
* Add fixes in core to silence unused variables warnings
* Ensure that spinlock is always set interlocked in poll_windows
* Add missing check for calloc return value
* Fix data assignation in conditionals warnings
* Fix an OACR/Prefast error related to the use of strncpy in xusb.c
* Also fixes whitespace inconsistencies in core
* Issues reported by Orin Eman and Xiaofan Chen. See:
https://sourceforge.net/mailarchive/message.php?msg_id=29412656
|
|
|
|
|
| |
* Also fix a missing space in debug log messages introduced
with the previous timestamp logging update
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* Also improvements to WDK build scripts:
cd to original dir on error, use 2 cores if available
|
| |
|
|
|
|
|
| |
This is intended to reduce confusion with the much more significant
lsusb utility which is part of the usbutils package.
|
|
|
|
|
|
| |
* this ensures that libusb dependent applications only need
to link with libusb on Windows
* (copied from Pete's msvc08 mods to msvc6 by Michael)
|
|
|
|
|
|
| |
* MBCS (which is different from UTF-8) only makes sense if
supporting Windows 95/98, which we don't
* (try to match Pete's vcproj changes in MSVC6)
|
|
|
|
| |
Signed-off-by: Michael Plante <michael.plante@gmail.com>
|
| |
|
|
|
|
| |
Fixes #57 and #1.
|
|
|
|
| |
References #57.
|
|
|
|
| |
References #57.
|
|
* adds the MSVC support files used by MSVC6, VS2005 and WDK
* also adds missing defines required by MS compilers in libusb.h
* also anticipatory sets .gitattributes for CRLF handling
* also adds manually maintained .def file for import lib generation
References #57.
|