Cleaned up CVS to remove all autofoo generated files, included an autogen.sh bootstrap file. Changes at the suggestion of Sven Neumann


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@122 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Complete CVS cleanup


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@123 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Changed autogen.sh to bail out if necessary tools can't be found
instead of proceeding to the version checks.

Document use of autogen.sh in README.

Generate check.spec from check.spec.in to it automatically gets the
correct version number.

Generate check.h from chech.h.in and include Check version information.

Compile Check version number into the library to allow for runtime
version checks.

Added the m4 script check.m4 that allows to easily integrate Check
into projects using autoconf/automake. It does version checking and
also assures that header and library versions match.

Document the use of check.m4 and the AM_PATH_CHECK() macro in the
tutorial. Adapted example Makefile.am and configure.in and added a
missing .cvsignore file.


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@124 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Allow fail_unless() to be called with a NULL msg and substitute a reasonable
error message in that case. Bail out if NULL is passed to _fail_unless() to
avoid possible confusion.

Added a test case that calls fail_unless() with msg=NULL.


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@125 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Updated ChangeLog.


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@126 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Applied a slightly modified version of a patch from
Neil Spring <nspring@cs.washington.edu> that declares strings as
const where applicable. It also changes our CFLAGS to be much
stricter and removes the warnings introduced by -Wwrite-strings.
This allows building other check tests with -Wwrite-strings
without heaping gobs of compiler warnings.


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@127 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Removed limitations on line number, message and buffer sizes
(bug #478233) by changing the way we send integers over the
pipe. Instead of strings, integers are now send as 4 bytes.
This allows the pack routine to easily calculate the message
size so that we can allocate the needed buffer there.
Made a union out of the different Msg structs to clean up the
internal API. Also introduced the internal function
ck_strdup_printf(), a simple wrapper around sprintf() that
allocates enough space to hold the resulting string.


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@128 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Document the fact that you can now use NULL as msg argument for
fail_unless().


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@129 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Updated ChangeLog.


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@130 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Use #include rather than #import (bug #484564).


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@131 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Applied a patch from Arien that makes the pipe nonblocking. This doesn't
solve #482012 but makes it more obvious what is going wrong if the pipe
fills up.


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@132 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Made 0.8.2 Release.


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@133 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Updated ChangeLog.


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@134 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Fixed check.m4 so that --without-check is a valid option to disable check.
Bumped version number to 0.8.3.


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@135 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Changed date to that of the latest release.
Added a name to an internal reference so that we get a working link in
the generated HTML.


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@136 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Don't include "error.h" (bug #546175 small cygwin portability problem).


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@137 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Removed compiler warnings mentioned in bug #547126.


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@138 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Renamed list.[ch] to check_list.[ch] for consistency.
Include config.h from all over the place, cleaned up includes.


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@139 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Declared local functions static (based on a patch from Gilgamesh Nootebos).


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@140 64e312b2-a51f-0410-8e61-82d0ca0eb02a
Mention that EXIT_SUCCESS and EXIT_FAILURE are defined in stdlib.h.
Suggested by Russell Reed in bug #547129.


git-svn-id: svn://svn.code.sf.net/p/check/code/trunk@141 64e312b2-a51f-0410-8e61-82d0ca0eb02a