ColorRepresentation: Support new color syntaxes
Recent Commits to kint:master
-
ColorRepresentation: Support new color syntaxes
-
CallFinder: Discard all parameters when parameter names are involved
CallFinder: Discard all parameters when parameter names are involved
-
CallFinder: Handle clone with
CallFinder: Handle clone with
-
Kint: Add more specific typing for getCallInfo
Kint: Add more specific typing for getCallInfo
-
ClassDeclaredContext: add proto_class to handle prot access changes
ClassDeclaredContext: add proto_class to handle prot access changes
-
CallFinder: Support pipes
CallFinder: Support pipes
-
Merge style updates
Merge style updates
-
Update sass version and port to mixin to fix deprecations
Update sass version and port to mixin to fix deprecations
-
Update dependencies
Update dependencies
-
php-cs-fixer cleanups
php-cs-fixer cleanups
-
chore: allow unsupported php version & parallel config
chore: allow unsupported php version & parallel config
-
refactor: setAccessible no longer effect since PHP 8.1
refactor: setAccessible no longer effect since PHP 8.1
-
DomPlugin: Use reflection to get fields from PHP 8.1
DomPlugin: Use reflection to get fields from PHP 8.1
-
Enable deprecation messages in test suite
Enable deprecation messages in test suite
-
ClassDeclaredContextTest: Test siblings in isAccessible
ClassDeclaredContextTest: Test siblings in isAccessible
-
CallFinder: Parse HEREDOC and NOWDOC correctly
CallFinder: Parse HEREDOC and NOWDOC correctly
-
Psalm cleanups
Psalm cleanups
-
DeclaredCallableBagTest: Fix returntype self in PHP 8.5
DeclaredCallableBagTest: Fix returntype self in PHP 8.5
-
GHA: Only do a single install step
GHA: Only do a single install step
-
Refactor github action
Refactor github action
-
Update to psalm 6
Update to psalm 6
-
rich.js: Blur search input on escape regardless of key control
rich.js: Blur search input on escape regardless of key control
-
DomPluginTest: Use DOMException
DomPluginTest: Use DOMException
-
Readme: Use standard php docs link for var_dump
Readme: Use standard php docs link for var_dump
-
IteratorPlugin: Remove unused psalm annotation
IteratorPlugin: Remove unused psalm annotation This bug doesn't occur any more due to c7874df2d85
-
DomPlugin: Add outerHTML for PHP 8.5
DomPlugin: Add outerHTML for PHP 8.5
-
CSS: Use inlined SVG masks for button icons instead of htmlentities
CSS: Use inlined SVG masks for button icons instead of htmlentities
-
JS: Performance fix for chrome
JS: Performance fix for chrome Holy performance killer batman! Chrome was updating nodelists on every change instead of batching them like firefox resulting in exponentially worse performance. (Like "This fix made it go from 40 minutes to 7 seconds" exponentially)
-
CSS: Set contain on kint dumps to help client side performance
CSS: Set contain on kint dumps to help client side performance The contain and content-visibility properties are very new and can actually break rendering entirely in different circumstances for different browsers. For now we'll stick to good old display:none and just hope contain implementations get good enough to give us some perf down the line.
-
Parser::noRecurseCall: Simplify logic
Parser::noRecurseCall: Simplify logic
-
MethodValue::getFullyQualifiedDisplayName
MethodValue::getFullyQualifiedDisplayName By splitting this out we can use it in traces for more clarity
-
Plain: Set normal line-height
Plain: Set normal line-height
-
IteratorPlugin: Relax type hint for blacklist
IteratorPlugin: Relax type hint for blacklist The old way if you want to blacklist an interface that's frequently implemented as an iterator you would run into static analysis problems.
-
AssetRendererTrait: Bugfix wrong return type with non-existent theme …
AssetRendererTrait: Bugfix wrong return type with non-existent theme file
-
Parser: Use try/finally to unset recursion stacks
Parser: Use try/finally to unset recursion stacks I was concerned this would cost a few % performance but individual tests fluctuate more than the difference so it's negligable at best
-
Parser: Catch all throwables from plugins
Parser: Catch all throwables from plugins
-
Utils::errorSanitizeString: Bugfix for empty string inputs
Utils::errorSanitizeString: Bugfix for empty string inputs
-
ClassStaticsPlugin: Rewrite without access paths on top level
ClassStaticsPlugin: Rewrite without access paths on top level
-
Add php next to CI
Add php next to CI
-
RichRenderer: Expand minitrace when dump is expanded
RichRenderer: Expand minitrace when dump is expanded
-
Various missing tests, coverage stuff
Various missing tests, coverage stuff
-
CallFinder: Add meta info for when new without parens is used
CallFinder: Add meta info for when new without parens is used
-
MethodValue rewrite
MethodValue rewrite This allows us to squeeze a lot more perf out of complex systems by omitting the access paths and depth. Effectively we can avoid cloning all methods for every instance and just reuse the existing MethodValues repeatedly. Totally incompatible with text renderers since they pretty much require depth to be set correctly
-
SplFileInfoRepresentationTest: Fixup
SplFileInfoRepresentationTest: Fixup
-
ContainerRepresentation: Always show contents size in label
ContainerRepresentation: Always show contents size in label
-
TabPluginInterface: Send value along with representation
TabPluginInterface: Send value along with representation
-
CSS: Rename --color-size to --nav-size
CSS: Rename --color-size to --nav-size It's the element that decides the height of the bar, so we shouldn't go beyond the nav in height
-
Small CSS fixups
Small CSS fixups * Solarized actually names its colors 03, 02, 01, 00, 0, 1, 2, 3 so those leading digits are actually relevant. * It turns out .kint-trace hasn't been a thing since kint 1 back in 2016 (Wow) * I'm very glad that highlight color has been broken all this time, it's horrible. Scrapped * The problem with the color preview box is that you can change the width and height, so setting a max doesn't actually solve the underlying issue. It's just hard to get the checker pattern to line up with the box it's in even if you know the dimensions.
-
migrate from scss variables to css vars instead
migrate from scss variables to css vars instead
-
CallFinder: Better literal detection
CallFinder: Better literal detection Before we'd just check if strings matched `"..."` to say it was a literal which incorrectly made things like `"$a"` out to be literals This also fixed an edge case with non-literal PHP6 style strings like `b"$a"` incorrectly not incrementing depth
-
CallFinder: More perf improvements
CallFinder: More perf improvements
-
TextRenderer::renderHeader: Small cleanup
TextRenderer::renderHeader: Small cleanup
-
SplFileInfoValue::getDisplayValue: Return short path
SplFileInfoValue::getDisplayValue: Return short path
-
Rename Kint::$app_root_dirs to Utils::$path_aliases
Rename Kint::$app_root_dirs to Utils::$path_aliases Call Utils::shortenPath now instead of Kint::shortenPath
-
DomPlugin: Put classList iterator first
DomPlugin: Put classList iterator first
-
SimpleXML: Standardize string handling
SimpleXML: Standardize string handling Since SimpleXMLElements can be cast to string there's always been this question of "Should I treat the SimpleXMLElement itself as a string?" which leads to 2 scenarios: 1. The string contents are a separate value in a toString representation, adding a level of depth. This is confusing because the string and the element will have the same name. 2. Both the attributes, the string contents, and any string representations like JSON have to be on the same element, which saves depth but can lead to even more confusion. I decided to go with 1. To fix the confusion between the two values I set the access path of SimpleXMLElements back to the element's own access path and change the name of the string value instead. Before: Name: y Path: (string) $x->y Child: Name: y Path: (string) $x->y After: Name: y Path: $x->y Child: Name: (string) y Path: (string) $x->y -
HtmlPluginTest: Coverage fix
HtmlPluginTest: Coverage fix
-
Move file_link_format to AbstractRenderer
Move file_link_format to AbstractRenderer
-
Merge dom plugins
Merge dom plugins
-
CallFinder: PHP 8.2+ performance optimization
CallFinder: PHP 8.2+ performance optimization