Yann Weber
2b63e70596
Fix #20
set_relative_date was failing if the resulting date was in the previous
day.
преди 6 години
Yann Weber
0c4acf1fba
Fix #18
Following PR #19
преди 6 години
Yann Weber
09225ae041
Adds first tests for ttail_search_std_init and _ttail_search_closest_stdin
преди 6 години
Yann Weber
a05a5dda01
Bugfix in _ttail_search_closest_stdin()
преди 7 години
Yann Weber
bcecc4d5f1
Add test for ttail_search_std_init()
Add some usefull functions & macro in ttail_check.h for std tests.
преди 7 години
Yann Weber
abe01c0733
Add test for _ttail_file_search_from_end
And updated doxygen todo list
преди 7 години
Yann Weber
48280fa6d5
Bugfix in relative dates calculation
преди 7 години
Yann Weber
6e006b35bd
Add comment for set_date_relative + ttail_check.h refactoring
преди 7 години
Yann Weber
050d81aeb2
Fix #16 Write tests for _ttail_set_date_relative()
And bugfixes in _ttail_set_date_relative() bad format detection
преди 7 години
Yann Weber
904369cbf0
Fix #14 Write tests for _ttail_file_sort()
преди 7 години
Yann Weber
3000e73bd1
Add debian/compat file
преди 7 години
Yann Weber
f8f4a6c11f
Prepare beta release
Changing version number updating changelogs
преди 7 години
Yann Weber
2fc89b7c52
Set headers as noinst_HEADERS
In order to not install them.
преди 7 години
Yann Weber
3c2cfd848d
Add forgotten return value test
преди 7 години
Yann Weber
235cd0cc8f
Merge branch 'debian_pkg'
преди 7 години
Yann Weber
0bd8dd1e1f
Fix #13 Sort files given as argument
Now ttail is able to sort logfiles given as arguement.
The sort function _ttail_file_sort place files with no valid date to the
end of the file list and is able to detect if some files overlaps.
No tests written...
преди 7 години
Yann Weber
a1d31a6d76
Release alpha 0.0.2
преди 7 години
Yann Weber
768ac367d9
Fix #12 sorting options in help text
But not by alphabetical order :P
преди 7 години
Yann Weber
fc3d64c29b
Manpage update
преди 7 години
Yann Weber
489f5b801c
Enhancement & bugfix in #11 solution
преди 7 години
Yann Weber
cd35c78724
Fix #8 now unit test temporary files are removed
преди 7 години
Yann Weber
3e5304bf91
Fix #11
Not 100% sur of implementation. And the feature seems a bit useless..
преди 7 години
Yann Weber
bbaa6b84b4
Fix starts for #11
Adds the option -P --permissive.
Starts implementation for logfiles.
Now -P flag make ttail handle invalid files. When invalid file given the
minmax function set the file pointer and the minmax array to NULL.
May introduce bugs if the binary search function does not handles "holes"
in fp array or in minmax array...
преди 7 години
Yann Weber
42457370ba
Enhancement in option parsing errors
Telling getopt to produce an error message by setting opterr to 1
преди 7 години
Yann Weber
d89f8a64e5
Fix #9 add nginx date format to ttail.h
преди 7 години
Yann Weber
4d2fed6c92
Check unit test framework can be disabled
using --disable-check configure option
преди 7 години
Yann Weber
ef1025bc0a
README update
преди 7 години
Yann Weber
e314231033
Fix #7 correcting _ttail_search_closest_stdin() returned value
преди 7 години
Yann Weber
5876beb864
Manpage update & generation bugfix
The manpage update was broken. Now make docs updates the manpage.
преди 7 години
Yann Weber
0826bc3adb
Updated README
преди 7 години
Yann Weber
491de41e54
Add manpage to git repo
преди 7 години
Yann Weber
3b330e114b
Fix #4 Relative dates brakes format detection
Date detection on stdin enabled
преди 7 години
Yann Weber
aa31c07bf1
Add a new debug function
преди 7 години
Yann Weber
7dbc99e4a0
Fixing issue #4 for logfiles
Not done for stdin
преди 7 години
Yann Weber
4a0c3a8d7d
Updated doxygen autotools integration
Attempt to make the doxygen version filter works with git
преди 7 години
Yann Weber
fe382fff5f
ttail_format_guess() do not take ttail_t* as argument
Making this function usable by logfiles and stdin format autodetection
преди 7 години
Yann Weber
55ae3693aa
Fix #6 now make dist produce a good tarball
преди 7 години
Yann Weber
6121cbfff5
First tests with debian packages
преди 7 години
Yann Weber
5af21265b0
Tests + bugfix for ttail_tm_cmp() function
преди 7 години
Yann Weber
014d5ffb1f
Changed headers of _ttail_file_(next|start)_line()
преди 7 години
Yann Weber
9e1539a780
Add macros to define test suite & runner
Four macros were added :
- TTAIL_CHECK_START(char *test_suite_str, char *test_case_str)
- TTAIL_SET_FIXTURE(void (*setup)(), void (*teardown)())
- TTAIL_ADD_TEST( libcheck_test test)
- TTAIL_CHECK_END
преди 7 години
Yann Weber
7362e716a2
Updates .gitignore and Makefile.am
Now the doc in generated before the code compils
преди 7 години
Yann Weber
3a4fe6be94
Add tests for _ttail_norm_dates
преди 7 години
Yann Weber
22183a4d4b
Splitting ttail search tests
преди 7 години
Yann Weber
1218a70822
Spliting ttail init tests
преди 7 години
Yann Weber
fe2367eb13
New tests organisation
tests/Makfile.am is now generated using tests/regen.sh .
bootstrap.sh has been updated.
Argument parsing tests are splitted
преди 7 години
Yann Weber
e92e62046e
Renaming _ttail_file_search_from_end()
преди 7 години
Yann Weber
6734c8ad36
Preparing autoformat detection on loglines
преди 7 години
Yann Weber
8684cc7b38
Fix #5 GPL
преди 7 години
Yann Weber
da3327c614
Forgotten tests sample
преди 7 години