Commit Graph

662 Commits

Author SHA1 Message Date
7759b96bfb Remove overspecification of Qt version in documentation and comments 2020-09-04 01:16:46 +02:00
31904ff084 Support Qt 6 (commit 174154b) 2020-09-04 00:59:22 +02:00
07b6bbab30 Add 256x256 application icon 2020-08-11 23:23:02 +02:00
81a9189f56 Update translations 2020-07-07 12:15:56 +02:00
5eb5fa463c Fix support for Qt < 5.14 2020-06-11 21:33:06 +02:00
61e82c6110 Fix JSON export tests by using jq for the comparison 2020-06-10 18:45:13 +02:00
ad44ef55ab Use new ButtonOverlay functions for improved behavior of overlay buttons
See https://github.com/Martchus/tageditor/issues/56
2020-06-09 23:27:45 +02:00
3b9dac469f Mention handling of temporary/backup files in README 2020-06-06 00:17:12 +02:00
de70f62b24 Don't use deprecated QString::SkipEmptyParts 2020-06-04 20:51:22 +02:00
bb4bb29ab9 Handle SIGTERM as well (in addition to SIGINT) when saving changes
* e.g. ffmpeg handles SIGTERM as well to finalize writing the file
* not tested yet
2020-06-02 17:19:09 +02:00
fd18fa2bff Update translations 2020-05-13 18:43:57 +02:00
20c1d88629 Avoid useless use of QTextStream 2020-05-13 18:42:17 +02:00
dd3f1f594e Don't use QTextCodec which will be moved to libQt5Compat in Qt 6 2020-05-13 18:41:56 +02:00
252b44242a Adapt tests to changes in tagparser 2020-04-26 23:05:15 +02:00
0370b1320e Avoid web view appearing as white rectangle when no file is opened
* Hide web view (and for consistency reglar info view) when no file opened
* The white rectancle is otherwise disturbing when a dark theme is used
2020-04-26 21:49:01 +02:00
ed7e93dccf Reduce nesting in MainWindow::fileSelected() 2020-04-26 19:43:27 +02:00
c05a976bac Apply clang-format 2020-04-24 23:26:52 +02:00
01daa21305 Use 'RecordDate' instead of 'Year' field, add 'ReleaseDate' field 2020-04-24 23:26:40 +02:00
226ee9f230 Add TODO regarding ID3v2 version 2020-04-24 23:09:24 +02:00
4e324f0001 Fix displaying tag values of type DateTime in GUI 2020-04-24 23:08:53 +02:00
5027fdd634 Improve README.md 2020-04-24 23:08:23 +02:00
17c75114ea Note that setting custom fields works for Opus as well 2020-04-16 20:24:58 +02:00
c8cbe2852b Add extraction example to CLI documentation 2020-04-16 20:18:37 +02:00
911dba870e Improve CLI-only message 2020-04-16 19:52:54 +02:00
f3ce0f23ec Fix building without GUI
See https://github.com/Martchus/tageditor/issues/53
2020-04-05 21:40:12 +02:00
976bcbb2e8 Show document title at the top of line edit
It takes more space but just looks better.
2020-03-19 16:24:32 +01:00
82e8d28bdd Prevent crash when container has no first element 2020-03-18 17:49:02 +01:00
67f2802e77 Avoid use of QPalette::PlaceholderText to support Qt < 5.12
Remove '<colorrole role="PlaceholderText">' elements from UI files
which are apparently added by the designer in newer Qt versions but
break compatibility with older ones.
2020-03-10 14:59:31 +01:00
a1d64f95a1 Fix spin box size policy so they are not expanding vertically 2020-03-09 19:05:41 +01:00
7ed5723fd9 Use Q_SIGNALS instead of signals 2020-03-09 18:46:08 +01:00
a927b215bd Set window icon of RenameFilesDialog 2020-03-09 16:10:40 +01:00
0f4bbecedc Quit app when closing stand-alone renaming utility
See https://github.com/Martchus/tageditor/issues/52
2020-03-09 15:56:48 +01:00
3e58d67c4c Don't use lower-case Qt macros 2020-03-08 14:04:29 +01:00
f6852b2a02 Improve layout of TagEditorWidget 2020-01-11 21:34:46 +01:00
a4ae94d0b5 Fix adding "required" targets 2019-12-31 01:42:41 +01:00
6acf1dbbfa Update translations 2019-12-30 23:54:56 +01:00
74afa6e827 Improve canceling
* Show a specific status messages
* Allow aborting while only the percentage is updated
2019-12-30 23:54:04 +01:00
c3275b8bd7 Improve consistency of labels within settings 2019-12-30 22:45:37 +01:00
865e461032 Avoid using QAtomicInteger functions deprecated in Qt 5.14.0 2019-12-15 19:31:34 +01:00
a1b126f18a Fix building against Qt 5.14.0 2019-12-15 19:30:50 +01:00
4ad5608484 Reformat CMake scripts against cmake-format 0.6.3 2019-12-15 19:30:00 +01:00
9d95bb975a Add licensing info for Windows distribution 2019-11-07 19:04:53 +01:00
e23cc76d2a Fix lyrics appearing gray 2019-11-03 23:05:35 +01:00
e7349a4dab Update README.md 2019-10-27 18:51:15 +01:00
36655c067f Use override in CliTests 2019-10-27 18:50:56 +01:00
f228e88c5e Update translations 2019-10-11 20:03:00 +02:00
72e918b154 Remove debugging leftover 2019-10-11 19:55:45 +02:00
4531d10a81 Move QJSEngine into the thread which executes the JavaScript
This fixes https://github.com/Martchus/tageditor/issues/50.

When keeping the QJSEngine tied to the main thread the garbage
collector will run on the main thread's event loop. This leads to
crashes when trying to allocate memory within the engine from
another thread (`QV4::PersistentValueStorage::allocate()`).

The Qt documentation does not mention that the garbage collector
might run on the event loop of the thread tied to the JSEngine.
I expected it only to run after or before allocations/deletions
within the thread calling the engine's methods. There is already
an issue regarding the lack of documentation:
https://bugreports.qt.io/browse/QTBUG-57227

I found no way to obtain the QThread object for a thread started
with Qt Concurrent. The possibility I found was calling
`QThread::currentThread()` from the concurrent thread once it has
already been started. However, when the concurrent thread has
been started it might already be too late to move the engine.
Adding further synchronization to solve this is an overkill so
I resorted to using QThread directly.
2019-10-11 19:47:30 +02:00
bf4687d0b6 Remove leftovers from old notification system in JS code
This change was made when already investigating https://github.com/Martchus/tageditor/issues/50.
So that issue was there before this change.
2019-10-08 18:55:08 +02:00
bdc1c0d8d9 Update version: 3.3.0 -> 3.3.1 2019-09-27 15:36:57 +02:00