Commit Graph

3368 Commits

Author SHA1 Message Date
李铭昕
0e6e12b11d
Fixed default config. (#2014) 2020-06-30 13:46:39 +08:00
祇是一支歌
041bf8fa8e
fix: change the binding attribute order in aop trait (#1989) (#1990)
* fix: change the binding attribute order in aop trait (#1989)

before:
The old binding order is parent->trait->current
It causes some properties of current to not be bound
after:
The new binding order is current->trait->parent

* docs(contribute): update pull request url

* Update PropertyHandlerTrait.php

* Removed uesless code.

* Fixed handled property not be handled again by parent class.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-28 15:20:33 +08:00
李铭昕
d014e6aed8
Fixed default driver not found. (#1994) 2020-06-27 05:35:18 +08:00
李铭昕
1d54de7cbd
Optimized code for watcher. (#1988) 2020-06-26 14:14:08 +08:00
沈唁
059aedf3e6
Changed exit_code 0 to SIGTERM when swoole short name do not set disable. (#1986)
* Add get php path

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-25 10:05:07 +08:00
李铭昕
7233402df8
Fixed global_imports do not work when the aliases are not all lowercase letters. (#1985) 2020-06-25 09:56:19 +08:00
沈唁
3f35cb60d9
Added command gen:constants. (#1934)
* add gen constants

* update doc

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-25 08:09:16 +08:00
李铭昕
7a66b3c250
Merge pull request #1982 from limingxinleo/2.0-watcher
Added watcher component.
2020-06-25 08:01:06 +08:00
李铭昕
fce95cd786
Format code. (#1983) 2020-06-25 07:15:36 +08:00
李铭昕
d6ac43509b Added test cases. 2020-06-24 20:39:37 +08:00
李铭昕
9201f2aa5b Added watcher component. 2020-06-24 20:26:43 +08:00
Kids Return
e831fe0a93
Fixed bug that migration will be created although class already exists. (#1952)
* Fix same migration file class name

* show gen:migration command description

* Fix test

* Fix test

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-23 16:39:11 +08:00
hector
b4b6522ac1
Fixt isMethodsExists bug (#1960)
* Fixt isMethodsExists bug

* Update CHANGELOG-2.0.md

Co-authored-by: huangzhhui <huangzhwork@gmail.com>
2020-06-23 11:55:30 +08:00
motian
6dd6fbe6d8
Fix start errors when file aspects.php not exist. (#1961)
* Fix start errors when file aspects.php not exist.

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-23 11:39:12 +08:00
李铭昕
8c89785c16
Fixed the wrong http code when initRequestAndResponse failed. (#1965)
* Added test cases.

* Fixed the wrong http code when `initRequestAndResponse` failed.

* Update CHANGELOG-2.0.md
2020-06-23 11:37:22 +08:00
李铭昕
33bcb55969
Fixed 500 caused by empty body. (#1964) 2020-06-23 10:44:43 +08:00
hector
c67160fe96
Make ClassLoader easier to be extended (#1959)
* Make ClassLoader easier to be extended

* Update CHANGELOG-2.0.md

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-22 19:28:29 +08:00
李铭昕
4cd23167b9 Fixed branch alias. 2020-06-19 21:11:07 +08:00
huangzhhui
00b1dac8f2 Merge remote-tracking branch 'origin/master' into 2.0 2020-06-19 19:10:12 +08:00
李铭昕
01b6dbf1ee
Merge pull request #705 from dickens7/opt-request
optimize http message
2020-06-19 16:05:03 +08:00
李铭昕
2ff1a52c01 Optimized code. 2020-06-19 15:47:53 +08:00
李铭昕
e5396e9e0d Format code. 2020-06-19 15:40:52 +08:00
李铭昕
78b7c9453c
Merge pull request #1929 from huangzhhui/tcp-co-server
TCP coroutine server
2020-06-19 15:15:41 +08:00
huangzhhui
d2289e1b6d Optimized 2020-06-19 15:06:10 +08:00
李铭昕
c95a02c341 Update WebSocketsController.php 2020-06-19 14:55:39 +08:00
李铭昕
03164835f9 Merge branch '2.0' into pr/992 2020-06-19 14:46:22 +08:00
李铭昕
bc3eeede9a Update composer.json 2020-06-19 14:44:52 +08:00
ccb1900
bf859acbad
Added annotation ExceptionHandler. (#1245)
Co-authored-by: ccb <ccb412727@qq.com>
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-19 12:54:04 +08:00
huangzhhui
2dde609081 Merge remote-tracking branch 'origin/2.0' into pr/705 2020-06-19 00:04:27 +08:00
huangzhhui
f6df3d9355 Fix ci 2020-06-18 23:38:57 +08:00
huangzhhui
ac0f4c1a24 Also register rpc service when running in coroutine server 2020-06-18 23:19:14 +08:00
huangzhhui
9d897a656a Optimized 2020-06-18 23:18:27 +08:00
huangzhhui
e66bfef473 Support Coroutine TCP Server 2020-06-18 23:18:17 +08:00
谷溪
cfd51abb52
proposed gRPC-client 2.0 breaking changes (#1924)
* fix oss hook

* normalize names and function scope in gRPC-client

* expose _getGrpcClient

* expose _getGrpcClient

* fix tests
2020-06-18 11:42:09 +08:00
李铭昕
a6073bf151
Optimized code. (#1921) 2020-06-18 11:39:48 +08:00
李铭昕
b645a5cce7
Optimized code for phpstan. (#1881) 2020-06-17 14:45:13 +08:00
李铭昕
66e3c1721a
Added method Sender::close(int $fd, bool $reset = null). (#1920) 2020-06-17 13:03:19 +08:00
李铭昕
d8a49b2eb2
Sender support coroutine server. (#1919)
* Sender support coroutine server.

* fixed travis.

* Update OnPipeMessageListener.php

* Update Server.php
2020-06-17 12:12:49 +08:00
黄朝晖
28276b7364
Support WebSocket coroutine server (#1908)
* Support WebSocket coroutine server

* Fixed bugs.

* Fixed bug.

Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-17 10:07:30 +08:00
李铭昕
463d048bb0 Added test case. 2020-06-16 15:58:06 +08:00
sy-records
1ca339fa06 fix and add test 2020-06-16 14:54:33 +08:00
sy-records
7994e552ac fix isXmlHttpRequest 2020-06-16 13:54:28 +08:00
李铭昕
a52a0b39f4
Deleted useless code. (#1906) 2020-06-14 18:47:50 +08:00
李铭昕
702e624671
Removed config config/server.php. (#1905)
* Removed config `config/server.php`.

* Update CHANGELOG-2.0.md
2020-06-12 14:18:46 +08:00
yansongda
7b11109a54
Keys will be merged when different constants use the same code. (#1896)
Co-authored-by: 李铭昕 <715557344@qq.com>
2020-06-12 12:53:21 +08:00
李铭昕
bd053c377f Merge branch 'master' into 2.0 2020-06-12 12:36:55 +08:00
huangzhhui
ca8f0c2152 Merge branch '2.0' into pr/992 2020-06-11 22:11:41 +08:00
huangzhhui
42cff9275b Format 2020-06-11 21:50:01 +08:00
李铭昕
4ac8e3dac5
Fixed caster decimal does not work. (#1900) 2020-06-11 17:18:10 +08:00
黄朝晖
3ca22c6124
Change default value of keepalive to true, and close_on_desctruct to false (#1889) 2020-06-11 12:45:18 +08:00