Commit Graph

13022 Commits

Author SHA1 Message Date
Adlai Holler
7961aa919a Cleanup ASDisplayLayer (#315) 2017-05-29 15:38:27 -07:00
Flo
be956e91c6 [ASCollectionNode] Fix missing properties and layoutInspector #trivial (#305)
* [ASCollectionNode] Set the layoutInspector from the pendingState in didLoad.

* [ASCollectionNode] Forward scroll properties from the view.
2017-05-29 13:43:29 -07:00
overtake
5dd4d8a1ab Merge branch 'master' of https://github.com/peter-iakovlev/MtProtoKit 2017-05-29 23:25:13 +03:00
Peter
90627294f1 Merge commit '8b15d6fe637a05062e5875c12823d647f446e35d'
# Conflicts:
#	MTProtoKit/MTApiEnvironment.h
2017-05-29 21:35:08 +03:00
Peter
d99e2f6ce2 no message 2017-05-29 21:34:39 +03:00
appleguy
f7b9855da7 [ASDisplayNode] Revise assertion to log until Issue #145 is addressed. (#313)
[ASDisplayNode] Revise assertion to log until Issue #145 is addressed. #trivial
2017-05-29 10:59:11 -07:00
Peter
1ed46b9c28 no message 2017-05-29 18:08:18 +03:00
Peter
7fc8503af5 Merge commit 'e328b1b736cf1903535d89a252eba0c3711b2f97' 2017-05-29 16:18:32 +03:00
Peter
6d17725856 no message 2017-05-29 16:18:00 +03:00
George
ae667154ac Fixed typo in carthage project name (#310) 2017-05-27 06:25:32 -07:00
Garrett Moon
6b54d052e9 Fix non layout (#309)
* Lock released between add to pend controller and modifying pend state

The existing design is pretty fraught with error. We should probably
rethink this but in the meantime, this fixes a bug where calling
setNeedsLayout can start failing for nodes.

Essentially the method ASDisplayNodeShouldApplyBridgedWriteToView has
a side effect of registering a node to apply it's pending state *if*
it doesn't currently need the pending state applied. My guess is this
was to avoid continually registering the node and this behavior actually
helped expose this bug.

The bug: after the node is registered for flushing it's state, several
code paths released the lock before applying that state to the pending
state object. Before it could re-obtain the lock to apply it to the pending
state, the pending state controller flushed it on the main thread.

On subsequent calls to setNeedsLayout, the pending state had pending state
already (from previous calls which missed the flush) and thus wasn't
registered for future flushing.

* Add changelog
2017-05-26 14:59:02 -07:00
overtake
1f8a9a1af6 Merge branch 'master' of https://github.com/peter-iakovlev/MtProtoKit 2017-05-26 16:01:46 +03:00
overtake
e328b1b736 Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore 2017-05-26 16:01:36 +03:00
Peter
3eb82bc3dc no message 2017-05-26 16:00:52 +03:00
Peter
8b15d6fe63 no message 2017-05-26 15:57:22 +03:00
overtake
c7fc70b25d Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore 2017-05-26 15:42:16 +03:00
overtake
2c79703859 no message 2017-05-26 15:42:11 +03:00
Peter
7b0e9adbae no message 2017-05-26 15:32:46 +03:00
overtake
bfb43448fe Merge branch 'master' of https://github.com/peter-iakovlev/Signals 2017-05-26 13:24:08 +03:00
Peter
43e190dafd no message 2017-05-26 13:23:49 +03:00
Peter
c0d98aae3b no message 2017-05-26 13:22:54 +03:00
overtake
3ef02e39b4 Merge branch 'master' of https://github.com/peter-iakovlev/MtProtoKit 2017-05-26 13:20:23 +03:00
overtake
d918b53ab3 Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore
Conflicts:
	TelegramCore/EnqueueMessage.swift
	TelegramCore/TelegramMediaAction.swift
2017-05-26 13:20:06 +03:00
overtake
c7a8f89335 no message 2017-05-26 13:18:57 +03:00
Peter
dac79da63c Merge commit 'bdf58e46099925e437fa6535d8ed163044bca74f' 2017-05-26 13:11:37 +03:00
Peter
ae7c0af98a no message 2017-05-26 13:11:25 +03:00
Peter
0d09c23569 Merge commit 'b61e408cd853af4802927dd89245d843f423c9a3'
# Conflicts:
#	Postbox/Coding.swift
2017-05-26 13:11:00 +03:00
Peter
0677381484 no message 2017-05-26 13:09:35 +03:00
Simon Mitchell
faf5e4e6eb Removes un-necessary setNeedsLayout 2017-05-26 11:06:39 +01:00
Simon Mitchell
e99126f625 Only updates animation if the view has a window to avoid issues with setting
initial progress of the animation (This was noticeable particularly in React-Native
projects due to didMoveToSuperview calling setNeedsAnimationUpdate before the
view was in a window, and then the didMoveToWindow call being blocked
2017-05-26 10:47:02 +01:00
Peter
00b446f8ea no message 2017-05-25 21:50:22 +03:00
Peter
a60a8c37a4 Merge commit '1ac685570114f03217bc065b690430b38135272f' 2017-05-25 21:47:32 +03:00
Peter
862acbe6d8 no message 2017-05-25 21:47:19 +03:00
Peter
1ac6855701 no message 2017-05-25 21:40:45 +03:00
Adlai Holler
f8c16b7f3a Catch Invalid Layer Bounds in a Nonfatal Assertion #trivial (#308)
* Add a non-fatal assertion for setting invalid layer bounds.

* Update message
2017-05-24 12:56:08 -07:00
Dima
caa7e2e2ad [Examples] Fixed crash on SocialAppLayout-Inverted + behaviour comments (#304)
* [Examples] Fixed crash on SocialAppLayout-Inverted + behaviour comments

* [Examples] Update license header in SocialAppLayout-Inverted to the correct format

* [Examples] License header typo fixes
2017-05-24 11:51:59 -07:00
Benjamin Scholtysik (Reimold)
f21c42bd39 Merge pull request #420 from bitstadium/fix/undo-changes-for-xamarin
Undo changes related to Xamarin SDK fixes
2017-05-24 12:51:47 +02:00
Benjamin Scholtysik (Reimold)
a9f2c6610f Undo changes related to Xamarin SDK fixes 2017-05-24 11:32:15 +02:00
Benjamin Scholtysik (Reimold)
be5c856fab Merge pull request #418 from bitstadium/fix/dont-log-error-message-for-xamarin-environment
Improve error logging to make sure we don’t log an error in case we r…
2017-05-24 11:06:46 +02:00
Grishka
6883bbf5d6 A better way to load libpulse. Also, device enumeration using it.
Bugfixes
2017-05-24 03:31:35 +03:00
Michael Schneider
8a9c6e8145 Remove assertion in calculateSizeThatFits: and add a log event (#299) 2017-05-23 08:14:26 -07:00
Grishka
abf17056ce Don't use WSAAddressToStringA on WP
snprintf fix
2017-05-23 16:07:57 +03:00
Michael Schneider
a6c3517cf6 IGListKit related headers need to be in the module all time now (#300) 2017-05-22 09:50:11 -07:00
Fela Ameghino
737c845d10 Merge remote-tracking branch 'upstream/public' into public 2017-05-22 10:24:32 +02:00
Fela Ameghino
1e953d73d7 Revert "Fixed uwp project to always use libopus in release configuration"
This reverts commit ac48960890.
2017-05-22 10:22:58 +02:00
Grishka
62849b7466 Yet another attempt to fix audio issues on linuxes of all shapes and sizes
telegramdesktop/tdesktop#3412 telegramdesktop/tdesktop#3413
2017-05-21 21:15:42 +03:00
Fela Ameghino
d8e822c714 Merge remote-tracking branch 'upstream/public' into public 2017-05-21 17:10:23 +02:00
Grishka
3216b76349 v0.4.1
Better jitter buffer with packet rescaling
Tried to fix some issues on Linux (telegramdesktop/tdesktop#3413)
Fixes for Windows Phone
2017-05-21 17:50:23 +03:00
Fela Ameghino
ac48960890 Fixed uwp project to always use libopus in release configuration 2017-05-21 11:52:03 +02:00
Gregory K
38bffcf008 Merge pull request #20 from UnigramDev/public
Using IAudioClient2 on WinRT to be able to SetClientProperties
2017-05-19 17:16:52 +03:00