Commit Graph

25012 Commits

Author SHA1 Message Date
Michael Schneider
6c20b19fdc [Docs] Add workaround for setting a custom lineSpacing and maxNumberOfLines to ASTextNode docs (#92)
* Add workaround for setting a custom lineSpacing and maxNumberOfLines to ASTextNode docs

* Address comments and add Swift example

* Some more Swift
2017-05-03 07:30:09 -07:00
Michael Schneider
b6734faa3b Extract ASLayoutElement and ASLayoutElementStylability into categories #trivial (#131)
* Initial move of code into layout category

* Cleanup

* Some more
2017-05-02 14:38:06 -07:00
Adlai Holler
c671d2c6c6 Fix issues in the project file (#224) 2017-05-02 14:17:30 -07:00
Adlai Holler
a7656766f9 Make Cell Node Properties Atomic (#74)
* Make ASCellNode indexPath and supplementaryElementKind atomic

* Update the change log

* Fix licenses

* Be explicit with atomic

* Rename the protocol

* And the file
2017-05-02 14:09:12 -07:00
Phil Larson
471f02daa7 Automatically resume ASVideoNode after returning from background (#13) 2017-05-02 13:13:16 -07:00
Adlai Holler
b1e1bfda20 Improve Our Handling of Subnodes (#223)
* Improve the subnodes/fast enumeration situation

* Increment changlag

* Assert our subnodes match
2017-05-02 13:02:07 -07:00
overtake
ac79cf64f7 Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore 2017-05-02 21:54:41 +03:00
overtake
f619e6d77d no message 2017-05-02 21:54:32 +03:00
overtake
ec390503ef Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2017-05-02 21:54:20 +03:00
Peter
fd7f064e9f no message 2017-05-02 20:17:30 +03:00
Peter
221c2bf970 no message 2017-05-02 20:17:10 +03:00
overtake
ae9f0035fc sidebar 2017-05-02 14:36:42 +03:00
Benjamin Scholtysik (Reimold)
faa51ca3ec Merge pull request #414 from bitstadium/master
Master
2017-05-01 11:18:55 -07:00
appleguy
71d5b3205d [ASNodeController+Beta] Provide an option to allow nodes to own their controllers. (#61)
* [ASNodeController+Beta] Provide an option to allow nodes to own their controllers.

We should certainly remove this before moving ASNodeController out of Beta. However, I think
it will require at least ASCollectionNode to be able to retain its top level set of node controllers.

Without this facility built in, it's very difficult for apps supporting both UIKit and ASDK to
manually manage the controllers and keep them in sync with perfect timing.

* [ASNodeController] Fix one of the #if's.
2017-05-01 10:51:59 -07:00
Adlai Holler
4d5e3ce81e Tighten Rasterization API, Undeprecate It (#82)
* Tamp down the rasterization API, and undeprecate it

* Update license header

* Update chornglorg

* Address comments
2017-05-01 08:26:37 -07:00
appleguy
03a1aa2660 [ASDisplayNode] Implement a std::atomic-based flag system for superb performance (#89)
* [ASDisplayNode] Convert isSynchronous to an Objective-C atomic BOOL.

This reduces lock contention, and should also fix a very rarely seen deadlock.

* [ASDisplayNode] Implement a std::atomic-based flag system for superb performance

Although Objective-C atomics are equally fast, or better that std::atomic when
access through method calls, for the most intense use cases it is best to avoid
method calls entirely.

In ASDisplayNode, we could benefit significantly from avoiding both method calls
(already true today) but also avoid locking the mutex, for both CPU and contention
gains.

There will still be many methods that need locking for transactional
consistency - however, there are currently dozens of accessor methods that could
avoid frequent lock / unlock cycles with use of atomics, and other usages of the
ivars directly where locking could be delayed until after early-return conditions
are checked and passed.
2017-04-29 23:10:59 -07:00
rewcraig
e18d1394e4 Fix issue with swipe to delete cell gesture. (#46)
Ensure superclass scroll view delegate methods are called when the scroll view parameter is not the current ASTableView.
2017-04-29 15:54:00 -07:00
Adlai Holler
456dc8535d Simplify Hashing Code (#86)
* Simplify hashing

* Update chingling

* Update license
2017-04-29 15:23:00 -07:00
appleguy
411817b58c [Yoga] Ensure that calculated layout is nil'd in invalidate*Layout (#87)
This is a simple additional fix to the last YOGA patch.
2017-04-29 15:06:23 -07:00
Benjamin Scholtysik (Reimold)
ddda084cf1 Merge pull request #413 from bitstadium/release/4.1.5
Release/4.1.5
2017-04-28 18:34:18 -07:00
Benjamin Scholtysik (Reimold)
e54ce737a6 Bump version numbers and add changelog for 4.1.5 2017-04-28 16:47:55 -07:00
Benjamin Scholtysik (Reimold)
63ff70e6e5 Merge pull request #408 from bitstadium/feature/update-plcrashreporter
Feature/update plcrashreporter
2017-04-28 16:41:50 -07:00
Benjamin Scholtysik (Reimold)
f2dd264669 Merge remote-tracking branch 'Public/develop' into feature/update-plcrashreporter 2017-04-28 15:50:53 -07:00
Benjamin Scholtysik (Reimold)
6875c21be3 Use new PLCrashReportert build to make sure HockeySDK-Source podspec passes validation 2017-04-28 15:49:55 -07:00
Levi McCallum
4745089044 Fix site header (#84) 2017-04-28 15:23:13 -07:00
Benjamin Scholtysik (Reimold)
fb2c56f591 Merge pull request #412 from bitstadium/feature/deployment-target-and-travis
Feature/deployment target and travis
2017-04-28 15:20:54 -07:00
Benjamin Scholtysik (Reimold)
dc8a6a6be9 Merge remote-tracking branch 'Public/develop' into feature/update-plcrashreporter 2017-04-28 12:05:09 -07:00
Garrett Moon
120b60cd07 Remove unneeded buildkite files 2017-04-28 11:33:48 -07:00
Benjamin Scholtysik (Reimold)
819ada5f91 Another fix for the test matrix. 2017-04-28 11:24:33 -07:00
Benjamin Scholtysik (Reimold)
43d6a2116b Use correct simulator names for ipad pro 2017-04-28 10:12:52 -07:00
Grishka
64276ceb96 Fixed deadlock 2017-04-28 15:42:48 +03:00
Grishka
697e250727 Finished moving things around, all classes are now in tgvoip
Replaced condition variables with semaphores
Audio device enumeration & selection on OS X and Windows
2017-04-28 14:17:56 +03:00
overtake
23bccb2d6d - a lot of changes and features 2017-04-28 11:31:00 +03:00
bellchen
2c06373b1f add rootDic for imageAsset 2017-04-28 12:28:40 +08:00
Benjamin Scholtysik (Reimold)
07b3f97d1d update travis.yml 2017-04-27 17:43:08 -07:00
Benjamin Scholtysik (Reimold)
9e0db71802 Merge branch 'develop' into feature/deployment-target-and-travis 2017-04-27 17:41:10 -07:00
Benjamin Scholtysik (Reimold)
3f21d2f8c4 Merge branch 'develop' of https://github.com/bitstadium/HockeySDK-iOS-Private into feature/deployment-target-and-travis 2017-04-27 17:40:54 -07:00
Benjamin Scholtysik (Reimold)
cd91c8bda5 Deploymenttarget is now iOS 7 everywhere and the unit test targets now use iOS 8. 2017-04-27 17:39:33 -07:00
Benjamin Scholtysik (Reimold)
e0228b6e9e Merge pull request #411 from MatkovIvan/fix/misc
Minor improvements
2017-04-27 17:38:36 -07:00
Benjamin Scholtysik (Reimold)
715917494d Merge pull request #409 from erychagov/feature/accessibility-labels
Add accessibility label to feedback list view cell
2017-04-27 17:25:12 -07:00
appleguy
6f82d0f059 [Yoga Beta] Improvements to the experimental support for Yoga layout. (#59)
* [Yoga Beta] Improvements to the experimental support for Yoga layout.

Yoga remains an unsupported / speculative feature, but these improvements are important for
the functionality of clients that are experimenting with it.

For example, without these changes, ASButtonNode is not able to lay out correctly. These
changes allow certain subtrees that use layout specs to coexist properly in a Yoga heirarchy.

The most significant change here is moving ASEdgeInsets into the #if YOGA gating. Although
this is technically an API change, this type was added with no known use cases and is
really only useful for flexbox layout specification. So, before usages of it are created,
it makes sense to constrain the Texture API surface until that time.

* [RTL] Bridge the UISemanticContentAttribute property for more convenient RTL support.

Although apps could handle this before by setting the view's property in didLoad, it's
useful to bridge this property for setting during off-main initialization.

This change also makes RTL fully functional / automatic for Yoga layout users.

* Remove RTL property addition and depend on PR #60 landing first.

* Fix warnings

* Add line to changelog
2017-04-27 15:43:29 -07:00
Garrett Moon
95c3a68bac Update to 2.3.1 2017-04-27 14:30:02 -07:00
Garrett Moon
5cd7704a4d Don't run tests for the docs directory. (#79)
* Don't run tests for the docs directory.

* Don't need to build for this either.

* Spell it right;
2017-04-27 13:57:57 -07:00
Levi McCallum
d82f5076c8 Fix SCSS build (#78) 2017-04-27 13:42:40 -07:00
Garrett Moon
f92dd7f967 Fix documentation warning on ASCollectionLayoutState.h (#77) 2017-04-27 13:34:25 -07:00
overtake
ffcee2cec0 Merge branch 'master' of https://github.com/peter-iakovlev/Postbox 2017-04-27 23:26:21 +03:00
overtake
17935702ca no message 2017-04-27 23:26:14 +03:00
Peter
a73bcc3180 no message 2017-04-27 22:47:14 +03:00
Ivan Matkov
dc8bcc396b Actualize file names in header comments 2017-04-27 16:09:55 +03:00
Ivan Matkov
23d801b929 Remove default copyright placeholder in BITKeychainUtilsTests.m 2017-04-27 16:03:43 +03:00