summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into kyekyeNikolai Kondrashov2012-04-056-2/+148
|\
| * Add 1.3 release NEWS entry1.3Nikolai Kondrashov2012-02-051-0/+6
| | | | | | | | Add an entry on 1.3 release to the NEWS file.
| * Add manual pageNikolai Kondrashov2012-02-055-2/+142
| | | | | | | | Add usbhid-dump manual page.
* | Add KYE tablet enablingNikolai Kondrashov2012-01-174-1/+54
|/ | | | | Add sending of KYE tablet-enabling feature set report before starting the stream dumping.
* Bump package version to 1.3Nikolai Kondrashov2011-12-281-1/+1
|
* Fix program_invocation_name shadowing warningNikolai Kondrashov2011-12-281-2/+2
| | | | | Fix "declaration of 'program_invocation_name' shadows a global declaration" warning on Cygwin by renaming "usage" function argument to simply "name".
* Fix Cygwin array subscript warningsNikolai Kondrashov2011-12-281-6/+6
| | | | | Fix "array subscript has type 'char'" warning on Cygwin by casting is* macro arguments to int.
* Remove no longer used str.cNikolai Kondrashov2011-12-265-86/+2
| | | | Remove str.c, containing only uhd_strisblank function, which is no longer used.
* Include config.h into all .c filesNikolai Kondrashov2011-12-266-0/+12
| | | | | Include config.h into all .c files to control libusb_error declaration in uhd/libusb.h (which is included in all of them) and definition in libusb.c
* Switch to trying libtoolize before glibtoolizeNikolai Kondrashov2011-12-261-4/+4
| | | | | Switch to trying libtoolize first and then glibtoolize in bootstrap script. This apparently suits possible Darwin installs better.
* Use LIBUSB_CALL for callbacks, if presentNikolai Kondrashov2011-12-261-1/+6
| | | | | Use LIBUSB_CALL to specify calling conventions for dump_iface_list_stream_cb, if defined. This happens with libusb > 1.0.8.
* Rename ERROR/FAILURE to GENERIC_ERROR/FAILURENikolai Kondrashov2011-12-261-7/+7
| | | | | | Rename ERROR and FAILURE macros in usbhid-dump.c to GENERIC_ERROR and GENERIC_FAILURE respectively. This is needed to avoid clashes with ERROR define in wingdi.h on cygwin.
* Use stock libusb_strerror, if presentNikolai Kondrashov2011-12-263-0/+6
| | | | | Hide internal libusb_strerror definition in case it is already defined by libusb.
* Fix config.h include locationNikolai Kondrashov2011-12-261-2/+2
| | | | | Move config.h include in usbhid-dump.c to before all other includes to allow header control.
* Remove _GNU_SOURCE defineNikolai Kondrashov2011-12-261-1/+1
| | | | Remove _GNU_SOURCE define from CFLAGS - no GNU extensions used anymore.
* Stop using program_invocation_short_nameNikolai Kondrashov2011-12-261-5/+16
| | | | | Stop using program_invocation_short_name - a GNU extension variable and extract usbhid-dump invocation name ourselves.
* Prefer glibtoolize over libtoolize, if presentNikolai Kondrashov2011-12-251-1/+6
| | | | | Use explicitly named GNU libtoolize (glibtoolize) instead of system libtoolize, if present, in bootstrap script. This is needed for Darwin.
* Fix ignored fwrite return value warningNikolai Kondrashov2011-12-251-1/+1
| | | | | Fix ignored fwrite return value warning, which apparently could occur sometimes.
* Add missing stddef.h include to uhd/dev_list.hNikolai Kondrashov2011-12-181-1/+2
| | | | | Add missing stddef.h include to uhd/dev_list.h. Thanks to Debian maintainers!
* Switch to using pkg-configNikolai Kondrashov2011-12-184-9/+7
| | | | | | Switch to using pkg-config to locate libusb, update headers to include libusb.h without subdirectory. Thanks to Debian maintainers!
* Add AM_MAINTAINER_MODE to configure.acNikolai Kondrashov2011-12-181-1/+2
| | | | | Add AM_MAINTAINER_MODE to configure.ac. Thanks to Debian maintainers!
* Fix infinite loop on unsigned char platformsNikolai Kondrashov2011-12-181-1/+1
| | | | Fix infinite loop in command-line option parsing on unsigned char platforms.
* Add missing limits.h include to usbhid-dump.cAlexandre Rostovtsev2011-12-181-1/+2
| | | | | | | Fix build with glibc-2.14.1, gcc-4.6.2 by including missing limits.h to usbhid-dump.c, for UINT_MAX. Bug 3459209
* Prepared 1.2 release1.2Nikolai Kondrashov2010-11-202-1/+14
| | | | Bumped up the version in configure.ac and added a NEWS entry.
* Add stream timeout printoutNikolai Kondrashov2010-11-191-0/+45
| | | | Add interrupt transfer stream timeout printout at the start of dumping.
* Refine and fix error handling and reportingNikolai Kondrashov2010-11-181-41/+66
| | | | | | | Refine error handling and reporting macros. Add interface address to relevant error messages. Fix interface release and reattachment error handling. Fix interrupt transfer resubmission error handling.
* Add --stream-timeout option supportNikolai Kondrashov2010-11-182-16/+61
| | | | | Add -t, --stream-timeout option for specifying stream interrupt transfer timeout.
* Make -s, -a, -d and -m options require an argument.Nikolai Kondrashov2010-11-181-1/+1
|
* Remove unneeded libusb_open_device_with_bus_devNikolai Kondrashov2010-11-182-78/+0
| | | | | Remove now unneeded libusb_open_device_with_bus_dev, it is replaced with uhd_dev_list_open.
* Minor naming cleanup in uhd_dev_list_openNikolai Kondrashov2010-11-172-8/+8
| | | | Renamed vendor/product parameters to uhd_dev_list_open to vid/pid.
* Move common generic constants to a separate fileNikolai Kondrashov2010-11-174-38/+83
| | | | Move common generic constants to a separate header file misc.h.
* Add multi-device dumping with limitingNikolai Kondrashov2010-11-1711-260/+901
| | | | | | Add multi-device dumping. Add independent limiting by bus number, device address, vendor, product and interface number.
* Use iteration macro in iface list moduleNikolai Kondrashov2010-11-151-2/+2
| | | | | Use interface list iteration macro in two functions in the interface list module.
* Split iface into iface and iface_listNikolai Kondrashov2010-11-157-223/+296
| | | | Split iface.[hc] into iface.[hc] and iface_list.[hc].
* Use iface iterator in dump_iface_list_descriptorNikolai Kondrashov2010-11-151-1/+1
| | | | | Use interface list iterator in dump_iface_list_descriptor instead of explicit loop.
* Break iface list functions into iface functionsNikolai Kondrashov2010-11-153-274/+275
| | | | | Break interface list functions into interface functions and use list iteration macro instead.
* Add comments to iface.hNikolai Kondrashov2010-11-151-0/+49
| | | | Document all functions in iface.h
* Make ChangeLog generation optionalNikolai Kondrashov2010-11-141-2/+1
| | | | Make ChangeLog generation optional again to fix distcheck target.
* Sync directory and file names with prefix updateNikolai Kondrashov2010-11-1413-13/+13
| | | | | Rename directories and files to match prefix replacement done in the commit before the previous one.
* Refine formatting after prefix updateNikolai Kondrashov2010-11-143-27/+25
| | | | | Refine source code formatting after replacing prefixes done in the previous commit.
* Replace usbhid_dump_ prefix with uhd_Nikolai Kondrashov2010-11-146-106/+101
| | | | | Replace usbhid_dump_ and USBHID_DUMP_ symbol prefixes with uhd_ and UHD_ respectively to make them shorter.
* Fix ChangeLog generationNikolai Kondrashov2010-11-131-7/+8
| | | | | Fix ChangeLog generation if packaged as a subpackage. Make ChangeLog generation mandatory.
* Add ChangeLog generation to bootstrapNikolai Kondrashov2010-11-132-0/+5
| | | | | Add dummy ChangeLog generation to bootstrap in order to make auto tools notice we (will) have one.
* Prepared 1.1 release1.1Nikolai Kondrashov2010-08-242-1/+6
| | | | Added a NEWS entry and bumped up the version.
* Fixed --version optionNikolai Kondrashov2010-08-241-1/+1
| | | | Fixed --version option, only -v worked before.
* Added NEWS fileNikolai Kondrashov2010-08-241-0/+4
| | | | Added NEWS file with short description of the past 1.0 release.
* Renamed dump entity "both" to "all"Nikolai Kondrashov2010-08-241-2/+2
| | | | | Renamed dump entity "both" to "all" in preparation for introducing physical descriptor dumping support.
* Added ChangeLog generationNikolai Kondrashov2010-08-241-0/+12
| | | | | Added ChangeLog generation from git log to top Makefile.am Based on the code taken from http://live.gnome.org/Git/ChangeLog.
* Add --version optionNikolai Kondrashov2010-08-241-2/+29
| | | | Add --version option support, update usage message text.
* Add another package name to libusb 1.0 dependencyNikolai Kondrashov2010-08-221-1/+1
| | | | | Add another libusb 1.0 development package name (libusb1-devel) to the configure.ac dependency error message to better support Fedora users.