Commit Graph

13022 Commits

Author SHA1 Message Date
overtake
cace41b10e no message 2018-08-16 23:46:26 +03:00
Peter
3b4fa74561 no message 2018-08-16 13:31:58 +03:00
Eric Jensen
5f912d1cd1 Remove double scaling of lineHeightMultiple & paragraphSpacing attributes in ASTextKitFontSizeAdjuster (#1056) 2018-08-15 11:08:32 -07:00
Peter
e38551b534 Fixed macOS build 2018-08-14 14:42:02 +03:00
Peter
8198b641ad no message 2018-08-14 14:31:35 +03:00
overtake
603e52159f Merge branch 'master' of https://github.com/peter-iakovlev/Signals 2018-08-14 14:26:41 +03:00
Peter
dfc176a6d8 no message 2018-08-14 14:09:47 +03:00
Peter
247c0ba621 no message 2018-08-14 14:06:54 +03:00
overtake
6b05a0e2cc no message 2018-08-14 13:04:13 +03:00
Peter
01ed96e839 no message 2018-08-14 12:56:40 +03:00
Peter
0d2883fd64 no message 2018-08-14 12:56:07 +03:00
Ilya Laktyushin
db83793ce1 no message 2018-08-10 09:23:09 +03:00
Grishka
529a3bf14f 2.2.2: more fixes
- Probable fix for a mysterious crash in WASAPI
- Hopefully fixes telegramdesktop/tdesktop/4219 by setting PA stream role and bypassing filters
- Outgoing packet queue now uses Buffer instead of BufferPool
2018-08-07 23:10:31 +03:00
Adlai Holler
03e6ce0916 Reduce copying in ASTextNode2 stack (#1065)
* Remove copying in text stack, make text container have an optional immutable mode

* Changelog

* Comment

* Update CHANGELOG.md

* Use new name

* Import header
2018-08-07 08:32:43 -07:00
Peter
9322699a38 no message 2018-08-07 14:03:57 +03:00
Peter
da464a3286 Current network type detection
Small changes in Postbox API
2018-08-07 14:02:38 +03:00
Peter
3dc988b927 Fixed an edge case in message history index initialization 2018-08-07 14:01:15 +03:00
Adlai Holler
2bb216b02e Readability improvements in ASDataController #trivial (#1067) 2018-08-05 17:24:13 -07:00
Michael Schneider
847884a7b4 Add NS_DESIGNATED_INITIALIZER to ASViewController initWithNode: (#1054)
* Add NS_DESIGNATED_INITIALIZER to ASViewController initWithNode:

* Add changelog
2018-08-05 08:20:20 -07:00
Adlai Holler
b136e84b4e Add an experimental framesetter cache in ASTextNode2 (#1063)
* Add an experimental framesetter cache in ASTextNode2, and stop keeping framesetters around

* Update configuration schema

* Fix imports

* Fix import again and remove set statement
2018-08-04 07:33:53 -07:00
Adlai Holler
c5b1d09b49 Remove direct ivar access on non-self object to fix mocking case #trivial (#1066)
* Remove direct ivar access on non-self object to prevent issues when the object is actually a mock

* Comment

* Remove lock to avoid deadlock risk
2018-08-03 16:35:24 -07:00
Peter
ab261ecbc7 no message 2018-08-03 23:23:02 +03:00
Peter
4a80fec8b0 no message 2018-08-03 23:22:39 +03:00
Peter
f751e22384 no message 2018-08-03 23:21:57 +03:00
Peter
f5e4c97558 no message 2018-08-03 23:21:37 +03:00
Peter
4dbe6818f0 Merge commit '97089527f579a9f99fb207ba56420ce7ad4f2b34' 2018-08-03 23:21:13 +03:00
Peter
2f2ad75a6b no message 2018-08-03 23:17:47 +03:00
Peter
eea5853ef1 no message 2018-08-03 23:17:28 +03:00
Peter
c1af1a2787 Merge commit 'e233443e4b53fb25a9f7f8a582cfa35e53a9c417'
# Conflicts:
#	Source/ASImageNode.h
#	Source/ASMultiplexImageNode.h
#	Source/Base/ASAssert.m
2018-08-03 23:16:40 +03:00
Adlai Holler
40e3bf8952 Remove objc association & weak proxy from node -> controller pointer (#1061)
* Remove objc association & weak proxy from node -> controller relationship

* Rename ASNodeController+Beta.m to ASNodeControllerx+Beta.mm

Currently we can't import ASDisplayNodeInternal from C

* Update project pointers

* Rename ASNodeControllerx+Beta.mm to ASNodeController+Beta.mm
2018-08-03 10:24:37 -07:00
Adlai Holler
e76b4f02f6 Remove extra string/attributed string creation in accessibility properties (#1062) 2018-08-03 10:23:05 -07:00
Grishka
3334409ac7 2.2.1: bug fixes 2018-08-03 17:26:00 +03:00
Ilya Laktyushin
97089527f5 no message 2018-08-02 20:20:45 +03:00
Ilya Laktyushin
4984ca8a2e Merge branch 'master' of bitbucket.org:iakovlevpeterp/legacycomponents 2018-08-02 20:08:28 +03:00
Ilya Laktyushin
ef706dcf53 no message 2018-08-02 20:06:24 +03:00
Adlai Holler
093ae3fba0 Remove CATransaction signposts because they cause more transactions than needed and are too chatty. (#1060) 2018-08-02 08:39:01 -07:00
Adlai Holler
78be342e77 [ASTextNode2] Simplify allocWithZone: + initialize implementation #trivial (#1059)
* Simplify ASTextNode2 alloc + initialize implementation

* Kick the CI by marking two methods as NO_ESCAPE for Xcode 10
2018-08-02 07:36:26 -07:00
Ryan
9d8406e938 Fix headers in markdown (#1053) 2018-08-01 14:52:38 -07:00
Michael Schneider
9e2947e7fb Revert "Optimize drawing code + add examples how to round corners (#996)" (#1055)
This reverts commit eb4c21c545.
2018-07-31 04:40:18 -07:00
Grishka
a6cc7d931c Removed unused code 2018-07-30 16:16:35 +03:00
Grishka
8faf6f6700 Fixes 2018-07-29 21:21:34 +03:00
Michael Schneider
eb4c21c545 Optimize drawing code + add examples how to round corners (#996)
* Use CoreGraphics for drawing and cropping of node content

* Smaller fixes
2018-07-26 09:44:10 -07:00
Michael Schneider
4880b54db0 Add documentation for rounding corners within Texture (#1044) 2018-07-25 14:08:48 -07:00
Max Wang
905c582497 Background image load api (#1007)
* fix SIMULATE_WEB_RESPONSE not imported #449

* Fix to make rangeMode update in right time

* remove uncessary assert

* add api to allow delegated calls in background.

* fix typo

* 1. Add class property to decide whether to send delegate callbacks on
main or background.
2. remove non-info api.

* Refactor.

* add ivar for class property.

* Donot use extra api.

* Refactor

* refactor

* revert to use let

* refactor

* make class property atomic.

* kick of new ci test.

* kick off new ci
2018-07-24 15:57:59 -07:00
Huy Nguyen
95de2ab126 Avoid setting frame on the backing store while holding a node's lock (#1048)
Doing so may trigger `-layer:didChangeBoundsWithOldValue:newValue:` on the layer's delegate (i.e `ASCALayerExtendedDelegate`) which then runs other operations that require the lock to be free.
2018-07-24 15:03:47 -07:00
Kevin
b2eb58e9f2 Remove misleading comment and add assertion #trivial (#1027) 2018-07-24 09:15:31 -07:00
Kevin
1beeb9c5e6 Add a comment about tiling mode and issue #1046 (#1047) 2018-07-24 09:13:23 -07:00
Peter
07fc80ef3a no message 2018-07-21 21:31:48 +03:00
Peter
152d25f4ff no message 2018-07-21 21:31:04 +03:00
Peter
749db46e69 no message 2018-07-21 21:27:57 +03:00