Commit graph

141 commits

Author SHA1 Message Date
René Stadler
867a312f93 GUI: Fix edit-copy-line action crashing/copying wrong line
When the view was unfiltered, this crashed.  When the view was range filtered,
this copied the wrong line.

Spotted by Stefan Kost.
2014-09-11 20:51:45 +02:00
René Stadler
7fdbfa2cf4 Move more attribute lookups out of loops for speed 2014-09-11 20:51:45 +02:00
René Stadler
c96c55a62c Fix bottom view showing the wrong selected log line 2014-09-11 20:51:45 +02:00
René Stadler
29ce10fb46 Fix bottom view line activating the wrong line after filtering 2014-09-11 20:51:45 +02:00
René Stadler
e75b817b72 Fix bottom view not showing current line until you add something there 2014-09-11 20:51:45 +02:00
René Stadler
be38bc2906 Allow to cancel a running filter process 2014-09-11 20:51:44 +02:00
René Stadler
313d671fbf Make hide before/after action insensitive when first/last line is selected 2014-09-11 20:51:44 +02:00
René Stadler
53becaa72c Add filtering for object name and source code filename 2014-09-11 20:51:44 +02:00
René Stadler
b5caf22bdb Create own menu structure for log view context menu 2014-09-11 20:51:44 +02:00
René Stadler
aa7c3747ba Move performance test program into its own file 2014-09-11 20:51:44 +02:00
René Stadler
2b2e3c11c8 Allow creation of more than one window 2014-09-11 20:51:44 +02:00
René Stadler
e5d490cabe Use GdkColors for level column, cleanup color handling 2014-09-11 20:51:44 +02:00
René Stadler
9fe8b55ecb Replace linear-time filtered index search with usage of bisect module 2014-09-11 20:51:44 +02:00
René Stadler
e971bda1ae Restore visible range of log view when changing filter 2014-09-11 20:51:44 +02:00
René Stadler
b155f21610 Resolve small FIXME in SubRange 2014-09-11 20:51:44 +02:00
René Stadler
4356b706f9 Cleanup FilteredLogModel.super_model_changed_range 2014-09-11 20:51:44 +02:00
René Stadler
154a630c9b Fix crash with unparsable files 2014-09-11 20:51:44 +02:00
René Stadler
fec6bf0848 s/get_cells/get_cell_renderers/ again 2014-09-11 20:51:44 +02:00
René Stadler
93a1da46c9 Fix filtered range transformation (finally!) 2014-09-11 20:51:44 +02:00
René Stadler
73e9b22838 Fix filtered model index translation and improve tests 2014-09-11 20:51:44 +02:00
René Stadler
5f3c94afff Fix off-by-one error in filtered model range reclamping 2014-09-11 20:51:44 +02:00
René Stadler
a8f6481d2b Improve filtered model interacting with range changes 2014-09-11 20:51:43 +02:00
René Stadler
e47a5a70d4 Unify two very similar methods 2014-09-11 20:51:43 +02:00
René Stadler
2fa90648aa Add FIXME about broken index translation logic 2014-09-11 20:51:43 +02:00
René Stadler
a7a0ea0fa2 Prevent crash with older bindings 2014-09-11 20:51:43 +02:00
René Stadler
0784883ebf Fix more problems when clamping with filter turned on 2014-09-11 20:51:43 +02:00
René Stadler
075d186296 Fix off-by-one error causing display of spurious line when clamping with filter turned on 2014-09-11 20:51:43 +02:00
René Stadler
8e6ad93d99 Fix selection of line after changing filter, add logging 2014-09-11 20:51:43 +02:00
René Stadler
d87731efcc Preserve clamped timestamp range when filtering and vice versa 2014-09-11 20:51:43 +02:00
René Stadler
23a588b8aa Implement idle filtering (with progress display) 2014-09-11 20:51:43 +02:00
René Stadler
7b405fdd55 Factor out progress dialog handling into its own reusable object class 2014-09-11 20:51:43 +02:00
René Stadler
1c9935eea3 Implement category filtering 2014-09-11 20:51:43 +02:00
René Stadler
9f91df2f58 Allow for more than one (log level) filter to be set 2014-09-11 20:51:43 +02:00
René Stadler
c0bb774c43 Some search fixes 2014-09-11 20:51:43 +02:00
René Stadler
a6f268ab4b Add GUI utility function to add a popup menu to a widget 2014-09-11 20:51:42 +02:00
René Stadler
cec4541f3d Add context menu to bottom view, with entry to clear all lines 2014-09-11 20:51:42 +02:00
René Stadler
492f663a5a Fix copying of line to clipboard 2014-09-11 20:51:42 +02:00
René Stadler
60e794e8a2 Remove implicit keybinding of copy message action 2014-09-11 20:51:42 +02:00
René Stadler
44303a412e Fix adding rows to the bottom view 2014-09-11 20:51:42 +02:00
René Stadler
2b59250ec0 Fix crash when adding a line to bottom view with log filter turned on 2014-09-11 20:51:42 +02:00
René Stadler
08e6121766 Implement filtered log model index translation 2014-09-11 20:51:42 +02:00
René Stadler
bfd0ad3960 Add support for stacking log model filters 2014-09-11 20:51:42 +02:00
René Stadler
98e1541488 Do not let the user add duplicate lines to the bottom log view 2014-09-11 20:51:42 +02:00
René Stadler
9a9e40a3ce Keep the bottom view sorted by timestamp 2014-09-11 20:51:42 +02:00
René Stadler
db7943cedb Unbreak filtering again 2014-09-11 20:51:42 +02:00
René Stadler
68fd8fc604 Improve method to update log view after search text change 2014-09-11 20:51:42 +02:00
René Stadler
c28059e36c Use the mmapped fileobj in more places and use slice access 2014-09-11 20:51:42 +02:00
René Stadler
4424eb686f Add simple cache eviction to LazyLogModel to limit memory usage 2014-09-11 20:51:42 +02:00
René Stadler
89f8ebe0cf Implement lazy highlighting of search results 2014-09-11 20:51:42 +02:00
René Stadler
4be0be249a Fix crash when showing all lines after having filtered down to zero lines 2014-09-11 20:51:42 +02:00