A cross platform library for interfacing with local and remote Linux IIO devices
LGPL-2.1 License
Bot releases are hidden (Show)
This list of changes was auto generated.
Published by ccraluca about 1 year ago
This list of changes was auto generated.
Published by ccraluca over 1 year ago
This list of changes was auto generated.
Published by ccraluca over 2 years ago
This list of changes was auto generated.
Published by ccraluca about 3 years ago
dnssd_find_hosts()
This list of changes was auto generated.
Adrian Suciu (2):
CMakeLists.txt: Disable WITH_SERIAL_BACKEND by default
CMakelists.txt: add support for Android
Alexandra Trifan (2):
appveyor.yml: Update the MSYS build keyring manually.
Appveyor: Use mingw64/bin/windres as RC compiler for 64 bit.
Alexandru Ardelean (61):
local: don't keep internal state if buffer enabled
local: harden local_close() and use it for local_open() failure
local: handle error codes in local_close()
local: add omitted return value read from close() in local_close()
xml: use iio_context_destroy() on error path of iio_create_xml_context_helper()
local: use API accessors for accessing devices from an IIO context
iio,local,xml: add and use iio_context_add_device() helper
iiod: access IIO devices via API accessors
iiod-client: move context lock inside the iiod_client object
appveyor.yml: parametrize mingw toolchains version and bump version
appveyor.yml: parametrize + bump doxygen & graphviz versions
network: change type of 'i' to unsigned int
network: split description creation into it's own function
serial: split description creation into it's own function
network: move free(description) under #ifdef HAVE_IPV6
iio: split iio_backend_ops into iio-backend.h
iio: create iio_context_create_from_backend() helper and use it for local & xml
iio: centralize context pdata free in iio_context_destroy()
xml: split iio_populate_xml_context_helper() from create helper
iio: add iio_context_get_pdata() accessor
usb: make use of the iio_context_pdata() helper
network: make use of the iio_context_pdata() helper
serial: make use of the iio_context_pdata() helper
local: make use of the iio_context_pdata() helper
iio: backend: add get_description() backend op
local: split get_description() logic into function and hook it to backend
network: hook network_get_description() routine to backend ops
serial: hook serial_get_description() routine to backend ops
iio.h: add IIO_MOD_O2 modifier to enum
channel.c: fix typo for string
ci,travis: remove lsb package requirement
.travis.yml: unify EXTRA_SSH env var
.travis.yml: build & deploy for Xcode12
CI/travis/lib.sh: change Travis-CI API endpoint to api.travis-ci.com
READMEs: update badge URLs to travis-ci.com
CI/travis/lib.sh: don't use '-y' param for homebrew package manager
ci,azure-pipelines: add initial yaml file
ci,azure-pipelines: add names for the steps in the job
ci,azure-pipelines: use matrix strategy to reduce yaml file
ci,azure-pipelines: publish build artifacts for Mac & Linux builds
ci,azure-pipelines: simplify artifact names
ci,linux-default: always install libserialport-dev
ci,linux: exit early if CMakeError.log exists
cmake,LinuxPackaging: only set exclusion list for RPMs if RPM cmd found
ci,azure-pipelines: add windows builds
ci: re-enable check-kernel script for linux
ci: generalize docker mechanism in build
ci,azure-pipelines: add ARM{64} Debian Buster builds
ci: use distro's python3 package; remove pyenv python
ci: parametrize the 'python3' command into variable PYTHON
ci: don't update pip & setuptools
ci,linux: reduce dependencies
ci,azure-pipelines: wrap all Ubuntu builds in official docker images
ci,azure-pipelines: re-purpose VS2017 builds as VS2019_Win32
ci,lib.sh: double quote the env-vars passed to docker
ci,linux: don't install sphinx docs on ARM{64}
iio: wrap iio device attributes in an iio_dev_attr struct
iio: device: wrap duplicate device attributes code
iio: local: wrap duplicate device attributes code
iio: re-use add_iio_dev_attr() helper in xml creation
iio: rework entire xml generation
Chris Lamb (1):
Make the build reproducible (Closes: #591)
Cormier, Jonathan (1):
python: Fixes --samples argument by multiplying num_samples by sample_size
Cristi Iacob (1):
python: Solved Python bindings Context destructor bug.
Dan Nechita (15):
Merge pull request #566 from analogdevicesinc/rgetz-move-timeouts-to-common
dnssd: Use lower case when including Windows headers
Merge pull request #572 from analogdevicesinc/rgetz-fix-building-man-pages
Merge pull request #574 from analogdevicesinc/rgetz-fix-mingw-settings
Merge pull request #580 from analogdevicesinc/fix-tools
Merge pull request #575 from analogdevicesinc/fix-local-close
Merge pull request #584 from f4exb/master
Merge pull request #585 from VLitanADI/readme_typo
serial: Detect timeout when reading a byte from serial port
serial: Detect timeout when writing to serial port
serial: Fix the handling of timeout for when writing through serial
serial: Add 'new line' at the end of error messages printed by IIO_ERROR
serial: Report other errors (besides timeout) on serial write
serial: Fix warning about comparing a signed and unsigned int
network: Include headers for the errors that are used
DanielGuramulta (1):
CMake: fix build with cmake 2.8.7
Edward Kigwana (1):
IIOD: Fix building with AIO
Geert Uytterhoeven (1):
examples/cmake: Fix iio-monitor dependency checks
Gwendal Grignou (1):
tests: iio_readdev: Set minimal buffer size to 1
Jan Tojnar (1):
cmake: Avoid path construction in pkg-config file
Julien Malik (1):
python: Do not verify whether libiio is installed when cross-compiling
Kathy Camenzind (1):
Change frequency to sampling_frequency (bug), match device trigger to corresponding context device using its id Signed-off-by: Kathy Camenzind [email protected]
Marc Sporcich (1):
#611:Eliminate variable shadowing in local.c
Martin Spiessl (1):
Use https for download links in README.md
Max Lehuraux (1):
Fix marshalling in C# bindings
Michael Hennerich (3):
tests/iio_common: Fix HEX value parsing in sanitize_clamp()
iio-private.h: Increase MAX_ATTR_VALUE
bindings: python iio.py: find_device() also use label
Michael Oborne (1):
CSharp binding: fix syntax
Mihail Chindris (3):
Update 19 aparitions of same 4 lines with function
context.c: Replace sanitize code with function
channel.c: Sanitize id and filename
Nuno Sa (2):
dns-sd: add function to process a discovered avahi host
network: Improve context creation robustness
Nuno Sá (6):
utilities: Fix getenv function
dns-sd: Fix leak in dnssd_find_hosts()
examples: adrv9009-iiostream: fix variable shadowing warnings
examples: ad9361-iiostream: fix variable shadowing warnings
examples: ad9371-iiostream: fix variable shadowing warnings
examples: add example for adrv9002
Paul Cercueil (101):
xml: Remove unused function encode_xml_ndup()
CMake: Allow building as static lib in MSVC
Add PTR_TO_ERR / ERR_TO_PTR functions
context: Improve iio_context_create_xml()
Don't NULL-check before free()
Add API function iio_device_get_label()
Enhance iio_context_find_device() to use labels
local: Init device label when found
xml: Init device label when found
C#: Add support for reading device labels
Python: Add support for reading device labels
iio_info: Display device label if present
iio_attr: Display device label if present
tests: Print context creation messages to stderr
usb: Remove #undef ERROR
dns_sd_avahi: Move Avahi includes to dns_sd_avahi.c
iiod: Move Avahi support to its own dns-sd.c source file
iiod: dns-sd: Fix set-but-not-used value
iiod: dns-sd: Drop dead code
iiod: dns-sd: Fix invalid check of hostname vs. "none" string
treewide: Avoid conditional compilation
Use SPDX license headers
network: Fix warning about signed/unsigned comparison
Rename network.h to dns_sd.h
DNS-SD: Move headers to .c files
network: Simplify create_socket()
network: split windows/unix specific code into their own C files
network-unix: simplify code
iiod: Add support for ZSTD-compressed metadata
iiod-client: Add support for ZSTD-compressed metadata
local: Increase temp buffer size for pathname resolution
channel: Small cleanup
usb: Make usb_create_context() static
Don't export iio_context_create_from_backend as API function
iiod: Use snprintf instead of iio_snprintf
utilities: Implement real function iio_snprintf
context: Sanitize context attributes to valid XML
CMake: Enable WIN32 on MINGW
iio_stresstest: Fix build under MinGW
xml: Properly handle errors in setup_scan_element
xml: Properly handle errors in add_attr_to_{channel,device}
xml: Properly handle errors in create_channel
xml: Properly handle errors in create_device
xml: Simplify iio_populate_xml_context_helper
Fix warnings under MinGW and Clang
iiod-client: Pass client data as pointer to struct iiod_client_pdata
Use gnu_printf format with MinGW
xml: Cleanup libxml2 parser when exiting library
iiod: Use WITH_AIO instead of ENABLE_AIO
network: Fix IN6_IS_ADDR_LINKLOCAL() macro on old OSes
CMake: Move check for pthread_setname_np to IIOD
CMake: Don't compile with -D_GNU_SOURCE
CMake: Make options independant from environment
CI: Update build script for Mac OSX
CI: Update build script for Windows
CI: Update build script for Linux
dns-sd: Move dnssd_free_discovery_data() to dns_sd.c
dns-sd: bonjour: Code cleanup
dns-sd: windows: Code cleanup
dns-sd: Fix memleak in dnssd_find_hosts()
dns-sd: avahi: Code cleanup
network-unix: create_cancel_fd() can be static
network: Fix redefinition of __USE_MISC
CMake: WITH_NETWORK_GET_BUFFER requires _GNU_SOURCE
CMake: Fix build when HAVE_DNS_SD and no network backend
IIOD: Add local version of iio_device_get_sample_size_mask()
IIOD: Support printing device label in debug output
IIOD: Use public libiio API when possible
IIOD: Don't resize buffer before writing samples
IIOD: save IIO buffer's samples count in DevEntry struct
IIOD: Remove dependency on iio-private.h
Don't export iio_device_get_sample_size_mask()
dns_sd.c: Scanning doesn't require context
usb.c: Scanning doesn't require context
scan.c: Simplify iio_scan_result_add()
iio.h: Fix documentation of iio_create_default_context()
local: Return error codes in ioctl_nointr() directly
local: local_buffer_enabled_set() does not set errno
local: Make local_buffer_enabled_set() return 0 on success
network: Fix build under Clang
iio-private: Update ERR_PTR / PTR_ERR
local: Handle errors of set_channel_name()
local: Handle errors of create_channel()
local: Use local_free_channel_pdata() to avoid duplicating code
Fix XML generation with context attributes
Update udev rule to only scan USB
Sanitize the context description for XML
Put library version in XML string
xml: Read context version into context structure
Use cached context version if available
backends: Remove .get_version() callbacks
CMake: Fix build with NO_THREADS=ON
usb: Fix goto to wrong label
CMake: Bump version to v0.22
iiod: Avoid race between buffer destroy and set buffers count
Revert "backends: Remove .get_version() callbacks"
xml: Silence warnings with unknown XML tags
python: Don't reference Channel objects from Device
python: Don't reference Device objects from Context
python: Reference parent Device object from Buffer
CMake: Bump version to v0.23
RChis1 (2):
ci: improve azure build time
ci: release process automatization
Raluca Chis (3):
Push artifacts to SW Downloads
CI: Fix invalid character in bash script
Fix CentOS 8 builds. CMake must grab from kitware and doxygen must be installed with "dnf".
Robin Getz (18):
Merge pull request #564 from jtojnar/fix-pc-abs
tests: Support context timeout in common manner
Merge pull request #571 from analogdevicesinc/pybindings-rename
Merge pull request #567 from analogdevicesinc/dnechita-use-lowercase-include-mdns
man: allow man pages to be built when not in a ./build dir
cmake: set _WIN32_WINNT when compiling with mingw
Merge pull request #576 from julienmalik/fix561
Merge pull request #578 from analogdevicesinc/fix-appveyor
iio_attr: accept negative numbers as data to write to
Merge pull request #577 from analogdevicesinc/rgetz-fix-negative-numbers-in-iio_attr
Merge pull request #581 from analogdevicesinc/libiio-fix-ret
Merge pull request #540 from MartinSpiessl/httptohttpsfix
Merge pull request #595 from DanielGuramulta/cmake-fix
local.c: when target buffer is too small, fail
Cmake: Add Wshadow to default gcc builds.
iiod: fix shadowed local variable in iiod
cleanup: Never print out error codes in the leaf code
iio_error: Always print out the error code.
Travis F. Collins (1):
Update python package name
Virgil Litan (1):
doc: fix typo in build guide
f4exb (1):
Fixed declaration of 'buf' hides previous local declaration
Published by dNechita over 4 years ago
Changelog:
565bf68 Bump to version v0.21
5502a2d iio.h: add some doc about iio_context_clone not working on usb
c240dd7 Upgrade python setuptools for CI
8678898 travis-ci: We don't use "artifacts" so turn it off
eaaf588 travis-ci: remove old branches, so things don't fill up
f9abc28 travis-ci: avoid errors when uploading things to akami
d32fc58 travis-ci: provide an index of artifacts to people can find things.
f03e9ad travis-ci: Only rm old files from one build
c0aab37 travis: save some time by not setting up the host
a024e87 travis-ci: Make sure python is set properly in the lib
e2f46f0 Remove token requirement for sphinx doc build on CI
6bbf792 iiod: Make startup (with Avahi) more robust.
3425601 Remove make install requirement in CI
192fa42 Enable pydoc to be built without library installed
5c86f76 Add support for DESTDIR for python builds
b1d19e3 Fix tag requirement on pypi travis-ci
26c5be5 Bump to version v0.20
4a35451 tests: update the help printed out with -h
beda517 iio_utils: tweak context creation to split things better
0904524 iio_attr: change verbosity of output
732bf79 man: update iio_attr man page
ac92604 dox: update the mainpage of the generated dox
0330da4 libiio.iss.cmakein: Drop the "ignoreversion" flag and use the "replacesameversion" flag instead.
bbc9411 cmake: add gcov support for looking at test coverage
b69fb03 iio_utils: rework/fix command line argument parsing
ec3b7ed iio_attr: after automaticed testing, make return codes consistant.
b87c71d Coverity: Now we have optional flags, make sure to validate optarg
c9250c0 coverity: Fix Sizeof not portable (SIZEOF_MISMATCH)
bae0e60 usb.c : Simplify the "usb:" context scanning
edef5b9 python: iio_info.py rewrite.
7657cef usb.c: change a cast that was causing a problem on MSVC.
52a524b doc: added Sphinx documentation for iio_attr.py.
3f18c3a python: added iio_attr with Python bindings.
1172c7e iio_attr: enable code gen for local contexts
71bdda5 xml: Add capability to properly encode xml entities in context attributes
53c4add iio_utils: now that we support backend filtering, do so.
d532845 scan context: allow mutltiple backends for scanning context
c04042d python: point to the new README.md
8d8c76c MSVC 2019: Fix some minor errors pointed out by MSVS 2019
fdbfe59 cmake: add -Wno-unused-function to dns_sd_windows.c
d0aa9c7 cmake: when building, tell people if serial support exists
3447e2f CMakeLists.txt: Add File Version to the file properties.
41aaf1b libiio.iss.cmakein: Ignore FILE VERSION when installing libiio on Windows.
d9acea5 csharp: added bindings for context scanning.
a0a9367 csharp: added missing bindings.
7b5a7c9 dnssd: added windows implementation with mdns.h
605baa9 coverity: fix resource leak (uri not free()'ed) in network.c
3267944 coverity: handle strto[*] functions under|over-flows robustly
9bfe89c local: add some more info to local scan contexts
6d66318 usb: Fix compile error caused by unkown indentifier (interface)
7779fcd uri context attribute: add it, so the app doesn't need to keep track
3b9e5e1 usb.c : avoid using 'interface' as an identifier.
6a07dd2 context attributes: allow identical keys to over-write eachother
3c816c2 appveyor.yml: Fix MSYS2 pacman install. Don't use the latest version.
90b6e92 usb uri: add shorthand to the doc
c1ad912 usb: if blank usb uri (eg 'usb:'), search for one, and use that
4c577b3 Flawfinder : remove atol and atof, replace with strtoll and strtof
e306929 pylint & pep257: Resolve issues in python coding style.
505fffd appveyor.yml: Fix msys update which crashes after a new msys-runtime-devel package update.
eda1e62 pep257: turn off D402 checking
008a099 iio_info.py: update to black and fix pylint issues
7b112c7 black: apply black to iio_readdev.py & iio_writedev.py
3a02317 pylint: fix issues in iio_readdev.py and iio_writedev.py
ed8f90a python: python examples rewrite
47444bf pylint: turn off some checks
120247b iio_attr: add error checking
aeedb21 serial: support defining number of stop bits in serial URI
8a959b9 html: Remove repetitive words
d4e517e html: tweak html output to keep track of versions easier.
66b05fa iio.h: fix typo in doc parameter section for one function
86804ec travis-CI: When building doc, make sure the build stops on doc errs
27eaac3 sphinx: add '-w file' (Write warnings (and errors) to the given file)
670af70 dns_sd: qualify IIO_ERROR message before it prints out
ee2e9af cppcheck: fix null ptr dereference
7448b35 Enforce method implementation in bindings
817d875 remove usleep(): usleep() is considered obsolete, move to nanosleep()
7654992 tests: add a common function to parse and create iio_contexts
e2ab5f4 Cmake: move where -Werrors are turned on in the Cmake
a0b6944 iio.py : make some minor tweaks to fix syntax/linting errs
df494cd PyLint: add default RC file for PyLint
8c9e24c python: apply settings from black for formatting
50974b3 Remove remaining MATLAB bits from CI intrastructure
b6b2354 Add 'Introduced in version' comment to block funcs
ea0d5f2 Remove iio-wrapper include from iio-private.h
b968f81 Remove WITH_MATLAB_BINDINGS_API defines
098285c Cleanup MATLAB bindings CMake
bc7b11f Move scan_block functions into iio.h
091f970 Remove old MATLAB bindings mfiles
ad526d9 python: added README.md file for Python bindings.
886b643 iio_common: fix an off by one that was introduced during 9a007668
3f69133 iio_attr: make dealing with devices with no name easier.
4ca68fe fix issues pointed out by no-sign-compare removal
15bba24 Cmake : remove Wno-sign-compare, so we warn on sign diffences
4fcba7d local.c: fix off by one introduced in 3f305ee
9a00766 tests: fix minor issues/errors pointed out by Microsoft Studio
282c10d Fix minor issues/errors pointed out by Microsoft Studio in casting
19522e0 Win: move to safe version of sscanf
2e400fa getenv : keep Windows happy by using dupenv_s rather than getenv
2e9d236 cmake: Add MSVC flags for Wall, Wno-sign-compare and Werror
9ee8c7f cmake: Restructure CMake CFLAGS for clang
e597dcc appveyor.yml: Upgrade packages and pacman before trying to install any dependencies.
bb7814b codespell: Fix various spelling mistakes with codespell
13f0360 python: added Channel.convert_inverse().
848f9f9 python: fixed Channel.convert() method.
06060b8 doc: added DeviceBufferAttr and DeviceDebugAttr in Sphinx.
3fd6a12 cmake: now we are compiling without warnings on macos, make them errors
524a471 iio_stresstest: for macos add back <sys/sysctl.h>
2eb2011 travis-ci: install ncurses and cdk on macos
bd26c74 examples: Now we are building on MAC, fix the header include
8a5d43b Travis-CI: Update OSX building to the same as Linux
275b65f iio_info: fix scanning
ab6581f Coverity: Fix potential divide by zero in iio_readdev
7f0bcd0 Coverity: points out that the normal return path does a double free
a613dd0 Codacy: replace remaining sprintf in iio-monitor
282b0dd csharp: Control Structures should use curly braces {}
af1622d Coverity: Remove remaining asserts that were not caught
0b3949d Cmake: Turn on -Werror for CI system
8d7fd52 iio_stresstest: was including <sys/sysctl.h> by accident.
88b946f iio-monitor: Now the c90 warnings are gone, fix real warnings
b58cc88 Coverity: 'IIO_ASSERT' falsely flags just like 'ASSERT' does. Change it.
a330cc1 cmake: support old Cmake for -std=c99
3f305ee replace strcpy and snprintf in remaining user in libiio
db72b73 iiod-client.c: rework iiod_client_open_unlocked to remove strcpy
74d298e examples: Rename ASSERT to iio_ASSERT
973c61c iio-monitor: fix Argument cannot be negative
b31fc3e examples: Improved error handling when malloc or calloc fails.
a0343f3 xml buildups: fix bug introduced by recent changes
0c60091 Prospector: turn off pylint
6e69115 Revert "Cmake/Coverity: Force coverity to check everything"
71a5b00 Coverity: Fix potential divide by zero.
53d83cc prospector: add a configuration file for prospector
262b039 flawfinder : sprintf doesn't check for buffer overflows.
882568b Cmake/Coverity: Force coverity to check everything
8f87367 Cmake: remove unused defintions in Cmake
a51b8bb flawfinder: mark some ignores for CWE-134 in debug.h
1fa3040 context.c: optimize buidling xml function
55842bf device.c: optimize building xml function
945407c channel.c: optimize buidling xml function
fde81b1 context.c: remove strcpy & sprintf, and move to safe functions
2f55cd4 device.c : remove strcpy & sprintf, and move to safe functions
1e91e5d channel.c: remove strcpy & sprintf, and move to safe functions
474c708 utilities.c: add an iio_strlcpy, a "safer" version of strncpy
36204e2 context.c : track length of buffer when buidling xml
8c83eae device.c track length of buffer when buidling xml
eed04bd channel.c: track length of buffer when buidling xml
590baea Codacy fixes.
9b13564 python: added missing Python bindings.
a18d130 examples: fix issues that were pointed out on the CI
7a8fbe2 CI (travis-ci and coverity) : turn the examples on
f69ac5f examples/cmake : Add a cmake to the examples directory
5c66cc2 test: use a common function for printing usage.
503fa9b tests: use sanitize_clamp to qualify all command line input
2dc2bcc cmake: man: Avoid installing empty directories
4017a50 cmake: Fix installation of html documentation
1bf5d6a C#: Add autogenerated Doxygen for C# bindings
9a14cc5 C#: Document missing c# class/methods
5fb5d4a main libiio api doc: Add "back" url at the top of the mainpage
bb2020a Doxyfile.in: capture warnings when creating libiio api doc
f99017d sphinx: set up the examples so they show up in the generated doc
9960759 gitignore: add conf.py to gitignore
8daedce cmake: Add top level html index file to build system
3b774a2 html doc: add master index file for doc.
329352a tests: put common/replicated functions into a single file
9d88efd gitignore: don't ignore directories named "html"
f27fc31 travis-ci: install man2html and turn on man pages in CI
7a75179 htmldoc: add CMake to use man2html to create html doc from man pages
eb9fe23 python: code quality improvements
528345b Codacy (shellcheck): Double quote to prevent globbing and word splitting.
942b57d tests: iio_writedev: don't close the buffer on path with EXIT_SUCCESS
d957407 tests: iio_writedev: print error regardless of 'app_running'
e6c51ea coverity: iio_stresstest : fix Untrusted value as argument (TAINTED_SCALAR)
edb0164 Create Contributors.md
4315182 coverity: fix Untrusted value as argument in iio_stresstest
bc061a0 converity: fix Argument cannot be negative in libini
293d99c python: Added .rst files for sphinx.
2cd5a0f python: added documentation for iio_readdev and iio_writedev.
d28dd36 python: added iio_writedev with Python bindings.
374050c python: added iio_readdev with Python bindings.
0c6f646 bindings/csharp/CMakeLists.txt: Fix install step for CSharp bindings.
7d39af6 coverity: fix Unchecked return value from library
e12120a Coverity: fix Call to function atoi with tainted argument
23ab5d8 coverity: fix : Resource leak (RESOURCE_LEAK)
dbc2338 libini: Now that we have it, use it.
5950980 README_BUILD : add note about order of operations
746b57f Centos: Centos 6 doesn't support sphinx properly
30bec38 travis-ci: sphinx needs to have things in path
d52f8cd travis-CI: Install sphinx on the platforms that need it
88cf702 Cmake: build python bindings doc (sphinx)
33b1f15 Cmake: Make sure bindings are installed after doc
7420fb0 Initial commit for python bindings doc
77568c7 libini : Add this directly to the repo
8188c16 fix #425: add IIO prefix to INFO, WARN, DEBUG and ERROR macros
ebefefd codacy: fix %d in string requires 'int' but argument is 'unsigned int'.
d7c6451 codacity: fix buffer.c: struct member 'callback_wrapper_data' is never used.
4f0bcc7 Doxygen: put results in a version'ed subdirectory
1eadf73 ci,build: add CentOS 8 docker build
7567322 ci,build: add helper to check CentOS min version
1b5bae4 ci,build: let OS_VERSION propagate as env-var
0e69d57 coverity: fix contex.c Untrusted value as argument
eb99f04 coverity: fix iiod.c Unchecked return value from library
e284750 coverity: fix dns_sd.c Resource leak
332ecdb coverity: fix dns_sd.c Read from pointer after free
3a667fa coverity: fix dns_sd_avahi (Resource leak)
9ba5de1 ci,build: add Ubuntu 20.04 docker builds
a537703 ci,build: un-dockerize bionic build
7e1c0bc ci,build: export DEBIAN_FRONTEND=noninteractive when installing apt packages
e47caad ci,build: add version checker helpers
4ccfb5b This is a small tweak to try to reduce the travis-ci noise
5a64b64 ci,build: add generic mechanism for passing some Travis-CI envs
63f4488 kernel kernel's headers against libiio headers in CI
6f7ae64 ci,build: split trigger-next-build into it's own stage
7be55fb network scan : add network scan
30209db DNSSD: Increase DNS Service Discovery robustness
a2e5814 examples: Add -Wextra & -pedantic-errors to the example Makefile
f27f04f iio_writedev: Skip input channels
bb3b072 iio_readdev: Skip output channels
ee7d71f iio_writedev: Fix copy&paste error in size parameter help
4008b09 Doxygen: add examples to our Doxygen
0d107b1 iio.service file : remove since iiod now announce automatically
f7313ce iiod: allow multiple "iio" services to be published on DNS-SD
b9acd57 README_BUILD.md : update with a few more Prerequisites
9501cb9 Cmake : move HAVE_DNS_SD to iio-config.h
c954463 Fixed on MacOS: - "warning: implicit declaration of function 'sysctlbyname' is invalid in C99" - "error: unknown type name 'u_int'" after including <sys/sysctl.h>
3076542 ci,build: install python-pip for Ubuntu builds
5a6f85f ci,build: split 'make && make package' commands
34f3a99 examples: ensure all examples compile with new return checking option
3037476 add new option and description to man page
5247675 Cmake: restore installing the Avahi service file
98ba731 Update channel type and modifier lists
499a0bc Revert "network: errno should be already negative"
804216a Added Bonjour DNS SD implementation (macOS).
d4e1dbc Moved Avahi DNS SD implementation from network.c to dns_sd_avahi.c.
7c633c7 Simplified CMakeLists.txt by using list(APPEND..)
efc692a add a stresstest tool for rapid connects and disconnects for iiod
b12d050 tests: check return values on all calls
bf452ed Add an optional warn_unused_result attribute to functs which return vals
7608823 usb: Add trigger support to the USB backend
69f4d01 iiod-client: errors are negative, so print them that way
bb99e5f network: errno should be already negative
ef79725 ci,build: drop xcode9 build
1725e42 Remove python bindings from windows installer. Pip will be used instead for all platforms
3ed4840 Update appveyor build to use sdist build instead of bdist_wininst
71cc9cb Add pypi to travis-ci providers for python bindings. Only the first x86 Linux build will push to pypi on tagged commits.
21023a5 Update python bindings installer for pypi packaging. Installer has been updated to support python2 and python3, and will check to see if libiio installed before actually installing the bindings. This is primarily useful for pip users.
87f8f14 usb: be more verbose on errors, by using iio_strerr
Adrian Suciu (1):
dnssd: added windows implementation with mdns.h
Alexandra Trifan (5):
bindings/csharp/CMakeLists.txt: Fix install step for CSharp bindings.
appveyor.yml: Upgrade packages and pacman before trying to install any dependencies.
libiio.iss.cmakein: Ignore FILE VERSION when installing libiio on Windows.
CMakeLists.txt: Add File Version to the file properties.
libiio.iss.cmakein: Drop the "ignoreversion" flag and use the "replacesameversion" flag instead.
AlexandraTrifan (2):
appveyor.yml: Fix msys update which crashes after a new msys-runtime-devel package update.
appveyor.yml: Fix MSYS2 pacman install. Don't use the latest version.
Alexandru Ardelean (12):
ci,build: drop xcode9 build
ci,build: split 'make && make package' commands
ci,build: install python-pip for Ubuntu builds
ci,build: split trigger-next-build into it's own stage
ci,build: add generic mechanism for passing some Travis-CI envs
ci,build: add version checker helpers
ci,build: export DEBIAN_FRONTEND=noninteractive when installing apt packages
ci,build: un-dockerize bionic build
ci,build: add Ubuntu 20.04 docker builds
ci,build: let OS_VERSION propagate as env-var
ci,build: add helper to check CentOS min version
ci,build: add CentOS 8 docker build
Cristi Iacob (16):
python: added iio_readdev with Python bindings.
python: added iio_writedev with Python bindings.
python: added documentation for iio_readdev and iio_writedev.
python: Added .rst files for sphinx.
tests: iio_writedev: print error regardless of 'app_running'
tests: iio_writedev: don't close the buffer on path with EXIT_SUCCESS
python: code quality improvements
python: added missing Python bindings.
Codacy fixes.
doc: added DeviceBufferAttr and DeviceDebugAttr in Sphinx.
python: fixed Channel.convert() method.
python: added Channel.convert_inverse().
python: added README.md file for Python bindings.
python: added iio_attr with Python bindings.
doc: added Sphinx documentation for iio_attr.py.
python: iio_info.py rewrite.
Dan Nechita (25):
Merge pull request #381 from analogdevicesinc/drop-xcode9
Merge pull request #382 from analogdevicesinc/rgetz-network-errno
Merge pull request #383 from analogdevicesinc/rgetz-iiod-client-errs-are-negative
Merge pull request #385 from analogdevicesinc/rgetz-add-triggers-to-usb-backend
Merge pull request #387 from analogdevicesinc/rgetz-add-iio_stresstest
Merge pull request #386 from analogdevicesinc/rgetz-warn-when-ignore-return-vals
Merge pull request #407 from analogdevicesinc/rgetz-dox-update
Merge pull request #409 from larsclausen/iio_readdev_writedev_skip_wrong_channels
Merge pull request #427 from analogdevicesinc/rgetz-fix-name-space-collisions
Merge pull request #430 from analogdevicesinc/fix-csharp-install
Merge pull request #444 from analogdevicesinc/rgetz-remove-strcpy2
Merge pull request #448 from analogdevicesinc/rgetz-flawfinder-sprintf
Merge pull request #455 from analogdevicesinc/rgetz-add-prospector-config
Merge pull request #465 from analogdevicesinc/rgetz-fix-iio-monitor
Merge pull request #493 from analogdevicesinc/rgetz-unncessary-iio-error-message
Merge pull request #495 from analogdevicesinc/rgetz-tweak-html-outputs
html: Remove repetitive words
Merge pull request #512 from analogdevicesinc/rgetz-treat-interface-as-keyword
usb: Fix compile error caused by unkown indentifier (interface)
Merge pull request #522 from analogdevicesinc/rgetz-cmake-tell-serial
Merge pull request #521 from analogdevicesinc/test-installer
Merge pull request #541 from analogdevicesinc/rgetz-add-gcov
Merge pull request #543 from analogdevicesinc/rgetz-update-some-doc
Bump to version v0.20
Bump to version v0.21
Iacob (2):
csharp: added missing bindings.
csharp: added bindings for context scanning.
Lars-Peter Clausen (3):
iio_writedev: Fix copy&paste error in size parameter help
iio_readdev: Skip output channels
iio_writedev: Skip input channels
Marvin Schmidt (2):
cmake: Fix installation of html documentation
cmake: man: Avoid installing empty directories
Matej Kenda (4):
Simplified CMakeLists.txt by using list(APPEND..)
Moved Avahi DNS SD implementation from network.c to dns_sd_avahi.c.
Added Bonjour DNS SD implementation (macOS).
Fixed on MacOS: - "warning: implicit declaration of function 'sysctlbyname' is invalid in C99" - "error: unknown type name 'u_int'" after including <sys/sysctl.h>
Michael Hennerich (1):
Merge pull request #408 from larsclausen/iio_writedev-fix-size-help
Petr Štetiar (1):
Update channel type and modifier lists
Robin Getz (265):
usb: be more verbose on errors, by using iio_strerr
Merge pull request #377 from analogdevicesinc/rgetz-be-more-verbose-on-usb
network: errno should be already negative
iiod-client: errors are negative, so print them that way
usb: Add trigger support to the USB backend
Add an optional warn_unused_result attribute to functs which return vals
tests: check return values on all calls
add a stresstest tool for rapid connects and disconnects for iiod
Revert "network: errno should be already negative"
Merge pull request #389 from analogdevicesinc/revert-382-rgetz-network-errno
Merge pull request #388 from matejk/gh-307-dns-sd
Merge pull request #392 from ynezz/upstream/updates-for-5.4.22
Cmake: restore installing the Avahi service file
add new option and description to man page
examples: ensure all examples compile with new return checking option
Cmake : move HAVE_DNS_SD to iio-config.h
README_BUILD.md : update with a few more Prerequisites
Merge pull request #404 from analogdevicesinc/rgetz-patch-1
Merge pull request #399 from analogdevicesinc/rgetz-fix-avahi
Merge pull request #401 from matejk/macos-build-fixes
iiod: allow multiple "iio" services to be published on DNS-SD
iio.service file : remove since iiod now announce automatically
Doxygen: add examples to our Doxygen
Merge pull request #406 from analogdevicesinc/rgetz-allow-more-than-one-iio-on-avahi
examples: Add -Wextra & -pedantic-errors to the example Makefile
DNSSD: Increase DNS Service Discovery robustness
network scan : add network scan
Merge pull request #414 from analogdevicesinc/rgetz-fix-examples-codacity-issues
kernel kernel's headers against libiio headers in CI
Merge pull request #412 from analogdevicesinc/rgetz-dnssd-improvements
This is a small tweak to try to reduce the travis-ci noise
coverity: fix dns_sd_avahi (Resource leak)
coverity: fix dns_sd.c Read from pointer after free
coverity: fix dns_sd.c Resource leak
coverity: fix iiod.c Unchecked return value from library
coverity: fix contex.c Untrusted value as argument
Doxygen: put results in a version'ed subdirectory
Merge pull request #423 from analogdevicesinc/rgetz-coverity-fixes
codacity: fix buffer.c: struct member 'callback_wrapper_data' is never used.
codacy: fix %d in string requires 'int' but argument is 'unsigned int'.
fix #425: add IIO_ prefix to INFO, WARN, DEBUG and ERROR macros
Merge pull request #424 from analogdevicesinc/rgetz-codacy-fixes
libini : Add this directly to the repo
Cmake: Make sure bindings are installed after doc
Cmake: build python bindings doc (sphinx)
travis-CI: Install sphinx on the platforms that need it
travis-ci: sphinx needs to have things in path
Centos: Centos 6 doesn't support sphinx properly
README_BUILD : add note about order of operations
libini: Now that we have it, use it.
coverity: fix : Resource leak (RESOURCE_LEAK)
Coverity: fix Call to function atoi with tainted argument
coverity: fix Unchecked return value from library
Merge pull request #426 from analogdevicesinc/rgetz-coverity-fixes2
Merge pull request #393 from analogdevicesinc/python-doc
Merge pull request #428 from analogdevicesinc/rgetz-add-libini
converity: fix Argument cannot be negative in libini
Merge pull request #432 from analogdevicesinc/rgetz-coverity-fix-libini
coverity: fix Untrusted value as argument in iio_stresstest
Merge pull request #429 from analogdevicesinc/rgetz-coverity-fix3
Create Contributors.md
coverity: iio_stresstest : fix Untrusted value as argument (TAINTED_SCALAR)
Merge pull request #435 from analogdevicesinc/rgetz-contributors
Merge pull request #436 from analogdevicesinc/rgetz-coverity-fix4
Codacy (shellcheck): Double quote to prevent globbing and word splitting.
Merge pull request #438 from analogdevicesinc/rgetz-fix-shellcheck-issues
Merge pull request #434 from cristi-iacob/python-codacy-fixes
htmldoc: add CMake to use man2html to create html doc from man pages
travis-ci: install man2html and turn on man pages in CI
gitignore: don't ignore directories named "html"
tests: put common/replicated functions into a single file
html doc: add master index file for doc.
cmake: Add top level html index file to build system
gitignore: add conf.py to gitignore
sphinx: set up the examples so they show up in the generated doc
Doxyfile.in: capture warnings when creating libiio api doc
main libiio api doc: Add "back" url at the top of the mainpage
C#: Document missing c# class/methods
C#: Add autogenerated Doxygen for C# bindings
Merge pull request #433 from analogdevicesinc/rgetz-add-man-to-html-doc
tests: use sanitize_clamp to qualify all command line input
test: use a common function for printing usage.
examples/cmake : Add a cmake to the examples directory
CI (travis-ci and coverity) : turn the examples on
examples: fix issues that were pointed out on the CI
Merge pull request #440 from analogdevicesinc/rgetz-utils-work
Merge pull request #437 from marv/mandir-empty-cmake-dir
channel.c: track length of buffer when buidling xml
device.c track length of buffer when buidling xml
context.c : track length of buffer when buidling xml
utilities.c: add an iio_strlcpy, a "safer" version of strncpy
channel.c: remove strcpy & sprintf, and move to safe functions
device.c : remove strcpy & sprintf, and move to safe functions
context.c: remove strcpy & sprintf, and move to safe functions
channel.c: optimize buidling xml function
device.c: optimize building xml function
context.c: optimize buidling xml function
Merge pull request #443 from cristi-iacob/python-bindings
flawfinder: mark some ignores for CWE-134 in debug.h
Cmake: remove unused defintions in Cmake
Cmake/Coverity: Force coverity to check _everything_
flawfinder : sprintf doesn't check for buffer overflows.
Merge pull request #447 from analogdevicesinc/rgetz-rgetz-debug.h
Merge pull request #451 from analogdevicesinc/rgetz-remove-unused-cmake
prospector: add a configuration file for prospector
Coverity: Fix potential divide by zero.
Merge pull request #456 from analogdevicesinc/rgetz-fix-iio_writedev
Merge pull request #453 from analogdevicesinc/rgetz-force-coverity-to-turn-on-options
Revert "Cmake/Coverity: Force coverity to check _everything_"
Merge pull request #458 from analogdevicesinc/revert-453-rgetz-force-coverity-to-turn-on-options
Prospector: turn off pylint
xml buildups: fix bug introduced by recent changes
examples: Improved error handling when malloc or calloc fails.
iio-monitor: fix Argument cannot be negative
examples: Rename ASSERT to iio_ASSERT
Merge pull request #459 from analogdevicesinc/rgetz-xml-fixups-for-iiod
Merge pull request #454 from analogdevicesinc/rgetz-fix-examples
iiod-client.c: rework iiod_client_open_unlocked to remove strcpy
replace strcpy and snprintf in remaining user in libiio
Merge pull request #460 from analogdevicesinc/rgetz-turn-off-prospector-pylint
cmake: support old Cmake for -std=c99
Coverity: 'IIO_ASSERT' falsely flags just like 'ASSERT' does. Change it.
iio-monitor: Now the c90 warnings are gone, fix real warnings
iio_stresstest: was including <sys/sysctl.h> by accident.
Cmake: Turn on -Werror for CI system
Merge pull request #463 from analogdevicesinc/rgetz-assert-to-ensure
Merge pull request #461 from analogdevicesinc/rgetz-fix-remaining-snprintf-issues
Coverity: Remove remaining asserts that were not caught
Merge pull request #464 from analogdevicesinc/rgetz-remove-asserts
Merge pull request #462 from analogdevicesinc/rgetz-makec99-on-old-cmake
csharp: Control Structures should use curly braces {}
Codacy: replace remaining sprintf in iio-monitor
Coverity: points out that the normal return path does a double free
Coverity: Fix potential divide by zero in iio_readdev
iio_info: fix scanning
Merge pull request #470 from analogdevicesinc/rgetz-fix-iio-info-scanning
Merge pull request #467 from analogdevicesinc/rgetz-fix-csharp-formatting-issues
Merge pull request #466 from analogdevicesinc/rgetz-fix-coverity-iio-readdev
Travis-CI: Update OSX building to the same as Linux
examples: Now we are building on MAC, fix the header include
travis-ci: install ncurses and cdk on macos
iio_stresstest: for macos add back <sys/sysctl.h>
cmake: now we are compiling without warnings on macos, make them errors
Merge pull request #452 from cristi-iacob/python-doc-deviceattr
codespell: Fix various spelling mistakes with codespell
Merge pull request #469 from analogdevicesinc/rgetz-update-osx-builds
Merge pull request #473 from analogdevicesinc/rgetz-codespell
Merge pull request #476 from analogdevicesinc/appveyor-curl-fix
cmake: Restructure CMake CFLAGS for clang
cmake: Add MSVC flags for Wall, Wno-sign-compare and Werror
getenv : keep Windows happy by using _dupenv_s rather than getenv
Win: move to safe version of sscanf
Fix minor issues/errors pointed out by Microsoft Studio in casting
tests: fix minor issues/errors pointed out by Microsoft Studio
local.c: fix off by one introduced in 3f305ee
Merge pull request #475 from analogdevicesinc/rgetz-add-flags-to-clang
Merge pull request #480 from analogdevicesinc/rgetz-fix-off-by-one
Merge pull request #472 from analogdevicesinc/rgetz-update-win-builds
Cmake : remove Wno-sign-compare, so we warn on sign diffences
fix issues pointed out by no-sign-compare removal
iio_attr: make dealing with devices with no name easier.
iio_common: fix an off by one that was introduced during 9a007668
Merge pull request #468 from analogdevicesinc/rgetz-dont-ignore-sign-differences
Merge pull request #482 from analogdevicesinc/rgetz-iio-attr-triggers
Merge pull request #483 from cristi-iacob/python-readme
Remove remaining MATLAB bits from CI intrastructure
Merge pull request #477 from analogdevicesinc/tcollins-merge-matlab-header
python: apply settings from black for formatting
PyLint: add default RC file for PyLint
iio.py : make some minor tweaks to fix syntax/linting errs
Cmake: move where -Werrors are turned on in the Cmake
Merge pull request #490 from analogdevicesinc/rgetz-shuffle-Cmake-to-avoid-Werror
tests: add a common function to parse and create iio_contexts
remove usleep(): usleep() is considered obsolete, move to nanosleep()
Merge pull request #484 from analogdevicesinc/rgetz-use-black
Merge pull request #489 from analogdevicesinc/rgetz-tests-common-context-creation
Merge pull request #491 from analogdevicesinc/rgetz-move-to-nanosleep
cppcheck: fix null ptr dereference
dns_sd: qualify IIO_ERROR message before it prints out
sphinx: add '-w file' (Write warnings (and errors) to the given file)
travis-CI: When building doc, make sure the build stops on doc errs
iio.h: fix typo in doc parameter section for one function
html: tweak html output to keep track of versions easier.
Merge pull request #494 from analogdevicesinc/rgetz-make-doc-errs-fail-on-CI
Merge pull request #496 from analogdevicesinc/dnechita-fix-mainpage-doc
Merge pull request #492 from analogdevicesinc/rgetz-fix-null-ptr-deref-in-tests
serial: support defining number of stop bits in serial URI
Merge pull request #498 from analogdevicesinc/rgetz-serial-support-stop-bits
iio_attr: add error checking
pylint: turn off some checks
Merge pull request #500 from analogdevicesinc/rgetz-iio-attr-add-err-checking
Merge pull request #501 from analogdevicesinc/rgetz-tweak-pylint
python: python examples rewrite
pylint: fix issues in iio_readdev.py and iio_writedev.py
black: apply black to iio_readdev.py & iio_writedev.py
Merge pull request #503 from analogdevicesinc/rgetz-rework-pythond-examples
iio_info.py: update to black and fix pylint issues
pep257: turn off D402 checking
Merge pull request #504 from analogdevicesinc/rgetz-fix-iio_info.py
Merge pull request #505 from analogdevicesinc/fix-msys2
pylint & pep257: Resolve issues in python coding style.
Flawfinder : remove atol and atof, replace with strtoll and strtof
Merge pull request #502 from analogdevicesinc/rgetz-flawfinder-remove-atol
usb: if blank usb uri (eg 'usb:'), search for one, and use that
usb uri: add shorthand to the doc
Merge pull request #506 from analogdevicesinc/rgetz-resolve-pylint-issues
Merge pull request #507 from analogdevicesinc/rgetz-add-search-for-usb-uri
Merge pull request #511 from analogdevicesinc/fix-msys2
context attributes: allow identical keys to over-write eachother
usb.c : avoid using 'interface' as an identifier.
uri context attribute: add it, so the app doesn't need to keep track
Merge pull request #509 from analogdevicesinc/rgetz-add-uri-context-attribute
Merge pull request #514 from analogdevicesinc/dnechita-fix-usb-compile-err
local: add some more info to local scan contexts
coverity: handle strto[*] functions under|over-flows robustly
Merge pull request #513 from analogdevicesinc/rgetz-add-to-local-scan-info
Merge pull request #510 from analogdevicesinc/rgetz-fix-strtol-overflows
coverity: fix resource leak (uri not free()'ed) in network.c
Merge pull request #515 from analogdevicesinc/rgetz-coverity-fix-resource-leak
Merge pull request #508 from analogdevicesinc/dnssd-windows
cmake: when building, tell people if serial support exists
cmake: add -Wno-unused-function to dns_sd_windows.c
MSVC 2019: Fix some minor errors pointed out by MSVS 2019
python: point to the new README.md
scan context: allow mutltiple backends for scanning context
iio_utils: now that we support backend filtering, do so.
Merge pull request #523 from analogdevicesinc/rgetz-fix-MVSC2019
xml: Add capability to properly encode xml entities in context attributes
Merge pull request #528 from analogdevicesinc/rgetz-allow-multiple-scan-backends
Merge pull request #526 from analogdevicesinc/rgetz-fix-xml-entities
iio_attr: enable code gen for local contexts
usb.c: change a cast that was causing a problem on MSVC.
usb.c : Simplify the "usb:" context scanning
Merge pull request #530 from analogdevicesinc/rgetz-fix-local-codegen
coverity: Fix Sizeof not portable (SIZEOF_MISMATCH)
Coverity: Now we have optional flags, make sure to validate optarg
Merge pull request #534 from analogdevicesinc/rgetz-fix-coverity23
Merge pull request #535 from analogdevicesinc/rgetz-fix-winusb
iio_attr: after automaticed testing, make return codes consistant.
iio_utils: rework/fix command line argument parsing
Merge pull request #538 from analogdevicesinc/rgetz-fix-tests
Merge pull request #539 from analogdevicesinc/rgetz-test-fixes
cmake: add gcov support for looking at test coverage
Merge pull request #488 from cristi-iacob/csharp-bindings
Merge pull request #544 from analogdevicesinc/fix-ignoreversion
dox: update the mainpage of the generated dox
man: update iio_attr man page
iio_attr: change verbosity of output
iio_utils: tweak context creation to split things better
tests: update the help printed out with -h
Merge pull request #542 from analogdevicesinc/rgetz-change-verbosity-of-iio_attr
Merge pull request #546 from analogdevicesinc/travis-ci-fix
iiod: Make startup (with Avahi) more robust.
Merge pull request #551 from analogdevicesinc/rgetz-make-iiod-start-more-robust
travis-ci: Make sure python is set properly in the lib
travis: save some time by not setting up the host
travis-ci: Only rm old files from one build
travis-ci: provide an index of artifacts to people can find things.
travis-ci: avoid errors when uploading things to akami
travis-ci: remove old branches, so things don't fill up
travis-ci: We don't use "artifacts" so turn it off
Merge pull request #553 from analogdevicesinc/CI-python-doc-fix
Merge pull request #550 from analogdevicesinc/python-setup-fixes
iio.h: add some doc about iio_context_clone not working on usb
Merge pull request #554 from analogdevicesinc/rgetz-add-doc-to-clone
Travis Collins (6):
Update python bindings installer for pypi packaging. Installer has been updated to support python2 and python3, and will check to see if libiio installed before actually installing the bindings. This is primarily useful for pip users.
Merge pull request #380 from analogdevicesinc/pip-installer-fixes
Merge pull request #422 from cristi-iacob/python-tests
Merge pull request #527 from analogdevicesinc/rgetz-fix-python-readme
Merge pull request #457 from cristi-iacob/python-iioattr
Merge pull request #532 from cristi-iacob/python-iio-info
Travis F. Collins (17):
Add pypi to travis-ci providers for python bindings. Only the first x86 Linux build will push to pypi on tagged commits.
Update appveyor build to use sdist build instead of bdist_wininst
Remove python bindings from windows installer. Pip will be used instead for all platforms
Initial commit for python bindings doc
Remove old MATLAB bindings mfiles
Move scan_block functions into iio.h
Cleanup MATLAB bindings CMake
Remove WITH_MATLAB_BINDINGS_API defines
Remove iio-wrapper include from iio-private.h
Add 'Introduced in version' comment to block funcs
Enforce method implementation in bindings
Fix tag requirement on pypi travis-ci
Add support for DESTDIR for python builds
Enable pydoc to be built without library installed
Remove make install requirement in CI
Remove token requirement for sphinx doc build on CI
Upgrade python setuptools for CI
Published by dNechita over 4 years ago
Changelog:
565bf68 Bump to version v0.21
5502a2d iio.h: add some doc about iio_context_clone not working on usb
c240dd7 Upgrade python setuptools for CI
8678898 travis-ci: We don't use "artifacts" so turn it off
eaaf588 travis-ci: remove old branches, so things don't fill up
f9abc28 travis-ci: avoid errors when uploading things to akami
d32fc58 travis-ci: provide an index of artifacts to people can find things.
f03e9ad travis-ci: Only rm old files from one build
c0aab37 travis: save some time by not setting up the host
a024e87 travis-ci: Make sure python is set properly in the lib
e2f46f0 Remove token requirement for sphinx doc build on CI
6bbf792 iiod: Make startup (with Avahi) more robust.
3425601 Remove make install requirement in CI
192fa42 Enable pydoc to be built without library installed
5c86f76 Add support for DESTDIR for python builds
b1d19e3 Fix tag requirement on pypi travis-ci
26c5be5 Bump to version v0.20
4a35451 tests: update the help printed out with -h
beda517 iio_utils: tweak context creation to split things better
0904524 iio_attr: change verbosity of output
732bf79 man: update iio_attr man page
ac92604 dox: update the mainpage of the generated dox
0330da4 libiio.iss.cmakein: Drop the "ignoreversion" flag and use the "replacesameversion" flag instead.
bbc9411 cmake: add gcov support for looking at test coverage
b69fb03 iio_utils: rework/fix command line argument parsing
ec3b7ed iio_attr: after automaticed testing, make return codes consistant.
b87c71d Coverity: Now we have optional flags, make sure to validate optarg
c9250c0 coverity: Fix Sizeof not portable (SIZEOF_MISMATCH)
bae0e60 usb.c : Simplify the "usb:" context scanning
edef5b9 python: iio_info.py rewrite.
7657cef usb.c: change a cast that was causing a problem on MSVC.
52a524b doc: added Sphinx documentation for iio_attr.py.
3f18c3a python: added iio_attr with Python bindings.
1172c7e iio_attr: enable code gen for local contexts
71bdda5 xml: Add capability to properly encode xml entities in context attributes
53c4add iio_utils: now that we support backend filtering, do so.
d532845 scan context: allow mutltiple backends for scanning context
c04042d python: point to the new README.md
8d8c76c MSVC 2019: Fix some minor errors pointed out by MSVS 2019
fdbfe59 cmake: add -Wno-unused-function to dns_sd_windows.c
d0aa9c7 cmake: when building, tell people if serial support exists
3447e2f CMakeLists.txt: Add File Version to the file properties.
41aaf1b libiio.iss.cmakein: Ignore FILE VERSION when installing libiio on Windows.
d9acea5 csharp: added bindings for context scanning.
a0a9367 csharp: added missing bindings.
7b5a7c9 dnssd: added windows implementation with mdns.h
605baa9 coverity: fix resource leak (uri not free()'ed) in network.c
3267944 coverity: handle strto[*] functions under|over-flows robustly
9bfe89c local: add some more info to local scan contexts
6d66318 usb: Fix compile error caused by unkown indentifier (interface)
7779fcd uri context attribute: add it, so the app doesn't need to keep track
3b9e5e1 usb.c : avoid using 'interface' as an identifier.
6a07dd2 context attributes: allow identical keys to over-write eachother
3c816c2 appveyor.yml: Fix MSYS2 pacman install. Don't use the latest version.
90b6e92 usb uri: add shorthand to the doc
c1ad912 usb: if blank usb uri (eg 'usb:'), search for one, and use that
4c577b3 Flawfinder : remove atol and atof, replace with strtoll and strtof
e306929 pylint & pep257: Resolve issues in python coding style.
505fffd appveyor.yml: Fix msys update which crashes after a new msys-runtime-devel package update.
eda1e62 pep257: turn off D402 checking
008a099 iio_info.py: update to black and fix pylint issues
7b112c7 black: apply black to iio_readdev.py & iio_writedev.py
3a02317 pylint: fix issues in iio_readdev.py and iio_writedev.py
ed8f90a python: python examples rewrite
47444bf pylint: turn off some checks
120247b iio_attr: add error checking
aeedb21 serial: support defining number of stop bits in serial URI
8a959b9 html: Remove repetitive words
d4e517e html: tweak html output to keep track of versions easier.
66b05fa iio.h: fix typo in doc parameter section for one function
86804ec travis-CI: When building doc, make sure the build stops on doc errs
27eaac3 sphinx: add '-w file' (Write warnings (and errors) to the given file)
670af70 dns_sd: qualify IIO_ERROR message before it prints out
ee2e9af cppcheck: fix null ptr dereference
7448b35 Enforce method implementation in bindings
817d875 remove usleep(): usleep() is considered obsolete, move to nanosleep()
7654992 tests: add a common function to parse and create iio_contexts
e2ab5f4 Cmake: move where -Werrors are turned on in the Cmake
a0b6944 iio.py : make some minor tweaks to fix syntax/linting errs
df494cd PyLint: add default RC file for PyLint
8c9e24c python: apply settings from black for formatting
50974b3 Remove remaining MATLAB bits from CI intrastructure
b6b2354 Add 'Introduced in version' comment to block funcs
ea0d5f2 Remove iio-wrapper include from iio-private.h
b968f81 Remove WITH_MATLAB_BINDINGS_API defines
098285c Cleanup MATLAB bindings CMake
bc7b11f Move scan_block functions into iio.h
091f970 Remove old MATLAB bindings mfiles
ad526d9 python: added README.md file for Python bindings.
886b643 iio_common: fix an off by one that was introduced during 9a007668
3f69133 iio_attr: make dealing with devices with no name easier.
4ca68fe fix issues pointed out by no-sign-compare removal
15bba24 Cmake : remove Wno-sign-compare, so we warn on sign diffences
4fcba7d local.c: fix off by one introduced in 3f305ee
9a00766 tests: fix minor issues/errors pointed out by Microsoft Studio
282c10d Fix minor issues/errors pointed out by Microsoft Studio in casting
19522e0 Win: move to safe version of sscanf
2e400fa getenv : keep Windows happy by using dupenv_s rather than getenv
2e9d236 cmake: Add MSVC flags for Wall, Wno-sign-compare and Werror
9ee8c7f cmake: Restructure CMake CFLAGS for clang
e597dcc appveyor.yml: Upgrade packages and pacman before trying to install any dependencies.
bb7814b codespell: Fix various spelling mistakes with codespell
13f0360 python: added Channel.convert_inverse().
848f9f9 python: fixed Channel.convert() method.
06060b8 doc: added DeviceBufferAttr and DeviceDebugAttr in Sphinx.
3fd6a12 cmake: now we are compiling without warnings on macos, make them errors
524a471 iio_stresstest: for macos add back <sys/sysctl.h>
2eb2011 travis-ci: install ncurses and cdk on macos
bd26c74 examples: Now we are building on MAC, fix the header include
8a5d43b Travis-CI: Update OSX building to the same as Linux
275b65f iio_info: fix scanning
ab6581f Coverity: Fix potential divide by zero in iio_readdev
7f0bcd0 Coverity: points out that the normal return path does a double free
a613dd0 Codacy: replace remaining sprintf in iio-monitor
282b0dd csharp: Control Structures should use curly braces {}
af1622d Coverity: Remove remaining asserts that were not caught
0b3949d Cmake: Turn on -Werror for CI system
8d7fd52 iio_stresstest: was including <sys/sysctl.h> by accident.
88b946f iio-monitor: Now the c90 warnings are gone, fix real warnings
b58cc88 Coverity: 'IIO_ASSERT' falsely flags just like 'ASSERT' does. Change it.
a330cc1 cmake: support old Cmake for -std=c99
3f305ee replace strcpy and snprintf in remaining user in libiio
db72b73 iiod-client.c: rework iiod_client_open_unlocked to remove strcpy
74d298e examples: Rename ASSERT to iio_ASSERT
973c61c iio-monitor: fix Argument cannot be negative
b31fc3e examples: Improved error handling when malloc or calloc fails.
a0343f3 xml buildups: fix bug introduced by recent changes
0c60091 Prospector: turn off pylint
6e69115 Revert "Cmake/Coverity: Force coverity to check everything"
71a5b00 Coverity: Fix potential divide by zero.
53d83cc prospector: add a configuration file for prospector
262b039 flawfinder : sprintf doesn't check for buffer overflows.
882568b Cmake/Coverity: Force coverity to check everything
8f87367 Cmake: remove unused defintions in Cmake
a51b8bb flawfinder: mark some ignores for CWE-134 in debug.h
1fa3040 context.c: optimize buidling xml function
55842bf device.c: optimize building xml function
945407c channel.c: optimize buidling xml function
fde81b1 context.c: remove strcpy & sprintf, and move to safe functions
2f55cd4 device.c : remove strcpy & sprintf, and move to safe functions
1e91e5d channel.c: remove strcpy & sprintf, and move to safe functions
474c708 utilities.c: add an iio_strlcpy, a "safer" version of strncpy
36204e2 context.c : track length of buffer when buidling xml
8c83eae device.c track length of buffer when buidling xml
eed04bd channel.c: track length of buffer when buidling xml
590baea Codacy fixes.
9b13564 python: added missing Python bindings.
a18d130 examples: fix issues that were pointed out on the CI
7a8fbe2 CI (travis-ci and coverity) : turn the examples on
f69ac5f examples/cmake : Add a cmake to the examples directory
5c66cc2 test: use a common function for printing usage.
503fa9b tests: use sanitize_clamp to qualify all command line input
2dc2bcc cmake: man: Avoid installing empty directories
4017a50 cmake: Fix installation of html documentation
1bf5d6a C#: Add autogenerated Doxygen for C# bindings
9a14cc5 C#: Document missing c# class/methods
5fb5d4a main libiio api doc: Add "back" url at the top of the mainpage
bb2020a Doxyfile.in: capture warnings when creating libiio api doc
f99017d sphinx: set up the examples so they show up in the generated doc
9960759 gitignore: add conf.py to gitignore
8daedce cmake: Add top level html index file to build system
3b774a2 html doc: add master index file for doc.
329352a tests: put common/replicated functions into a single file
9d88efd gitignore: don't ignore directories named "html"
f27fc31 travis-ci: install man2html and turn on man pages in CI
7a75179 htmldoc: add CMake to use man2html to create html doc from man pages
eb9fe23 python: code quality improvements
528345b Codacy (shellcheck): Double quote to prevent globbing and word splitting.
942b57d tests: iio_writedev: don't close the buffer on path with EXIT_SUCCESS
d957407 tests: iio_writedev: print error regardless of 'app_running'
e6c51ea coverity: iio_stresstest : fix Untrusted value as argument (TAINTED_SCALAR)
edb0164 Create Contributors.md
4315182 coverity: fix Untrusted value as argument in iio_stresstest
bc061a0 converity: fix Argument cannot be negative in libini
293d99c python: Added .rst files for sphinx.
2cd5a0f python: added documentation for iio_readdev and iio_writedev.
d28dd36 python: added iio_writedev with Python bindings.
374050c python: added iio_readdev with Python bindings.
0c6f646 bindings/csharp/CMakeLists.txt: Fix install step for CSharp bindings.
7d39af6 coverity: fix Unchecked return value from library
e12120a Coverity: fix Call to function atoi with tainted argument
23ab5d8 coverity: fix : Resource leak (RESOURCE_LEAK)
dbc2338 libini: Now that we have it, use it.
5950980 README_BUILD : add note about order of operations
746b57f Centos: Centos 6 doesn't support sphinx properly
30bec38 travis-ci: sphinx needs to have things in path
d52f8cd travis-CI: Install sphinx on the platforms that need it
88cf702 Cmake: build python bindings doc (sphinx)
33b1f15 Cmake: Make sure bindings are installed after doc
7420fb0 Initial commit for python bindings doc
77568c7 libini : Add this directly to the repo
8188c16 fix #425: add IIO prefix to INFO, WARN, DEBUG and ERROR macros
ebefefd codacy: fix %d in string requires 'int' but argument is 'unsigned int'.
d7c6451 codacity: fix buffer.c: struct member 'callback_wrapper_data' is never used.
4f0bcc7 Doxygen: put results in a version'ed subdirectory
1eadf73 ci,build: add CentOS 8 docker build
7567322 ci,build: add helper to check CentOS min version
1b5bae4 ci,build: let OS_VERSION propagate as env-var
0e69d57 coverity: fix contex.c Untrusted value as argument
eb99f04 coverity: fix iiod.c Unchecked return value from library
e284750 coverity: fix dns_sd.c Resource leak
332ecdb coverity: fix dns_sd.c Read from pointer after free
3a667fa coverity: fix dns_sd_avahi (Resource leak)
9ba5de1 ci,build: add Ubuntu 20.04 docker builds
a537703 ci,build: un-dockerize bionic build
7e1c0bc ci,build: export DEBIAN_FRONTEND=noninteractive when installing apt packages
e47caad ci,build: add version checker helpers
4ccfb5b This is a small tweak to try to reduce the travis-ci noise
5a64b64 ci,build: add generic mechanism for passing some Travis-CI envs
63f4488 kernel kernel's headers against libiio headers in CI
6f7ae64 ci,build: split trigger-next-build into it's own stage
7be55fb network scan : add network scan
30209db DNSSD: Increase DNS Service Discovery robustness
a2e5814 examples: Add -Wextra & -pedantic-errors to the example Makefile
f27f04f iio_writedev: Skip input channels
bb3b072 iio_readdev: Skip output channels
ee7d71f iio_writedev: Fix copy&paste error in size parameter help
4008b09 Doxygen: add examples to our Doxygen
0d107b1 iio.service file : remove since iiod now announce automatically
f7313ce iiod: allow multiple "iio" services to be published on DNS-SD
b9acd57 README_BUILD.md : update with a few more Prerequisites
9501cb9 Cmake : move HAVE_DNS_SD to iio-config.h
c954463 Fixed on MacOS: - "warning: implicit declaration of function 'sysctlbyname' is invalid in C99" - "error: unknown type name 'u_int'" after including <sys/sysctl.h>
3076542 ci,build: install python-pip for Ubuntu builds
5a6f85f ci,build: split 'make && make package' commands
34f3a99 examples: ensure all examples compile with new return checking option
3037476 add new option and description to man page
5247675 Cmake: restore installing the Avahi service file
98ba731 Update channel type and modifier lists
499a0bc Revert "network: errno should be already negative"
804216a Added Bonjour DNS SD implementation (macOS).
d4e1dbc Moved Avahi DNS SD implementation from network.c to dns_sd_avahi.c.
7c633c7 Simplified CMakeLists.txt by using list(APPEND..)
efc692a add a stresstest tool for rapid connects and disconnects for iiod
b12d050 tests: check return values on all calls
bf452ed Add an optional warn_unused_result attribute to functs which return vals
7608823 usb: Add trigger support to the USB backend
69f4d01 iiod-client: errors are negative, so print them that way
bb99e5f network: errno should be already negative
ef79725 ci,build: drop xcode9 build
1725e42 Remove python bindings from windows installer. Pip will be used instead for all platforms
3ed4840 Update appveyor build to use sdist build instead of bdist_wininst
71cc9cb Add pypi to travis-ci providers for python bindings. Only the first x86 Linux build will push to pypi on tagged commits.
21023a5 Update python bindings installer for pypi packaging. Installer has been updated to support python2 and python3, and will check to see if libiio installed before actually installing the bindings. This is primarily useful for pip users.
87f8f14 usb: be more verbose on errors, by using iio_strerr
Adrian Suciu (1):
dnssd: added windows implementation with mdns.h
Alexandra Trifan (5):
bindings/csharp/CMakeLists.txt: Fix install step for CSharp bindings.
appveyor.yml: Upgrade packages and pacman before trying to install any dependencies.
libiio.iss.cmakein: Ignore FILE VERSION when installing libiio on Windows.
CMakeLists.txt: Add File Version to the file properties.
libiio.iss.cmakein: Drop the "ignoreversion" flag and use the "replacesameversion" flag instead.
AlexandraTrifan (2):
appveyor.yml: Fix msys update which crashes after a new msys-runtime-devel package update.
appveyor.yml: Fix MSYS2 pacman install. Don't use the latest version.
Alexandru Ardelean (12):
ci,build: drop xcode9 build
ci,build: split 'make && make package' commands
ci,build: install python-pip for Ubuntu builds
ci,build: split trigger-next-build into it's own stage
ci,build: add generic mechanism for passing some Travis-CI envs
ci,build: add version checker helpers
ci,build: export DEBIAN_FRONTEND=noninteractive when installing apt packages
ci,build: un-dockerize bionic build
ci,build: add Ubuntu 20.04 docker builds
ci,build: let OS_VERSION propagate as env-var
ci,build: add helper to check CentOS min version
ci,build: add CentOS 8 docker build
Cristi Iacob (16):
python: added iio_readdev with Python bindings.
python: added iio_writedev with Python bindings.
python: added documentation for iio_readdev and iio_writedev.
python: Added .rst files for sphinx.
tests: iio_writedev: print error regardless of 'app_running'
tests: iio_writedev: don't close the buffer on path with EXIT_SUCCESS
python: code quality improvements
python: added missing Python bindings.
Codacy fixes.
doc: added DeviceBufferAttr and DeviceDebugAttr in Sphinx.
python: fixed Channel.convert() method.
python: added Channel.convert_inverse().
python: added README.md file for Python bindings.
python: added iio_attr with Python bindings.
doc: added Sphinx documentation for iio_attr.py.
python: iio_info.py rewrite.
Dan Nechita (25):
Merge pull request #381 from analogdevicesinc/drop-xcode9
Merge pull request #382 from analogdevicesinc/rgetz-network-errno
Merge pull request #383 from analogdevicesinc/rgetz-iiod-client-errs-are-negative
Merge pull request #385 from analogdevicesinc/rgetz-add-triggers-to-usb-backend
Merge pull request #387 from analogdevicesinc/rgetz-add-iio_stresstest
Merge pull request #386 from analogdevicesinc/rgetz-warn-when-ignore-return-vals
Merge pull request #407 from analogdevicesinc/rgetz-dox-update
Merge pull request #409 from larsclausen/iio_readdev_writedev_skip_wrong_channels
Merge pull request #427 from analogdevicesinc/rgetz-fix-name-space-collisions
Merge pull request #430 from analogdevicesinc/fix-csharp-install
Merge pull request #444 from analogdevicesinc/rgetz-remove-strcpy2
Merge pull request #448 from analogdevicesinc/rgetz-flawfinder-sprintf
Merge pull request #455 from analogdevicesinc/rgetz-add-prospector-config
Merge pull request #465 from analogdevicesinc/rgetz-fix-iio-monitor
Merge pull request #493 from analogdevicesinc/rgetz-unncessary-iio-error-message
Merge pull request #495 from analogdevicesinc/rgetz-tweak-html-outputs
html: Remove repetitive words
Merge pull request #512 from analogdevicesinc/rgetz-treat-interface-as-keyword
usb: Fix compile error caused by unkown indentifier (interface)
Merge pull request #522 from analogdevicesinc/rgetz-cmake-tell-serial
Merge pull request #521 from analogdevicesinc/test-installer
Merge pull request #541 from analogdevicesinc/rgetz-add-gcov
Merge pull request #543 from analogdevicesinc/rgetz-update-some-doc
Bump to version v0.20
Bump to version v0.21
Iacob (2):
csharp: added missing bindings.
csharp: added bindings for context scanning.
Lars-Peter Clausen (3):
iio_writedev: Fix copy&paste error in size parameter help
iio_readdev: Skip output channels
iio_writedev: Skip input channels
Marvin Schmidt (2):
cmake: Fix installation of html documentation
cmake: man: Avoid installing empty directories
Matej Kenda (4):
Simplified CMakeLists.txt by using list(APPEND..)
Moved Avahi DNS SD implementation from network.c to dns_sd_avahi.c.
Added Bonjour DNS SD implementation (macOS).
Fixed on MacOS: - "warning: implicit declaration of function 'sysctlbyname' is invalid in C99" - "error: unknown type name 'u_int'" after including <sys/sysctl.h>
Michael Hennerich (1):
Merge pull request #408 from larsclausen/iio_writedev-fix-size-help
Petr Štetiar (1):
Update channel type and modifier lists
Robin Getz (265):
usb: be more verbose on errors, by using iio_strerr
Merge pull request #377 from analogdevicesinc/rgetz-be-more-verbose-on-usb
network: errno should be already negative
iiod-client: errors are negative, so print them that way
usb: Add trigger support to the USB backend
Add an optional warn_unused_result attribute to functs which return vals
tests: check return values on all calls
add a stresstest tool for rapid connects and disconnects for iiod
Revert "network: errno should be already negative"
Merge pull request #389 from analogdevicesinc/revert-382-rgetz-network-errno
Merge pull request #388 from matejk/gh-307-dns-sd
Merge pull request #392 from ynezz/upstream/updates-for-5.4.22
Cmake: restore installing the Avahi service file
add new option and description to man page
examples: ensure all examples compile with new return checking option
Cmake : move HAVE_DNS_SD to iio-config.h
README_BUILD.md : update with a few more Prerequisites
Merge pull request #404 from analogdevicesinc/rgetz-patch-1
Merge pull request #399 from analogdevicesinc/rgetz-fix-avahi
Merge pull request #401 from matejk/macos-build-fixes
iiod: allow multiple "iio" services to be published on DNS-SD
iio.service file : remove since iiod now announce automatically
Doxygen: add examples to our Doxygen
Merge pull request #406 from analogdevicesinc/rgetz-allow-more-than-one-iio-on-avahi
examples: Add -Wextra & -pedantic-errors to the example Makefile
DNSSD: Increase DNS Service Discovery robustness
network scan : add network scan
Merge pull request #414 from analogdevicesinc/rgetz-fix-examples-codacity-issues
kernel kernel's headers against libiio headers in CI
Merge pull request #412 from analogdevicesinc/rgetz-dnssd-improvements
This is a small tweak to try to reduce the travis-ci noise
coverity: fix dns_sd_avahi (Resource leak)
coverity: fix dns_sd.c Read from pointer after free
coverity: fix dns_sd.c Resource leak
coverity: fix iiod.c Unchecked return value from library
coverity: fix contex.c Untrusted value as argument
Doxygen: put results in a version'ed subdirectory
Merge pull request #423 from analogdevicesinc/rgetz-coverity-fixes
codacity: fix buffer.c: struct member 'callback_wrapper_data' is never used.
codacy: fix %d in string requires 'int' but argument is 'unsigned int'.
fix #425: add IIO_ prefix to INFO, WARN, DEBUG and ERROR macros
Merge pull request #424 from analogdevicesinc/rgetz-codacy-fixes
libini : Add this directly to the repo
Cmake: Make sure bindings are installed after doc
Cmake: build python bindings doc (sphinx)
travis-CI: Install sphinx on the platforms that need it
travis-ci: sphinx needs to have things in path
Centos: Centos 6 doesn't support sphinx properly
README_BUILD : add note about order of operations
libini: Now that we have it, use it.
coverity: fix : Resource leak (RESOURCE_LEAK)
Coverity: fix Call to function atoi with tainted argument
coverity: fix Unchecked return value from library
Merge pull request #426 from analogdevicesinc/rgetz-coverity-fixes2
Merge pull request #393 from analogdevicesinc/python-doc
Merge pull request #428 from analogdevicesinc/rgetz-add-libini
converity: fix Argument cannot be negative in libini
Merge pull request #432 from analogdevicesinc/rgetz-coverity-fix-libini
coverity: fix Untrusted value as argument in iio_stresstest
Merge pull request #429 from analogdevicesinc/rgetz-coverity-fix3
Create Contributors.md
coverity: iio_stresstest : fix Untrusted value as argument (TAINTED_SCALAR)
Merge pull request #435 from analogdevicesinc/rgetz-contributors
Merge pull request #436 from analogdevicesinc/rgetz-coverity-fix4
Codacy (shellcheck): Double quote to prevent globbing and word splitting.
Merge pull request #438 from analogdevicesinc/rgetz-fix-shellcheck-issues
Merge pull request #434 from cristi-iacob/python-codacy-fixes
htmldoc: add CMake to use man2html to create html doc from man pages
travis-ci: install man2html and turn on man pages in CI
gitignore: don't ignore directories named "html"
tests: put common/replicated functions into a single file
html doc: add master index file for doc.
cmake: Add top level html index file to build system
gitignore: add conf.py to gitignore
sphinx: set up the examples so they show up in the generated doc
Doxyfile.in: capture warnings when creating libiio api doc
main libiio api doc: Add "back" url at the top of the mainpage
C#: Document missing c# class/methods
C#: Add autogenerated Doxygen for C# bindings
Merge pull request #433 from analogdevicesinc/rgetz-add-man-to-html-doc
tests: use sanitize_clamp to qualify all command line input
test: use a common function for printing usage.
examples/cmake : Add a cmake to the examples directory
CI (travis-ci and coverity) : turn the examples on
examples: fix issues that were pointed out on the CI
Merge pull request #440 from analogdevicesinc/rgetz-utils-work
Merge pull request #437 from marv/mandir-empty-cmake-dir
channel.c: track length of buffer when buidling xml
device.c track length of buffer when buidling xml
context.c : track length of buffer when buidling xml
utilities.c: add an iio_strlcpy, a "safer" version of strncpy
channel.c: remove strcpy & sprintf, and move to safe functions
device.c : remove strcpy & sprintf, and move to safe functions
context.c: remove strcpy & sprintf, and move to safe functions
channel.c: optimize buidling xml function
device.c: optimize building xml function
context.c: optimize buidling xml function
Merge pull request #443 from cristi-iacob/python-bindings
flawfinder: mark some ignores for CWE-134 in debug.h
Cmake: remove unused defintions in Cmake
Cmake/Coverity: Force coverity to check _everything_
flawfinder : sprintf doesn't check for buffer overflows.
Merge pull request #447 from analogdevicesinc/rgetz-rgetz-debug.h
Merge pull request #451 from analogdevicesinc/rgetz-remove-unused-cmake
prospector: add a configuration file for prospector
Coverity: Fix potential divide by zero.
Merge pull request #456 from analogdevicesinc/rgetz-fix-iio_writedev
Merge pull request #453 from analogdevicesinc/rgetz-force-coverity-to-turn-on-options
Revert "Cmake/Coverity: Force coverity to check _everything_"
Merge pull request #458 from analogdevicesinc/revert-453-rgetz-force-coverity-to-turn-on-options
Prospector: turn off pylint
xml buildups: fix bug introduced by recent changes
examples: Improved error handling when malloc or calloc fails.
iio-monitor: fix Argument cannot be negative
examples: Rename ASSERT to iio_ASSERT
Merge pull request #459 from analogdevicesinc/rgetz-xml-fixups-for-iiod
Merge pull request #454 from analogdevicesinc/rgetz-fix-examples
iiod-client.c: rework iiod_client_open_unlocked to remove strcpy
replace strcpy and snprintf in remaining user in libiio
Merge pull request #460 from analogdevicesinc/rgetz-turn-off-prospector-pylint
cmake: support old Cmake for -std=c99
Coverity: 'IIO_ASSERT' falsely flags just like 'ASSERT' does. Change it.
iio-monitor: Now the c90 warnings are gone, fix real warnings
iio_stresstest: was including <sys/sysctl.h> by accident.
Cmake: Turn on -Werror for CI system
Merge pull request #463 from analogdevicesinc/rgetz-assert-to-ensure
Merge pull request #461 from analogdevicesinc/rgetz-fix-remaining-snprintf-issues
Coverity: Remove remaining asserts that were not caught
Merge pull request #464 from analogdevicesinc/rgetz-remove-asserts
Merge pull request #462 from analogdevicesinc/rgetz-makec99-on-old-cmake
csharp: Control Structures should use curly braces {}
Codacy: replace remaining sprintf in iio-monitor
Coverity: points out that the normal return path does a double free
Coverity: Fix potential divide by zero in iio_readdev
iio_info: fix scanning
Merge pull request #470 from analogdevicesinc/rgetz-fix-iio-info-scanning
Merge pull request #467 from analogdevicesinc/rgetz-fix-csharp-formatting-issues
Merge pull request #466 from analogdevicesinc/rgetz-fix-coverity-iio-readdev
Travis-CI: Update OSX building to the same as Linux
examples: Now we are building on MAC, fix the header include
travis-ci: install ncurses and cdk on macos
iio_stresstest: for macos add back <sys/sysctl.h>
cmake: now we are compiling without warnings on macos, make them errors
Merge pull request #452 from cristi-iacob/python-doc-deviceattr
codespell: Fix various spelling mistakes with codespell
Merge pull request #469 from analogdevicesinc/rgetz-update-osx-builds
Merge pull request #473 from analogdevicesinc/rgetz-codespell
Merge pull request #476 from analogdevicesinc/appveyor-curl-fix
cmake: Restructure CMake CFLAGS for clang
cmake: Add MSVC flags for Wall, Wno-sign-compare and Werror
getenv : keep Windows happy by using _dupenv_s rather than getenv
Win: move to safe version of sscanf
Fix minor issues/errors pointed out by Microsoft Studio in casting
tests: fix minor issues/errors pointed out by Microsoft Studio
local.c: fix off by one introduced in 3f305ee
Merge pull request #475 from analogdevicesinc/rgetz-add-flags-to-clang
Merge pull request #480 from analogdevicesinc/rgetz-fix-off-by-one
Merge pull request #472 from analogdevicesinc/rgetz-update-win-builds
Cmake : remove Wno-sign-compare, so we warn on sign diffences
fix issues pointed out by no-sign-compare removal
iio_attr: make dealing with devices with no name easier.
iio_common: fix an off by one that was introduced during 9a007668
Merge pull request #468 from analogdevicesinc/rgetz-dont-ignore-sign-differences
Merge pull request #482 from analogdevicesinc/rgetz-iio-attr-triggers
Merge pull request #483 from cristi-iacob/python-readme
Remove remaining MATLAB bits from CI intrastructure
Merge pull request #477 from analogdevicesinc/tcollins-merge-matlab-header
python: apply settings from black for formatting
PyLint: add default RC file for PyLint
iio.py : make some minor tweaks to fix syntax/linting errs
Cmake: move where -Werrors are turned on in the Cmake
Merge pull request #490 from analogdevicesinc/rgetz-shuffle-Cmake-to-avoid-Werror
tests: add a common function to parse and create iio_contexts
remove usleep(): usleep() is considered obsolete, move to nanosleep()
Merge pull request #484 from analogdevicesinc/rgetz-use-black
Merge pull request #489 from analogdevicesinc/rgetz-tests-common-context-creation
Merge pull request #491 from analogdevicesinc/rgetz-move-to-nanosleep
cppcheck: fix null ptr dereference
dns_sd: qualify IIO_ERROR message before it prints out
sphinx: add '-w file' (Write warnings (and errors) to the given file)
travis-CI: When building doc, make sure the build stops on doc errs
iio.h: fix typo in doc parameter section for one function
html: tweak html output to keep track of versions easier.
Merge pull request #494 from analogdevicesinc/rgetz-make-doc-errs-fail-on-CI
Merge pull request #496 from analogdevicesinc/dnechita-fix-mainpage-doc
Merge pull request #492 from analogdevicesinc/rgetz-fix-null-ptr-deref-in-tests
serial: support defining number of stop bits in serial URI
Merge pull request #498 from analogdevicesinc/rgetz-serial-support-stop-bits
iio_attr: add error checking
pylint: turn off some checks
Merge pull request #500 from analogdevicesinc/rgetz-iio-attr-add-err-checking
Merge pull request #501 from analogdevicesinc/rgetz-tweak-pylint
python: python examples rewrite
pylint: fix issues in iio_readdev.py and iio_writedev.py
black: apply black to iio_readdev.py & iio_writedev.py
Merge pull request #503 from analogdevicesinc/rgetz-rework-pythond-examples
iio_info.py: update to black and fix pylint issues
pep257: turn off D402 checking
Merge pull request #504 from analogdevicesinc/rgetz-fix-iio_info.py
Merge pull request #505 from analogdevicesinc/fix-msys2
pylint & pep257: Resolve issues in python coding style.
Flawfinder : remove atol and atof, replace with strtoll and strtof
Merge pull request #502 from analogdevicesinc/rgetz-flawfinder-remove-atol
usb: if blank usb uri (eg 'usb:'), search for one, and use that
usb uri: add shorthand to the doc
Merge pull request #506 from analogdevicesinc/rgetz-resolve-pylint-issues
Merge pull request #507 from analogdevicesinc/rgetz-add-search-for-usb-uri
Merge pull request #511 from analogdevicesinc/fix-msys2
context attributes: allow identical keys to over-write eachother
usb.c : avoid using 'interface' as an identifier.
uri context attribute: add it, so the app doesn't need to keep track
Merge pull request #509 from analogdevicesinc/rgetz-add-uri-context-attribute
Merge pull request #514 from analogdevicesinc/dnechita-fix-usb-compile-err
local: add some more info to local scan contexts
coverity: handle strto[*] functions under|over-flows robustly
Merge pull request #513 from analogdevicesinc/rgetz-add-to-local-scan-info
Merge pull request #510 from analogdevicesinc/rgetz-fix-strtol-overflows
coverity: fix resource leak (uri not free()'ed) in network.c
Merge pull request #515 from analogdevicesinc/rgetz-coverity-fix-resource-leak
Merge pull request #508 from analogdevicesinc/dnssd-windows
cmake: when building, tell people if serial support exists
cmake: add -Wno-unused-function to dns_sd_windows.c
MSVC 2019: Fix some minor errors pointed out by MSVS 2019
python: point to the new README.md
scan context: allow mutltiple backends for scanning context
iio_utils: now that we support backend filtering, do so.
Merge pull request #523 from analogdevicesinc/rgetz-fix-MVSC2019
xml: Add capability to properly encode xml entities in context attributes
Merge pull request #528 from analogdevicesinc/rgetz-allow-multiple-scan-backends
Merge pull request #526 from analogdevicesinc/rgetz-fix-xml-entities
iio_attr: enable code gen for local contexts
usb.c: change a cast that was causing a problem on MSVC.
usb.c : Simplify the "usb:" context scanning
Merge pull request #530 from analogdevicesinc/rgetz-fix-local-codegen
coverity: Fix Sizeof not portable (SIZEOF_MISMATCH)
Coverity: Now we have optional flags, make sure to validate optarg
Merge pull request #534 from analogdevicesinc/rgetz-fix-coverity23
Merge pull request #535 from analogdevicesinc/rgetz-fix-winusb
iio_attr: after automaticed testing, make return codes consistant.
iio_utils: rework/fix command line argument parsing
Merge pull request #538 from analogdevicesinc/rgetz-fix-tests
Merge pull request #539 from analogdevicesinc/rgetz-test-fixes
cmake: add gcov support for looking at test coverage
Merge pull request #488 from cristi-iacob/csharp-bindings
Merge pull request #544 from analogdevicesinc/fix-ignoreversion
dox: update the mainpage of the generated dox
man: update iio_attr man page
iio_attr: change verbosity of output
iio_utils: tweak context creation to split things better
tests: update the help printed out with -h
Merge pull request #542 from analogdevicesinc/rgetz-change-verbosity-of-iio_attr
Merge pull request #546 from analogdevicesinc/travis-ci-fix
iiod: Make startup (with Avahi) more robust.
Merge pull request #551 from analogdevicesinc/rgetz-make-iiod-start-more-robust
travis-ci: Make sure python is set properly in the lib
travis: save some time by not setting up the host
travis-ci: Only rm old files from one build
travis-ci: provide an index of artifacts to people can find things.
travis-ci: avoid errors when uploading things to akami
travis-ci: remove old branches, so things don't fill up
travis-ci: We don't use "artifacts" so turn it off
Merge pull request #553 from analogdevicesinc/CI-python-doc-fix
Merge pull request #550 from analogdevicesinc/python-setup-fixes
iio.h: add some doc about iio_context_clone not working on usb
Merge pull request #554 from analogdevicesinc/rgetz-add-doc-to-clone
Travis Collins (6):
Update python bindings installer for pypi packaging. Installer has been updated to support python2 and python3, and will check to see if libiio installed before actually installing the bindings. This is primarily useful for pip users.
Merge pull request #380 from analogdevicesinc/pip-installer-fixes
Merge pull request #422 from cristi-iacob/python-tests
Merge pull request #527 from analogdevicesinc/rgetz-fix-python-readme
Merge pull request #457 from cristi-iacob/python-iioattr
Merge pull request #532 from cristi-iacob/python-iio-info
Travis F. Collins (17):
Add pypi to travis-ci providers for python bindings. Only the first x86 Linux build will push to pypi on tagged commits.
Update appveyor build to use sdist build instead of bdist_wininst
Remove python bindings from windows installer. Pip will be used instead for all platforms
Initial commit for python bindings doc
Remove old MATLAB bindings mfiles
Move scan_block functions into iio.h
Cleanup MATLAB bindings CMake
Remove WITH_MATLAB_BINDINGS_API defines
Remove iio-wrapper include from iio-private.h
Add 'Introduced in version' comment to block funcs
Enforce method implementation in bindings
Fix tag requirement on pypi travis-ci
Add support for DESTDIR for python builds
Enable pydoc to be built without library installed
Remove make install requirement in CI
Remove token requirement for sphinx doc build on CI
Upgrade python setuptools for CI
Published by dNechita over 4 years ago
Changelog:
5f5af2e Bump to version v0.19
497d3da (origin/rgetz-verbose-iiod-errors) network: Fix typo in error message related to iiod client open
abdd072 Increase error reporting on iiod and network backend
ce10854 iio_attr : Add a feature which auto-generates C code
6c40e8c iio_info: warn when iio_channel_get_type = IIO_CHAN_TYPE_UNKNOWN
e8206c9 Create Code of Conduct.md
ec2f079 Create Contributing.md
6360902 iio_info: use malloc rather than stack buffers
d7838e4 Handle channel IDs without index or modifier correctly
f7c5e7f iio_readdev: Fix corrupt data that was being captured on Windows
49f999c Create README_BUILD.md
6a777b7 (origin/rgetz-fix-licenses) Licences: fix #350, and clean up license.
2914675 (origin/fix-iio_buffer_push_partial) local: Fix the checking of the buffer size returned by kernel
7f96e80 (origin/rgetz-add-man-pages) man: add some default man pages
e8c1291 csharp/IOBuffer.cs: Add a read() function to extract data from the IIO buffer.
22486dc csharp/IOBuffer.cs: Change IntPtr cast to long instead of int.
2abe5f7 Global differential attributes code review requests.
17148ef Improved matching on global attributes for differential channels
a9ac553 cmake : on the CI, turn on WITH_DOC, so gh-pages is updated
d0faf30 cmake: Make the WITH_DOC (Doxygen) optional, defaulting off
a225401 iio.h: improve consistancy of doxygen generated content
bffde86 iio.h: Fix whitespace differences/inconsistances
b079f9d (origin/rgetz-update-svg) doc: update code model picture
d94e149 #352 First attempt to match global attributes for differential channels.
55976f3 Improve URI documentation for iio_create_context_from_uri
dcf3582 (origin/rgetz-add-flags-for-bindings) CI: Make the CI systems respect the new binding flags
f1faa28 Bindings : NB Add Cmake flags to turn on bindings (Default=off)
cc9b3c7 ./tests/iio_attr : move from allocating space on stack to malloc
645391b Fix #336, make sure libusb can be found on FreeBSD variants
100f910 fix #336, remove warnings on FreeBSD
3ede102 Update .gitignore in the examples dir
846613c fix #59 - add a readme to the examples directory
df51cc1 ci,lib.sh: print Github API rate limits
423d20d (origin/rgetz-fix-325) Fix #325, remove dead code/compiler warning
8b57196 bindings/csharp/CMakeLists.txt: Fix the install step for CSharp bindings.
673f922 Fix #307 by accepting avahi null names, and install avahi service file
e641094 Python3: fixed string type checking in iio.NetworkContext to be compatible with Python 2 and Python 3.
8a82417 Fixed loading of libiio on non-Windows systems where find_library shall find it in the path if the specified name is 'iio'.
5ca77b1 gh-327: Use "include(FindPythinInterp)" when compiling with CMake older than 3.12.
4470593 Making the printfs in dummy-iiostream portable.
dc3684c Fixing dummy-iiostream read method help message.
1036e51 ci,os-x: disable brew's default install cleanup
a3a4c08 ci,lib: fix typo; correct is brew list --versions
4540f7e build,ci: os-x: install packages if they don't exist
c9a854f utilities.c: Consider OS X a platform that has locale support
812cfd2 (origin/context_cmd_line_args) Fixed indentation issues.
ef82d7b ad9361-iiostream.c example takes Command line arguments to select local context vs uri context.
4655780 Python: More robust loading of IIO library that works on different platforms.
e31a4e2 Python: More robust loading of IIO library that works on different platforms.
96a9689 CMake python bindings: "use find_package (Python COMPONENTS Interpreter)" instead of deprecated "include(FindPythonInterp)"
c3bed86 CMake: added option OSX_INSTALL_FRAMEWORKSDIR (default /Library/Frameworks) to specify custom install path. rpath of tools is corrected to reference the library relative to the binary's location.
0fbb31f network: only resolve interface name on ipv6 ll
915adbb README.md: fix OS X High Sierra alternative package link
78170b1 README.md: remove OS X El Capitan (10.11) from readme
c4833c5 build,.travis.yml: add support for Xcode 11
b48d91f .travis.yml: remove/retire Trusty builds
48808dd General: Rework the Windows installer and the zip artifact.
76083a7 travis-ci: recent upgrades in the travis-ci infrastructure caused some breakages in deployments
1773c52 Add example for ADRV9009
6abaaec local.c: make sure dst is null-terminated if fread fails
5090603 fix install of binaries with a static only library
b8f3bf9 Update README.md to include the arm packages
bb9831a iiod: usbd: Fix wrong null pointer check
Adrian Suciu (1):
local.c: make sure dst is null-terminated if fread fails
Alexandra Trifan (2):
General: Rework the Windows installer and the zip artifact.
bindings/csharp/CMakeLists.txt: Fix the install step for CSharp bindings.
Alexandra.Trifan (2):
csharp/IOBuffer.cs: Change IntPtr cast to long instead of int.
csharp/IOBuffer.cs: Add a read() function to extract data from the IIO buffer.
Alexandru Ardelean (8):
.travis.yml: remove/retire Trusty builds
build,.travis.yml: add support for Xcode 11
README.md: remove OS X El Capitan (10.11) from readme
README.md: fix OS X High Sierra alternative package link
build,ci: os-x: install packages if they don't exist
ci,lib: fix typo; correct is `brew list --versions`
ci,os-x: disable brew's default install cleanup
ci,lib.sh: print Github API rate limits
Dan Nechita (22):
utilities.c: Consider OS X a platform that has locale support
Merge pull request #304 from dimasad/master
Merge pull request #332 from matejk/fix-linux-load-library
Merge pull request #333 from matejk/fix-python-2-3-string-check
Merge pull request #341 from analogdevicesinc/build-print-remaining-api-limits
Merge pull request #348 from analogdevicesinc/rgetz-move-to-malloc
Merge pull request #347 from analogdevicesinc/rgetz-add-flags-for-bindings
Merge pull request #356 from analogdevicesinc/rgetz-fix-iio.h
Merge pull request #353 from analogdevicesinc/rgetz-promote-WITH-DOC
Merge pull request #354 from fpagliughi/differential-global-attr
Merge pull request #360 from analogdevicesinc/csharp_fixes
local: Fix the checking of the buffer size returned by kernel
Merge pull request #362 from analogdevicesinc/fix-iio_buffer_push_partial
Merge pull request #361 from analogdevicesinc/rgetz-patch-1
iio_readdev: Fix corrupt data that was being captured on Windows
Merge pull request #358 from analogdevicesinc/rgetz-fix-licenses
Merge pull request #366 from hshmt/type
Merge pull request #369 from analogdevicesinc/rgetz-malloc-iio-info
Merge pull request #375 from analogdevicesinc/rgetz-iio_attr-gen-code2
network: Fix typo in error message related to iiod client open
Merge pull request #376 from analogdevicesinc/rgetz-verbose-iiod-errors
Bump to version v0.19
Dimas Abreu Archanjo Dutra (2):
Fixing dummy-iiostream read method help message.
Making the printfs in dummy-iiostream portable.
Edward Kigwana (1):
Improve URI documentation for iio_create_context_from_uri
Jorik Jonker (1):
network: only resolve interface name on ipv6 ll
Matej Kenda (8):
CMake: added option OSX_INSTALL_FRAMEWORKSDIR (default /Library/Frameworks) to specify custom install path. rpath of tools is corrected to reference the library relative to the binary's location.
CMake python bindings: "use find_package (Python COMPONENTS Interpreter)" instead of deprecated "include(FindPythonInterp)"
Python: More robust loading of IIO library that works on different platforms.
Python: More robust loading of IIO library that works on different platforms.
Merge branch 'python-find-library' of github.com:matejk/libiio into python-find-library
gh-327: Use "include(FindPythinInterp)" when compiling with CMake older than 3.12.
Fixed loading of libiio on non-Windows systems where find_library shall find it in the path if the specified name is 'iio'.
Python3: fixed string type checking in iio.NetworkContext to be compatible with Python 2 and Python 3.
Michael Hennerich (7):
Merge pull request #279 from analogdevicesinc/iiod-nullptr-fix
Merge pull request #290 from analogdevicesinc/coverity_fix_cid343595
Merge pull request #297 from jonkerj/fix-network-global-ipv6
Merge pull request #314 from matejk/python-find-library
Merge pull request #312 from matejk/osx-install-frameworksdir
Merge pull request #313 from matejk/cmake-find-python
Merge pull request #319 from analogdevicesinc/context_cmd_line_args
Paul Cercueil (1):
iiod: usbd: Fix wrong null pointer check
Pierre-Jean Texier (1):
fix install of binaries with a static only library
Robin Getz (38):
Update README.md to include the arm packages
travis-ci: recent upgrades in the travis-ci infrastructure caused some breakages in deployments
Merge pull request #283 from texierp/fix/rpath
Merge pull request #328 from matejk/gh-327-python-not-found
Fix #307 by accepting avahi null names, and install avahi service file
Merge pull request #338 from analogdevicesinc/rgetz-avahi-install
Merge pull request #337 from analogdevicesinc/fix_install_csharp
Fix #325, remove dead code/compiler warning
Merge pull request #340 from analogdevicesinc/rgetz-fix-325
fix #59 - add a readme to the examples directory
Update .gitignore in the examples dir
Merge pull request #342 from analogdevicesinc/rgetz-patch-2
fix #336, remove warnings on FreeBSD
Merge pull request #339 from analogdevicesinc/rgetz-patch-1
Fix #336, make sure libusb can be found on FreeBSD variants
./tests/iio_attr : move from allocating space on stack to malloc
Merge pull request #343 from analogdevicesinc/rgetz-patch-2
Merge pull request #346 from analogdevicesinc/rgetz-fix-freebsd-usb
Bindings : **NB** Add Cmake flags to turn on bindings (Default=off)
CI: Make the CI systems respect the new binding flags
doc: update code model picture
Merge pull request #351 from ekigwana/master
iio.h: Fix whitespace differences/inconsistances
iio.h: improve consistancy of doxygen generated content
cmake: Make the WITH_DOC (Doxygen) optional, defaulting off
cmake : on the CI, turn on WITH_DOC, so gh-pages is updated
man: add some default man pages
Licences: fix #350, and clean up license.
Create README_BUILD.md
iio_info: use malloc rather than stack buffers
Create Contributing.md
Create Code of Conduct.md
iio_info: warn when iio_channel_get_type = IIO_CHAN_TYPE_UNKNOWN
Merge pull request #374 from analogdevicesinc/rgetz-iio-info-add-warn-on-IIO_CHAN_TYPE_UNKNOWN
Merge pull request #371 from analogdevicesinc/rgetz-create-contributing.md
Merge pull request #372 from analogdevicesinc/add-code-of-conduct-1
iio_attr : Add a feature which auto-generates C code
Increase error reporting on iiod and network backend
Ryo Hashimoto (1):
Handle channel IDs without index or modifier correctly
SrikanthPagadarai (2):
ad9361-iiostream.c example takes Command line arguments to select local context vs uri context.
Fixed indentation issues.
Travis Collins (2):
Merge pull request #355 from analogdevicesinc/rgetz-update-svg
Merge pull request #359 from analogdevicesinc/rgetz-add-man-pages
Travis F. Collins (1):
Add example for ADRV9009
fpagliughi (3):
#352 First attempt to match global attributes for differential channels.
Improved matching on global attributes for differential channels
Global differential attributes code review requests.
Signed-off-by: Dan Nechita <[email protected]>
Published by mhennerich over 5 years ago
This fixes a channel sorting bug which has caused compatibility issues,
in case the local and remote libiio differed in version.
This will revert the channel sorting changes and thus restore backward
compatibility to v0.15 and before. Version 0.16 and 0.17 should not
be used.
Changelog:
4e22517 Merge pull request #253 from analogdevicesinc/qemu_arm
46e4dbc Bump to version v0.18
f1d00f1 Merge pull request #269 from analogdevicesinc/sort-old-reorder
f331535 sorting: Use old sorting algorithm for channels
826563e CI/travis/lib.sh: fix triggering multiple builds
cce2ee2 CI/travis/inside_docker.sh: handle lowercase ci
dir
f06a730 CI/travis/jobs_running_cnt.py: count created
states as well
ed5ddb2 build,.travis.yml: drop xcode 8 build
f24c618 CI/travis/lib.sh: make the build dir configurable
f79c01b CI/travis: disable debug tracing
b7c1584 CI/travis/lib.sh: rework artifact removal via SFTP
1e23f69 CI/travis/lib.sh: add echo_[red,green,blue] functions
5cdeaaa try configuration qemu for ARM on travis-ci
Adrian Suciu (1):
sorting: Use old sorting algorithm for channels
Alexandru Ardelean (8):
CI/travis/lib.sh: add echo_[red,green,blue] functions
CI/travis/lib.sh: rework artifact removal via SFTP
CI/travis: disable debug tracing
CI/travis/lib.sh: make the build dir configurable
build,.travis.yml: drop xcode 8 build
CI/travis/jobs_running_cnt.py: count `created` states as well
CI/travis/inside_docker.sh: handle lowercase `ci` dir
CI/travis/lib.sh: fix triggering multiple builds
Michael Hennerich (3):
Merge pull request #269 from analogdevicesinc/sort-old-reorder
Bump to version v0.18
Merge pull request #253 from analogdevicesinc/qemu_arm
Robin Getz (1):
try configuration qemu for ARM on travis-ci
Signed-off-by: Michael Hennerich <[email protected]>
Published by mhennerich almost 6 years ago
Changelog:
1841f77 Revert "appveyor.yml: Downgrade curl from 7.61.1-3 to 7.61.1-2."
f8857ea Bump to version v0.17
a914aff Revert "sort: when sorting iio_channels, if the index is the same, use ID"
3b742f1 CI/travis/lib.sh: look in ci/travis
path for script
2973ea4 CI/travis/inside_docker.sh: export INSIDE_DOCKER variable
15206d9 CI/travis/lib.sh: ensure sudo exists (in docker env)
81d11e3 CI/travis/lib.sh: generalize function that checks for commands
fed6608 CI/travis/inside_docker.sh: export TRAVIS_BUILD_DIR var
6b1711a CI/travis/lib.sh: use type
command to check if a command exists
15837a5 CI/travis/inside_docker.sh: create a single docker wrapper
7746ea2 cmake/LinuxPackaging.cmake: manually exclude each dir for CentOS 7 RPM creation
d765acb CI/travis/lib.sh: shell parsing errors
dd44218 CI/travis/lib.sh: ensure wget is installed before getting lib.sh
9563d79 CI/travis/lib.sh: check if script is present in build folder
b3c5b2c CI/travis/lib.sh: download needed scripts when including lib.sh
70370ea CI/travis: lib-ify docker logic
0efea10 CI/travis/lib.sh: create get_script_path() function
bfae8a2 CI/travis/lib.sh: fix dangling quote in symlink command
7923223 CI/travis/lib.sh: parametrize library in upload_file_to_swdownloads()
bdd8e9b CI/travis/lib.sh: assign function parameters to local variables
85f362b CI/travis/lib.sh: group all SFTP commands
8cb448e CI/travis/lib.sh: add return codes to upload_file_to_swdownloads()
c41077b CI/travis/lib.sh: localize all variables in upload_file_to_swdownloads()
ae08593 CI/travis/lib.sh: rename & indent send() function
af5a2fc CI/travis: move send() function to lib.sh
5b9f3e4 CI/travis: split CentOS docker build logic into it's own build
4d220b0 CI/travis: remove the travis-ci
quirk
bac1d5e .travis.yml,CI/travis/after_deploy: trigger other builds after libiio
c54152a Revert "CI/travis/lib.sh: add utility library & check deploy condition here"
f7fc763 Revert ".travis.yml: move SSH key logic into shell script from yaml file"
ea98de1 CI/travis/before_install_linux: remove fixed sleep
d75e388 CI/travis/lib.sh: move brew_install_or_upgrade() in lib
4aac404 CI/travis/lib.sh: move the get_ldist function here
3724ea6 CI/travis/lib.sh: add utility library & check deploy condition here
9814b5b .travis.yml: move SSH key logic into shell script from yaml file
ddc3e4b gh-pages: Commit autogenerated documentation on a tag
b31f7e4 CI/travis/get_ldist: &> /dev/null re-direction doesn't work in /bin/sh
a032cfe README: Add links for issue tracking
6db0756 CI/travis/get_ldist: move dpkg check in if check
Alexandra Trifan (1):
Revert "appveyor.yml: Downgrade curl from 7.61.1-3 to 7.61.1-2."
Alexandru Ardelean (34):
CI/travis/get_ldist: move dpkg check in if check
CI/travis/get_ldist: &> /dev/null re-direction doesn't work in /bin/sh
.travis.yml: move SSH key logic into shell script from yaml file
CI/travis/lib.sh: add utility library & check deploy condition here
CI/travis/lib.sh: move the get_ldist function here
CI/travis/lib.sh: move brew_install_or_upgrade() in lib
CI/travis/before_install_linux: remove fixed sleep
Revert ".travis.yml: move SSH key logic into shell script from yaml file"
Revert "CI/travis/lib.sh: add utility library & check deploy condition here"
.travis.yml,CI/travis/after_deploy: trigger other builds after libiio
CI/travis: remove the `travis-ci` quirk
CI/travis: split CentOS docker build logic into it's own build
CI/travis: move send() function to lib.sh
CI/travis/lib.sh: rename & indent send() function
CI/travis/lib.sh: localize all variables in upload_file_to_swdownloads()
CI/travis/lib.sh: add return codes to upload_file_to_swdownloads()
CI/travis/lib.sh: group all SFTP commands
CI/travis/lib.sh: assign function parameters to local variables
CI/travis/lib.sh: parametrize library in upload_file_to_swdownloads()
CI/travis/lib.sh: fix dangling quote in symlink command
CI/travis/lib.sh: create get_script_path() function
CI/travis: lib-ify docker logic
CI/travis/lib.sh: download needed scripts when including lib.sh
CI/travis/lib.sh: check if script is present in build folder
CI/travis/lib.sh: ensure wget is installed before getting lib.sh
CI/travis/lib.sh: shell parsing errors
cmake/LinuxPackaging.cmake: manually exclude each dir for CentOS 7 RPM creation
CI/travis/inside_docker.sh: create a single docker wrapper
CI/travis/lib.sh: use `type` command to check if a command exists
CI/travis/inside_docker.sh: export TRAVIS_BUILD_DIR var
CI/travis/lib.sh: generalize function that checks for commands
CI/travis/lib.sh: ensure sudo exists (in docker env)
CI/travis/inside_docker.sh: export INSIDE_DOCKER variable
CI/travis/lib.sh: look in `ci/travis` path for script
Michael Hennerich (3):
Revert "sort: when sorting iio_channels, if the index is the same, use ID"
Bump to version v0.17
Merge pull request #255 from analogdevicesinc/fix-appveyor
Robin Getz (2):
README: Add links for issue tracking
gh-pages: Commit autogenerated documentation on a tag
Published by mhennerich almost 6 years ago
Changelog:
20c9079 CI/travis/inside_bionic_docker.sh: re-use the make_linux logic
cd1be7d build,travis: parametrize library name
2b4503d README.md : Update with links to doc
cf87e0a travis-ci: install graphviz
2f3632f doxygen: check if building on a case senstive file system.
a18ff6e doxygen: If dot exists, use it.
cb28721 appveyor: install graphviz and fix doxygen version
550f4b8 README: Update with latest build changes
540c96b deployment : export the LDIST var which is needed in other scripts
de8356b fix snprintf warnings from gcc 8
24c7f00 .travis.yml: Add new Xcode versions to the Travis CI builds.
d65cabb CI/travis/before_install_darwin: Handle brew failures when installing packages.
29c582e .travis.yml: Drop the Travis CI builds for OSX Image xcode 6.4.
6799876 .travis.yml: Drop the Travis CI builds for Ubuntu 12.04 LTS (Precise Pangolin).
f18ed59 .travis.yml: Add support for Ubuntu 18.04 (Bionic) builds.
983657a cmake/LinuxPackaging.cmake: Add libserialport to the list of dependencies that are being handled when creating Linux packages.
25c20d6 channel: Fix #219 get_modifier and get_type seems to work incorrectly
ed6709e sorting: ensure sorting happens after global attributes are added
f05434e travis-ci: don't hard code distributions anymore
9b75895 Revert "sort: Move channel attribute sorting to context creation" fix #215
cf39834 cmake: set the CPACK_DEBIAN_PACKAGE_ARCHITECTURE for old versions of Cmake
76d4ff7 buffer: Fix bug in mask bit tests (continued)
b7407af IIOD: Fix bug in mask bit tests (continued)
37ecd2e Update README.md with newest centos packages
5dd1ff9 add note about triggered buffers in dox source
98d85f6 local: pass errors up the stack
879abfe usb: Increase ctrl pipe timeout
da13ffc usb: add libusb version to context attributes
876db45 usb: be more verbose when unable to claim an interface
686ced9 travis : Add the LDIST for centos
db47744 Ensure iio_info can find a locally installed libiio.so
c5973cf fix whitespace damage from previous commits
67a994c sort: when sorting iio_channels, if the index is the same, use ID
b9008a7 sort: Move channel attribute sorting to context creation
8405704 sort: change function names to be more descriptive/accurate
afd6d69 Update FIR enable function in ML bindings to not force sample rate ahead of filter write.
53bfb03 local: Sort devices, channels and attributes when adding them.
256a80a appveyor.yml: Downgrade curl from 7.61.1-3 to 7.61.1-2
15ddcd6 Fix FIR load function in ML bindings to actually enable the FIR once loaded.
4c9a050 CI/travis/inside_centos_docker.sh: hack/patch CPackRPM.cmake for CentOS 7
f60f957 cmake/LinuxPackaging.cmake: use non-dev packages to .deb dep list
ed6d860 CI/travis/make_linux: install deb package as final test
cfe093a build,CI/travis: setup CentOS testing
4a39cb6 CI/travis: enable errexit & xtrace behavior in scripts
77a1154 CI/travis/before_deploy: move grep
expression in find
a05d607 .gitignore: add vim swap files
0b23cbe spelling fonction->function
ee936e8 Fix bug in mask bit tests
c80412c cmake: Suppress errors when looking up the git repository path
2a76c2e .travis.yml: add host-key algo ssh-dss for xenial deploy
b853fdb appveyor.yml: change versioning to '{branch}.{build}' format
0950037 CI/travis/deploy: extend cleanup to all debian packages
2b1c4b8 README.md: add Xenial artifact links
ea80423 .travis.yml: add Xenial distro to job run
Alexandra Trifan (1):
appveyor.yml: Downgrade curl from 7.61.1-3 to 7.61.1-2 .
Alexandra.Trifan (6):
cmake/LinuxPackaging.cmake: Add libserialport to the list of dependencies that are being handled when creating Linux packages.
.travis.yml: Add support for Ubuntu 18.04 (Bionic) builds.
.travis.yml: Drop the Travis CI builds for Ubuntu 12.04 LTS (Precise Pangolin).
.travis.yml: Drop the Travis CI builds for OSX Image xcode 6.4.
CI/travis/before_install_darwin: Handle brew failures when installing packages.
.travis.yml: Add new Xcode versions to the Travis CI builds.
Alexandru Ardelean (14):
.travis.yml: add Xenial distro to job run
README.md: add Xenial artifact links
CI/travis/deploy: extend cleanup to all debian packages
appveyor.yml: change versioning to '{branch}.{build}' format
.travis.yml: add host-key algo ssh-dss for xenial deploy
.gitignore: add vim swap files
CI/travis/before_deploy: move `grep` expression in `find`
CI/travis: enable errexit & xtrace behavior in scripts
build,CI/travis: setup CentOS testing
CI/travis/make_linux: install deb package as final test
cmake/LinuxPackaging.cmake: use non-dev packages to .deb dep list
CI/travis/inside_centos_docker.sh: hack/patch CPackRPM.cmake for CentOS 7
build,travis: parametrize library name
CI/travis/inside_bionic_docker.sh: re-use the make_linux logic
David Frey (2):
Fix bug in mask bit tests
spelling fonction->function
Lars-Peter Clausen (2):
cmake: Suppress errors when looking up the git repository path
usb: Increase ctrl pipe timeout
Michael Hennerich (15):
Merge pull request #175 from analogdevicesinc/sort
Merge pull request #203 from analogdevicesinc/sort1
Merge pull request #206 from analogdevicesinc/rgetz-patch-1
Merge pull request #201 from analogdevicesinc/fix-ml-bindings
Merge pull request #207 from analogdevicesinc/rgetz-patch-2
IIOD: Fix bug in mask bit tests (continued)
buffer: Fix bug in mask bit tests (continued)
Merge pull request #198 from mangOH/mask_fix_bug
Merge pull request #211 from analogdevicesinc/iiod-mask-fix-bug
Merge pull request #212 from analogdevicesinc/rgetz-patch-2
Merge pull request #213 from analogdevicesinc/rgetz-patch-3
Merge pull request #214 from analogdevicesinc/rgetz-patch-4
Revert "sort: Move channel attribute sorting to context creation" fix #215
channel: Fix #219 get_modifier and get_type seems to work incorrectly
Merge pull request #224 from analogdevicesinc/rft-issue-219
Robin Getz (23):
local: Sort devices, channels and attributes when adding them.
sort: change function names to be more descriptive/accurate
sort: Move channel attribute sorting to context creation
sort: when sorting iio_channels, if the index is the same, use ID
fix whitespace damage from previous commits
Ensure iio_info can find a locally installed libiio.so
travis : Add the LDIST for centos
usb: be more verbose when unable to claim an interface
usb: add libusb version to context attributes
local: pass errors up the stack
add note about triggered buffers in dox source
Update README.md with newest centos packages
cmake: set the CPACK_DEBIAN_PACKAGE_ARCHITECTURE for old versions of Cmake
travis-ci: don't hard code distributions anymore
sorting: ensure sorting happens after global attributes are added
fix snprintf warnings from gcc 8
deployment : export the LDIST var which is needed in other scripts
README: Update with latest build changes
appveyor: install graphviz and fix doxygen version
doxygen: If dot exists, use it.
doxygen: check if building on a case senstive file system.
travis-ci: install graphviz
README.md : Update with links to doc
Travis Collins (2):
Fix FIR load function in ML bindings to actually enable the FIR once loaded.
Update FIR enable function in ML bindings to not force sample rate ahead of filter write.
Published by mhennerich over 6 years ago
Changelog:
dce7644 network: Add workaround for Microsoft Windows Subsystem for Linux
70d1c2a examples/dummy-iiostream: Fix instructions
0892972 local: Fix low-speed mode
fa6ec67 appveyor.yml: Add workaround for 32-bit build
956bbc5 appveyor.yml: Fix libzip dll name pattern
c9909f2 Fix buffer/device mixup in docs
7dddeec Prevent out-of-bounds access in read_each_attr()/iio_channel_attr_read_all()
8ac1893 tests/iio_writedev: Add iio_writedev analogous to iio_readdev
ac8debc iio_adi_xflow_check: Avoid accessing device after context destruction
fa82974 Install iiod upstart conf file
61322cb Install iiod SysVinit script
e688c76 Install iiod.service file
185128c Fix typo in CMakeLists.txt
c8d5306 iio_readdev: Fix getopt() handling
52a5f07 iio_info: Fix getopt() handling
19d642c iio_genxml: Fix getopt() handling
faa6341 iio_attr: Fix getopt() handling
989db5e iio_adi_xflow_check: Fix getopt() handling
f5d8ddc appveyor.yml: Drop the initial core update which updates the package list and upgrades all the outdated packages. The conflicts are not handled properly when using the --noconfirm option(default values).
227e067 CMakeLists.txt: Fill in the Windows file information (version, name, copyright, year).
854471e appveyor.yml: Install windres for reading Windows resource files (.rc)
7d29b98 Added a new variable to iio.Buffer stored in self._ctx, this is reference to a Context variable. This reference ensures that the Context outlives the buffer, if this is not the case a segmentation violation will occur when destroying the buffer.
Published by mhennerich over 6 years ago
Changelog:
c8ac1c5 network: Fix buffer reuse
Published by mhennerich over 6 years ago
Changelog:
e2d854e appveyor.yml: Downgrade llvm and clang packages for the moment
3131f83 Bump to version v0.13
21e8bf2 network: Fix crash when lots of file descriptors are open
fb5fa69 Revert "RFC: Fix channel identifier heuristics"
19c1f6d local: fix last_dequeued is not invalidated in case of a timeout (blocking) or on retry (non-blocking) buffer
833e532 RFC: Fix channel identifier heuristics
aa49293 appveyor.yml: Copy the README file in the .zip artifact.
c620783 Sync README and appveyor so the README points to the latest master.
e1f420c appveyor.yml: Change the name of the zip artifact.
3ac535b Create zip.txt
6f6ced3 network: Adjust switch statment "fall-through" comment position
Published by mhennerich almost 7 years ago
Changelog:
Published by pcercuei about 8 years ago
test release build from master 164de86