Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jan 18, 2013
  1. Fixed deprecated truncation constants

    as of iOS 6.0 they have different names. There is a new function to convert to eliminate build warnings
  2. Implemented #ifdefs for OS_OBJECT_USE_OBJC

    from iOS 6 and OSX 10.8 GCD objects (like semaphores) use ARC, this compiler flag adjusts the code based on whether or not the current minimum OS supports it
  3. Merge branch 'master' of

  4. Changed setFrame to only check for different size

    Changing the frame origin should not trigger a re-layout
  5. Remove too early instantiation of contentView.

    This caused the contentView to be already instantiated in the awakeFromNib or init. We want to defer the creation as much as possible so that we can also consider contentInset of the underlying scroll view in the bounds of the content view
  6. Merge pull request #277 from minorblend/modified_setFrame

    run relayoutText only if frame size has been changed
Commits on Jan 17, 2013
  1. @BrianKenny

    Added DTAttributedLabel, a truncating variant of DTAttributedTextCont…

    BrianKenny authored
    …entView that behaves like a UILabel
    Change-Id: I7f4e8967fa77ce8ac3e5db541fa385749e1b367b
  2. @minorblend
  3. Merge pull request #274 from bkennyatmeetme/master

    Truncation support so DTAttributedTextContentView subclasses can  used like UILabels
  4. @minorblend
Commits on Jan 16, 2013
  1. @BrianKenny

    Added support for truncation

    BrianKenny authored
    DTCoreTextLayoutFrame - added truncation support w/ attributed truncation string
    DTAttributedTextContentView - added flag to disable automatic height adjustment. This allow us to subclass, disable resizing, enable truncation, and have a DTAttributedTextContentView that behaves like a UILabel.
    Change-Id: Ibb3231c3c58f2650f9358a5e8297ab45b7d792d6
Commits on Jan 11, 2013
  1. @minorblend

    fixed textAttachment's displaySize is set to _size when element has a…

    minorblend authored committed
    … style even if height or width attributes are not available, causing height or width of displaySize set to 0
  2. Also check unit test bundle for local file

    - this is necessary because for unit tests any resources are in the UnitTest.octest bundle and not the mainBundle.
    - this is done in the else of if (path) to minimize impact on performance
  3. Added unit test for #271

Commits on Jan 10, 2013
  1. fixed type

  2. Prevent overlapping of layout lines with previous lines

    if there is a previous line and the line height is not fixed. This would occur when having a very small font follow a larger one. The line height of the second line would not be enough to clear the descender of the first line.
    Fixes #270
  3. removed test log

  4. for bullet font to Times New Roman

    because iOS 6 has a way too large bullet character for level 3.
    Fixes #269
Commits on Jan 8, 2013
Commits on Jan 5, 2013
  1. Fixed problem with scanHTMLColor:

    - was unable to parse HTML color name
    - caused shadow color written as color name to not be picked up
    - Added unit test
  2. Removed deprecated ivar _tagContentInvisible

    The functionality of this is now shared between displayStyleNone and the specialized DTHTMLElement subclasses for ignoring tag contents.
  3. Moved interpretation of tag attributes into new method interpretAttri…

    This should be called after inheritAttributesFromElement: because this also copies/inherits the paragraph style.
    So far interpretAttributes deals with Apple-converted-space and writing direction.
    containsAppleConvertedSpace is now also inherited from super element
    Fixes #267
Something went wrong with that request. Please try again.