Commit Graph

  • 5dae5dffb6 Merge pull request #578 from eanagel/update-podfile-lock appleguy 2015-07-21 18:56:49 -07:00
  • 55af2a7255 short-circuit editing calls after the asyncDataSource has been set to nil (ASCollectionView) Ethan Nagel 2015-07-16 20:26:45 -07:00
  • f98c8cded2 Update Podfile.lock to match earlier changes to Podfile. Ethan Nagel 2015-07-21 09:38:40 -07:00
  • a744ebd276 PR Feedback: Require main thread for all edit commands, various cleanup. Ethan Nagel 2015-07-20 22:08:19 -07:00
  • 7b2fa8f524 Add support automatically adjusting the content offset to UITableView as well as support for performing endUpdates with no animations. Additionally, there are critical bug fixes for ASDataController (begin/end updates delegates not called in correct order) and ASRangeController (failure to fully refresh internal state when inserts or delete are made.) Ethan Nagel 2015-07-20 14:05:56 -07:00
  • 94608e992a Wait to begin thrashing until we have completed reloading the data so we aren't trying to do both operations concurrently. Ethan Nagel 2015-07-15 16:31:01 -07:00
  • e9de3b395a Don't abuse the CI servers so much. Note - With this configuration we will often pass with a known race issue we currently have. Making ASTableViewStressTest more interesting so we can reliably reproduce the issue there. Ethan Nagel 2015-07-15 10:19:03 -07:00
  • 93a8058389 Update ASTableView test to be more random and more rigorous. Ethan Nagel 2015-07-13 14:34:10 -07:00
  • 1f8aad633f short-circuit editing calls after the asyncDataSource has been set to nil (ASTableView) Ethan Nagel 2015-07-16 20:26:28 -07:00
  • ce28451323 releasing downloaded image when multiplex image node exits render range Ryan Fitzgerald 2015-07-09 12:31:32 -04:00
  • d1260562de [appledoc] Fix appledoc warnings. (#553) Huy Nguyen 2015-07-10 19:02:04 +07:00
  • 4d7dd551f2 update Podfile to require FBSnapshotCase 1.8.1 because v2.0+ requires frameworks and we haven't tried enabling them yet. Ethan Nagel 2015-07-13 14:35:54 -07:00
  • 451beda238 Update Podfile.lock to match earlier changes to Podfile. Ethan Nagel 2015-07-21 09:38:40 -07:00
  • 2ddfbefaab Merge pull request #575 from eanagel/new-auto-adjust-content appleguy 2015-07-20 22:21:41 -07:00
  • bf0766169b PR Feedback: Require main thread for all edit commands, various cleanup. Ethan Nagel 2015-07-20 22:08:19 -07:00
  • f497639124 Add support automatically adjusting the content offset to UITableView as well as support for performing endUpdates with no animations. Additionally, there are critical bug fixes for ASDataController (begin/end updates delegates not called in correct order) and ASRangeController (failure to fully refresh internal state when inserts or delete are made.) Ethan Nagel 2015-07-20 14:05:56 -07:00
  • 3c71289927 lazy creation of textview in accessor after assert Roy Marmelstein 2015-07-18 16:31:13 +02:00
  • 6b970e0e4a Display node assert Roy Marmelstein 2015-07-18 16:29:25 +02:00
  • 36b92205ed Brace style Roy Marmelstein 2015-07-18 16:10:32 +02:00
  • d5086bd64f Merge pull request #568 from eanagel/update-astable-test appleguy 2015-07-17 18:48:43 -07:00
  • 36884cc53e Merge pull request #573 from eanagel/fix-endUpdates-async-when-invalid appleguy 2015-07-17 17:54:10 -07:00
  • c14ecd7e99 short-circuit editing calls after the asyncDataSource has been set to nil (ASCollectionView) Ethan Nagel 2015-07-16 20:26:45 -07:00
  • 9762e7cfe6 short-circuit editing calls after the asyncDataSource has been set to nil (ASTableView) Ethan Nagel 2015-07-16 20:26:28 -07:00
  • 3da7305abb Wait to begin thrashing until we have completed reloading the data so we aren't trying to do both operations concurrently. Ethan Nagel 2015-07-15 16:31:01 -07:00
  • 8c72118e69 Don't abuse the CI servers so much. Note - With this configuration we will often pass with a known race issue we currently have. Making ASTableViewStressTest more interesting so we can reliably reproduce the issue there. Ethan Nagel 2015-07-15 10:19:03 -07:00
  • cfbf03f4e0 Merge pull request #567 from eanagel/FBSnapshotTestCase-version appleguy 2015-07-14 13:56:04 -07:00
  • 98bdae8690 Merge branch 'master' into update-astable-test Ethan Nagel 2015-07-13 14:39:28 -07:00
  • f1f124f8ac Merge branch 'master' into FBSnapshotTestCase-version Ethan Nagel 2015-07-13 14:36:51 -07:00
  • 13f71d6672 update Podfile to require FBSnapshotCase 1.8.1 because v2.0+ requires frameworks and we haven't tried enabling them yet. Ethan Nagel 2015-07-13 14:35:54 -07:00
  • f010b0f3e3 Update ASTableView test to be more random and more rigorous. Ethan Nagel 2015-07-13 14:34:10 -07:00
  • fd3eb94fcb Add main thread warnings and setter/getter assert Roy Marmelstein 2015-07-12 21:35:42 +02:00
  • 1bc972373a Merge pull request #558 from nguyenhuy/553_fix_remaining_docblocks appleguy 2015-07-12 12:18:23 -07:00
  • 8f83e1ae8c [appledoc] Should generate docs for layout headers. Huy Nguyen 2015-07-12 13:27:24 +07:00
  • 3992e9b09b [appledoc] Fix all remaining warnings. Huy Nguyen 2015-07-12 12:33:37 +07:00
  • 652f2255d1 Merge pull request #555 from nguyenhuy/clean_up_layout_spec appleguy 2015-07-11 20:39:11 -07:00
  • 75983ca3e5 Merge branch 'master' into clean_up_layout_spec Huy Nguyen 2015-07-12 08:17:36 +07:00
  • 979774f969 Merge pull request #551 from ryanfitz/multiplex-image-node-clear-contents appleguy 2015-07-11 14:57:49 -07:00
  • 4383e9ab2b releasing downloaded image when multiplex image node exits render range Ryan Fitzgerald 2015-07-09 12:31:32 -04:00
  • 4aed9180d6 Merge pull request #554 from nguyenhuy/553_appledoc appleguy 2015-07-10 17:51:14 -07:00
  • bbadc9a1e9 Update nodes in Kittens example to use new signature of layoutSpecThatFits:.. Huy Nguyen 2015-07-10 19:46:32 +07:00
  • e1fd58268c Clean up #468: - -layoutSpecThatFits: must return an ASLayoutSpec. - Move ASDisplayNode's -measureWithSizeRange: redeclaration to ASDisplayNode.h. - Rename ASStackLayoutChild.h to ASStackLayoutDefines.h. - Rename ASStaticLayoutSpecDimension.h to ASRelativeSize.h. - Don't import ASLayout.h in other headers to prevent circular inclusions. - Explain use cases of ASLayout's initializers. - Clean up ASInternalHelpers.h. Huy Nguyen 2015-07-10 11:28:43 +07:00
  • cfac6c992a [appledoc] Fix appledoc warnings. (#553) Huy Nguyen 2015-07-10 19:02:04 +07:00
  • 95016021b4 Access to underlying UITextView for more configuration options. Roy Marmelstein 2015-07-09 16:09:20 +02:00
  • 31eef22111 Merge remote-tracking branch 'upstream/master' Dasmer Singh 2015-07-08 23:03:29 -04:00
  • 6703c95aeb Merge pull request #543 from victormayorov/master appleguy 2015-07-08 12:46:49 -07:00
  • 4272164db3 Merge pull request #545 from ryanfitz/display-node-memory-leak-fix appleguy 2015-07-08 12:42:59 -07:00
  • 83ac5ad823 changing layoutableObject to be a weak reference to avoid retain cycle between ASDisplayNode and its Layout Ryan Fitzgerald 2015-07-08 09:58:31 -04:00
  • 01771f7860 Implemented test for crash in ASCollectionView on reloadData Victor Mayorov 2015-07-07 23:14:54 -07:00
  • b859fdf4eb Merge pull request #542 from grigaci/fixDuplicateSymbols appleguy 2015-07-07 10:15:38 -07:00
  • a0fcecc469 Fix duplicate symbols on ASIndexPath Bogdan Iusco 2015-07-07 18:23:04 +03:00
  • 37b31a2917 Merge pull request #468 from nguyenhuy/layout_node appleguy 2015-07-06 22:57:13 -07:00
  • 9678adaa93 Merge branch 'master' into layout_node Huy Nguyen 2015-07-06 22:21:32 +07:00
  • 51f1ed819f - ASDisplayNode now caches calculated layout requested by layout specs. - constrainedSizeForCalculatedLayout is of type ASSizeRange. - calculatedLayout is better explained. - Since ASLayout is cached and reused, its position property is mutable. Huy Nguyen 2015-07-06 09:25:46 +07:00
  • 772ed0b019 Fix import in ASCellNode. Huy Nguyen 2015-07-06 09:15:13 +07:00
  • 84b503c7ae Merge pull request #538 from facebook/PodspecUpdate122 1.2.2 appleguy 2015-07-05 13:20:15 -07:00
  • 3afcf33206 Update podspec to 1.2.2 Scott Goodson 2015-07-05 13:19:24 -07:00
  • daf3daeb51 Preserve the manual layout code in Kittens example. Huy Nguyen 2015-07-05 14:22:36 +07:00
  • 33a3412acf Horizontally center the text in Kittens' BlurbNode. Huy Nguyen 2015-07-05 13:52:35 +07:00
  • 3f574a3306 Merge pull request #521 from jflinter/jack-uiresponder-additions appleguy 2015-07-04 22:36:09 -07:00
  • 58a55f035d Merge pull request #529 from facebook/DataControllerQueues appleguy 2015-07-04 21:06:34 -07:00
  • 6220d65747 Property declaration tweak for odd Travis build failure (only on the Tests build). Scott Goodson 2015-07-04 20:54:04 -07:00
  • 8fa092fb77 Complete overhaul of ASFlowLayoutController. Scott Goodson 2015-07-04 20:22:04 -07:00
  • 51297088ce Merge pull request #535 from eanagel/cell-clipsToBounds appleguy 2015-07-01 20:11:38 -07:00
  • af64f33ed7 Minor changes: remove unncessary imports and add a new line ad the end of ASInternalHelpers.h Huy Nguyen 2015-07-01 18:36:36 +07:00
  • 2a3753516a Fix naming convention: Rename ASLayout's "children" to "sublayouts". Huy Nguyen 2015-07-01 17:52:01 +07:00
  • 2149d44990 Fix naming convetion: - "Layout node" is changed to "layout spec". - Update tests. - Update Kittens sample. Huy Nguyen 2015-07-01 17:37:26 +07:00
  • eb5670032d ASDisplayNode flattens the ASLayout calculated from its layout spec and stores the result. This reduces memory footprint and gives -layout a performance gain. Huy Nguyen 2015-06-30 20:18:11 +07:00
  • 4799a9d206 Remove ASLayoutChild. ASLayout now has a position property defaults to (NAN, NAN). Huy Nguyen 2015-06-30 17:10:17 +07:00
  • 4963a88717 Propagate ASCellNode's clipsToBounds value to the __ASTableViewCell. This helps work around a bug we are seeing in some rare cases (selected background view overlaps other cells if size of ASCellNode has changed.) Ethan Nagel 2015-06-29 21:22:55 -07:00
  • 57465c7fd3 Overhaul ASDataController and extensively test ASTableView. Scott Goodson 2015-06-28 18:03:45 -07:00
  • e74823bbee Merge branch 'master' into layout_node Huy Nguyen 2015-06-28 23:47:09 +07:00
  • dd29a890df Still support -calculateLayoutThatFits: (and manual layout), for backward compatibility. Huy Nguyen 2015-06-28 20:22:40 +07:00
  • 8beae28b25 Merge pull request #506 from paulyoung/framework-target appleguy 2015-06-27 21:58:09 -07:00
  • a654d880c3 Merge pull request #525 from facebook/Domain2 appleguy 2015-06-27 12:11:35 -07:00
  • feba7f8ed1 Update the identifier that AsyncDisplayKit uses to label its internal queues (2/2). Scott Goodson 2015-06-27 12:10:04 -07:00
  • 447159f08a Merge pull request #524 from facebook/ASDK_Identifier_Domain appleguy 2015-06-27 12:08:28 -07:00
  • 8fc79b1d4c Update the identifier that AsyncDisplayKit uses to label its internal queues. Scott Goodson 2015-06-27 12:07:40 -07:00
  • 1563c5e577 Merge pull request #523 from facebook/DataControllerSerialization appleguy 2015-06-27 11:50:43 -07:00
  • dc19970fe8 Clean up organization and naming of methods internal to ASDataController. Scott Goodson 2015-06-27 11:48:55 -07:00
  • a1e14e71ed Merge pull request #522 from facebook/DataControllerAwesome appleguy 2015-06-27 11:08:18 -07:00
  • 06cfe68cbd Clean up ASDataController for readability & API naming consistency. Scott Goodson 2015-06-27 11:06:54 -07:00
  • 5889c7019e basic unit tests Jack Flintermann 2015-06-27 02:37:18 -04:00
  • 8a200078bd make ASEditableTextField properly subclass responder methods Jack Flintermann 2015-06-27 01:48:55 -04:00
  • 540eeec79b move UIresponder methods out of UIView bridging category Jack Flintermann 2015-06-27 01:48:28 -04:00
  • 0b14d42033 add UIResponder methods to ASDisplayNode Jack Flintermann 2015-06-25 16:36:32 -04:00
  • 7d464fb6b8 Merge branch 'master' into framework-target Paul Young 2015-06-26 23:31:43 +01:00
  • da4ae469d8 Merge pull request #514 from eanagel/astableview-programmatic-scrolling-fix-v3 appleguy 2015-06-26 13:18:54 -07:00
  • 585a70d72c Merge pull request #511 from stripe-internal/jack-fix-podspec appleguy 2015-06-26 13:09:07 -07:00
  • 95e787b226 Remove stack children type: - ASLayoutable requires mutable properties that are used when attached to a stack layout. - Thus, ASLayoutable objects (including ASDisplayNode) can be injected into stack layout directly. - ASStackLayoutNodeChild no longer needed. - Tests and Kitten sample updated. Huy Nguyen 2015-06-26 11:38:29 +07:00
  • f588bceb4d Introduce ASLayoutable and eliminate ASCompositeNode: - Both ASDisplayNode and ASLayoutNode conforms to this protocol. - ASDisplayNode can be embeded directly into layout graph. - Eliminate ASCompositeNode. - Fix ASStaticSizeDisplayNode not recpect min constrained size. - Updated tests. Huy Nguyen 2015-06-26 08:41:51 +07:00
  • ae523f4fce better logic for detecting when the pending index path is before or after the visible index paths Ethan Nagel 2015-06-25 09:53:36 -07:00
  • 6bf8ec5b03 exclude ASDealloc2MainObject.h from main spec Jack Flintermann 2015-06-25 10:47:10 -04:00
  • 697b9f4c3c Update Kittens example to work with the improved layout system. Huy Nguyen 2015-06-25 11:24:28 +07:00
  • 99fe79339d Simplify ASDimension: - ASRelativeSize and ASRelativeSizeRange are used only by ASStaticLayoutNode. They are declared in a standalone header. - ASDimension contains a minimal set of new size types required to use the common layouts. Thus minimize the learning curve. Huy Nguyen 2015-06-25 11:07:01 +07:00
  • 259bbf22bc Fix naming conventions on equal and resolve methods of new size types. Huy Nguyen 2015-06-25 10:53:00 +07:00
  • 93564899fd Remove Auto size type. Huy Nguyen 2015-06-25 07:23:01 +07:00
  • 65aa677afc ASDisplayNodeCAssertPositiveReal and ASDisplayNodeCAssertInfOrPositiveReal permit CGFLOAT_MAX. Huy Nguyen 2015-06-24 21:18:20 +07:00
  • 810bc3ab84 Rename ASLayoutNode's -computeLayoutThatFits to -calculateLayoutThatFits. Huy Nguyen 2015-06-24 21:08:03 +07:00
  • 4ad64b2841 Update tests. Huy Nguyen 2015-06-23 18:47:50 +07:00
  • 64e2323a4e Remove ASLayoutNodeSize: - ASLayoutNode no longer has 'size' constraint during its initialization.. - ASLayoutNode no longer needs parentSize to calculate its layout. Huy Nguyen 2015-06-23 17:34:24 +07:00