Skip to content
Snippets Groups Projects
  1. Aug 13, 2021
  2. May 22, 2021
    • Bartosz Golaszewski's avatar
      TODO: remove libgpiod v2 items · 4177b6f2
      Bartosz Golaszewski authored
      
      The current proposed v2.0 API for libgpiod contains so many changes
      since v1.x that the items in TODO have become obsolete. For instance:
      we can no longer rethink the bulk line objects because they no longer
      exist. Same for C++ weak references - in the new version the objects
      will no longer be copyable. Remove the libgpiod v2 items entirely.
      
      Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
      4177b6f2
  3. Apr 30, 2021
  4. Apr 17, 2021
  5. Apr 08, 2021
  6. Apr 02, 2021
  7. Mar 18, 2021
  8. Mar 02, 2021
  9. Feb 18, 2021
    • Bartosz Golaszewski's avatar
      licensing: relicense C++ library code under LGPL-3.0-or-later · ea84f882
      Bartosz Golaszewski authored
      
      Using LGPL-2.1 for C++ library code is an issue raised several times on
      the linux-gpio mailing list. Programs using C++ libraries often include
      significant portions of code generated behind the scenes from C++ headers
      (via templates, default implementations etc.).
      
      Section 3 of LGPL-3.0 clarifies the use of code defined in or generated
      from C++ headers so this changset proposes to use LGPL-3.0 for all C++
      library code in libgpiod.
      
      Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
      Acked-by: default avatarKent Gibson <warthog618@gmail.com>
      ea84f882
    • Bartosz Golaszewski's avatar
      licensing: relicense non-library code under GPL-2.0-or-later · 154e7c5a
      Bartosz Golaszewski authored
      
      LGPL-2.1 is a license meant for shared libraries. Because I didn't know
      any better I used it for all files in the repository, including programs
      linking against libgpiod. The standard approach for many similar projects
      is to use LGPL for library code and GPL for programs (and also Makefiles
      and other files containing code or configuration).
      
      Relicense all programs, tests, makefiles and autotools files under
      GPL-2.0 or later.
      
      Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
      Acked-by: default avatarKent Gibson <warthog618@gmail.com>
      154e7c5a
    • Bartosz Golaszewski's avatar
      licensing: make the project REUSE-compliant · dfb707c2
      Bartosz Golaszewski authored
      
      In order to make the licensing situation of libgpiod clear and enable
      easy reusing of the code, let's make all the files in the repository
      compliant with the REUSE v3.0 specification.
      
      In order to achieve that:
        - put all used licenses into a separate LICENSES/ directory
        - add SPDX license identifiers to all files that were missing them with
          regular text files being licensed under CC-BY-SA-4.0, while files
          containing code and configuration are licensed under GPL-2.0-or-later
        - replace custom copyright texts with SPDX-FileCopyrightText
        - update the gpio.h kernel uAPI header with the upstream version where
          the SDPX license identifier was fixed to use 'GPL-2.0-only' variant
          instead of the deprecated 'GPL-2.0'
      
      Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
      Acked-by: default avatarKent Gibson <warthog618@gmail.com>
      dfb707c2
  10. Feb 15, 2021
  11. Feb 14, 2021
  12. Feb 03, 2021
  13. Jan 19, 2021
  14. Dec 17, 2020
  15. Dec 16, 2020
    • Bartosz Golaszewski's avatar
      tests: line: remove a bad test case · 4e201331
      Bartosz Golaszewski authored
      
      The test case for requesting multiple lines exposed by different chips
      has never been correct. The request call does indeed fail with EINVAL
      but now that we've disallowed adding lines from different chips to
      the same bulk object, this happens only because we're using a wrong
      constant in the flags field of the request structure.
      
      Remove the entire test as it's no longer required.
      
      Signed-off-by: default avatarBartosz Golaszewski <bgolaszewski@baylibre.com>
      4e201331
  16. Dec 14, 2020
Loading