Age | Commit message (Collapse) | Author |
|
mainline-extservices-release
Change-Id: I3fcf0f7752e58eeb09db1b90e62f8f820311d374
|
|
ours am: c3e5a2c4b1 -s ours am: 7380ba9a76 -s ours
am skip reason: Change-Id Ibde80548980d6eaed9ca95accaabf7fcf1c4860d with SHA-1 2a5a93fdfd is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibe7bbda11f12c1973b69e76b88c8edb967fd77fa
|
|
ours am: c3e5a2c4b1 -s ours
am skip reason: Change-Id Ibde80548980d6eaed9ca95accaabf7fcf1c4860d with SHA-1 2a5a93fdfd is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie2842262e956ee039a462cac8280848d70715562
|
|
am skip reason: Change-Id Ibde80548980d6eaed9ca95accaabf7fcf1c4860d with SHA-1 2a5a93fdfd is in history
Original change: undetermined
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic02f01830b6b41e96f14026a20d7cfb8eec0ef86
|
|
Bug: 180401296
Merged-In: Ibde80548980d6eaed9ca95accaabf7fcf1c4860d
Change-Id: I0b2219b15f518c384dc45f37aa32f32913ec4b4f
|
|
be2f3e44e2 am: 8f17adeb23 am: 18fed8206a
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1588629
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I85637e9ee010473e6e43bfb40c209869691d8369
|
|
be2f3e44e2 am: 8f17adeb23
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1588629
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iee9e258b30659eb9f8c75c056d5c3e98b9fe6991
|
|
be2f3e44e2
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1588629
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iae96705e34f2fccba1e93dfde60ca22c5f0d26d8
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1588629
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: If607e0926e9dc294e528a3798852089d67ecdd19
|
|
|
|
Added SPDX-license-identifier-GPL SPDX-license-identifier-LGPL
SPDX-license-identifier-LGPL-2.1 SPDX-license-identifier-LGPL-3.0
SPDX-license-identifier-MIT
to:
Android.bp
Added SPDX-license-identifier-LGPL SPDX-license-identifier-LGPL-2.1
SPDX-license-identifier-LGPL-3.0
to:
android/jni/examples.mk
android/jni/libusb.mk
android/jni/tests.mk
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I83e2ada5cc458204d8758e5772fb561a8675e2d3
|
|
8dbdfc669e
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1556459
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ieaecf383ca63bf2a4ae0c16bf2361117743da32a
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1556459
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I99665aa7147fad84f01a3d904377e8011069dbfb
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1556459
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1f2fca73a52206685ef08f54915db194e88f73ec
|
|
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1556942
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1b9bdbba21bd5c6faba899e8ad65fb3360d168aa
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1556942
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I869202d65952522deb17f7879d943423c4826cf1
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1556942
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I22472943ba4e9138f5851bc2d4f3f593af283413
|
|
|
|
adb has moved, and it probably makes more sense to just assign this to
all the janitors anyway.
(We should probably add a TEST_MAPPING here, but that's a separate issue.)
Test: N/A
Change-Id: I23819b7ae3b11e814fcb3c99c805065cd57266a6
|
|
The build system recently started to use `-Wunguarded-availability` and
is complaining that the calls to clock_gettime isn't properly guarded
with the runtime __builtin_availability check. However, the call is
already statically guarded by HAVE_CLOCK_GETTIME. Silence the unguarded
availability check.
Bug: 178124881
Test: watch a forrest run on mac
Change-Id: I0715091620ce1a5346f21c3484f4714d760bea61
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1525678
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I67793b83da48d661ae9eb038fa54de66dc58773b
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1525678
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibde80548980d6eaed9ca95accaabf7fcf1c4860d
|
|
Original change: https://android-review.googlesource.com/c/platform/external/libusb/+/1525678
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3c10eb6d31ed200d9bffb1f16048ad17f508d582
|
|
|
|
With manual updates to Android.bp and the (darwin linux windows)/config.h
files.
Test: treehugger
Change-Id: Ie7538ff6b1e3e08fbdca1fe4d40deca6d0656539
|
|
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
When building libusb out-of-tree, ie when running configure from another
directory, building the documentation fails with:
$ make -C doc
make: Entering directory '/tmp/build/doc'
make: *** No rule to make target 'libusb.png', needed by 'api-1.0'. Stop.
make: Leaving directory '/tmp/build/doc'
This has likely been broken by commit 4a5540a925e4 ("autotools: Fix a number of
issues"). This patch fixes that by prefixing libusb.png with @top_srcdir@/doc.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
|
|
Closes #812
Closes #813
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Closes #151
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
There are certain games played in the examples and tests source to
account for differences in build environments and target platforms. This
can be simplified by including config.h and using the definitions there.
To that end, move the printf function attribute definition from
libusbi.h to config.h and leverage it where it is used in the examples
and tests.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libusb/+/13112782
Change-Id: I74a631a2d9496a0f63dcfb3a3414b06233e2e1d7
|
|
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libusb/+/13112782
Change-Id: I3d472e74d9d1040554f9f35f177e70e88bfc5a92
|
|
Bug: 172690556
Change-Id: Ic64f241c15715b3327b3467012cf3301f92b50c8
|
|
Commit f69548c3b3 ("examples: Enable all examples to build on all
platforms") modified dpfp and sam3u_benchmark to be buildable on any
platform, however there were some oversights and regressions introduced
for Android and Xcode.
Update the Android and Xcode build files to account for the removal of
dpfp_threaded.c as well as the inclusion of config.h from examples
and/or tests source.
Additionally switch the threaded version of dpfp to use sem_open()
instead of sem_init() as the latter is in fact deprecated on MacOS.
Closes #808
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Prior to this change, the dpfp and sam3u_benchmark examples were only
built on POSIX platforms due to a dependency on sigaction(). Furthermore
the dpfp_threaded example only worked with POSIX threads.
Lift this limitation by breaking the dependence on sigaction(). Also
provide a minimal threading abstraction so that dpfp_threaded can be
built on Windows as well.
Also merge the sources for dpfp and dpfp_threaded. The only difference
between the two is how libusb's event handling functions are called and
this can be easily handled within a single source file.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
- explicitly check/log info, when a device has broken descriptor;
Closes #791
Closes #806
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
* [-Wpointer-arith] arithmetic on a pointer to void is a GNU extension
* [-Wswitch-enum] enumeration values 'E1, ...' not explicitly handled in switch
* [-Wunused-parameter] unused parameter 'p'
For '-Wswitch-enum', the switch statements in the individual backends'
set_option() function has been removed. It is not expected that backends
will need to handle or be aware of all the options.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Add Ubuntu's Focal distribution to get the latest Linux toolchain.
Add Xcode 12.2 to get the latest MacOS toolchain.
Remove Xcode 7.3 as it is now obsolete and will not successfully build.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Closes #802
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
The LoadLibraryA() function performs a search through various paths when
provided a library name that does not include a path element. All of the
libraries that libusb needs to dynamically load are installed in the
Windows system directory, thus it is not necessary to search any paths.
To harden the security of libusb and prevent loading libraries from
outside of the system directory should an attacker be able to alter the
environment or place an identically named library somewhere in the
search paths that occur before the Windows system directory, introduce a
function that calls LoadLibraryA() with a full path to the requested
library witin the Windows system directory. Note that we cannot call
SetDllDirectoryA() because as a library we should not alter the DLL
search path of the application. We also cannot use LoadLibraryExA() with
the LOAD_LIBRARY_SEARCH_* flags because those flags require a specific
security update to be installed on Vista and 7.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
Commit 006ca0fbaa ("Guard against getting stuck while handling events")
caused a regression using the wrong list node when iterating a list. Fix
this by introducing and using an alternate for_each iterator.
Closes #796
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
One statement was missing to preserve the consistency of the list.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
|
|
b0d1d5af08 -s ours am: bdb1162661 -s ours
am skip reason: Change-Id I31f43dcaeda37b9697b0e428e885fc407f3bc3d0 with SHA-1 ca8cc49ebd is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libusb/+/12796973
Change-Id: I5791a37cb9be9112d37205bd3685af416eeb1d3f
|
|
b0d1d5af08 -s ours
am skip reason: Change-Id I31f43dcaeda37b9697b0e428e885fc407f3bc3d0 with SHA-1 ca8cc49ebd is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libusb/+/12796973
Change-Id: If15f85bd9445a57ed0f2872d243a0645092f3a57
|
|
am skip reason: Change-Id I31f43dcaeda37b9697b0e428e885fc407f3bc3d0 with SHA-1 ca8cc49ebd is in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/libusb/+/12796973
Change-Id: Ib690df511ac04c57403fee33eb615a02f5428ce3
|