Commit Graph

31 Commits

Author SHA1 Message Date
bbc25e9aec
Psalm fixes 2020-10-18 15:04:43 +02:00
def6199437
PHPDOC 2020-10-13 10:03:35 +02:00
ac47a23639
PHP 8 fixes 2020-10-08 21:35:32 +02:00
a937d1d994
Coroutine bugfix 2020-10-08 15:48:59 +02:00
787f06a314
Return warning when serializing coroutine 2020-10-07 20:41:23 +02:00
7e281c1589
Disable garbage collection logs when reading from console and polyfill from_id 2020-10-06 22:02:04 +02:00
ca2cbe4ecb
Add missing return typehints 2020-10-01 21:03:25 +02:00
066a10e2dc
Bugfixes 2020-02-05 17:18:22 +01:00
3b8334e073
Fully make use of yield from and async-friendly stack traces 2020-01-31 20:33:18 +01:00
000839a1b5
Yield from all the things 2020-01-31 19:29:43 +01:00
379cd0f247
Proper async traces 2020-01-31 18:03:23 +01:00
d7306ab713
Temporarily disable intl 2019-09-24 12:40:48 +02:00
c66e1fcbef Return coroutines, will implement object access in promises in amphp 2019-09-22 00:06:14 +02:00
383f3baff0 rel 2019-09-21 21:01:44 +02:00
32693698b6 Bring back support for PHP 5 2019-09-21 17:11:37 +02:00
2356d0b14a Multiple bugfixes 2019-09-21 16:52:27 +02:00
11a939c403 Asynchronously call methods of yielded objects, no extra syntax required (+ automatically release tagged commits) 2019-09-21 15:38:54 +02:00
f1eecff25d Handle some pts errors 2019-09-18 16:01:27 +02:00
c5506f5a74 cs-fix 2019-09-14 15:39:42 +02:00
5570f9ddc9 Improvements to web logging 2019-09-14 14:21:11 +02:00
9321f3d0af Convert inputEncryptedChat 2019-08-25 20:40:42 +02:00
40e2e6c09d Various bugfixes 2019-06-18 12:31:44 +02:00
d18300a631 Make all helper functions static, and add support for ArrayAccess in coroutines 2019-06-06 19:52:02 +02:00
a1daca04da
Style fixes 2019-06-04 14:55:58 +02:00
120ff0aba9 Multiple fixes 2019-06-03 20:51:10 +02:00
afbb08a027 Fixes 2019-05-13 13:07:30 +02:00
f7bd6a922e Bugfixes 2019-05-12 20:33:18 +02:00
714ade6fbc Some fixes 2019-05-12 16:01:52 +02:00
Daniil Gentili
f31af1d645 Terminate generators when YieldReturnValue is yielded 2018-12-27 11:59:48 +00:00
Daniil Gentili
69a2131206 Support yield return polyfill 2018-12-27 02:47:21 +00:00
df24fa4611
Merge alpha into master (async, huge bugfixes and more) (#546)
* Implement async and lots of bugfixes

* Implement more async

* Implement async, implement bugfixes for the connection module, for the datacenter module, huge bugfixes, huge perfomance improvements, media DCs for https, advanced selecting, custom var_dump, totally rewritten IOLoop and response mechanism, promises, improvements to the TL parser, custom mb_substr

* Apply fixes from StyleCI

* Bugfixes

* Apply fixes from StyleCI

* Bugfixes, implement combined promises

* Apply fixes from StyleCI

* Support passing method arguments as callable

* Starting to write async upload logic

* Apply fixes from StyleCI

* Start implementing async file upload

* Apply fixes from StyleCI

* bugfix

* Apply fixes from StyleCI

* Start rewriting connection module

* Add PHP file docblocks for all classes

* Start working on new async stream API

* Finish writing stream API

* More stream API fixes

* Apply fixes from StyleCI

* Rewrite DataCenter and Connection modules

* Clean up stream API documentation

* Fixes

* Apply fixes from StyleCI

* Add referenced parameter to get length of buffer to read in getReadBuffer API

* Moved all MessageHandler code in the Connection module, added a PHP version warning in the phar

* Start fixing reads

* Fix all protocol stream wrappers

* Apply fixes from StyleCI

* Implement disconnection, and remove end function

* Working async RPC

* Implement async file upload

* Bugfix

* Method recall bugfixes

* Bugfixes

* Trait bugfixes

* Fix FIFO buffer

* Bugfixes and speedtests

* Async logging

* Implement websocket streams

* Implement loop API, signal API, clean closing and start changing layer

* Small magna, websocket and HTTP fixes

* Clean up loop API

* Improved stack traces, 2FA and async

* Login fixes

* Added instructions for manual verification

* Small fixes

* More app info improvements

* More app info improvements

* TL and 2FA fixes

* Update to layer 89

* More bugfixes

* Implement broken media reporting

* Remove debug comments

* PHP 7.2 backwards compatibility

* Bugfixes

* Async key generation

* Some simplifications

* Transport fixes

* Cleanup

* async API

* Performance fixes

* Fixes to async API

* Bugfixes

* Implement one-time async loop

* Authorization and logging fixes

* Update to layer 91

* 7to5 fix

* Null coalesce conversion

* Implement socks5 proxy

* Implement HTTP proxy

* Fixes to HTTP proxy

* MTProxy and socks5 fixes

* Disable PHP 5 conversion

* Proxies have higher priority

* Avoid error handling in vendor

* Override composer dependencies

* Fix travis build

* Final composer fixes

* Proxy logic fixes

* Fix get_updates update handling

* Do not use parallel file driver if not supported

* Refactor loader and implement HTTP fixes

* Suppress errors in loader

* HTTP and authorization fixes

* HTTP fixes

* Improved peer management

* Use HTTP protocol on altervista

* Small bugfixes

* Minor fixes

* Docufix

* Docufix

* Legacy fixes

* Fix message queue

* Avoid updating if using MTProxy

* Improve logs and examples

* Trim final newlines while converting parse mode

* Reimplement noResponse flag

* Async combined event handler and APIFactory fixes

* Actually return config

* Case-insensitive methods

* Bugfix

* Apply fixes from StyleCI (#545)

* MTProxy fixes

* PHP 5 warning

* Improved PHP 5 warning

* Use <br> along with newlines in web logs

* Update docs
2018-12-26 20:51:14 +01:00