Граф коммитов

6107 Коммитов

Автор SHA1 Сообщение Дата
Jakub Míšek cb29fb7b53 quick json decode using Utf8JsonReader
- removed parser, lexer
- implemented minimum allocation encoder using Utf8JsonReader
2020-06-27 18:54:33 +02:00
Jakub Míšek ce3b9a671d json decode fix for Unicode string literals
fixes https://github.com/peachpiecompiler/peachpie/issues/779
2020-06-27 16:31:56 +02:00
Jakub Míšek 48c6ba6531 stream read contents fix
fixes https://github.com/peachpiecompiler/peachpie/issues/781
2020-06-27 16:19:47 +02:00
Robert Husák 334fa564bc Return false on vsprintf failure 2020-06-25 20:04:41 +02:00
Robert Husák 8fd3f26a97 Fix null handling in stripslashes 2020-06-24 17:46:05 +02:00
Jakub Míšek 0977e9781b aspnetcore middleware api
- UsePhp(prefix, configure, root)
allows for application+component developers to restrict their PHP middleware to certain prefix with certain configuration
ref https://github.com/gordon-matt/peachpie-responsive-file-manager/pull/12 (thx @gordon-matt)
2020-06-24 16:26:00 +02:00
Robert Husák 328e280196 Fix inner iterator rewinding in AppendIterator
#464
2020-06-24 15:58:32 +02:00
Jakub Míšek 4cad5d781a php8 - ::class on objects
ref https://github.com/peachpiecompiler/peachpie/issues/765
2020-06-21 14:07:42 +02:00
Jakub Míšek 5444f73dc0 html->xml parser treats Unicode whitespace correctly
TODO: test - HTML with whitespace (char)160 (treated as whitespace char but not allowed in XmlWhitespace)
2020-06-19 13:37:28 +02:00
Jakub Míšek e0c5b02df9 MySqlConnector update 2020-06-19 11:54:31 +02:00
Bradley Grainger bf60c71d1e Update to MySqlConnector 1.0. 2020-06-18 17:33:36 +02:00
Jakub Míšek a141295f9d updated SixLabors.ImageSharp to latest RC 2020-06-18 17:07:37 +02:00
Jakub Míšek d2c75128d8 removes uses of ImageFrame<TPixel>.GetPixelSpan() 2020-06-18 16:52:55 +02:00
Jakub Míšek 0518640453 constructor property initializer cleanup 2020-06-18 16:12:33 +02:00
Jakub Míšek 0ea8da8d3e php8 Constructor property promotion
ref https://github.com/peachpiecompiler/peachpie/issues/765
2020-06-18 15:58:12 +02:00
Jakub Míšek e7831ad6a1 promoted properties diagnostics 2020-06-18 15:25:43 +02:00
Jakub Míšek 36660b4ed4 php syntax update 2020-06-18 14:39:47 +02:00
Jakub Míšek 824d6b0d79 php7+ string sequence \u{[0-9A-Fa-f]+}
fixes https://github.com/peachpiecompiler/peachpie/issues/770
2020-06-18 10:53:48 +02:00
Jakub Míšek e683bfacb2 BoundMultipleTypeRef handles union types 2020-06-16 23:28:29 +02:00
Jakub Míšek 3152e343fb notes and cleanup 2020-06-16 23:27:42 +02:00
Jakub Míšek 666eae22fc SimpleXMLElement::saveXML 2020-06-16 22:59:02 +02:00
Jakub Míšek 49ca75cd1f cleanup 2020-06-16 22:56:02 +02:00
Jakub Míšek 381c61fd42 try/catch assertion fix 2020-06-16 22:55:50 +02:00
Jakub Míšek 679ccf84f8 mysqli_field_count, musqli::$field_count 2020-06-16 22:20:42 +02:00
Jakub Míšek b93d250a97 bump PHP_VERSION constant - 7.4.69-peachpie 2020-06-16 22:11:41 +02:00
Jakub Míšek bd56269db1 MySqlConnector update 2020-06-16 22:09:29 +02:00
Jakub Míšek 6d1b691aab pcre update
implements support for newline options
resolves https://github.com/peachpiecompiler/peachpie/issues/760
2020-06-16 17:28:53 +02:00
Jakub Míšek c8f10e8193 err - Constructor property promotion - reported as not supported
ref https://github.com/peachpiecompiler/peachpie/issues/765
2020-06-16 15:30:35 +02:00
Jakub Míšek a4a1184756 mixed primitive type
ref https://github.com/peachpiecompiler/peachpie/issues/765
2020-06-16 15:26:26 +02:00
Jakub Míšek 6beec987f2 <LangVersion> for 8.0
ref https://github.com/peachpiecompiler/peachpie/issues/765
2020-06-16 15:15:43 +02:00
Jakub Míšek 597828a134 Trailing comma in parameter lists
ref https://github.com/peachpiecompiler/peachpie/issues/765
2020-06-16 15:13:58 +02:00
Jakub Míšek 07197ed1ed non-capturing catch
ref https://github.com/peachpiecompiler/peachpie/issues/765
2020-06-16 15:11:10 +02:00
Jakub Míšek 3209151162 throw as expression (php8)
ref https://github.com/peachpiecompiler/peachpie/issues/765
2020-06-16 15:06:27 +02:00
Jakub Míšek 20e5851c2b aspnetcore: loading dependent php projects automtically, fixes use of options within AddPhp() 2020-06-13 15:21:41 +02:00
Jakub Míšek 817d20c3e2 PDO: default errmode set to PDO::ERRMODE_EXCEPTION
(php8 stuff)
2020-06-12 17:16:13 +02:00
Jakub Míšek 880ef0b731 get_resource_id 2020-06-12 17:09:39 +02:00
Jakub Míšek a1daea2617 fdiv 2020-06-12 17:05:41 +02:00
Jakub Míšek d6be4c6c53 str_starts_with, str_ends_with 2020-06-12 16:59:20 +02:00
Jakub Míšek 36446d114c str_contains() 2020-06-12 16:54:39 +02:00
Jakub Míšek 69708b450e DateTime::createFromInterface 2020-06-12 16:45:25 +02:00
Jakub Míšek 4980b4b1fc sdk: parses version stability flags and ref string 2020-06-10 17:48:40 +02:00
Jakub Míšek 1779f82b34 lambda cleanup 2020-06-08 14:56:43 +02:00
Jakub Míšek d933a71777 PhpValue.DeepCopy() simplified, optimized 2020-06-07 01:10:32 +02:00
Jakub Míšek d12eb82751 array_merge() optimization 2020-06-07 00:16:47 +02:00
Jakub Míšek 588456e287 OrderedDictionary cleanup 2020-06-07 00:15:31 +02:00
Jakub Míšek 2e1c7f7c04 compiler: interfaces check improvements
- faster AllInterfaces
- IsOfType() respects synthesized interfaces as well
- compile time cast to IPhpCallable
2020-06-06 17:58:41 +02:00
Jakub Míšek 36fc1a63fc array_merge() cleanup 2020-06-06 10:55:22 +02:00
Jakub Míšek 02353a8571 StringBuilder object pool 2020-06-06 10:39:11 +02:00
Jakub Míšek 2a8b4e376c OrderedDictionary cleanup
- Span<T>.ToArray() instead of Array.Clone()
- cleanup
2020-06-06 10:38:47 +02:00
Jakub Míšek ea64870fe3 array_merge() cleanup 2020-06-06 09:33:54 +02:00