Commit Graph
100 Commits
Author SHA1 Message Date
andi 2672f8ac73 update QT to 6.2.3 2022-02-12 09:13:32 +01:00
andi 9d6e6532ca cancel search when closing the window 2022-02-09 17:21:58 +01:00
andi c470ca4ed1 reopen the files that were open the last time 2022-02-06 17:49:22 +01:00
andi 283bdae0fd cleanup 2022-02-06 16:23:44 +01:00
andi 6c9d5663e8 move files into a package structure 2022-02-06 16:21:25 +01:00
andi 323d5d6dd5 move files into a package structure 2022-02-06 16:19:42 +01:00
andi 1e3782aaa4 move files into a package structure 2022-02-06 16:16:31 +01:00
andi b45a952213 add license info for ionicons 2022-02-06 16:06:38 +01:00
andi 57c890f21a remove feather icons 2022-02-06 16:04:30 +01:00
andi 34cac97124 add more icons from ionicons 2022-02-06 16:03:50 +01:00
andi 5428553a1e move files into a package structure 2022-02-06 16:02:54 +01:00
andi 8bb4ca0563 move files into a package structure 2022-02-06 15:55:27 +01:00
andi 111c11d5d4 remove ravenui.py by using plugin registry instead 2022-02-06 15:49:12 +01:00
andi 6573580f3c ability to change language 2022-02-06 15:37:26 +01:00
andi 95634355c2 some translations 2022-02-03 18:35:31 +01:00
andi 2424674f2a fix buttons in dialog 2022-02-03 18:29:41 +01:00
andi 9614785302 fix buttons in dialog 2022-02-03 18:24:05 +01:00
andi 2d21de0e43 make language changeable 2022-02-02 20:04:50 +01:00
andi 9c28a41904 i18n with gettext 2022-02-02 19:35:57 +01:00
andi 939c86dbe2 i18n with QT 2022-02-01 18:30:15 +01:00
andi 26e2ee89e8 remove six
does not seem to be required
2022-01-30 10:53:39 +01:00
andi f0555df0a9 switch from PyQt6 to PySide6
PySide6 uses LGPL instead of GPL, which is much nicer to work with.
2022-01-30 10:50:31 +01:00
andi f33c8b0da5 use N as shortcut 2022-01-30 07:57:15 +01:00
andi 77fb8c0ea4 add icon for recent files menu 2022-01-29 20:05:36 +01:00
andi 4ac9fdf13a fix corner case 2022-01-29 19:49:16 +01:00
andi bb15754e1e update dependencies 2022-01-29 18:53:15 +01:00
andi 6fd3783878 add notes plugin 2022-01-29 18:53:05 +01:00
andi 21317fd254 cleanup 2022-01-29 17:44:43 +01:00
andi f0c3d34995 handle character in the category 'nonspacing mark'
Those characters are ignored, because they decorate
the previous character.
2022-01-29 17:38:52 +01:00
andi ba241b12e0 use cache to store char-to-column mapping
This is faster by O(n) to O(n²) compared to the previous algorithm
that would re-compute the column for each call.
2021-12-21 08:15:44 +01:00
andi ffea831e2d fix the way tabs are used
The previous code just assumed a tab was 4 spaces wide.
This is not true, because a tab can be between 1 and 4 spaces wide.
2021-12-21 08:15:44 +01:00
andi 3c27913e75 update QT6 to 6.2.2 2021-12-21 08:15:44 +01:00
andi 338a720652 add icons for future use, maybe 2021-12-21 08:15:44 +01:00
andi 7438718190 choose font based on OS 2021-12-21 08:15:44 +01:00
andi e4324b03b4 reset filter only after cancelling the search
Fixes issue where the UI froze when removing the last char of a query while still a search was running. This caused the search thread to append to the newly truncated file, resulting in megabytes of null bytes at the beginning.
2021-12-10 15:58:51 +01:00
andi 6e6029f6a2 allow other plugins to open files 2021-12-10 15:51:32 +01:00
andi a7bff8b089 work around for null byte issue after truncating 2021-12-05 16:22:05 +01:00
andi 614968ca4b move the log file viewer to its own plugin
We plan to have multiple different types of tabs.
2021-12-04 16:53:02 +01:00
andi e255d157d8 cleanup 2021-12-04 09:37:34 +01:00
andi 9200e997fb scroll vertically when mouse is outside the text area 2021-12-03 09:05:58 +01:00
andi 5b7ebb2f9b fix highlighting for selections 2021-12-03 09:03:34 +01:00
andi 6bacfc065b sort menu items 2021-11-27 09:42:25 +01:00
andi 5c08dc4a5a cleanup 2021-11-26 19:12:52 +01:00
andi 83f0762027 hide empty menus 2021-11-26 18:47:00 +01:00
andi b3e5d535b7 fix crash when double clicking behind the last char 2021-11-26 18:43:12 +01:00
andi 0e27cb2b26 add the first plugins 2021-11-26 18:19:57 +01:00
andi 1ea10e2933 show how to call methods on plugins 2021-11-13 18:32:28 +01:00
andi c8e5374aa7 add plugin registry 2021-11-13 18:12:15 +01:00
andi d980cd99d5 brighter background and bigger eye 2021-11-08 18:13:49 +01:00
andi caf979a833 add new icon 2021-11-08 17:42:15 +01:00
andi f209156eea link result view and source view 2021-11-05 19:18:24 +01:00
andi e04c4a2ab7 fix selection of the suffix of a line 2021-11-05 10:24:53 +01:00
andi 1346485446 add test symbols that consist of multiple characters 2021-11-05 10:23:22 +01:00
andi a7b09a99a5 correctly highlight lines with tabs 2021-11-05 10:22:45 +01:00
andi c4544899e4 add an even lighter grey 2021-11-05 07:59:04 +01:00
andi 0145f327f4 try another icon 2021-11-04 19:39:14 +01:00
andi f3428b5bca add buffering to the map 2021-11-04 18:51:47 +01:00
andi cbc167ada8 add sorted map for byte offset mapping 2021-11-03 20:07:59 +01:00
andi b8581449ad make border golden
The black border was not visible on black task bars.
It looked like the white background with the R was the logo, which made the
impression that the logo was not scaled correctly.
2021-11-03 18:06:10 +01:00
andi 5b9c64fb86 do not pre-select an item in highlight dialog 2021-11-01 19:31:19 +01:00
andi f3f47d0ce7 draw all line backgrounds first 2021-11-01 19:28:41 +01:00
andi 44e23af54f option to open tab when saving selection as file 2021-11-01 17:53:15 +01:00
andi 4f512225a9 add icons to actions 2021-11-01 17:06:53 +01:00
andi 1f7ffe0488 option to disable the highlighting of search terms 2021-11-01 15:56:26 +01:00
andi 9d0b8b6fff cleanup 2021-11-01 15:38:03 +01:00
andi 7ffc524175 fix word selection when clicking into line with multi byte chars 2021-11-01 15:37:07 +01:00
andi 9916965792 select line on triple click 2021-11-01 15:32:24 +01:00
andi 66de106651 use Close button in about dialog instead of Ok 2021-11-01 15:22:05 +01:00
andi 06ffc3826d update end of selection when using click + shift 2021-11-01 15:18:57 +01:00
andi f471f4785e select word on double click 2021-11-01 15:13:41 +01:00
andi 2f1aabb379 rename 'manage highlighting' to 'highlighters' 2021-10-31 19:52:11 +01:00
andi 50965d9a0b add readme with list of features 2021-10-31 19:50:43 +01:00
andi 0d04432d8b add version and ok button to about dialog 2021-10-31 19:50:33 +01:00
andi f1b0bf4981 add context menu 2021-10-31 19:01:26 +01:00
andi 9fb8a45ef7 save highlighters
remove user config (not needed)
2021-10-31 18:05:10 +01:00
andi 3d80640609 show file size and name in status bar 2021-10-31 17:55:00 +01:00
andi e7cbe15292 we probably don't need this lock 2021-10-31 15:17:57 +01:00
andi 572d95a151 fix indentation of copy to clipboard 2021-10-31 13:56:18 +01:00
andi bb99fb2c58 partially fix scrolling in files > 2 GB 2021-10-31 13:53:17 +01:00
andi 79f9219e9a save selection to file if above threshold 2021-10-31 12:30:26 +01:00
andi 86de0b9830 new and improved color palette 2021-10-31 09:50:39 +01:00
andi a18f09b5f3 fix method name 2021-10-31 09:50:22 +01:00
andi 59a4173929 use QSettings to store window geometry 2021-10-31 07:52:13 +01:00
andi 87eb0a9bf1 add shortcuts for menu items 2021-10-30 21:05:14 +02:00
andi 6e35971263 tiny improvements to the color palette 2021-10-30 20:59:58 +02:00
andi 2826b93432 color button with drop down 2021-10-30 20:28:19 +02:00
andi f3f700f737 check if form is dirty 2021-10-30 16:43:27 +02:00
andi aee0ff9968 add dialog to manage highlighters
- no support for "no color"
- settings not saved to disk
2021-10-30 16:25:34 +02:00
andi 43e85d2863 remove file name from window title after closing the last file 2021-10-30 09:56:22 +02:00
andi 5b95c328d5 open files after the window has been opened
this way we can update the window title
2021-10-30 09:55:57 +02:00
andi f8483c242d update qt to 6.2.1 2021-10-30 09:46:46 +02:00
andi c33fd9b2b7 cleanup 2021-10-29 16:52:33 +02:00
andi 86b70f43ac ask user before creating a clipboard larger than 5 MB 2021-10-29 16:52:13 +02:00
andi fbd378cbf4 open file dialog in folder of currently open file 2021-10-29 14:27:45 +02:00
andi 029d60fc77 trying out another icon 2021-10-29 12:38:56 +02:00
andi d4db320e17 read highlighters from settings.ini 2021-10-29 11:53:47 +02:00
andi 5b9db22f39 open files by drag&drop 2021-10-29 11:02:38 +02:00
andi 6653f2ae89 recent file menu 2021-10-29 10:36:50 +02:00
andi 4c00dfed50 keep track of recent files 2021-10-29 10:09:49 +02:00
andi 4f50fd03a4 more font_size to a new config file for session data
We need config and session data.
config is what the user changes. Only read by the app.
session is what the app remembers. Read and written by the app.
2021-10-29 09:53:53 +02:00