Commit Graph

73 Commits

Author SHA1 Message Date
d42c8ceaa0 Added one more mirror. 2012-05-29 19:53:53 +02:00
a291771153 Now using a separate QSemaphore to limit the number of tasks in the queue of the QThreadPool. Instead of starting exactly as many task as there are threads in the pool and adding a new task only after a running one finished, we will now keep a fixed number of tasks in the queue (currently hardcoded to 32). Since there always will be more tasks left in the queue than there are threads in the pool, we ensure that no thread will ever become idle. Might be slightly faster than the "old" approach. 2012-05-25 02:24:44 +02:00
428342af21 Fixed HTML code, need to escape the ampersand. 2012-05-20 23:44:50 +02:00
c18785ce1e Changed the method to synchronize the analyzer threads: We now use QSet to maintain a list of the thread id's of all threads that are still running - instead of only recording the highest thread id that has finished. This way a thread can now actually check if there still is any running thread with a lower thread id. Before thread n could only check if thread n-1 has finished yet or not. As a result we can relax the waiting now. Only threads that want to emit a file will wait for the "previous" threads to finish. 2012-05-14 00:50:16 +02:00
72e8558b5f Added progress indicator to CueSheet import thread. 2012-05-06 23:58:18 +02:00
e13b93f51b Implemented progress indicator for the working banner. 2012-05-06 04:57:00 +02:00
2b514558f9 Fixed a regression in b00b527897. 2012-05-04 21:43:44 +02:00
f9f70514dd Added Swedish translation. Thanks to Åke Engelbrektson <eson57@gmail.com>. 2012-04-29 17:35:14 +02:00
9dccdbee57 Workaround for a recent change in MediaInfo's behavior for M3U playlist files. 2012-04-19 14:40:05 +02:00
3bdd8e97a6 Updated Polish translation. Thanks to Sir Daniel K <sir.daniel.k@gmail.com>. 2012-04-15 15:35:26 +02:00
fc29c67f93 Small update to translator's guide. 2012-04-14 17:35:00 +02:00
599519efd2 Updated Qt runtime libraries to v4.8.1 (2012-03-14), compiled with MSVC 10.0. 2012-04-12 03:18:48 +02:00
f05365e383 Fixed a few memory leaks found by VLD. 2012-04-06 23:15:58 +02:00
d16a116a1d Fix potential memory leak: According to the docs, setModel() creates and sets a new SelectionModel, so we need to remember and delete the "old" SelectionModel. 2012-04-06 16:15:19 +02:00
3b2892b2fd Bump version. 2012-04-06 02:00:44 +02:00
b3df635784 Changed creation of QFileSystemModel. Object will now be created when the user first visits the "Output Folder" tab. Also added option to "refresh" the directory outline, which will effectively destroy and re-create the QFileSystemModel in order to discard all data that may be cached. 2012-04-05 15:24:45 +02:00
602e1691c4 Various tweaks to improve the QFileSystemModel performance. Also slightly improved the initialization. 2012-03-30 03:35:43 +02:00
158588b3ec Some code refactoring and clean-up. 2012-03-29 19:08:33 +02:00
78c73d6d6e Some improvement of the previous commit. 2012-03-29 03:22:24 +02:00
9b41e9c6a9 New workaround to focus the selected item in the "output folder" view: As the focus will get lost again when the QFileSystemModel asynchronously loads a directory, we need to focus again on each directory loaded. Though we must stop focusing on the selected item, as soon as the user expands a folder. Otherwise the view would scroll unexpectedly... 2012-03-29 01:32:47 +02:00
28f7a0cd50 Improved output folder LineEdit. 2012-03-27 22:46:01 +02:00
1738ea5b6e Added button to edit the current output path in a simple LineEdit control. 2012-03-26 22:02:11 +02:00
1d52b628d1 Show which AAC encoder is being used in the GUI. 2012-03-06 22:29:55 +01:00
a210a120ab Updated Polish translation. Thanks to Sir Daniel K <sir.daniel.k@gmail.com>. 2012-03-04 13:12:10 +01:00
fb7d14d5ca Fixed a typo in the German translation. 2012-02-24 22:13:04 +01:00
7d95f114a2 Try to keep the window of the Web Updater tool focused. 2012-01-24 02:46:29 +01:00
50ac87149e Updated dcaenc binary. 2012-01-14 01:35:50 +01:00
f857054dda Added support for importing Meta tags from a CSV files. 2012-01-04 21:10:33 +01:00
9b687fff9a Happy New Year 2012! 2012-01-02 00:52:27 +01:00
1f001a65e2 Better handling of system shutdown. Now using the Qt event system to broadcast a special event when the system is going to shutdown (i.e. WM_QUERYENDSESSION or WM_ENDSESSION). This gives each top-level widget the chance to react to the system shutdown *before* we return from the message handler. Doing any clean-up after returning from the message handler is impossible, because Windows will kill the process immediately after WM_ENDSESSION has been processed. Note that Windows XP (and earlier) will NOT send WM_QUERYENDSESSION or WM_ENDSESSION to processes that have a console attached! Therefore, if we have a debug console attached, we cannot do anything on these systems. Our process will be killed without any notification...
Also improved LameXP's IPC mechanism: There now are several slots for IPC-commands in the shared memory area ("queue support"). This way, the sender can post several commands in sequence without getting blocked. The receiver can process those at a later time.
2011-12-29 14:42:20 +01:00
db587fe228 Prevent some more dialogs from blocking a quick system shutdown. 2011-12-27 13:51:01 +01:00
17d1582186 Updated Polish translation. Thanks to Sir Daniel K <sir.daniel.k@gmail.com>. 2011-12-27 05:08:19 +01:00
a96237e6b2 Some refactoring of the icon initialization code. 2011-12-26 21:02:55 +01:00
30f1795d32 Added some more "special" application icons. 2011-12-25 01:00:11 +01:00
a0a29b9551 Experimental support for dcaenc, by Alexander E. Patrakov <patrakov@gmail.com>. 2011-12-22 21:53:25 +01:00
1a238db3db Update file properties after the decoding step by using SoX in "--i" mode. Required, because some properties (such as 'bits per sample') cannot be known beforehand. 2011-12-22 00:06:34 +01:00
d1803f1a3b Print the "script" of the language file. 2011-12-19 16:20:52 +01:00
612f744afe Added 'Traditional Chinese' (Taiwanese) translation by 456Vv <123@456vv.com>. 2011-12-19 15:48:50 +01:00
97170324e3 Added "Ignore" button to message box. 2011-12-18 18:19:14 +01:00
6657745daa Improved language file initialization code. 2011-12-18 15:19:07 +01:00
44da665abc Force column resize, after an item in the source file list has been edited. 2011-12-17 22:01:42 +01:00
2ad95434a3 Fixed one typo. 2011-12-17 20:57:12 +01:00
dc63a2d115 Added Chinese translation by 456Vv <123@456vv.com>. 2011-12-17 16:53:13 +01:00
c71d8ee2c8 Updated Ukrainian translation + made one more string translatable. 2011-12-15 14:28:03 +01:00
388f98e90a Added UTF-16 (LE and BE) support to Playlist and Cue Sheet import. 2011-12-13 23:33:21 +01:00
caabab7adf Fixed a type (reported by VzK) 2011-12-10 23:13:29 +01:00
b633f40e4c If the Cue Sheet isn't clearly UTF-8 (i.e. a BOM is found), then let the user select the desired Codepage. 2011-12-10 17:06:31 +01:00
6770f1ec90 QString::fromLocal8Bit() doesn't work as expected, as we explicitly set the CodecForLocale to UTF-8 in the initialization code. Therefore we can't use QString::fromLocal8Bit() at places where the system's default Codec is needed. Instead we will now get the actual system Codec via QTextCodec::codecForName("System") at those places. That's not nice, but solves the problem. 2011-12-10 01:59:45 +01:00
8c72137fe1 Workaround for a bug that causes MediaInfo to not detect the duration of Wave files (64-Bit only). 2011-12-04 20:33:06 +01:00
3e2e6f66e6 Small fix of previous commit. 2011-12-03 16:10:33 +01:00