Commit Graph

364 Commits

Author SHA1 Message Date
andi d36724f3e7 replace watchdog with active polling thread
watchdog does not work on windows. For some
reason file modification events are not
emitted.
Fixed by replacing watchdog with a thread
that polls the modification date ever 0.5s.

Also fixed a bug that the hit view was not
properly destructed.
2025-04-06 09:34:08 +02:00
andi bcd525d787 ignore version file 2025-04-05 10:46:38 +02:00
andi 8289042af4 remove version file from repository
I don't want to have to commit an ever changing version file.
2025-04-05 10:46:00 +02:00
andi 0246a3fb19 only add versions on Windows
The version-file property only has any effect on Windows.
2025-04-05 10:42:59 +02:00
andi 617c7f161f Update README.md 2025-03-26 10:31:37 +00:00
andi 67f16571f1 add version info to compiled executable
This works on Windows, but it might not work on Linux.
Also the version number is not updated automatically.
I probably have to generate the file from a template, because
even though this is a python file you cannot add python code.
2025-03-26 11:17:07 +01:00
andi be5e0c9ae6 update instructions.md for python 3.12 2025-03-25 18:35:20 +01:00
andi 51c02b3d55 add missing file selectionPos
forgot to add it in one of the previous commits
2025-03-25 17:04:37 +01:00
andi c19cdf6f41 feature: add changelog to about dialog 2025-03-24 20:36:18 +01:00
andi 8ce0c1bf9e switch direction of the range start/end icons
With the old direction they were overlapping each other,
which made it impossible to move the end slider.
2025-03-24 20:07:35 +01:00
andi 04a0310eee bump copyright year 2025-03-24 19:37:37 +01:00
andi 3a2aa4f109 get version from git tag 2025-03-24 19:36:43 +01:00
andi 9902be0a48 feature: follow the file and show always the end when new data comes 2025-03-24 19:20:49 +01:00
andi 61132d242f fix: graphemes are not correctly highlighted
Graphemes don't all have the same width, not even when you use a monospace font.
For latin characters it usually works find to assume the same width. But emojis,
japanese or chinese characters have have different width. There are even some
ultra wide characters like 𒐫 or ﷽. There is also a thing
called 'half-width' character. E.g. the japanese 'a' can be ア or ア.

Fixed by actually computing the width of graphemes and using pixel.
2025-03-24 17:49:27 +01:00
andi 21b2da1e69 update pyside and pyinstaller 2025-03-23 20:54:03 +01:00
andi 69dd5ed1e3 update to python3.12 2025-03-23 14:01:06 +01:00
andi 8c740da879 horizontal scrolling 2024-11-24 09:20:57 +01:00
andi ddd377da7e change font size via mouse wheel 2024-11-23 08:55:25 +01:00
andi 8cf02c8f6a cleanup 2024-11-09 08:11:59 +01:00
andi 871cb4e08a seems to be working quite great 2024-10-24 19:09:51 +02:00
andi ed450424a5 somewhat working state 2024-08-03 08:52:37 +02:00
andi 00d4f2317a somewhat working state 2024-07-06 10:22:22 +02:00
andi 9c64acf77e the same line cache was used for the file view and the filter view 2024-06-30 08:24:28 +02:00
andi d561facb7e starting to write a better version of bigtext 2024-05-29 19:17:30 +02:00
andi 329775fb26 call update instead of repaint
repaint causes an endless loop on windows and crashes the app
2024-05-13 18:03:59 +02:00
andi be53c209ea cache lines to speed up rendering 2024-04-23 10:28:44 +02:00
andi aa2bfa967e style fixes 2024-04-22 17:52:15 +02:00
andi 2b91b19ef3 fix test test_column_to_char_ignore_nonspacing_mark_charaters 2024-04-22 17:51:12 +02:00
andi 9c1b8298be implement snap back
Only works on Windows. In Linux this is disabled.
2024-04-21 17:37:35 +02:00
andi 811e3c7f82 cleanup 2024-04-21 17:30:19 +02:00
andi 6d7accffde remove unused import for glob 2024-04-14 20:58:27 +02:00
andi 2cd6c2ec1b update QT to 6.7 2024-04-14 20:55:31 +02:00
andi 3e793596c2 replace ScaledScrollBar with BigScrollBar
step 4 - add repeat actions

This has probably a problem. The repeat action is triggering updates asynchronously.
Which means we do not wait until it is done. Which means we can DOS ourselves.
2024-04-14 19:12:37 +02:00
andi 7a574f7ed4 fix typo in word minimun 2024-04-14 09:37:52 +02:00
andi 7d20bae74d replace ScaledScrollBar with BigScrollBar
step 3 - connect wheel event
2024-04-14 09:36:50 +02:00
andi 9b9399f120 replace ScaledScrollBar with BigScrollBar
step 2 - connect the line up/down, page up/down events
2024-04-14 09:13:06 +02:00
andi 3d6cf84cd7 replace ScaledScrollBar with BigScrollBar
step 1 - manually moving the slider
2024-04-13 08:47:36 +02:00
andi 2b65e61e43 remove follow tail 2024-04-11 19:06:56 +02:00
andi 6538e85f37 add positions of hits to the range slider 2024-03-28 20:21:07 +01:00
andi 76f7baecf3 update PySide to 6.6.3 2024-03-27 19:18:29 +01:00
andi 7f4f6ab004 use folder of the original file in "copy to file" action 2024-03-26 18:17:52 +01:00
andi 270b3a8683 remove some debug logging 2024-03-26 18:15:30 +01:00
andi b8b4b4e790 make the original file name known to the filter view 2024-03-26 18:12:42 +01:00
andi 66d6a728cc make it possible to activate highlighter only for specific file types
In stage 1 we use a glob pattern matching the file name.
Stage 2 (which I will maybe implement some day) might use some additional magic byte sequence for file type detection.
2024-03-25 19:23:24 +01:00
andi 56189f4094 use transparent line background by default 2024-03-25 18:40:03 +01:00
andi 5f30862a83 keep position on handle 2024-03-24 20:06:00 +01:00
andi 017a51a24a remove code for drawing ticks 2024-03-24 19:59:38 +01:00
andi 442d3173c8 don't show context menu entries for ranges when range slider is disabled 2024-03-24 16:46:15 +01:00
andi 627c91e71a change version to 0.2.1 0.2.1 2024-03-24 12:10:20 +01:00
andi f3a68d0dee add context menu actions to set range start and end 2024-03-24 12:06:48 +01:00