/glogg/glogg/ |
H A D | glogg.qrc |
|
H A D | config.h.in |
|
/glogg/ |
H A D | glogg.qrc | 3 <file>images/hicolor/16x16/glogg.png</file> 4 <file>images/hicolor/24x24/glogg.png</file> 5 <file>images/hicolor/32x32/glogg.png</file> 6 <file>images/hicolor/48x48/glogg.png</file> 7 <file>images/open14.png</file> 8 <file>images/open14@2x.png</file> 9 <file>images/reload14.png</file> 10 <file>images/reload14@2x.png</file> 11 <file>images/olddata_icon.png</file> 12 <file>images/olddata_icon@2x.png</file> [all …]
|
/glogg/glogg/src/ |
H A D | session.cpp |
|
H A D | watchtower.h |
|
H A D | inotifywatchtowerdriver.cpp |
|
H A D | kqueuewatchtowerdriver.cpp |
|
/glogg/src/ |
H A D | session.cpp | 101 const OpenFile* file = findOpenFileFromView( view_object ); in save() local 102 assert( file ); in save() 104 LOG(logDEBUG) << "Saving " << file->fileName << " in session."; in save() 105 session_files.push_back( { file->fileName, top_line, view_context->toString() } ); in save() 127 for ( auto file: session_files ) in restore() local 129 LOG(logDEBUG) << "Create view for " << file.fileName; in restore() 130 ViewInterface* view = openAlways( file.fileName, view_factory, file.viewContext.c_str() ); in restore() 131 result.push_back( { file.fileName, view } ); in restore() 150 const OpenFile* file = findOpenFileFromView( view ); in getFilename() local 152 assert( file ); in getFilename() [all …]
|
H A D | watchtower.h | 243 auto file = in removeNotification() local 246 if ( file ) in removeNotification() 249 watch_tower->driver_.removeFile( file->file_id_ ); in removeNotification() 250 watch_tower->driver_.removeSymlink( file->symlink_id_ ); in removeNotification() 269 for ( auto file: files_needing_readding ) { in run() local 274 driver_.removeFile( file->file_id_ ); in run() 275 driver_.removeSymlink( file->symlink_id_ ); in run() 277 std::tie( file->file_id_, file->symlink_id_ ) = in run() 278 addFileToDriver( file->file_name_ ); in run() 281 for ( auto file: files ) { in run() local [all …]
|
H A D | inotifywatchtowerdriver.cpp | 176 INotifyObservedFile* file = nullptr; in processINotifyEvent() local 183 file = list->searchByFileOrSymlinkWd( in processINotifyEvent() 192 file = list->searchByDirWdAndName( { event->wd }, event->name ); in processINotifyEvent() 194 if ( file ) in processINotifyEvent() 197 files_needing_readding->push_back( file ); in processINotifyEvent() 205 if ( file ) in processINotifyEvent() 207 LOG(logDEBUG) << "Adding file: " << std::hex << file; in processINotifyEvent() 208 files_to_notify->push_back( file ); in processINotifyEvent()
|
H A D | kqueuewatchtowerdriver.cpp | 205 KQueueObservedFile* file = nullptr; in waitAndProcessEvents() local 208 file = list->searchByFileOrSymlinkWd( event.ident, event.ident ); in waitAndProcessEvents() 210 if ( file ) in waitAndProcessEvents() 212 LOG(logDEBUG) << "Adding file to notify list: " << std::hex << file; in waitAndProcessEvents() 213 files_to_notify.push_back( file ); in waitAndProcessEvents()
|
/glogg/glogg/tests/ |
H A D | testlogdata.cpp |
|
H A D | testlogfiltereddata.cpp |
|
H A D | logdataTest.cpp |
|
H A D | logfiltereddataTest.cpp |
|
H A D | logfiltereddataPerfTest.cpp |
|
/glogg/tests/ |
H A D | testlogdata.cpp | 150 QFile file( TMPDIR "/verybiglog.txt" ); in generateDataFiles() local 151 if ( file.open( QIODevice::WriteOnly ) ) { in generateDataFiles() 154 file.write( newLine, qstrlen(newLine) ); in generateDataFiles() 160 file.close(); in generateDataFiles() 162 file.setFileName( TMPDIR "/smalllog.txt" ); in generateDataFiles() 163 if ( file.open( QIODevice::WriteOnly ) ) { in generateDataFiles() 166 file.write( newLine, qstrlen(newLine) ); in generateDataFiles() 172 file.close(); in generateDataFiles()
|
H A D | testlogfiltereddata.cpp | 260 QFile file( TMPDIR "/smalllog.txt" ); in updateSearchTest() local 261 if ( file.open( QIODevice::Append ) ) { in updateSearchTest() 264 file.write( newLine, qstrlen(newLine) ); in updateSearchTest() 267 file.write( partial_line_begin, qstrlen( partial_line_begin ) ); in updateSearchTest() 269 file.close(); in updateSearchTest() 294 if ( file.open( QIODevice::Append ) ) { in updateSearchTest() 295 file.write( partial_line_end, qstrlen( partial_line_end ) ); in updateSearchTest() 298 file.write( newLine, qstrlen(newLine) ); in updateSearchTest() 301 file.write( partial_nonmatching_line_begin, in updateSearchTest() 304 file.close(); in updateSearchTest() [all …]
|
H A D | logdataTest.cpp | 38 QFile file( TMPDIR "/changingfile.txt" ); in TEST_F() local 39 if ( file.open( QIODevice::WriteOnly ) ) { in TEST_F() 42 file.write( newLine, qstrlen(newLine) ); in TEST_F() 45 file.close(); in TEST_F() 60 if ( file.open( QIODevice::Append ) ) { in TEST_F() 63 file.write( newLine, qstrlen(newLine) ); in TEST_F() 66 file.write( partial_line_begin, qstrlen( partial_line_begin ) ); in TEST_F() 68 file.close(); in TEST_F() 85 if ( file.open( QIODevice::Append ) ) { in TEST_F() 86 file.write( partial_line_end, qstrlen( partial_line_end ) ); in TEST_F() [all …]
|
H A D | logfiltereddataTest.cpp | 38 QFile file( TMPDIR "/smalllog.txt" ); in generateDataFiles() local 39 if ( file.open( QIODevice::WriteOnly ) ) { in generateDataFiles() 42 file.write( newLine, qstrlen(newLine) ); in generateDataFiles() 48 file.close(); in generateDataFiles()
|
H A D | logfiltereddataPerfTest.cpp | 54 QFile file( TMPDIR "/verybiglog.txt" ); in generateDataFiles() local 55 if ( file.open( QIODevice::WriteOnly ) ) { in generateDataFiles() 58 file.write( newLine, qstrlen(newLine) ); in generateDataFiles() 64 file.close(); in generateDataFiles()
|
/glogg/src/data/ |
H A D | logdataworkerthread.cpp | 214 QFile file( fileName_ ); in doIndex() local 215 if ( file.open( QIODevice::ReadOnly ) ) { in doIndex() 218 file.seek( pos ); in doIndex() 219 while ( !file.atEnd() ) { in doIndex() 227 const qint64 block_beginning = file.pos(); in doIndex() 228 const QByteArray block = file.read( sizeChunk ); in doIndex() 270 int progress = ( file.size() > 0 ) ? pos*100 / file.size() : 100; in doIndex() 275 qint64 file_size = file.size(); in doIndex()
|
/glogg/glogg/src/data/ |
H A D | logdataworkerthread.cpp |
|
/glogg/glogg/doc/ |
H A D | documentation.markdown |
|
/glogg/doc/ |
H A D | documentation.markdown | 4 _glogg_ can be started from the command line, optionally passing the file to 5 open as an argument, or via the desktop environment's menu or file 7 If no file name is passed, _glogg_ will initially open the last used file. 9 The main window is divided in three parts : the top displays the log file. The 21 interested in from the log file. _glogg_ uses _extended regular expressions_. 26 in the same order they appear in the log file. 44 of the screen offers a view of the position of matches in the log file. Matches 56 ## Marking lines in the log file 73 The 'f' key might be used to follow the end of the file as it grows (_a la_ 79 The font used to display the log file. A clear, monospace font (like the free, [all …]
|