The Wayback Machine - https://web.archive.org/web/20210227232027/https://github.com/TextureGroup/Texture/commits/master
Skip to content
Permalink
master

Commits on Feb 19, 2021

  1. Exposes a new option in ASImageDownloaderProtocol to retry image down…

    …loads (#1948)
    
    * Exposes a new option in ASImageDownloaderProtocol to retry image downloads
    
    At the moment the ASBasicImageDownloader does not automatically retry image downloads if the remote
    host is unreachable. On the contrary the ASPINRemoteImageDownloader automatically retries. Retrying is
    something that ultimately clients need to be able to control, for example to fail fast to an alternative image
    rather than keep retrying for more than one minute while not displaying any image. This change exposes
    a new option in the ASImageDownloaderProtocol to retry image downloads. It also uses this new option
    in both ASNetworkImageNode and also ASMultiplexImageNode, setting it to YES to preserve the current
    behaviour.
    
    * Fixes a failing test in ASMultiplexImageNodeTests
    
    * Fixes ScreenNode.m
    
    ScreenNode.m is implementing ASImageDownloaderProtocol and needs to
    be fixed to reflect changes in the latter.
    chggr committed Feb 19, 2021

Commits on Feb 17, 2021

  1. Fix order-dependent ASTextNodeTests (#1963)

    tjaneczko committed Feb 17, 2021

Commits on Feb 8, 2021

  1. Update asdkGram swift sample to swift version 5.3 (#1962)

    MussaCharles committed Feb 8, 2021

Commits on Feb 3, 2021

  1. Fix WKWebView Accessibility (#1955)

    * Return nil instead of empty array when no accessibility elements are found. Fixes #1954.
    
    * Use nullability annotations to fix static analyzer warnings.
    
    * Add UI test target.
    
    * Add UI test to make sure web view stays accessible.
    
    * Revert "Add UI test to make sure web view stays accessible."
    
    This reverts commit 00253f4.
    
    * Revert "Add UI test target."
    
    This reverts commit 288b5e0.
    
    * Add unit test to make sure accessibility elements are correct when a WKWebView is wrapped in an ASDisplayNode.
    ZevEisenberg committed Feb 3, 2021

Commits on Feb 2, 2021

  1. fix missing hidden class (#1952)

    joprice committed Feb 2, 2021

Commits on Feb 1, 2021

  1. use https for slack link (#1950)

    joprice committed Feb 1, 2021
  2. Fix mutation of variable that is never read. (#1961)

    ZevEisenberg committed Feb 1, 2021

Commits on Jan 30, 2021

  1. Remove redundant assignment. (#1960)

    ZevEisenberg committed Jan 30, 2021

Commits on Jan 29, 2021

Commits on Dec 17, 2020

  1. Set ASTableView isAccessibilityElement, accessibilityElementsHidden p…

    …roperties from its Element's node (#1941)
    decim92 committed Dec 17, 2020

Commits on Dec 14, 2020

  1. [ASTextNode2] Make some ASTextNode2 layout files public (#1939)

    * Trying to make ASTextLinePositionModifier public
    
    * d’oh
    
    * be a little more restrictive on the files we pull into the pod
    
    * Never mind, I guess we need all of these
    
    * update the project file as well
    
    * try this again
    
    * I think this will work this time.
    rcancro committed Dec 14, 2020

Commits on Oct 6, 2020

  1. Ship ASExperimentalDispatchApply (#1924)

    Closes #1850.
    nguyenhuy committed Oct 6, 2020
  2. Fix hit point when ASCollectionNode inverted set to true (#1781)

    * Account for possible inverted transform during hit test
    
    When ASCollectionNode has the `inverted` flag set, a transform gets
    set on the cell node. We need to make sure that we account for that
    when dealing in the view coordinates.
    
    * Store self.node and self.node.view in local variables for better readability.
    
    * Add a test for hit testing in an inverted ASCollectionNode
    bdolman committed Oct 6, 2020

Commits on Oct 2, 2020

  1. Fix failing ASConfigurationTests (#1923)

    * Fix failing ASConfigurationTests
    
    * Update configuration.json as well
    nguyenhuy committed Oct 2, 2020

Commits on Sep 18, 2020

  1. More on ASDataController's main-thread-only mode (#1915)

    Follow up on #1911: it's not enough to execute step 3 on the main thread because -_allocateNodesFromElements: uses ASDispatchApply to offload the work to other threads. So this diff adds a flag to tell that method to do everything serially on the calling thread.
    nguyenhuy committed Sep 18, 2020
  2. Add an experiment that makes ASDataController to do everything on mai…

    …n thread (#1911)
    
    * Add an experiment that makes ASDataController to do everything on main thread
    
    Under this experiment, ASDataController will allocate and layout all nodes on the main thread. This helps to avoid deadlocks that would otherwise occur if some of the node allocations or layouts caused ASDataController's background queue to block on main thread. As a bonus, this experiment also helps to measure how much performance wins we get from doing the work off main.
    
    * Remove ASSERT_ON_EDITING_QUEUE
    nguyenhuy committed Sep 18, 2020

Commits on Sep 17, 2020

  1. Disable text kit lock (#1910)

    * Add experiment to disable global textkit lock
    
    * Forgot the bang
    garrettmoon committed Sep 17, 2020

Commits on Aug 21, 2020

  1. Do not expose tgmath.h to all clients of Texture (#1900)

    * Do not expose tgmath.h to all clients of Texture
    
    - tgmath.h #undef the `log` macro for mathematical reasons. Code that may also use a log name (such as CocoaLumberjack) will get confused by this when they try to use `NS_SWIFT_NAME` with `log` as part of the name.
    - `ABS` from NSObjCRuntime.h is what is typically used for abs on `CGFloat`.
    - Note: removing tgmath.h from the Texture umbrella header may expose clients that implicitly depended upon it being imported. Sources may have to be updated after this to `#import <tgmath.h>` explicitly.
    bolsinga committed Aug 21, 2020

Commits on Aug 14, 2020

  1. Call will / did display node for ASTextNode. Fixes #1680 (#1893)

    garrettmoon committed Aug 14, 2020

Commits on Jul 30, 2020

  1. Remove background deallocation helper code (#1890)

    * Remove background deallocation helper code
    
    Last use removed in Texture with #1840, now PINS no longer uses it either. Less OOMs is so nice.
    
    * remove methods from docs
    bolsinga committed Jul 30, 2020

Commits on Jul 23, 2020

  1. [Accessibility] Ship ASExperimentalDoNotCacheAccessibilityElements (#…

    …1888)
    
    We did not notice any effect on performance of the Pinterest app by not caching `accessibilityElements` in `_ASDisplayView`. By not caching the elements, we can be sure that the elements will be correct even when nodes change visibility state. There will be a performance impact when voice over is enabled, but providing the correct elements for the current state of a view is more important than performance in this case.
    
    #1853
    rcancro committed Jul 23, 2020

Commits on Jul 15, 2020

  1. 🎉 3.0.0 (#1883)

    garrettmoon committed Jul 15, 2020

Commits on Jun 29, 2020

  1. Upgrade to Xcode 11.5 (#1877)

    garrettmoon committed Jun 29, 2020
  2. Renames AS_EXTERN and ASViewController (#1876)

    * Renames AS_EXTERN and ASViewController
    
    To ASDK_EXTERN and ASDKViewController.
    This is to avoid conflicting with AuthenticationServices in
    Xcode 12
    
    * Fix up examples and docs
    
    * Add bit about updating ASViewController rename
    garrettmoon committed Jun 29, 2020
  3. Improve ThreeMigrationGuide.md (#1878)

    * Add `ASImageCacherCompletion` breaking API change.
    
    * Remove unnecessary trailing pounds.
    rogerluan committed Jun 29, 2020

Commits on Jun 25, 2020

  1. Add a 3.0 migration guide (#1875)

    garrettmoon committed Jun 25, 2020
  2. I forgot this in the last PR and I'm pushing to master, I'm a bad per…

    …son.
    garrettmoon committed Jun 25, 2020
  3. Update for 3.0.0-rc.2 (#1874)

    garrettmoon committed Jun 25, 2020
  4. Update RELEASE.md (#1873)

    garrettmoon committed Jun 25, 2020
  5. Fix all the warnings and re-enable on CI (#1872)

    garrettmoon committed Jun 25, 2020

Commits on Jun 24, 2020

  1. Prepare for 3.0.0-rc.1 release (#1870)

    garrettmoon committed Jun 24, 2020

Commits on Jun 16, 2020

  1. -[ASNetworkImageNode setURL:resetToDefault:] forget to reset animated…

    …Image (#1861)
    
    * Fix -[ASNetworkImageNode setURL:resetToDefault:] forget to reset animatedImage
    
    * add ASNetworkImageNodeTest for reset with animatedImage
    IvanChan committed Jun 16, 2020

Commits on Jun 3, 2020

  1. [ASDisplayNode] Implement accessibilityElementsHidden (#1859)

    Most of this code comes from an old PR that @fruitcoder put up #795 2 years ago.
    
    When creating our array of accessibilityElements, we need to respect the value of `accessibilityElementsHidden`. If the value of this property changes, we need to invalidate the cached accessibility elements (unless we are in the experiment that doesn’t cache `accessibilityElements`).
    
    I created a simple test app and made sure this matched UIKit’s implementation. I also added a test case that changes the value of `accessibilityElementsHidden` and makes sure the proper accessibilityElements are returned.
    rcancro committed Jun 3, 2020

Commits on Jun 2, 2020

  1. Fix documentation for ASCornerRoundingTypeClipping (#1863)

    chggr committed Jun 2, 2020
Older