From: libusb T. <tr...@li...> - 2012-08-14 14:31:14
|
#148: Use Android logging when building on Android --------------------+------------------------- Reporter: ikonst | Owner: Type: defect | Status: new Milestone: | Component: libusb-1.0 Keywords: | Blocked By: Blocks: | --------------------+------------------------- Android has a built-in standard logging system which: 1) supports the normal notion of priorities and masking 2) well-known by Android developers 3) integrated into standard development tools such as "adb logcat" and Eclipse ADT No autoconf changes are required since the Android build system defines __ANDROID__ and that's pretty much unique to Android. -- Ticket URL: <https://libusb.org/ticket/148> libusb <https://libusb.org/> C library for writing portable USB drivers in userspace |
From: libusb T. <tr...@li...> - 2012-08-14 14:35:43
|
#148: Use Android logging when building on Android --------------------------+------------------------ Reporter: ikonst | Owner: Type: enhancement | Status: new Milestone: | Component: libusb-1.0 Resolution: | Keywords: Blocked By: | Blocks: --------------------------+------------------------ Changes (by stuge): * type: defect => enhancement Comment: Thanks for the patch! Where is the "LibUsb" string used or seen? Would it be possible for you to create a commit on top of libusb.git using git with a nice commit message and including "Fixes #148." on the end? -- Ticket URL: <https://libusb.org/ticket/148#comment:1> libusb <https://libusb.org/> C library for writing portable USB drivers in userspace |
From: libusb T. <tr...@li...> - 2012-08-14 14:39:07
|
#148: Use Android logging when building on Android --------------------------+------------------------ Reporter: ikonst | Owner: Type: enhancement | Status: new Milestone: | Component: libusb-1.0 Resolution: | Keywords: Blocked By: | Blocks: --------------------------+------------------------ Comment (by ikonst): re git, yes, I'll do that soon. The "LibUsb" is called a 'log tag'. It's prefixed to the log message. In Eclipse ADT, it's shown in a dedicated column. I'll change it to "libusb" (lowercase) since it's more appropriate for the Android style anyway. -- Ticket URL: <https://libusb.org/ticket/148#comment:2> libusb <https://libusb.org/> C library for writing portable USB drivers in userspace |
From: libusb T. <tr...@li...> - 2012-08-14 14:43:28
|
#148: Use Android logging when building on Android --------------------------+------------------------ Reporter: ikonst | Owner: Type: enhancement | Status: new Milestone: | Component: libusb-1.0 Resolution: | Keywords: Blocked By: | Blocks: --------------------------+------------------------ Old description: > Android has a built-in standard logging system which: > 1) supports the normal notion of priorities and masking > 2) well-known by Android developers > 3) integrated into standard development tools such as "adb logcat" and > Eclipse ADT > > No autoconf changes are required since the Android build system defines > __ANDROID__ and that's pretty much unique to Android. New description: Android has a built-in standard logging system which: 1) supports the normal notion of priorities and masking 2) well-known by Android developers 3) integrated into standard development tools such as "adb logcat" and Eclipse ADT No autoconf changes are required since the Android build system defines {{{ __ANDROID__ }}} and that's pretty much unique to Android. -- Comment (by stuge): Replying to [comment:2 ikonst]: > re git, yes, I'll do that soon. Great - thanks! Use git format-patch -1 to generate the patch file after the commit. See http://libusb.org/wiki/Development/Commits for some notes about writing the commit message. > The "LibUsb" is called a 'log tag'. It's prefixed to the log message. In Eclipse ADT, it's shown in a dedicated column. > > I'll change it to "libusb" (lowercase) since it's more appropriate for the Android style anyway. Perfect. Thank you. -- Ticket URL: <https://libusb.org/ticket/148#comment:3> libusb <https://libusb.org/> C library for writing portable USB drivers in userspace |
From: libusb T. <tr...@li...> - 2012-08-14 15:00:18
|
#148: Use Android logging when building on Android --------------------------+------------------------ Reporter: ikonst | Owner: Type: enhancement | Status: new Milestone: | Component: libusb-1.0 Resolution: | Keywords: Blocked By: | Blocks: --------------------------+------------------------ Comment (by ikonst): By the way, is the code following C89 'variable placement in beginning of block only' policy? -- Ticket URL: <https://libusb.org/ticket/148#comment:4> libusb <https://libusb.org/> C library for writing portable USB drivers in userspace |
From: libusb T. <tr...@li...> - 2012-08-14 16:34:57
|
#148: Use Android logging when building on Android --------------------------+------------------------ Reporter: ikonst | Owner: Type: enhancement | Status: new Milestone: | Component: libusb-1.0 Resolution: | Keywords: Blocked By: | Blocks: --------------------------+------------------------ Comment (by timrprobocom): Are you asking if the code is SUPPOSED to follow that policy? If so, the answer is "yes". Libusb works on Windows as well, and Microsoft's C compiler does not implement C99. -- Ticket URL: <https://libusb.org/ticket/148#comment:5> libusb <https://libusb.org/> C library for writing portable USB drivers in userspace |
From: libusb T. <tr...@li...> - 2013-02-09 01:04:04
|
#148: Use Android logging when building on Android --------------------------+------------------------ Reporter: ikonst | Owner: Type: enhancement | Status: new Milestone: | Component: libusb-1.0 Resolution: | Keywords: Blocked By: | Blocks: --------------------------+------------------------ Comment (by hjelmn): Can you get us a patch in git email format? The patch seems simple enough so it might be a good candidate for the 1.0.16 release. -- Ticket URL: <https://libusb.org/ticket/148#comment:6> libusb <https://libusb.org/> C library for writing portable USB drivers in userspace |
From: libusb T. <tr...@li...> - 2013-02-10 01:13:53
|
#148: Use Android logging when building on Android --------------------------+------------------------ Reporter: ikonst | Owner: Type: enhancement | Status: new Milestone: | Component: libusb-1.0 Resolution: | Keywords: Blocked By: | Blocks: --------------------------+------------------------ Comment (by ikonst): I'm a little busy right now :( -- Ticket URL: <https://libusb.org/ticket/148#comment:7> libusb <https://libusb.org/> C library for writing portable USB drivers in userspace |
From: libusb T. <tr...@li...> - 2013-02-13 05:20:22
|
#148: Use Android logging when building on Android --------------------------+------------------------ Reporter: ikonst | Owner: Type: enhancement | Status: new Milestone: | Component: libusb-1.0 Resolution: | Keywords: Blocked By: | Blocks: --------------------------+------------------------ Comment (by hjelmn): If you like I can commit the change in your name. Is there an email address you would like as part of the commit? -- Ticket URL: <https://libusb.org/ticket/148#comment:8> libusb <https://libusb.org/> C library for writing portable USB drivers in userspace |
From: libusb T. <tr...@li...> - 2013-02-13 05:20:35
|
#148: Use Android logging when building on Android --------------------------+------------------------ Reporter: ikonst | Owner: Type: enhancement | Status: new Milestone: 1.0.16 | Component: libusb-1.0 Resolution: | Keywords: Blocked By: | Blocks: --------------------------+------------------------ Changes (by hjelmn): * milestone: => 1.0.16 -- Ticket URL: <https://libusb.org/ticket/148#comment:9> libusb <https://libusb.org/> C library for writing portable USB drivers in userspace |
From: libusb T. <tr...@li...> - 2013-02-13 11:00:24
|
#148: Use Android logging when building on Android --------------------------+------------------------ Reporter: ikonst | Owner: Type: enhancement | Status: new Milestone: 1.0.16 | Component: libusb-1.0 Resolution: | Keywords: Blocked By: | Blocks: --------------------------+------------------------ Comment (by ikonst): Yes please :) ily...@gm... -- Ticket URL: <https://libusb.org/ticket/148#comment:10> libusb <https://libusb.org/> C library for writing portable USB drivers in userspace |
From: libusb T. <tr...@li...> - 2013-04-11 21:41:51
|
#148: Use Android logging when building on Android --------------------------+------------------------ Reporter: ikonst | Owner: Type: enhancement | Status: closed Milestone: 1.0.16 | Component: libusb-1.0 Resolution: fixed | Keywords: Blocked By: | Blocks: --------------------------+------------------------ Changes (by hjelmn): * status: new => closed * resolution: => fixed -- Ticket URL: <https://libusb.org/ticket/148#comment:11> libusb <https://libusb.org/> C library for writing portable USB drivers in userspace |
From: libusb T. <tr...@li...> - 2013-06-20 10:05:18
|
#148: Use Android logging when building on Android -----------------------------------+------------------------ Reporter: ikonst | Owner: Type: enhancement | Status: closed Milestone: libusb/libusbx 1.2.0 | Component: libusb-1.0 Resolution: fixed | Keywords: Blocked By: | Blocks: -----------------------------------+------------------------ Comment (by hansdegoede): Seems this patch has somehow fallen through the cracks, I've added it to: https://github.com/libusbx/libusbx/ Now, which is where all libusb development is currently happening, as libusb and libusbx are merging back together and we're using libusbx' git for now. -- Ticket URL: <https://libusb.org/ticket/148#comment:12> libusb <https://libusb.org/> C library for writing portable USB drivers in userspace |