History log of /glogg/tests/testlogdata.cpp (Results 1 – 19 of 19)
Revision Date Author Comments
# 1ee847ca 27-Oct-2014 Nicolas Bonnefon <nicolas@bonnefon.org>

LogData now only register files once with the FileWatcher.


# 821cac88 16-Oct-2013 Nicolas Bonnefon <nicolas@bonnefon.org>

Remove the code supporting old Qt versions.

WARNING, this breaks compatibility with Qt 4.3


# 5f12ccba 24-Nov-2011 Nicolas Bonnefon <nicolas@bonnefon.org>

Remove some tests affected by race conditions.

Also add a script to run unit tests.


# 2851c541 09-Dec-2010 Nicolas Bonnefon <nicolas@bonnefon.org>

Build tests with optimisation and allow profiling.


# b76c5bcf 06-Dec-2010 Nicolas Bonnefon <nicolas@bonnefon.org>

Correct the handling of non-LF terminated files when data is added to them.

Add a test for this particular case.


# 5fc7617d 25-Oct-2010 Nicolas Bonnefon <nicolas@bonnefon.org>

Update the getLength/getMaxLength functions to count expanded tabs.


# 36c1f171 20-Oct-2010 Nicolas Bonnefon <nicolas@bonnefon.org>

Add new methods to AbstractLogData to expand tabs.

Works but slow, need optimisation.


# fa752b25 07-Jul-2010 Nicolas Bonnefon <nicolas@bonnefon.org>

Ensure selections stay within limits of the file.


# db1ac0ec 22-Jun-2010 Nicolas Bonnefon <nicolas@bonnefon.org>

Move the sending of the first load notification (0%) to the worker
thread to avoid a race condition on Linux.
Also change the default log level to DEBUG instead of DEBUG4.


# 3ab7c5b5 30-Mar-2010 Nicolas Bonnefon <nicolas@bonnefon.org>

Fix race conditions when interrupting a loading by another loading.

The operations in LogData are now queued and only started when the previous one
has been reported done by the worker thread.


# cef94aa9 27-Jan-2010 Nicolas Bonnefon <nicolas@bonnefon.org>

Add a stop button in the loading progress bar.


# 5f0a91fa 28-Mar-2010 Nicolas Bonnefon <nicolas@bonnefon.org>

Fix file size and number of lines for very big files.

Now uses qint64 for both file size and line number (but not for match index so
far).


# 53404fff 23-Mar-2010 Nicolas Bonnefon <nicolas@bonnefon.org>

Tests if the file exists before opening it.
This is because LogData now happily accepts a non existent file.
The unit test is also fixed accordingly.


# 5b29309e 17-Feb-2010 Nicolas Bonnefon <nicolas@bonnefon.org>

Add a "random page" performance test.


# 3cf2e1a1 11-Jan-2010 Nicolas Bonnefon <nicolas@bonnefon.org>

Add notification and clear the search when the file is truncated.


# 270ea970 04-Jan-2010 Nicolas Bonnefon <nicolas@bonnefon.org>

Make LogData (at least mostly) thread-safe.
Also fix a bug in the line numbering (it started at line 1) and re-add the full sequential read test.


# e6d3ab74 04-Jan-2010 Nicolas Bonnefon <nicolas@bonnefon.org>

Adapted CrawlerWidget to work with async searches.


# a5fe2ced 02-Jan-2010 Nicolas Bonnefon <nicolas@bonnefon.org>

Make LogData blocking when a loading is in progress just like LogFilteredData.
Added a script to keep track of line/branch coverage.


# 62819106 25-Nov-2009 Nicolas Bonnefon <nicolas@bonnefon.org>

Implement asynchronous loading and indexing in a worker thread. Also add a more comprehensive unit test suite for LogData.