Releases: Cocoanetics/DTCoreText
Releases · Cocoanetics/DTCoreText
Version 1.6.8
- 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
Announcement: http://www.cocoanetics.com/2013/10/dtcoretext-1-6-8/
Version 1.6.7
- 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
Announcement: http://www.cocoanetics.com/2013/09/dtcoretext-1-6-7/
Version 1.6.6
- FIXED: Out of Memory crash on certain HTML documents extensively using CSS cascading
- FIXED: CSS Cascading by element name performance problem
- FIXED: Issue with font-size doubling in some situations due to CSS selector being applied
- FIXED: Last line in a list might lose the tab stops
- FIXED: glyph run has wrong stringRange for hyphenated lines
- FIXED: all failing unit tests
- ADDED: Single Selector Cascading
- ADDED: Many unit tests for CSS Cascading
- ADDED: Travis-CI for automated testing of pull requests
- CHANGED: CSS selector matching now evaluates specificity
Announcement: http://www.cocoanetics.com/2013/08/dtcoretext-1-6-6/
Version 1.6.5
- FIXED: Crash encountering empty text block
- FIXED: Crash encountering ARGB color in CSS
- ADDED: More general support for CSS cascading
- ADDED: Programming Guide
- ADDED: Documentation for enums
Announcement: http://www.cocoanetics.com/2013/08/dtcoretext-1-6-5/
Version 1.6.4
- FIXED: Crash when having multiple font-families in the default style sheet
- FIXED: Crash when encountering multiple font-families in one CSS style during parsing
- FIXED: Specifying multi font-family entries does not find correct family if fall-back families are specified
- FIXED: Race condition when using DTTextBlocks together with Tiled Layer
- CHANGED: Removed CTParagraphStyle caching
- ADDED: Workaround for rdar://14684188 (iOS 7)
- ADDED: Adjust content inset in Demo for iOS 7
- ADDED: Proper indenting of stacked text boxes
- ADDED: Support for cascading CSS classes
Announcement: http://www.cocoanetics.com/2013/08/dtcoretext-1-6-4/
Version 1.6.3
- FIXED: Some UIKit calls might be occurring on background thread in DTLazyImageView
- FIXED: Performance problem parsing HTML that had many encoded entities
- FIXED: Typo in DTAttributedTextView’s contentViewDidLayout
- FIXED: DTAttributedTextCell Crash on future iOS version
- CHANGED: CSS Attribute Parser improved to better deal with multi-value attributes
- CHANGED: Updated DTFoundation to 1.5.1
- CHANGED: Updated pod spec for CocoaPods 0.23
Announcement: https://www.cocoanetics.com/2013/08/dtcoretext-1-6-3-dtrichtexteditor-1-6-2/
Version 1.6.2
- FIXED: Unable to run Demo App due to missing symbols
- FIXED: Random issues with CocoaPods setup where DTHTMLParser subspec could not be found
- FIXED: Hyphenated line has incorrect stringRange
- FIXED: LineCreateJustifiedLine sometimes fails if the line ends with soft hyphen
Announcement: https://www.cocoanetics.com/2013/08/dtcoretext-1-6-2/
Version 1.6.1
- FIXED: [DTHTMLWriter] did not output span styles (like background color) in fragment mode
- FIXED: DTHTMLWriter did not output name of anchors if present
- FIXED: DTHTMLWriter output base URL even if href property was nil
- FIXED: DTTextAttachmentDrawing fixed to have non-flipped coordinate system
- FIXED: Rotated images would show incorrectly oriented in DTTextAttachmentDrawing
- ADDED [SPONSORED]: Method to determine string index based on touch coordinates
- ADDED [SPONSORED]: DemoApp demonstrates getting the range of a tapped word
- ADDED: DemoApp now has toggle to display output of DTHTMLWriter in fragment and document modes
- CHANGED: Made processing of custom HTML Attributes optional, via new parsing option
Announcement: http://www.cocoanetics.com/2013/07/dtcoretext-1-6-1/
Version 1.6.0
- CHANGED: The algorithm to place lines during typesetting is completely revamped. It is now modeled after how Safari does it.
- ADDED: Basic Voice Over support
- ADDED: Support for soft hyphens
- ADDED: Delegate method that gets called before text is drawn so that you can draw beneath it
- ADDED [SPONSORED]: Support for custom HTML attributes on text
- FIXED: new typesetting algorithm fixes several issues with wildly changing line heights
- FIXED: new typesetting algorithm fixes line height on wrapping lines
- FIXED: new typesetting algorithm fixes line positioning using fixed line height in combination with text attachments
- FIXED: DTHTMLWriter would emit multiple A tags if format changed inside the hyperlink
Announcement: http://www.cocoanetics.com/2013/07/dtcoretext-1-6/
Version 1.5.3
- FIXED: When encountering an unknown font family a NULL font would be returned, causing crashes in connection with lists
- FIXED: Strings with attachments would not get a font assigned when using DTCoreText via CocoaPods
- FIXED: DTHTMLWriter now properly escapes tab characters found in attributed strings
- FIXED: Crash when encountering characters post end of closing HTML tag
- FIXED: Loading available fonts into override table would lock on synchronize, causing a long delay for parsing
- FIXED: sizeThatFits would return incorrect value for empty string
- FIXED: Position of highlighting on RTL text was incorrect
- ADDED: Delegates are now using zeroing weak references if permitted by the deployment target setting
- ADDED: Documentation for DTTextAttachment to note that parsed attributes are lower-case
- UPDATED: DTFoundation to 1.4.3
Announcement: http://www.cocoanetics.com/2013/06/dtcoretext-1-5-3/