1. 16 Apr, 2013 1 commit
    • Uwe Hermann's avatar
      Doxygen: Add @since markers. · 9fb5f2df
      Uwe Hermann authored
      Add @since tags to some (not all yet) public API functions, to document
      in which release they were added (and/or in which release there were
      API changes).
      
      Document the @since usage in HACKING.
      
      Also, add Doxygen docs for the functions in version.c.
      9fb5f2df
  2. 10 Mar, 2013 1 commit
  3. 07 Feb, 2013 1 commit
    • Uwe Hermann's avatar
      Driver struct cleanups. · 6fab7b8f
      Uwe Hermann authored
       - Explicitly list .config_get in all drivers for consistency, and set it
         to NULL if unused (whether or not a driver implements it is optional).
      
       - List all 'struct sr_dev_driver' entries in the same order in all drivers.
      
       - Move the check whether .config_set/.config_list exist (i.e., are non-NULL)
         into sanity_check_all_drivers().
      6fab7b8f
  4. 25 Jan, 2013 1 commit
  5. 24 Jan, 2013 1 commit
  6. 05 Dec, 2012 2 commits
  7. 02 Dec, 2012 1 commit
    • Uwe Hermann's avatar
      sr_init(): Add driver sanity checks. · 55a6daf5
      Uwe Hermann authored
      After sr_init() has successfully run, we can be sure that all drivers
      define all the API calls, so we don't have to do these checks later
      in the individual API functions / wrappers.
      
      If there are one or more drivers with missing API functions (or driver
      name / longname, and so on), sr_init() will fail. This helps catch this
      kind of developer error early on.
      55a6daf5
  8. 23 Oct, 2012 1 commit
    • Uwe Hermann's avatar
      config.h usage cleanups. · 545f9786
      Uwe Hermann authored
       - Drop config.h #include from files that don't actually use any of
         its contents (at the moment).
      
       - Add comment for those that do need it.
      545f9786
  9. 22 Oct, 2012 6 commits
  10. 21 Oct, 2012 3 commits
  11. 04 Jul, 2012 1 commit
    • Bert Vermeulen's avatar
      sr: moved sigrok.h so libsigrok/libsigrok.h · 45c59c8b
      Bert Vermeulen authored
      All frontends will have to include <libsigrok/libsigrok.h> from now on.
      This header includes proto.h and version.h, both installed from the
      distribution into $INCLUDE/libsigrok/ as well.
      
      The only dynamically changed header is now version.h, which has both
      libsigrok and libtool compile-time versions in it.
      45c59c8b
  12. 22 Feb, 2012 1 commit
  13. 15 Feb, 2012 1 commit
  14. 13 Feb, 2012 3 commits
  15. 01 Feb, 2012 1 commit
    • Uwe Hermann's avatar
      sr: Mark API functions with SR_API/SR_PRIV. · 1a081ca6
      Uwe Hermann authored
      Use SR_API to mark public API symbols, and SR_PRIV for private symbols.
      
      Variables and functions marked 'static' are private already and don't
      need SR_PRIV. However, functions which are not static (because they need
      to be used in other libsigrok-internal files) but are also not meant to
      be part of the public libsigrok API, must use SR_PRIV.
      
      This uses the 'visibility' feature of gcc (requires gcc >= 4.0).
      
      Details: http://gcc.gnu.org/wiki/Visibility
      1a081ca6
  16. 28 Dec, 2011 2 commits
    • Uwe Hermann's avatar
      libsigrok: Fix #includes. · b7f09cf8
      Uwe Hermann authored
      In the lib, we should only #include "sigrok.h" or "sigrok-internal.h",
      but not the (possibly installed and thus different/older versions) via
      <sigrok.h> or <sigrok-internal.h>.
      
      Frontends should of course use <sigrok.h> and <sigrok-internal.h>.
      b7f09cf8
    • Uwe Hermann's avatar
      device: Add Doxygen comments, improve error handling. · 94799bc4
      Uwe Hermann authored
       - Add Doxygen comments for all functions (some TODOs remain).
      
       - Check return code of more functions, handle invalid input.
      94799bc4
  17. 04 Jun, 2011 1 commit
  18. 03 Mar, 2011 1 commit
  19. 20 Feb, 2011 1 commit
  20. 08 Feb, 2011 1 commit
  21. 30 Jan, 2011 2 commits
  22. 15 Jan, 2011 1 commit
  23. 15 Apr, 2010 1 commit
  24. 02 Apr, 2010 1 commit