Skip to content

[11.0.0] - 2023-01-19

Compare
Choose a tag to compare
@ermshiperete ermshiperete released this 15 Feb 17:56
· 351 commits to master since this release
47fdb17

Added

  • [SIL.Core] Added SIL.Reporting.FontAnalytics class.
  • [SIL.Core] Added ObjectModel.ObservableISet as a parent class to the existing ObservableHashSet
  • [SIL.Core] Added ObjectModel.ObservableSortedSet (child class of ObservableISet)
  • [SIL.DblBundle] Added const strings to UsxNode for the various USX element names.
  • [SIL.DblBundle] Added protected method GetAttribute to UsxNode.
  • [SIL.DblBundle] Added sealed subclasses of UsxNode: UsxPara and UsxChar.
  • [SIL.DblBundle] Added property IsChapterStart to UsxChapter.
  • [SIL.Reporting] Added TypeOfExistingHandler property to ExceptionHandler.

Fixed

  • [SIL.DblBundle] Attempting to construct a UsxNode based on an invalid XmlNode now throws an exception in the constructor in most cases rather than later when properties are accessed.
  • [SIL.DblBundle] Accessing UsxChapter.ChapterNumber on a chapter end node returns the chapter number (from the eid attribute) instead of throwing an exception.
  • [SIL.WritingSystems] Prevent (and clean up) duplicate URLs in LDML files for Fonts, Keyboards, and Spell Check Dictionaries.
  • [SIL.Archiving] Set UseZip64WhenSaving to Zip64Option.AsNecessary to prevent crash with large archives

Changed

  • [SIL.Archiving] Changed REAP access protocol label from "Insite users" to "REAP users"
  • [SIL.Archiving] Fixed typo in name of ArchiveAccessProtocol.GetDocumentationUri methods
  • [SIL.Archiving] Changed ArchiveAccessProtocol.GetDocumentationUri methods
  • [SIL.Archiving] Changed ArchiveAccessProtocol.SetChoicesFromCsv to thow ArgumentNullException instead of NullReferenceException. Also made it discard duplicate choices if the list contains duplicates.
  • [SIL.Core] FileLocationUtilities.GetDirectoryDistributedWithApplication checks not only in
    DistFiles, common, and src subdirectories, but also directly in the application or solution directory.
  • [SIL.Core] Store URLs in Sets instead of Lists in IKeyboardDefinition (to prevent duplicates)
  • [SIL.DblBundle.Tests] Made GetChaptersAndParasForMarkOneContaining2Verses private.
  • [SIL.DblBundle] Made UsxNode abstract.
  • [SIL.DblBundle] Made UsxNode.StyleTag virtual. Calling UsxChapter.StyleTag on a chapter end node returns null instead of throwing an exception.
  • [SIL.DblBundle] Made UsxChapter sealed.
  • [SIL.Core] Store URLs in Sets instead of Lists in FontDefinition and SpellCheckDictionaryDefinition (to prevent duplicates)
  • [SIL.Windows.Forms] Upgraded to L10nSharp 6.0.0
  • [SIL.Windows.Forms.DblBundle] Upgraded to L10nSharp 6.0.0
  • [SIL.Windows.Forms.WritingSystems] Upgraded to L10nSharp 6.0.0

Removed

  • [SIL.Core.Desktop] Removed deprecated properties and methods from FileLocator:
    DirectoryOfApplicationOrSolution, DirectoryOfTheApplicationExecutable, LocateExecutable,
    GetFileDistributedWithApplication, GetDirectoryDistributedWithApplication,
    and LocateInProgramFiles.
  • [SIL.Core.Desktop] Removed deprecated methods from DirectoryUtilities:
    CopyDirectoryWithException, AreDirectoriesEquivalent, MoveDirectorySafely,
    GetSafeDirectories, DeleteDirectoryRobust, GetUniqueFolderPath. and DirectoryIsEmpty.
  • [SIL.Core.Desktop] Removed deprecated methods from FileUtils: IsFileLocked,
    GrepFile, CheckValidPathname, ReplaceByCopyDelete, MakePathSafeFromEncodingProblems,
    NormalizePath, and StripFilePrefix.
  • [SIL.Core] Removed deprecated class CoreSetup.
  • [SIL.Core] Removed deprecated method CreateResultsWithNoDuplicates from ResultSet.
  • [SIL.Core] Removed deprecated extension method IEnumerable<T>.Concat<T>(string).
  • [SIL.Core] Removed deprecated methods from PathUtilities: GetDeviceNumber,
    PathsAreOnSameVolume, PathContainsDirectory.
  • [SIL.Core] Removed deprecated class HttpUtilityFromMono.
  • [SIL.Core] Removed deprecated parameterless Init method from ExceptionHandler.
  • [SIL.Core] Removed deprecated Init method from UsageReporter (the one without
    the reportAsDeveloper parameter).
  • [SIL.Core] Removed deprecated methods from XmlUtils: GetAttributeValue,
    GetManditoryAttributeValue, and AppendAttribute.
  • [SIL.DblBundle] Removed deprecated methods from TextBundle: CopyVersificationFile,
    CopyFontFiles, and CopyLdmlFile.
  • [SIL.DictionaryServices.Tests] Removed deprecated AssertEqualsCanonicalString
    method from LiftWriterTests.
  • [SIL.Media] Removed deprecated AudioSession method from AudioFactory.
  • [SIL.TestUtilities] Removed deprecated c'tor, properties and methods from
    TemporaryFolder: TemporaryFolder(), FolderPath, Delete, and GetTemporaryFile.
  • [SIL.Windows.Forms] Removed deprecated GetSummaryParagraph(string) method from
    MetaData.
  • [SIL.Windows.Forms] Removed deprecated UseComboButtonStyle from PushButtonColumn`.