Commit Graph

325 Commits

Author SHA1 Message Date
f689ce5646 Some style-specific tweaks. 2012-12-19 23:43:27 +01:00
a48dfadc98 Added "folder up" action to the context menu of the "output folder" tab. 2012-12-14 23:50:56 +01:00
e21c61788e Don't update buttons when output folder view is disabled. Also slightly changed "folder up" icon. 2012-12-14 01:20:23 +01:00
12db5d2c81 Added "Folder Up" button to the "Output Folder" tab. Also some code refactoring. 2012-12-14 00:34:10 +01:00
7077650bb6 Switched the method of how the Designer UI file is used in the MainWindow class to "The Single Inheritance Approach" (with "Using a Pointer Member Variable"). This is the method which Qt recommends for large projects. 2012-12-04 01:35:48 +01:00
c220a0b73f Updated Opus encoder/decoder libraries to v1.1.x and Opus-Tools to v0.1.5 (2012-11-23). Also removed obsolete Opus options. 2012-11-23 21:03:59 +01:00
07dfd3211a Added an option to filter the progress model entries. If filter is enabled, only progress items that match the filter will be shown in the TableView. 2012-11-11 18:33:55 +01:00
4d3bce8fc3 Added option for "Overwrite Mode" (keep both, skip file, replace) to "Advanced Options" tab. Does not do anything yet. 2012-11-08 00:42:55 +01:00
eb75c942ee Bump version. 2012-10-19 21:05:33 +02:00
a2fd0f2460 Added an "About..." entry to the system menu. 2012-10-17 23:34:42 +02:00
61d440303b Small code clean-up. 2012-10-15 00:41:38 +02:00
4ed70b7bea If a QM file is used instead of a built-in translation, the QM file will now be remembered. Also the translation system can now be re-initialized by pressing CTRL+F5 in the Main window. 2012-10-14 22:22:30 +02:00
50e9d01cfb Now using rand_s() to generate random numbers, which doesn't need a seed. Falling back to qsrand() + qrand() on platforms that don't support rand_s(). 2012-10-13 12:36:41 +02:00
3fc27a2e17 Slightly modified license checking code. 2012-10-10 23:01:58 +02:00
057cb6fe4f Some optimizations in GUI resize code. 2012-09-20 22:52:52 +02:00
a4e78633e6 Fixed a regression in 3e18116dd5. 2012-09-07 02:14:29 +02:00
8d6774ba24 Updated some URL string. 2012-08-20 22:23:38 +02:00
0deb759096 Updated F.A.Q. document. 2012-08-02 23:32:21 +02:00
87ebf07930 Removed a superfluous MessageBeep(). 2012-07-31 21:03:43 +02:00
36c8ba7822 Some more refactoring of the event filter functions: De-uglify the "global" event filter function by using more fine-grained filter functions. 2012-07-30 21:44:44 +02:00
3e18116dd5 Added "custom parameters" options for Opus. Also added a "help" button for all "custom parameters" edit boxes, which will simply show the CLI help screen. 2012-07-29 22:55:02 +02:00
c095bbee95 Some refactoring of the macros. Use the "do {...} while(0)" template where it makes sense. 2012-07-29 19:13:58 +02:00
d44c57e009 Updated Opus binaries. Now compiled with runtime CPU-detection. Also we now have builds with "experimental encoder perceptual tuning" from the "exp_analysis7" branch, enabled by default. 2012-07-29 16:46:01 +02:00
278f9091fb Replaced the Opus encoder/decoder binary wit custom binaries that support UTF-8 file names and flush the console output properly + expose more Opus encoder options in the GUI. 2012-07-21 19:16:12 +02:00
fcceeeaaac Added support for Opus Audio Codec, based on Opus-Tools v0.1.3 (2012-07-10) by Xiph.org/Mozilla 2012-07-20 23:19:08 +02:00
30bc239cd8 Now using our own command-line parser, based on GetCommandLineW() + CommandLineToArgvW , instead of using QApplication::arguments(). This is less portable, but Qt's internal command-line parser has some rather strange behavior with processing certain characters. As a result, with Qt's command-line parser, some path names passed to LameXP got screwed up! Specifically "C:\Some Path\''Foo''.mp3" got mangled to "C:\Some Path''Foo''.mp3", i.e. the Backslash disappeared! Should be fixed now. 2012-06-22 15:49:56 +02:00
accee3da7a When generating the initial output-folder name for the Cue Sheet dialog, make sure there is no folder *or* file of that name yet. The previous code did check for folders only! 2012-06-21 18:31:36 +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
23165c55a0 Some small updates to the file analyzer benchmark code. 2012-05-15 21:34:20 +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
a7a776ed82 Implemented a method to disables update signals from the FileList model. This will significantly speed-up adding a lot files, but comes with the drawback that updates won't be visible immediately. 2012-05-05 21:56:14 +02:00
9481029960 Make it possible to remove items with the DEL key. 2012-04-19 00:56:04 +02:00
20a9e2632b Added one missing NOBR(). 2012-04-16 18:52:45 +02:00
48a23c27d7 Added a new configuration for initial Qt 5.0 support. Needed a few code-changes and workarounds. Highly experimental! 2012-04-11 00:44:40 +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
65423ba125 Don't check for elevation on Wine. It seems Wine always runs the process elevated (tested under Wine 1.4 on Ubuntu 12.04). 2012-04-05 16:24:33 +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
6dca891474 Slightly changed cache handling. 2012-03-31 22:20:07 +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
47f0f1629c Some tweaks to the initialization of the QFileSystem model. 2012-03-28 02:21:34 +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
3630e54f4e Slightly improved "announce" message box. 2012-01-24 01:19:09 +01:00
f857054dda Added support for importing Meta tags from a CSV files. 2012-01-04 21:10:33 +01:00
8e65917d9c Added support for exporting Meta tags to a simple CSV file. 2012-01-04 03:23:07 +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
d574745043 Restrict bitrate selector for dcaenc to a sane range. It seems everything above 4096 kbps will fail, even with 6 channels. 2011-12-23 02:29:06 +01:00
a0a29b9551 Experimental support for dcaenc, by Alexander E. Patrakov <patrakov@gmail.com>. 2011-12-22 21:53:25 +01:00
683b7a82a5 QDesktopServices::openUrl() fails horribly, if we try to explore a folder like "C:\Foo\Bar" while there is a file "C:\Foo\Bar.exe". Going back to ShellExecute() for now. 2011-12-19 02:09:45 +01:00
97170324e3 Added "Ignore" button to message box. 2011-12-18 18:19:14 +01:00
c49ce7e530 Artwork can now be changed by double-click. 2011-12-18 15:19:28 +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
6a90dad03f Adjusted QAAC detection for shared 'libsoxrate' library. 2011-11-22 23:48:54 +01:00
3e7ae9642c Changed detection of QAAC for the new fully-static build. 2011-11-21 22:28:14 +01:00
da5dfdc85e Added optional support for the QAAC encoder. Requires QuickTime v7.7.1 (or later) and the QAAC front-end. 2011-11-21 01:22:41 +01:00
84053a76f4 Use qMin() and qMax() instead of min() and max() macros. Also use qBound() where appropriate. 2011-11-08 15:12:31 +01:00
5a32fc3b82 Implemented a more correct way to initialize the ITaskbarList3 interface. We now actually wait for the "TaskbarButtonCreated" message. 2011-11-07 17:13:41 +01:00
02b7cdc3e1 Added indicators for current CPU usage, RAM usage and free disk space to the processing window. 2011-10-29 16:26:09 +02:00
01bc64859d Added a hint that the version number in the name of the ZIP file, which Nero offers for download, doesn't tell the whole truth. 2011-10-23 18:05:27 +02:00
6c67cb0012 Check if hibernation is support on the computer. If not, disable the hibernate option. 2011-10-22 01:34:24 +02:00
a98206bd70 Added an option to hibernate the computer ("suspend to disk") instead of shutting it down ("power off"). 2011-10-22 01:13:28 +02:00
1a9aa81d3a More extensive use of the NOBR macro + code clan-up. 2011-10-16 16:38:01 +02:00
9d652fb2e0 Added support for /Force to uninstaller. Required some tweaks for the 'parameters.nsh' include file. 2011-10-07 16:06:48 +02:00
af7bb2026a Made the channel equalization mode of the "normalization" filter an advanced option. The "-ne" mode still is default, be you can use "-nb" or even "-n" now. The last one still has problems with multi-channel files. 2011-10-06 23:55:42 +02:00
c80f45f704 Use ShellExecute() to run the Uninstaller, because the Uninstaller now needs to be elevated (and thus QProcess can fail). 2011-10-06 14:35:13 +02:00
866fb13e2e Updated MediaInfo and wma2wav binaries. Now compiled with new stdout/stderr Unicode fix. 2011-10-01 03:40:49 +02:00
48efab12eb Updated Web-Updater and Elevator binary. NSIS updated again. 2011-09-29 20:59:54 +02:00
2d4770e277 Merge branch 'master' of github.com:lordmulder/LameXP
Conflicts:
	src/Config.h
2011-09-29 20:07:26 +02:00
282528ea67 Set text codec to UTF-8, so qDebug/qWarning/qFatal don't destroy Unicode strings. Also remove qDebug64() and friends, as we don't need them any more. 2011-09-29 20:06:09 +02:00
4c867dc325 Added a button for loading a different Cue Sheet to the Cue Sheet importer dialog. 2011-09-29 17:36:38 +02:00
bb986dd203 Re-added missing "<br>"'s that got lost in the recent refactoring. 2011-09-20 00:29:01 +02:00
a77ee5c397 Don't check for updates when application is run for the very first time (after install or update). 2011-09-19 18:52:02 +02:00
20d2e33a7d Improved announce box. 2011-09-18 02:01:45 +02:00
daa780d90f Updated MediaInfo binaries to v0.7.49 (2011-09-09), compiled with MSVC 10.0 + some message box text refactoring. 2011-09-17 23:08:59 +02:00
9e9b3ed25e When a folder that does NOT contain any files is dropped, descent into its sub-folders (if any). 2011-09-05 15:36:58 +02:00
b687666ac9 Temporarily hide the "disque" widget in About dialog while showing one of the sub-dialogs. 2011-08-29 15:57:17 +02:00
2da39922ca Added warnings when LAME algorithm quality is set to "extreme" values. 2011-08-25 03:44:46 +02:00
b84f66f741 Remember most recent path for "add file(s)" and "add directory" dialogs. 2011-08-23 18:48:16 +02:00
10ae6c8451 Better workaround for "ResizeToContents not updating" bug. 2011-08-23 17:01:11 +02:00
137535927a Workaround for a bug in Qt's TableView that causes column widths to not be updated immediately when ResizeToContents is used. We have to force the update via event filter. 2011-08-22 00:03:36 +02:00
95f627ee1a Some more clean-up for FhgAacEnc support + updated documents. 2011-08-21 14:43:18 +02:00
e811a64534 Slightly improved FhgAacEnc integration. 2011-08-19 19:25:01 +02:00
84883ab519 Added experimental(!) support for FhgAacEnc. Replaces the Nero AAC encoder, if available. 2011-08-19 15:27:58 +02:00
5ab869ed82 Added "Favorites" menu for output folders. 2011-08-08 20:26:30 +02:00
fbee147f07 Added an option option to enforce Stereo Downmix. 2011-08-05 21:52:43 +02:00
229357f77c Preview example file name for current rename pattern. 2011-08-05 15:41:19 +02:00
613c9721a7 Prevent rename pattern edit box from being translated, so the text won't be lost anymore. 2011-08-05 02:33:32 +02:00
7e1f790e9b Added an option to rename the output files (based on an user-defined pattern). More macros might be added at a later time. 2011-08-04 23:26:38 +02:00
272cef76f4 Removed some more remnants of "old" WMA decoder + updated changelog. 2011-08-04 00:55:17 +02:00
ff622e29c0 Fixed a bug that could files to be added twice. Files weren't actually added two times, because we have a check for duplicate files later, but the error message for unsupported/rejected files did pop up twice! 2011-07-28 13:37:00 +02:00
327ca1ae75 Added 'wma2wav' as WMA decoder and removed all support for WMA decoder by NCH Swift Sound. 2011-07-26 22:17:14 +02:00
bde198ee10 Five new strings to translate. 2011-06-26 15:33:44 +02:00
3ad816f660 Show a warning to the use in case of "slow" startup (i.e. when buggy a/v is slowing down the startup procedure) 2011-06-24 18:17:04 +02:00
76046b4ae5 Bump version. 2011-06-12 14:43:07 +02:00
ca1c1b46d4 Make sure that the output folder label is updated when the output folder (tree item) is changed via keyboard. 2011-06-12 03:18:37 +02:00
f8f5707529 Added two new command-line switches: "--add-folder <path>" to add a single folder and "--add-recursive <path>" to add a folder recursively. 2011-06-11 17:18:30 +02:00
5724790013 Implemented late initialization of the QFileSystemModel. Should make the first switch to the "Output Folder" tab a bit faster. 2011-06-04 22:43:14 +02:00
d452e92bd4 Detect and show audio bitrate + added an option to copy a file's meta info to the 'meta info' tab + do not jump to first tab on minimize/restore. 2011-05-31 19:04:45 +02:00
a7b42c0e1e Do not add the files directly in the Drag&Drop event routine. Instead only remember files and add them asynchronously. This way Windows Explorer won't freeze while we are adding the files. 2011-05-27 11:29:40 +02:00
5cd5f98f96 Cleaned-up main window code. 2011-05-21 13:07:17 +02:00
a66e6e9203 Bugfix: Correctly disable Nero AAC option, if the Nero AAC encoder isn't available. Before this check was skipped, if Nero notifications were disabled! 2011-05-20 19:21:09 +02:00
c44d0020c9 Updated avs2wav tool (again) + fixed a bug with the "meta info" tab and the "edit" button. 2011-05-20 18:13:08 +02:00
db661fc50c Show a warning when the user tries to add a Cue Sheet like a normal file. 2011-05-17 01:14:50 +02:00
5cccd4de81 Implemented a better method to abort FileAnalyzer thread. 2011-05-16 21:02:24 +02:00
55b5393768 Implemented Cue Sheet splitter thread. Basic Cue Sheet import should work now, but only uncompressed Wave/PCM files are supported. 2011-05-15 01:45:27 +02:00
564cad5047 First step for Cue Sheet splitting: Call the FileAnalyzer thread in order to analyze all source files. 2011-05-14 18:34:34 +02:00
3e7c2d59e8 Show working banner while parsing a Cue Sheet file + reject Cue Sheet files larger than 10 MB (these probably are not Cue Sheets, but parsing would take very long). 2011-05-13 13:17:21 +02:00
ecd4c4c762 Implemented a very basic Cue Sheet parser. 2011-05-13 02:44:20 +02:00
c87a9b6217 Added "Cue Sheet" importer to GUI. Actual Cue Sheet parsing and splitting not yet implemented, but the model already works. 2011-05-12 22:57:08 +02:00
6fc5458460 Updated FAQ document + added 'Don't Show Again' buttons to some dialogs. 2011-05-08 19:41:25 +02:00
e01f6853e3 Added more options for Aften to the "Advanced Options" tab. 2011-05-07 00:50:18 +02:00
0d2b16424f Implemented encoding mode and bitrate selection for AC-3 encoder. Also support for custom parameters. 2011-05-05 12:27:25 +02:00
be71e483b1 Initial ATSC A/52 (aka "AC-3", aka "Dolby Digital") encoding support, based on the Aften encoder. 2011-05-04 01:15:05 +02:00
6a6ac5396d Implemented a custom function to blink a window. On Windows XP the native FlashWindowEx() function doesn't work with caption-less windows. 2011-05-03 20:17:33 +02:00
5ce0c7b82e Added an option to check for "Beta" (pre-release) updates in "Final" releases. Disabled by default, not available in "Beta" versions (Beta versions always check for Beta updates). 2011-05-03 14:28:06 +02:00
4bb7185a0f Added global exception handler routine. 2011-04-17 15:53:28 +02:00
fa2a5a3754 Make it possible to abort the operation when adding files or when scanning for directories. Press "ESC" key to abort! 2011-04-11 21:57:16 +02:00
9a8f8e1c75 Small addition to translator's guide. 2011-04-08 14:05:50 +02:00
709a4c2079 Added code to automatically resize (enlarge) the main window if it is too small for all widgets/strings to fit in. Mainly useful for translations that contain strings which are significant longer than the default translation. 2011-04-05 14:57:21 +02:00
23665ed4c9 Implemented a new "disk observer" thread which will constantly check the free diskspace of the disk where the TEMP folder is located. If the diskspace drops below a critical limit (currently 100 MB) a warning message is emitted. 2011-03-28 04:26:47 +02:00
675be99999 Added an option to add directories recursively. 2011-03-23 23:19:31 +01:00
e63d462578 Updated LAME encoder binary to v3.99.0.15 (2011-03-22), compiled with ICL 12.0.2. 2011-03-23 21:50:32 +01:00
1115a33264 Added support for adding, editing and clearing cover artwork by the user. 2011-03-22 17:33:03 +01:00
db6b218d5d Added entry for "Help & Support" to Help menu. 2011-03-20 14:28:27 +01:00
83192245a0 Added entries for the documents to the menu. 2011-03-19 18:16:23 +01:00
cf45f0391f Detect the .cda files that can be found in the root of the "dummy" file systems that Windows emulates for Audio-CD's. If such files are encountered, we tell the user gently to rip the audio tracks with EAC. 2011-03-19 15:35:17 +01:00
63d6708fc1 Refactored a few constants. 2011-02-28 01:28:27 +01:00
f829d69636 Added an option to select a user-defined TEMP directory. 2011-02-25 22:03:39 +01:00
efbb182372 Added support for Windows 7 Taskbar Progress to "Update" dialog. 2011-02-25 13:40:45 +01:00
f75c3ca496 Added an option to manually specify the number of parallel instances. 2011-02-25 00:22:18 +01:00
67b698ba4d Fix "Debug" configuration. 2011-02-20 19:29:28 +01:00
0ccfd146bc Updated FAQ document. 2011-02-18 16:29:26 +01:00
5902f1822d Fixed a bug that could lead to an infinite loop when trying to install an update from auto-update and the WMA decoder component was not installed yet. 2011-02-18 00:53:36 +01:00
c967a013be Properly map the popup menu position to global coordinates. 2011-02-14 19:03:36 +01:00
b12e524a96 Add option "Brose Output File Location" to context menu in processing window. 2011-02-11 23:16:11 +01:00
476265df3a Save the "Position" field on the "Meta Data" tab. 2011-02-10 16:08:03 +01:00
cfb20fe3cb Added support for custom encoder parameters. 2011-02-09 23:36:17 +01:00
297c9e4796 Added support for Speex input. 2011-02-01 22:15:57 +01:00
199d132eb7 Fixed Windows XP compatibility. RegSetKeyValue() isn't supported on system prior to Vista. 2011-01-29 21:57:53 +01:00
0e59d6f9a2 Second part of LameXP shell integration. We can now remove the shell integration again. Also installing/removing the shell integration was moved into a separate thread in order to speed-up the startup. 2011-01-29 00:40:29 +01:00