summaryrefslogtreecommitdiff
path: root/msvc
Commit message (Collapse)AuthorAgeFilesLines
* Misc: Revert all references to libusb/libusb.infohjelmn@cs.unm.edu2014-01-0814-7/+8
|
* Windows: Add Visual Studio 2013 solution filesJoshua Blake2013-12-139-0/+1419
| | | | | * Also update gitignore * Closes #162
* Windows: Fix a cast warning when compiling for x64 in VSPete Batard2013-08-131-2/+2
| | | | * Also fixes and closes #129 again
* Windows: Fix VS2010 project filesPete Batard2013-08-121-1/+1
| | | | * Closes #129
* Core: Add compile time option to use native OS logging facilityToby Gray2013-08-091-0/+3
| | | | | | | | | | * 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.
* Core: Add a libusb_strerror() functionHans de Goede2013-06-1013-0/+33
| | | | | | | | | | | | | | | | | | | 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
* WinCE: Add hotplug.c to projectsToby Gray2013-05-282-0/+8
| | | | Signed-off-by: Hans de Goede <hdegoede@redhat.com>
* Add hotplugtest to msvc project filesPete Batard2013-05-1619-2/+493
|
* WinCE: Fix x86 build on Visual Studio 2005Toby Gray2013-04-114-0/+8
|
* Windows: Fix multiple warningsPete Batard2013-03-121-0/+2
| | | | | * 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"
* WinCE: Post integration cleanupPete Batard2013-03-031-1/+4
| | | | | | * Update copyrights and switch to UTF-8 everywhere * Add SleepEx() to missing.h, and move include to libusbi.h * Remove ifdef for GetSystemTimeAsFileTime()
* Misc: Simplify includes and misc. cleanupPete Batard2013-02-272-16/+11
| | | | | | | | | | | * 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
* WinCE: Add support for WinCE (Solution files)Toby Gray2013-01-236-0/+6018
|
* WinCE: Add support for WinCE (sources)Toby Gray2013-01-234-1/+218
|
* Windows: Add windows_common.h headerToby Gray2013-01-2310-25/+52
| | | | | * This file contains definition that will be shared between the Windows and Windows CE backends
* Core: Use HAVE_SYS_TYPES_H and HAVE_SIGNAL_HPete Batard2013-01-231-0/+6
| | | | * These files may not be available on all platforms (eg. WinCE)
* Windows: Add VS2012 solution filesPete Batard2013-01-0738-17/+1470
| | | | * As well as try to clean up MS's MSVC mess...
* Tests: Add libusbx stress testToby Gray2012-11-255-0/+609
| | | | | See https://github.com/tobygray/libusbx/tree/testing as well as http://libusbx.1081486.n5.nabble.com/Libusbx-devel-Crashes-tt433.html#a438
* Samples: Add fxload sample for Cypress EZ-USB chipsPete Batard2012-09-139-0/+738
| | | | | | | | * 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.
* Windows: Address MSVC Level 4 & WDK's OACR/Prefast warningsPete Batard2012-07-023-8/+17
| | | | | | | | | | | | | * 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
* Core: Add toggleable debug loggingPete Batard2012-06-041-1/+1
| | | | | * Also fix a missing space in debug log messages introduced with the previous timestamp logging update
* Windows: remove obsolete lsusb project filesPete Batard2012-04-092-379/+0
|
* Windows: add VS2010 project filesPete Batard2012-04-0910-0/+848
|
* Samples: Fix missing xusb from VS project filesPete Batard2012-03-281-0/+17
|
* Examples: add xusb samplePete Batard2012-03-287-18/+895
| | | | | * Also improvements to WDK build scripts: cd to original dir on error, use 2 cores if available
* VS2005: Bring x86_64 output directories in line with x86_32Pete Batard2012-03-283-12/+12
|
* Rename the lsusb example program to listdevsPeter Stuge2012-02-086-29/+29
| | | | | This is intended to reduce confusion with the much more significant lsusb utility which is part of the usbutils package.
* Windows MSVC6: Remove SetupAPI, AdvAPI32 and OLE32 dependenciesPete Batard2012-02-082-8/+8
| | | | | | * this ensures that libusb dependent applications only need to link with libusb on Windows * (copied from Pete's msvc08 mods to msvc6 by Michael)
* Windows: Switch MSVC6 .dsp project files from MBCS to UnicodeMichael Plante2012-02-063-12/+12
| | | | | | * 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)
* Windows: Add missing MSVC6 lsusb.dsp project fileMichael Plante2012-02-061-0/+103
| | | | Signed-off-by: Michael Plante <michael.plante@gmail.com>
* Windows: copy DLL file regardless of ddk_build.cmd dll argument casePete Batard2011-10-171-1/+1
|
* Windows: MS project files part 4 - MSVC6 project filesPete Batard2011-06-133-0/+416
| | | | Fixes #57 and #1.
* Windows: MS project files part 3 - VS2005 project filesPete Batard2011-06-134-0/+1188
| | | | References #57.
* Windows: MS project files part 2 - WDK project filesPete Batard2011-06-133-0/+161
| | | | References #57.
* Windows: MS project files part 1 - support files & preliminariesPete Batard2011-06-133-0/+572
* 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.