What's new in DTCoreText 1.6.19
Oct 26, 2016
- FIXED: Incompatibility with iOS 7, using containsString
- FIXED: Memory Leak in DTLazyImageView, using NSURLSession
- FIXED: [Demo] When loading remote images the relayout needs to be done on next runloop
- FIXED: Incorrect tabulator used for list items
- FIXED: In default.css P tags had a -webkit-margin-before (which gets parsed since 1.6.18) causing superfluous extra space before paragraphs
New in DTCoreText 1.6.18 (Oct 26, 2016)
- ADDED: tvOS Support
- ADDED: Property to better support display remote images with DTAttributedTextCell
- ADDED: Extension sub spec (which removes some things that cannot be used in Extensions)
- ADDED: Parse margin-top as paragraphSpacingBefore
- ADDED: Support for list style with roman numerals
- ADDED: 10% performance increase parsing CSS styles that only have a single part
- ADDED: Usage of custom font name via CSS in programming guide
- FIXED: Potential crash on iOS 10 from more strict CoreText functions
- FIXED: Crash when list-style-image was not a string
- FIXED: Crash when comparing lines and one of them was nil
- FIXED: Several Xcode 8 build warnings
- FIXED: All deprecation warnings related to CoreText text alignment constants
- FIXED: NSURLConnection deprecation by using NSURLSessionDataTask instead
- FIXED: Deprecation warnings related to percentEncoding, replaced with HTML entity encoding
- FIXED: Several Carthage build problems
New in DTCoreText 1.6.17 (Oct 26, 2016)
- ADDED: Line truncation
- ADDED: Minimum and maximum line heights
- ADDED: Ability to change paragraph tag name
- ADDED: Support for use in app extension
- FIXED: Build error for integrating via sub-project
- FIXED: CTLineUtils compiler warnings
- FIXED: Setup Guide for sub-project integration
- FIXED: Missing paragraph style for text attachments
- CHANGED: Updated to DTFoundation 1.6.9
New in DTCoreText 1.6.16 (Jul 7, 2015)
- FIXED: Compatibility with CocoaPods 0.36 and frameworks
- FIXED: Missing super calls in -awakeFromNib
- FIXED: Dependency problems with DTWeakSupport.h
- FIXED: Problem with "Cursive" tag and a Custom Font Cursive
- FIXED: CGFloat values were used as bool values within if statements
- FIXED: Additional CGFloat build issue on xCode 7
- FIXED: Wrong foreground color attribute used for appending NL
- FIXED: Xcode warning for unused expression result
- FIXED: CGFloat build issue on xCode 7
- ADDED: Honour the value of NSBaselineOffsetAttributeName
- ADDED: DTCoreText.framework for iOS
- ADDED: Improve AutoLayout in DTAttributedTextContentView
- ADDED: DTDocumentPreserveTrailingSpaces boolean option
New in DTCoreText 1.6.15 (Feb 20, 2015)
- FIXED: NULL dereference when CTLineCreateTruncatedLine fails
- FIXED: UIColor would be set as CTForegroundColor in some cases, causing problems
- FIXED: Possible exception 'Auto Layout still required after executing -layoutSubviews.'
- CHANGED: Use defaultParagraphStyle rather than assert crash for DTUseiOS6Attributes option
- CHANGED: DTFoundation updated to 1.7.5 (few minor fixes for DTHTMLParser)
New in DTCoreText 1.6.14 (Oct 24, 2014)
- FIXED: Parsing 2x Image in data URL causes it to double in size
- FIXED: In Demo app, image elements seem to block scrolling in iOS 8
- FIXED: Missing Helvetica Neue Italic font in iOS 7.0.x would cause crash
- FIXED: Potential memory leak in -newMatchingFont
- FIXED: Potential crash from iOS bug, calling -accessibilityElementAtIndex: with non-existing index
- ADDED: Override -coretext-fontname to use direct "PostScript" names for fonts
New in DTCoreText 1.6.13 (Jul 5, 2014)
- FIXED: Traditional margin-* style value following -webkit-margin-* reset margin values to 0
- FIXED: iOS 8 crash resulting from Apple making CTRunGetPositionsPtr lazy
- FIXED: HTML element with text attachment and display:none would emit extra object placeholder
- FIXED: Child element with display:none would not be ignored when determining if parent needs to be output
- FIXED: Animated GIF only showing first frame
- FIXED: DTHTMLWriter does not output attachments
- CHANGED: Migrated unit testing to XCTest
- CHANGED: DTFoundation updated to 1.7.1 (for animated GIF support)
New in DTCoreText 1.6.12 (Jun 5, 2014)
- FIXED: Crash parsing background shorthand containing color
- FIXED: Broken unit test for uncompressing background shorthand
- FIXED: DTAttributeLabel doesn't use delegate methods to render text from truncationString param
- FIXED: Links parsed from HTML are not recognized in UITextView (using NS-style attributes)
- FIXED: Memory leak in -CGColor method on MacOSX target.
- FIXED: lineHeightMultiple not being transferred to NSParagraphStyle
- FIXED: Warnings related to disparities between properties and ivars
- FIXED: Build issues because submodule did not include 32-bit slice
- FIXED: Crash on iOS 5 due to unguarded selector calling
- FIXED: Warning about deprecated methods using deployment target >= iOS 7
- ADDED: Ability to specify default font face name
- CHANGED: Updated DTFoundation to 1.7.0
New in DTCoreText 1.6.11 (Mar 25, 2014)
- FIXED: Crash on 64-bit CPU if an element had no foreground color
- FIXED: CGColor sanity check randomly fails
- FIXED: Implicit conversion warnings in DTHTMLWriter
- FIXED: Analyzer warnings in DTHTMLWriter
- FIXED: Compatibility of NSColor for deployment targets prior to OS X 10.8
- FIXED: Various documentation fixes
- CHANGED: Manual drawing of underlines removed as of iOS 7
- CHANGED: Completeness of AppleDoc comments now part of unit tests
- ADDED: Options parameter to setting HTML string convenience method on DTAttributedTextCell
- ADDED: Support for CSS "background" shorthand
- ADDED: Screenshot button to Demo app
- ADDED: NSCoding support for DTTextAttachment, DTTextBlock and DTCSSListStyle
New in DTCoreText 1.6.10 (Mar 25, 2014)
- FIXED: 64-bit macros for creating an NSNumber from CGFloat
- FIXED: Path in podspec prepare_command breaks if CDPATH defined in shell
- DOCS: Added explanation for lazy image loading to programming guide
- ADDED: Support for border-color, -radius, -width for use with TTAttributedLabel
- CHANGED: Updated DTFoundation to 1.6.1
New in DTCoreText 1.6.9 (Mar 25, 2014)
- FIXED: Repackage headers needed from DTFoundation to static universal and Mac frameworks
- FIXED: Duplicate symbol when using DTCoreText together with DTTransition pod
- FIXED: Compiler warnings
- FIXED: iOS 6-style attributes would not work on iOS 6 simulator
- FIXED: Renamed instances of "class" to avoid conflict with C++ reserved word
- FIXED: Method to set fallback font family would allow setting of invalid font family name
- FIXED: Crash in DTAttributedTextContentView related to text box range finding
- ADDED: BundleLoaderDummy to allow unit-testing code dealing UIFont
- ADDED: arm64 support
- ADDED: ability to determine attributed string size with unknown width
- CHANGED: Updated DTFoundation requirement to 1.6.0
New in DTCoreText 1.6.8 (Mar 25, 2014)
- ADDED: VIDEO tag with no direct SRC attribute will now use the first one from its child-tags
- ADDED: support for letter-spacing CSS style (mapped to kerning)
- ADDED: Proper nested lists support in DTHTMLWriter
- ADDED: Code coverage support
- FIXED: Resizing behavior of DTLazyImageView
- FIXED: Potential dead-lock in [DTAttributedTextContentView layoutFrame]
- FIXED: HTML with lists might trigger a crash because an NSArray was mutated while being enumerated
- FIXED: Output of nested lists was broken
- FIXED: Elusive crash related to text blocks
- FIXED: a situation where some whitespace does not get trimmed correctly
- FIXED: CSS inheritance would clash mit direct inheritance of DTHTMLElements
- FIXED: The "not-found range" {NSNotFound,0} was used incorrectly in several spots
- CHANGED: Replaced instances of using DTVersion for runtime version checking with method recommended by Apple
- CHANGED: Requires DTFoundation 1.5.4
New in DTCoreText 1.6.7 (Sep 21, 2013)
- FIXED: Paragraphs within list items render incorrectly
- FIXED: Reformatting URLs embedded in iframe for YouTube
- FIXED: Performance degradation when using padding in iOS 7
- FIXED: Crash when using iOS6 Attributes and Drawing Underline on iOS 7
- FIXED: Crash on iOS6 caused by DTAttributedTextCell iOS 7 workaround
- FIXED: Indenting for DTAttributedTextCell when used in grouped tableview
- FIXED: DTHTMLWriter does not output inline styles for UL/OL
- FIXED: DTHTMLWriter outputs empty span tag following LI
- FIXED: background-color is not transferred from UL style to LI
- ADDED: Option to skip font setup for use-cases not requiring CSS parsing
- ADDED: Tab stop support in modern attributes’ NSParagraphStyle
- CHANGED: Moved hex methods for color into DTColorFunctions