Grishka
8e837c61ac
Ported to WinRT and Windows Phone
2017-05-11 06:21:04 +03:00
ricky
002f470331
[ASTextKitFontSizeAdjuster] Replace use of boundingRectWithSize:options:context: with boundingRectForGlyphRange: inTextContainer: ( #251 )
...
* [ASTextKitFontSizeAdjuster] Replace use of boundingRectWithSize:options:context: with boundingRectForGlyphRange: inTextContainer:
`boundingRectWithSize:options:context:` started returning different values for the same strings between iOS 10.2 and iOS 10.3. Switching to using `NSLayoutManager`’s `boundingRectForGlyphRange: inTextContainer:` fixed this. It also makes sure we are consistent with what `ASTextKitTailTruncater` uses.
* updated changelog
2017-05-10 18:40:22 -07:00
Huy Nguyen
34397235bb
Add missing import and define in ASLog ( #257 )
2017-05-10 17:09:07 -07:00
Gregory K
54e00a1977
Merge pull request #12 from telegramdesktop/tdesktop
...
Fix build on 32 bit Linux. Fix crash on network error.
2017-05-10 16:50:05 +03:00
John Preston
d09c2ebe35
Allow to set opus include dir in GYP. Fix travis-ci build.
2017-05-10 15:03:17 +03:00
John Preston
61eeaba937
Compile with SSE2 instead of SSE4.1 on Linux.
2017-05-10 11:59:00 +03:00
John Preston
ccdb6af389
Fix build on 32 bit Linux. Fix crash on network error.
2017-05-10 10:05:43 +03:00
Adlai Holler
0143e3291a
Improve Ancestry Handling, Avoid Assertion Failure ( #246 )
...
* Improve our handling of ancestry
* Increase chungalunga
2017-05-09 18:27:54 -07:00
Grishka
78ccec1645
Probably fixed a nasty crash
2017-05-10 03:09:24 +03:00
Gregory K
c1f89665e0
Merge pull request #11 from telegramdesktop/tdesktop_warnings
...
Fix several compiler warnings.
2017-05-10 02:28:55 +03:00
Grishka
ee461782fa
Fixed crash on Windows if there's no mic/speaker in the system
2017-05-10 02:28:20 +03:00
Garrett Moon
19ec0446f6
Bump to 2.3.2
2017-05-09 15:45:00 -07:00
Michael Schneider
4dbbba7d32
Remove instance method of -drawRect:withParameters:isCancelled:isRasterizing: ( #232 )
2017-05-09 14:02:33 -07:00
Michael Schneider
3738f1f6e2
[ASImageNode] Move to class method of displayWithParameters:isCancelled: for drawing ( #244 )
...
* Remove instance displayWithParameters:isCancelled:
* Address comments
2017-05-09 13:03:30 -07:00
John Preston
0f9cbbff83
Fix several compiler warnings.
2017-05-09 22:37:06 +03:00
overtake
8797d57d63
Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore
2017-05-09 21:43:22 +03:00
Peter
f93eebb273
no message
2017-05-09 21:42:54 +03:00
Gregory K
b8ab63f62f
Merge pull request #10 from telegramdesktop/tdesktop_gyp_improve
...
Improve .gyp project for TDesktop submodule.
2017-05-09 21:28:13 +03:00
Grishka
38e4197d51
Fixed crash on Linux
2017-05-09 21:25:27 +03:00
overtake
ca711c2faf
Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore
...
Conflicts:
TelegramCore/CallSessionManager.swift
2017-05-09 20:54:24 +03:00
Peter
14941cd075
no message
2017-05-09 20:50:23 +03:00
Peter
33c847b71b
no message
2017-05-09 20:50:07 +03:00
Michael Schneider
8692428481
[ASDisplayNode] Pass drawParameter in rendering context callbacks ( #248 )
...
* Pass drawParameter in rendering context callbacks
* Add changelog
* Fix examples
2017-05-08 14:39:40 -07:00
Alejandro Megías
ad9924abd8
[ASDimension] Remove warning about float precision using CGFloat and Double ( #237 )
...
[ASDimension] Remove warning about float precision using CGFloat and … #trivial
2017-05-08 14:12:12 -07:00
overtake
8ce65c669f
Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore
2017-05-08 15:49:26 +03:00
Peter
fdc446ad10
no message
2017-05-08 15:37:12 +03:00
John Preston
98e75f1310
Improve .gyp project for TDesktop submodule.
2017-05-08 15:20:38 +03:00
Grishka
76d609c1d6
fix
2017-05-07 23:14:26 +03:00
overtake
c4e0e46551
phone calls
2017-05-07 18:12:32 +03:00
overtake
dc46d2a473
Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore
2017-05-07 16:40:55 +03:00
Peter
f43400df1f
no message
2017-05-07 16:30:06 +03:00
Peter
007b494e17
no message
2017-05-07 16:01:08 +03:00
Garrett Moon
850aeb442c
Assert only once we know URL has changed ( #247 )
...
We need this in case someone is setting the URL to nil before setting
the image directly. I.e. they have a node which has been used as a network
node or an image node but now they want it to be an image node.
They should then set the URL to nil and then set the image.
*if* it was used as a network node previously, this would work.
If it was previously used as an image node it would historically assert.
This addresses that.
2017-05-05 16:32:54 -07:00
Grishka
5109903e02
Logging to file(s) now works on all systems and logs now contain OS version in their header
...
On OS X, audio now plays only out of the right speaker on MacBook Pro's to avoid insane echo when using built-in speakers
Fixed crash on Linux
2017-05-06 02:18:34 +03:00
Adlai Holler
80357b1c7c
Don't use associated objects for ASDisplayNode.drawingPriority ( #239 )
2017-05-05 08:22:30 -07:00
Michael Schneider
17d956493a
[ASImageNode] Move debug label and will- / didDisplayNodeContentWithRenderingContext out of drawing method #trivial ( #235 )
...
* Move configuring the debug label from the drawing method in displayDidFinish
* Move will- and didDisplayNodeContentWithRenderingContext in drawing parameters
2017-05-04 16:56:26 -07:00
Grishka
510a977ff0
Added WASAPI audio I/O implementation for Windows >= Vista (desktop only for now)
...
Added device selection on Linux
Bugfixes
2017-05-05 00:44:23 +03:00
Benjamin Scholtysik (Reimold)
c239000995
Merge pull request #416 from bitstadium/fix/remove-metrics-from-crashonly-build
...
Disable Metrics config flag in crashonly builds
2017-05-04 13:33:21 -07:00
overtake
72a0886de7
Merge branch 'master' of https://github.com/peter-iakovlev/TelegramCore
2017-05-04 18:03:21 +03:00
overtake
7ae5a3ee98
no message
2017-05-04 18:03:15 +03:00
Peter
ce9ec87b83
no message
2017-05-04 18:01:20 +03:00
Adlai Holler
588f30c7dd
Move Last Few Properties from ASTableView,ASCollectionView to Node ( #225 )
...
* Finish moving properties ASTableView->ASTableNode, ASCollectionView->ASCollectionNode
* Update changeling
2017-05-04 13:41:58 +01:00
Michael Schneider
25da46c8ac
Remove unneeded pointer star ( #231 )
2017-05-04 13:41:35 +01:00
Huy Nguyen
ca2885cf06
Implement ASPageTable ( #81 )
...
* Implement ASPageTable
- It is a screen page table that can be used to quickly filter out objects in a certain rect without checking each and every one of them.
- ASCollectionLayoutState generates and keeps a table that maps page to layout attributes within that page.
- ASCollectionLayout (and later, ASCollectionGalleryLayoutDelegate) consults its layout state for `layoutAttributesForElementsInRect:`. This ensures the method can return as quickly as possible, especially on a large data set (I heard some people have galleries with thousands of photos!).
* Address comments
* Handle items that span multiple pages
* Make danger happy
2017-05-04 12:43:02 +01:00
Witty Young
54164dfd61
Update LOTAnimatableNumberValue.m
...
fix _startFrame such as 1.01 and endFrame as 1.99
2017-05-04 17:48:17 +08:00
Garrett Moon
4cbf278e8d
Fixes assertion on startup in social app layout example ( #233 )
...
* Fixes assertion on startup found when investigating #220
* Update license in header
2017-05-03 19:05:50 -07:00
appleguy
98a8c38ce2
[ASTwoDimensionalArrayUtils] Fix extern C function definition to fix compiler issue. ( #229 )
...
In some build environments, this causes an error. It seems to be a change since 2.2.
2017-05-03 15:58:03 -07:00
Benjamin Scholtysik (Reimold)
71de3c14f7
Disable Metrics config flag in crashonly builds
2017-05-03 15:35:21 -07:00
Grishka
a428f082df
Fixed build on Linux
2017-05-04 00:13:13 +03:00
George
a4ddc072a4
Fix CustomCollectionView-Swift sample ( #22 )
...
* Updated copyright notices
* Fixed crash and removed storyboard
2017-05-03 11:04:00 -07:00