Commit Graph

32 Commits

Author SHA1 Message Date
eb8da7b6f9 Happy new year 2016! 2016-01-03 15:53:42 +01:00
1ea15b179c Happy new year 2015 !!! 2015-01-01 18:06:21 +01:00
dc98131fd1 Moved various auxiliary macros into the MUtils library. 2014-11-30 21:32:23 +01:00
035699c84e Moved various functions into MUtils library and removed obsolete code from LameXP. 2014-11-25 02:14:42 +01:00
cc38035087 Happy new year 2014! 2014-01-01 17:05:52 +01:00
7b016d5fec Updated license info. 2013-10-23 22:25:04 +02:00
b54886f242 Introduce QUTF8 macro and replace ".toUtf8().constData()" everywhere. 2013-10-21 15:00:55 +02:00
5e5fbe06f9 Updated CueImportDialog and CueSheetModel as well as the CueSheet helper classes to use AudioFileModel_MetaInfo. Significant code simplification. 2013-10-13 20:50:12 +02:00
82b1249c0d Redesign of the ArtworkModel in order to improve the handling of the implicitly shared data. 2013-10-12 20:36:45 +02:00
24217c3b71 More code refactoring: Moved most of the Win32 API dependencies into wrapper functions in Global.cpp, which greatly reduces platform-specific includes. 2013-10-07 00:01:15 +02:00
7602317652 Some code-clean up. Removed "Windows.h" include from "Global.h", because most source files won't need the Win32 API stuff. Also got rid of some Windows 2000 compatibility cruft. 2013-10-06 19:28:12 +02:00
bd0a370aee Welcome to year 2013 ;-) 2013-02-08 23:57:50 +01:00
9b687fff9a Happy New Year 2012! 2012-01-02 00:52:27 +01:00
388f98e90a Added UTF-16 (LE and BE) support to Playlist and Cue Sheet import. 2011-12-13 23:33:21 +01:00
621ddc8179 Added a new global function to get a list of all available Text Codecs. 2011-12-10 23:12:47 +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
6e819e45b3 If no BOM was found, check whether decoding the input using the "local 8-Bit" Codepage produces any "replacement" characters (U+FFFD). In that case we assume a decoding error and fall back to Latin-1. 2011-12-08 14:46:11 +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
9276645f1b More fixes for the Cue Sheet parser: Strings don't have to be enclosed in quotes, if they don't contain any whitespace chars, so we should support that case. Also generate a title from the track number, if the Cue Sheet doesn't define a title for the track. 2011-09-24 00:15:50 +02:00
466d339d9d Added support for the non-standard tags "REM DATE" and "REM GENRE" to the CUE Sheet parser. 2011-09-23 21:30:55 +02:00
45dd277e99 Much simplified indexToString() using a QTime object. 2011-05-18 00:36:51 +02:00
352bfd4864 Improved precision of the indexToString() function. The Cue Sheet splitter should be able cut more precise now! 2011-05-17 20:06:01 +02:00
489829fb37 Refactored Cue Sheet splitter thread: Now we simply pass a pointer to the Cue Sheet model into the Cue Sheet splitter thread instead of having to copying all the information in the Cue Sheet import dialog. Also the Cue Sheet import process can now be aborted by the user. 2011-05-16 18:05:50 +02:00
f8f792f23f The Cue Sheet splitter will now also handle input files that are not PCM/Wave. 2011-05-15 18:53:44 +02:00
9296fc32b6 Cue Sheet splitter improvements/fixes + German translation updates. 2011-05-15 15:14:33 +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
49dd3f0446 Improve Cue Sheet parser: Calculate duration of each track + make sure each track# isn't used multiple times + refactored error codes into an enum. 2011-05-14 15:54:04 +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