Commit graph

182 commits

Author SHA1 Message Date
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
0eb58cff84 Restore search to a consistent state when showing the search bar again 2014-09-11 20:51:43 +02:00
René Stadler
cd378c7302 Add accelerators to search result navigation actions 2014-09-11 20:51:43 +02:00
René Stadler
14f91ccecf Fix search result navigation action sensitivity when showing the find bar 2014-09-11 20:51:43 +02:00
René Stadler
f8da21fb46 Add search navigation menu items to view menu 2014-09-11 20:51:43 +02:00
René Stadler
e3d2cfb035 When right clicking to open a context menu, pass the event on (which selects the row) 2014-09-11 20:51:43 +02:00
René Stadler
ca40c5e58a Implement backward search result navigation 2014-09-11 20:51:43 +02:00
René Stadler
d6240e93a7 Remove dead/useless code 2014-09-11 20:51:43 +02:00
René Stadler
a176ca7797 Rename variable 2014-09-11 20:51:43 +02:00
René Stadler
cf5badd4f4 Implement lazy searching 2014-09-11 20:51:43 +02:00
René Stadler
c0bb774c43 Some search fixes 2014-09-11 20:51:43 +02:00
René Stadler
ec713b827c Add status label to find bar 2014-09-11 20:51:43 +02:00
René Stadler
99a755e56c Fix timeline warning/error indicator triangle vertical position 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
a073b11f63 Cleanup timeline warning/error triangle drawing, add TODOs 2014-09-11 20:51:42 +02:00
René Stadler
abc54e5360 Add tooltip to vertical timeline widget 2014-09-11 20:51:42 +02:00
René Stadler
47badacfde Add hide before/after menu items to timeline context menu 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
0beee4cf4f Remove dead code 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
c749df8574 Rename show-find-bar action callback handler 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
d4dcc1be13 Move search matching logic into the SearchOperation object 2014-09-11 20:51:42 +02:00
René Stadler
a9fd7fe84c Add search result navigation 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
René Stadler
8dbfc09163 Avoid GtkWarning when filtering down to no visible line at all 2014-09-11 20:51:42 +02:00
René Stadler
5f35233eb7 Fix crash when displaying only one line 2014-09-11 20:51:42 +02:00
René Stadler
4a2c020660 Hide unimplemented filtering actions 2014-09-11 20:51:42 +02:00