Updated change log + a few minor fixes

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@258 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2011-01-16 20:18:00 +00:00
parent 79315b999f
commit 97b3f71432
3 changed files with 22 additions and 9 deletions

View File

@ -5,8 +5,10 @@ Subtitle Edit Changelog
* Collaboration via the internet ("Networking", also has chat) * Collaboration via the internet ("Networking", also has chat)
* Auto-backup (never, every minute, every 5th minute, or every 15th minute) * Auto-backup (never, every minute, every 5th minute, or every 15th minute)
* Video player/controls/wave form can now be un-docked (e.g. for ppl for multiple monitors) * Video player/controls/wave form can now be un-docked (e.g. for ppl for multiple monitors)
* Can now spell check via Word (Options -> Settings:General -> Spell checker)
* Ability to remember the last selected line when re-opening subtitles (thx Frederic) * Ability to remember the last selected line when re-opening subtitles (thx Frederic)
* Support for the subtitle format "Quicktime text" (two variations) * Now remembers video file and original subtitle (thx Luis)
* Support for the subtitle format "Quicktime text" (two variations) + Scenarist + Adobe Encore
* Added "Chars/sec" info to textbox in main window (thx Kerensky) * Added "Chars/sec" info to textbox in main window (thx Kerensky)
* Options to choose font color and background color (for list view/text-boxes) * Options to choose font color and background color (for list view/text-boxes)
* Can now import VobSub subtitles embedded in Matroska (.mkv) files (thx mosu for mkv info) * Can now import VobSub subtitles embedded in Matroska (.mkv) files (thx mosu for mkv info)
@ -21,15 +23,16 @@ Subtitle Edit Changelog
* Added a few buttons to 'Multiple replace' which is now re-sizable (thx sialivi) * Added a few buttons to 'Multiple replace' which is now re-sizable (thx sialivi)
* Moved video controls below subtitle preview (which now displays italic) * Moved video controls below subtitle preview (which now displays italic)
* Fix common ocr errors improed (thx aMvEL, sialivi, Alberto) * Fix common ocr errors improed (thx aMvEL, sialivi, Alberto)
* Start/display time changes are now undo-able (thx Luis)
* FIXED: * FIXED:
* Wave form: Fixed unprecise (out of sync) wave form data (only happened for some sample rates) * Wave form: Fixed unprecise (out of sync) wave form data for some sample rates
* OCR Fix Engine: Lines after "..." will no longer be changed to start with uppercase letter
* Missing line break in Sony Dvd Architecht w line numbers (thx Rosa)
* A minor bug in initialization of waveform (thx Frederic)
* A minor bug in Visual Sync, if end scene was after video length (thx tsieberg)
* Fixed crash with wave form track bar (thx Christian) * Fixed crash with wave form track bar (thx Christian)
* A minor bug in initialization of waveform (thx Frederic)
* Fixed several bugs regarding 'large fonts' / higher dpi (thx Radbert) * Fixed several bugs regarding 'large fonts' / higher dpi (thx Radbert)
* Fixed memory leak in VobSub SubPicture class (thx Almogzt)
* Missing line break in Sony Dvd Architecht w line numbers (thx Rosa)
* A minor bug in Visual Sync, if end scene was after video length (thx tsieberg)
* OCR Fix Engine: Lines after "..." will no longer be changed to start with uppercase letter
3.0 (18th November 2010) 3.0 (18th November 2010)
* NEW: * NEW:

View File

@ -80,10 +80,15 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
lines.ForEach(line => sb.AppendLine(line)); lines.ForEach(line => sb.AppendLine(line));
string xmlString = sb.ToString();
if (!xmlString.Contains("<Paragraph>") || !xmlString.Contains("<Text>"))
return;
XmlDocument xml = new XmlDocument(); XmlDocument xml = new XmlDocument();
try try
{ {
xml.LoadXml(sb.ToString()); xml.LoadXml(xmlString);
} }
catch catch
{ {

View File

@ -74,10 +74,15 @@ namespace Nikse.SubtitleEdit.Logic.SubtitleFormats
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
lines.ForEach(line => sb.AppendLine(line)); lines.ForEach(line => sb.AppendLine(line));
string allText = sb.ToString();
if (!allText.Contains("<text") || !allText.Contains("start="))
return;
XmlDocument xml = new XmlDocument(); XmlDocument xml = new XmlDocument();
try try
{ {
xml.LoadXml(sb.ToString()); xml.LoadXml(allText);
} }
catch catch
{ {