1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-17 05:18:32 +01:00

713 Commits

Author SHA1 Message Date
Barry vd. Heuvel
40f375504a
Skip decimals if < 100ms v1.16.2 2020-04-16 11:05:52 +02:00
Barry vd. Heuvel
2009a5854c
Round memory 2020-04-16 11:02:46 +02:00
Barry vd. Heuvel
fe37f04898
Use short PHP version 2020-04-16 11:00:16 +02:00
Tristan Mouchet
c5354a7eaa
Fixing JavaScript error (Internet Explorer) (#441)
Fixing a JS error preventing the debug bar to be displayed on Internet explorer.
2020-04-13 20:04:03 +02:00
Steve Lacey
a6ada3bcf7
Fetch documentation (#438) 2020-02-29 09:51:22 +01:00
Jerzy Zawadzki
58998b818c Symfony 5 support added (#431) v1.16.1 2019-11-24 10:46:11 +01:00
Barry vd. Heuvel
6ca3502de5
Update .travis.yml v1.16.0 2019-10-18 16:34:16 +02:00
Barry vd. Heuvel
a33fdc5e20
Update composer.json 2019-10-18 16:33:49 +02:00
Eimantas Kateiva
2419fad15d Add void return type hint for MonologCollector::write() (#427)
The method signature has changed in v2. The diff: https://github.com/Seldaek/monolog/compare/1.25.1...2.0.0#diff-d1d031ebe96084844fb53eb650bc404eR50
2019-10-18 15:50:24 +02:00
Barry vd. Heuvel
b0efa3b790
Update .travis.yml 2019-10-18 15:49:50 +02:00
Barry vd. Heuvel
373f6af121
Update composer.json 2019-10-18 15:48:34 +02:00
leomoty
ade2a1ac1d Deprecate TwigCollector and friends (#425)
* Update twig demo to use TwigProfileCollector

* Update documentation on twig bridge collector

* Deprecate TwigCollector
TraceableTwigEnvironment and TraceableTwigTemplate
2019-10-09 21:34:41 +02:00
Steve Lacey
6c4277f611 Fetch support (#422) v1.15.1 1.15.1 2019-09-24 16:55:42 +02:00
Claas Augner
2a95c20da4 docs: addException => addThrowable (#419)
ExceptionsCollector->addException() is deprecated since #281.
2019-09-05 15:46:04 +02:00
Karel Faille
e9d3263a1c Force open handle font color (#418)
When the underlying website uses a white font color (dark theme...) the content is not visible.
2019-08-05 20:50:57 +02:00
Nicolas Ettlin
5d44b5e5bc Fix PHP example code in documentation (#412) 2019-03-22 20:37:57 +01:00
Guilherme Pressutto
b7d6e3558b Using ns-resize cursor (#401)
Since it can be resized both up and down.
2019-02-27 09:22:55 +01:00
Igor Santos
056bd60acb Improving some PHPDoc types and array notation for readability (#404) 2019-02-27 09:22:11 +01:00
Jonathanm10
3169ed558d Add stack trace to exceptions (#397) 2018-11-12 15:09:41 +01:00
s4muel
b49e46a266 truncate the filename part in the dataset title if its too long (#391)
fixes #386
i had the same issue, very annoying indeed. firefox doesn't crash. i tried to disable the hardware acceleration in chrome, seemed promising, but did't solve that.

i suppose this PR is not the quality for a permanent fix (sorry for that), but i hope someone more skilled can improve the PR.
2018-08-14 11:17:28 +02:00
Thiago Guimarães
4048ff47ed Bug fix repead params sql (#387)
* Bug fix repead params sql

* Fix array

* Fix array
2018-05-19 19:41:13 +02:00
Barry vd. Heuvel
7702b864a3
Update composer.json 2018-05-12 22:42:30 +02:00
Barry vd. Heuvel
3688159707
Update .travis.yml 2018-05-12 22:38:43 +02:00
Barry vd. Heuvel
f3d4a0c549 Update jQuery to v3 2018-05-12 22:31:57 +02:00
David
fa9d99d7c3 Aggregate Timeline Measures (#287) 2018-05-08 10:40:56 +02:00
Sergey
a406cbded3 Fix maximize-btn then 'phpdebugbar-tab' does't set. (#376) 2018-04-16 21:36:50 +02:00
Noah Heck
3f311533b5 Traced statement interpolation fixes (#381)
* Prevent back reference issues in TracedStatement

* Prevent substring replacement

If a previously replaced value in the query string contains the placeholder
for a future replacement, the string inside was being replaced
Also, PHP allows the bindParameter syntax to omit the leading ':', so we
test to make sure it's there and add it if not
2018-04-16 21:36:29 +02:00
Barry vd. Heuvel
afa317dea9
Update composer.json 2018-04-16 20:57:46 +02:00
Stefan Kowalke
a69340426c Add link to TYPO3 integration (#378) 2018-04-09 14:22:09 +02:00
Drew McLellan
119ae50cbe Check that xdebug_link isn't null (#377)
Sometimes `tpl.xdebug_link` is defined, but has a null value, which causes a check for `.ajax` to throw an error.
2018-02-01 08:52:20 +01:00
Barry vd. Heuvel
30e7d60937
Update JavascriptRenderer.php v1.15.0 2017-12-15 12:13:46 +01:00
Wes Hooper
2b70299ae3 Unit of measurement is redundant in CSS (#372)
PhpStorm picked this up while inspecting our codebase.
2017-12-15 12:13:05 +01:00
Tim Riemenschneider
50d0c2a05a Feature/twig profiler (#362)
* Use Twig_Extension_Profiler as data-source

* Add documentation for TwigProfileCollector

* Add DebugBar\Bridge\Twig\TimeableTwigExtensionProfiler to measure rendering

* Fix & enable xdebug-link-generation in ExceptionsCollector

* Enable xdebug-link-generation to TwigProfileCollector

(An instance of the Twig_Environment or the Twig_Loader has to be passed to
the collector, to be able to resolve the templatename to the filename)

Add "ajax"-attribute to xdebug-links (IDEA / PhpStorm-Links should be opened by ajax)
2017-12-15 12:11:24 +01:00
Tobias Nyholm
42b6df1976 Support for Symfony 4 (#370) 2017-12-15 12:09:52 +01:00
Dmytro Ilnicki
64251a3923 RedisStorage performance fix (#357)
Patch increases possible number of records stored and loaded from Redis DB by separating metadata and collector's data and storing them in different hashes.
v1.14.1
2017-09-13 14:19:36 +02:00
Robbie Averill
9640a66b9c Fix remove square bracket array declaration for PHP 5.3 compatibility (#360)
* Fix remove square bracket array declaration for PHP 5.3 compatibility

* Use dist: precise on Travis to ensure PHP 5.3 compatibility
2017-09-13 14:19:07 +02:00
Dmytro Ilnicki
82a53b6ed8 Added sorting for RedisStorage (#354) 2017-08-31 11:05:54 +02:00
Thiago Guimarães
e23a98f2d6 Create feature copy query to clipboard (#352)
* Bugfix getSqlWithParams ReplacementParamsQuery

* backward compatibility

* Copy query to clipboard feature

* remove space
v1.14.0
2017-08-17 09:17:00 +02:00
Alexander Menk
65ad97c307 Add Xdebug Link functionality (#303)
https://github.com/barryvdh/laravel-debugbar/issues/566
2017-08-17 09:15:24 +02:00
Except10n
3c82244dff Remove Predis object limited (#319) 2017-08-17 09:09:22 +02:00
ljyf5593
9e79da3d29 fixed in ajax mode the pdo collector maybe empty (#349)
if the pdo collector is empty, the script will be throw error
2017-08-17 09:09:07 +02:00
Thiago Guimarães
3e3dad6f9a Bugfix getSqlWithParams ReplacementParamsQuery (#351)
* Bugfix getSqlWithParams ReplacementParamsQuery

* backward compatibility
2017-08-14 10:46:50 +02:00
James Johnston
370af31f14 Fix broken top-level style name (#348)
The top-level debug bar style is 'phpdebugbar' not 'debugbar'.  This was
preventing rendered HtmlDumper dumps from styling correctly.
2017-07-28 08:38:23 +02:00
Barry vd. Heuvel
379e716528 Rename case 2017-07-25 14:53:10 +02:00
Barry vd. Heuvel
43386369d8 Split classes, tweak vardumper css 2017-07-25 14:38:42 +02:00
Barry vd. Heuvel
1fd5af226f Show php version 2017-07-21 15:10:52 +02:00
Barry vd. Heuvel
c57c644959 Update bower deps 2017-07-21 14:59:37 +02:00
Barry vd. Heuvel
b353a3197c Update composer.json 2017-07-21 13:47:39 +02:00
James Johnston
35fa8abe90 Use new HtmlVariableListWidget with collectors (#346)
Introduce a new HtmlVariableListWidget that is similar to
VariableListWidget but for variables with HTML contents.

Update the collectors that use the existing VariableListWidget to use
DebugBarVarDumper to dump the variables using the VarDumper HtmlDumper.
Because many debug bar users may not yet support inline static assets,
default to use the old VariableListWidget for now.

Updated collectors:

* ConfigCollector
* RequestDataCollector
2017-07-21 13:35:58 +02:00
James Johnston
54214dadb6 Update MessagesCollector to support HTML var dumping (#345)
Use the new DebugBarVarDumper class to support dumping variables in
interactive collapsible HTML; the new useHtmlVarDumper() function will
enable this.

Since this will require users to handle the new inline assets provided
by the JavascriptRenderer, make this dumping format optional and default
to the old behavior for now.
2017-07-21 13:35:32 +02:00