Commit Graph

7 Commits

Author SHA1 Message Date
Uwe Hermann 9fb5f2dfa6 Doxygen: Add @since markers.
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.
2013-04-16 12:37:54 +02:00
Uwe Hermann 79bb0e97d5 Add a testsuite for libsigrok.
This adds a suite of unit tests for libsigrok. It uses the 'Check'
tool/library (apt-get install check) to run the tests.

The configure tool tries to find libcheck. If it succeeds, a
"make check" will run all tests. Otherwise, none of the tests will
be built and "make check" will not run any tests.

This also means that users who don't have 'check' installed will still
be able to build and install libsigrok just fine.
2013-03-09 11:55:43 +01:00
Uwe Hermann f18297a5fd HACKING: Document enum setup. 2012-11-02 19:05:53 +01:00
Uwe Hermann 2bba3dd3a8 HACKING: "Adding a new hardware driver" chapter. 2012-10-25 23:42:20 +02:00
Uwe Hermann b4bd70889f Doxygen: Mark non-public stuff for exclusion.
- /** @private */ can be used for functions, and /** @cond PRIVATE */ and
   /** @endcond */ for variables or #defines.

 - Document the above in HACKING.
2012-10-22 11:56:17 +02:00
Uwe Hermann 8ed262509f HACKING: Cosmetics. 2012-10-16 14:48:39 +02:00
Uwe Hermann a2353f6051 Re-add HACKING file after repo split. 2012-10-16 12:19:36 +02:00