summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* removed unneeded versioning/options from autotool scriptsr198Pete Batard2010-03-061-8/+0
|
* added .rc info to DLLs produced with MinGW/cygwinr197Pete Batard2010-03-051-0/+2
|
* revert debug changes from previous commitr196Pete Batard2010-03-051-3/+3
|
* remove "-0" suffix for MinGW/cygwin generated DLLsr195Pete Batard2010-03-051-5/+5
| | | | | See "7.2 Libtool's versioning system" and "4.2 Link mode" of the GNU libtool documentation.
* residual corrections from previous commits (Michael Plante)r189Pete Batard2010-03-031-1/+1
|
* merge abstraction for POSIX Threads and integration changes (Michael Plante, ↵r169Pete Batard2010-02-241-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Peter Stuge) v1.0.6 release Darwin: support multiple calls to libusb_init Credit to Orin Eman for finding this bug. Darwin: use logging functions Use usbi_warn, usbi_err, and usbi_info instead of _usbi_log. Darwin: fix memory leak in process_device Credit to Mike Colagrosso for finding this bug. Add internal abstraction for POSIX Threads This prepares for a Windows backend without dependency on pthreads-w32. pthread_* is renamed to usbi_* and PTHREAD_* to USBI_*. A usbi_mutex_static_t and usbi_mutex_static_lock() and _unlock() are introduced for statically initialized mutexes, since they may be implemented using other types when pthreads mutexes aren't used. Move -pthread from libusb/Makefile.am to host-specific AM_CFLAGS in configure.ac. AM_CFLAGS is already used in Makefile.am. (Numerous merge conflicts resolved by Michael Plante) misc fixes to pthreads abstraction * windows_compat.h should not be directly included (use libusbi.h) * windows_usb.c still had some references to pthread_mutex_[un]lock Add libusb_strerror() to get short error message in English from enum (Merge conflicts resolved by Michael Plante) Better cleanup on errors, stricter types and some good casts Avoid various memory leaks in error code paths and remove warnings. Also add usbi_cond_destroy in os/threads_posix.h because it's used for cleanup now. (Merge conflicts resolved by Michael Plante) Rename all interface parameters to usb_interface or interface_number (Merge conflicts resolved by Michael Plante) Add type parameter to the list_for_each_entry() and _safe() macros (Merge conflicts resolved by Michael Plante) VA_ARGS workaround for logging with MSVC6 (Merge conflicts resolved by Michael Plante) Fix context memory leak in libusb_init() * Now holds default_context_lock for duration of libusb_init * Doesn't allocate it if not needed Fix the last MSVC /W3 warning removal of pthreads from MSVC and mingw * removed pthread*.lib from linking in msvc6 (2005/8 not yet edited) * added threads_windows.[ch] to all project files in msvc6 * added usbi_cond_signal to both threading versions, unused * added native windows threading code, now used removed redundant time.h includes removed pthread-win32 informational solution files updated MSVC 2005/2008 for thread abstraction fixed DDK build fixed cygwin's use of POSIX threads fixed dpfp/dpfp_threaded for MinGW compatibility config_msvc.h -> msvc/config.h pthread abstraction for DLL project files fixed bad reference to thread_windows in 2005 DLL vcproj cygwin ifdef is not required in threads_windows.h - removed fixed residuals from previous patches moved thread source detection into autotool scripts
* r90: more compilation environment fixes:Pete Batard2010-01-191-2/+2
| | | | | | - added Visual Studio 2005 (MSVC8) solution and project files (Orin Eman) - renamed VS 2008 solution and project files - fixed "warning: undefined symbols not allowed" for MinGW/cygwin in configure.ac
* r76: added cygwin supportPete Batard2010-01-151-5/+15
| | | | | | | | - use AM_CFLAGS instead of CFLAGS (configure.ac) - added -Werror in visibility attribute test to properly detect on cygwin (configure.ac) - moved -Wshadow to AM_CFLAGS and disabled it on cygwin (configure.ac) - emulated _open_osfhandle in windows_compat.c - removed unneeded <tchar> include in windows_usb.c
* r74: fixes CR/LF conversions introduced with previous changesPete Batard2010-01-141-143/+143
|
* r73: moved -pthread option to CFLAGS for platforms that need itPete Batard2010-01-141-140/+143
|
* svn r51: - Fix to use the proper pthread-win32 library name ↵Pete Batard2010-01-141-1/+1
| | | | ('libpthreadGC2.a') with MinGW
* svn r44:Pete Batard2010-01-141-1/+0
| | | | | | - fixed configure.ac for libusb handled timeouts - fixed crash on invalid fds in windows_compat.c - xusb improvements for mass storage test
* svn r35:Pete Batard2010-01-141-1/+1
| | | | | | | | | | | - new non-controversial composite device interface enumeration - full XP support with port number detection workaround trade-off - dropped read_registry_key - dropped get_composite_interface_path - factorized interface details enumeration - dropped requirement -lws2_32 from configure.ac and added -lole32 (for string to GUID conversion) - removed debug mode from windows_compat.c
* mirror libusb-winusb git branch from 2009.12.03 part 2 - core filesPete Batard2010-01-141-0/+10
|
* Refine timerfd header check (#18)Daniel Drake2009-11-211-3/+7
| | | | Require glibc-2.9 for the working timerfd support.
* v1.0.5 releasev1.0.5Daniel Drake2009-11-151-1/+1
|
* Use timerfd for timeout handlingDaniel Drake2009-11-071-0/+24
| | | | | | | | | | | | Use a new file descriptor from the timerfd system calls to handle timeouts. On supported systems, this means that there is less hassle figuring out when the poll() timeout should be, since libusb_get_next_timeout() will always return 0 and the timeout events will be triggered as regular activity on the file descriptor set. Add API function libusb_pollfds_handle_timeouts() to detect whether you're on a platform with the timing headache, and flesh out the surrounding documentation.
* Use AM_SILENT_RULES for buildingDaniel Drake2009-11-071-0/+1
|
* v1.0.4 releasev1.0.4Daniel Drake2009-11-061-1/+1
|
* v1.0.3 releasev1.0.3Daniel Drake2009-08-271-1/+1
|
* Darwin: Don't cancel transfers on timeoutNathan Hjelm2009-06-191-0/+1
| | | | ...because the OS does this for us.
* v1.0.2 releasev1.0.2Daniel Drake2009-06-131-1/+2
|
* pre-gcc-3.4 compatibilityAlex Vatchenko2009-05-281-2/+20
| | | | | The -fvisibility and -Wno-pointer-sign options are not available on old GCC versions.
* v1.0.1 releasev1.0.1Daniel Drake2009-05-121-1/+1
|
* Darwin backendNathan Hjelm2009-02-161-0/+11
|
* Only link with librt on LinuxNathan Hjelm2009-02-161-0/+1
| | | | [dsd: tweak configure.ac change]
* v1.0.0 releasev1.0.0Daniel Drake2008-12-131-1/+1
| | | | It's here!
* v0.9.4 releasev0.9.4Daniel Drake2008-11-211-1/+1
|
* Support for out-of-tree buildingAurelien Jarno2008-11-021-1/+1
| | | | | | | Contrary to libusb 0.1, libusb 1.0 does not support out-of-tree building for the documentation part. This patch fixes that by using a doxygen.cfg.in file, which contains @top_srcdir@ to refer to the location of the libusb source code.
* v0.9.3 releasev0.9.3Daniel Drake2008-08-231-1/+1
|
* v0.9.2 releasev0.9.2Daniel Drake2008-07-191-1/+1
|
* v0.9.1 releasev0.9.1Daniel Drake2008-06-281-1/+1
|
* API documentationDaniel Drake2008-03-201-1/+1
| | | | | Hopefully mostly complete. Some constants were renamed and move into enums.
* Beginnings of cross-platform abstractionDaniel Drake2008-03-131-0/+14
| | | | This also includes a libusb_get_pollfds API change
* Remove timers and signalfdDaniel Drake2008-01-301-0/+1
| | | | | | | Instead of timers, add a mechanism for informing the parent app when the next timeout is due to happen, so that it can call us at that time. As we no longer use signals, signalfd has also been removed.
* Only use -fgnu89-inline when supportedDaniel Drake2008-01-261-1/+7
| | | | J F pointed out that this option only works on gcc 4.3 and newer.
* Rename to libusb-1.0Daniel Drake2008-01-041-3/+3
| | | | | I've taken over the libusb project, and what was previously known as fpusb will eventually be released as libusb-1.0.
* Compiler flags updateDaniel Drake2007-12-301-1/+1
| | | | Also fix some warnings
* Initial commitDaniel Drake2007-12-021-0/+49
Basic library structure which supports enumerating detected USB devices