Re: [Libusbx-devel] [libusbx] Task: Release 1.0.17 (#126)

2013-09-06 Thread Hans de Goede
1.0.17 has been tagged and uploaded, the release announcement will go out shortly, closing. --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/issues/126#issuecomment-23931026 -- Lea

Re: [Libusbx-devel] [libusbx] Task: Release 1.0.17 (#126)

2013-09-06 Thread Hans de Goede
Closed #126. --- Reply to this email directly or view it on GitHub: https://github.com/libusbx/libusbx/issues/126 -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master cu

[Libusbx-devel] Announcing libusbx-1.0.17 final

2013-09-06 Thread Hans de Goede
Hi All, I'm very happy to announce libusbx-1.0.17. 2013-09-06: v1.0.17 * Hotplug callbacks now always get passed a libusb_context, even if it is the default context. Previously NULL would be passed for the default context, but since the first context created is the default context, and most

Re: [Libusbx-devel] Reverting atexit call of libusb_exit from libusb-compat ?

2013-09-06 Thread Hans de Goede
Hi, On 09/05/2013 03:14 AM, Xiaofan Chen wrote: > On Thu, Sep 5, 2013 at 3:26 AM, Hans de Goede wrote: >> Hi, >> >> As discussed in much detail here: >> https://bugzilla.redhat.com/show_bug.cgi?id=1003193 >> >> Calling libusb_exit from atexit from libusb-compat-0.1.5 causes >> some apps to break.

Re: [Libusbx-devel] Announcing libusbx-1.0.17 final

2013-09-06 Thread Pete Batard
On 2013.09.06 11:31, Hans de Goede wrote: > I'm very happy to announce libusbx-1.0.17. Good job! The Windows binaries have now been uploaded as well, and the freecode announcement should follow today. Regards, /Pete -

Re: [Libusbx-devel] Announcing libusbx-1.0.17 final

2013-09-06 Thread Toby Gray
On 06/09/13 12:19, Pete Batard wrote: > On 2013.09.06 11:31, Hans de Goede wrote: >> I'm very happy to announce libusbx-1.0.17. > Good job! > > The Windows binaries have now been uploaded as well, and the freecode > announcement should follow today. > Windows CE binaries have now been uploaded too

[Libusbx-devel] [PATCH 3/3] Make usbi_get_device_by_session_id return a ref to the found device

2013-09-06 Thread Hans de Goede
Signed-off-by: Hans de Goede --- libusb/core.c | 2 +- libusb/libusbi.h| 4 ++-- libusb/os/darwin_usb.c | 6 +- libusb/os/linux_usbfs.c | 5 - libusb/os/netbsd_usb.c | 4 +--- libusb/os/openbsd_usb.c | 4 +--- libusb/os/wince_usb.c | 1 - libusb/os/windows_usb

[Libusbx-devel] [PATCH 1/3] openbsd: Fix usbi_sanitize_device error handling

2013-09-06 Thread Hans de Goede
If usbi_sanitize_device fails we need to continue from the beginning of the loop, rather then going on with the device we've just free-ed. Signed-off-by: Hans de Goede --- libusb/os/openbsd_usb.c | 4 +++- libusb/version_nano.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --g

[Libusbx-devel] [RFC 0/3] Make usbi_get_device_by_session_id return a ref to the found device

2013-09-06 Thread Hans de Goede
Hi All, As discussed here is a patch making usbi_get_device_by_session_id return a ref to the found device, which considering the usb_devs locking seems to be the sane thing to do. For some backends this also leads to simpler code. Most of the changes are pretty straight forward, only the windows

[Libusbx-devel] [PATCH 2/3] openbsd: Fix a memleak

2013-09-06 Thread Hans de Goede
discovered_devs_append takes a reference to the past in dev, so we must release our own reference. Signed-off-by: Hans de Goede --- libusb/os/openbsd_usb.c | 5 - libusb/version_nano.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libusb/os/openbsd_usb.c b/libusb/o

Re: [Libusbx-devel] Reverting atexit call of libusb_exit from libusb-compat ?

2013-09-06 Thread Nathan Hjelm
On Sep 6, 2013, at 4:58 AM, Hans de Goede wrote: > Hi, > > On 09/05/2013 03:14 AM, Xiaofan Chen wrote: >> On Thu, Sep 5, 2013 at 3:26 AM, Hans de Goede wrote: >>> Hi, >>> >>> As discussed in much detail here: >>> https://bugzilla.redhat.com/show_bug.cgi?id=1003193 >>> >>> Calling libusb_exit