Yann Weber
abe01c0733
Add test for _ttail_file_search_from_end
And updated doxygen todo list
il y a 7 ans
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...
il y a 7 ans
Yann Weber
7dbc99e4a0
Fixing issue #4 for logfiles
Not done for stdin
il y a 7 ans
Yann Weber
014d5ffb1f
Changed headers of _ttail_file_(next|start)_line()
il y a 7 ans
Yann Weber
e92e62046e
Renaming _ttail_file_search_from_end()
il y a 7 ans
Yann Weber
6734c8ad36
Preparing autoformat detection on loglines
il y a 7 ans
Yann Weber
8684cc7b38
Fix #5 GPL
il y a 7 ans
Yann Weber
67e9aa752a
Fix #2 Implements stdin operations
Seems to work with stdin
il y a 7 ans
Yann Weber
e27ad730c5
Generalization of ttail_getline() macro
il y a 7 ans
Yann Weber
9d5c000dfa
Bugfix & headers update
Deleted old argument struct tm* from search function (now using infos
stored in ttail_t.session )
il y a 7 ans
Yann Weber
e3e636e298
Implements support for max-date
il y a 7 ans
Yann Weber
fd5d6cad18
Bugfix & function implementation
Now we have a running minimal ttail :
src/ttail -d "Mar 6 00:29" -f '%B%n%d %H:%M' -l tests/samples/1.log -l tests/samples/1.1.log
il y a 7 ans
Yann Weber
5e5f730815
Bugfix + tests for ttail_search_files functions
il y a 7 ans
Yann Weber
533bb6b52e
Adding missing arguments to search functions
il y a 7 ans
Yann Weber
5f7d34f9de
[broken] Files searching function 1st implementation
untested
il y a 7 ans
Yann Weber
261248f6a7
Add some inline functions + utility function
Set some function inlune and implement an utility function
for file searching functions.
il y a 7 ans
Yann Weber
5ccb971b71
Implement the _ttail_search_file_sorted() function
Telling if the logfile array is sorted
il y a 7 ans
Yann Weber
89739fc1e6
**temporary commit**
il y a 7 ans
Yann Weber
01c295d459
Code cleaning, updated tests + getline wrapper
The getline wrapper will allow to use getline without calling malloc
and free all the time
il y a 7 ans
Yann Weber
b74ee6957f
Implemented 2 utility functions + tests
il y a 7 ans
Yann Weber
2ff86aadef
File spliting
il y a 7 ans