Commit Graph
100 Commits
Author SHA1 Message Date
Andrey Savchenko 70de78b276 Added psalm configuration and refined source. 2018-11-30 18:15:38 +02:00
Andrey Savchenko 4013046e4f Added return types to closures. 2018-11-30 15:05:54 +02:00
Andrey Savchenko 204c1df755 Raised PHP requirement to 7.1 and updated types.
Fixes #25
2018-11-30 13:58:53 +02:00
Andrey Savchenko cd55061e69 Added ignore plugin configuration to drop unneeded dependency bits. 2018-11-15 11:32:37 +02:00
Andrey Savchenko 9fee649a64 Adjusted how drive letter is trimmed and improved test. 2018-11-13 17:49:29 +02:00
Andrey Savchenko a2d92585ac Changed separator to horizontal line for legibility. 2018-11-13 16:38:15 +02:00
Andrey Savchenko e4af00b43e Adjusted paths to truncate for better order and drive–relative paths. 2018-11-13 16:37:33 +02:00
Andrey Savchenko 20b2a767f3 Added direct download links to readme. 2018-11-12 10:40:41 +02:00
Andrey Savchenko 4dbcddad8d Added backtrace formatter test. 2018-03-26 19:43:49 +03:00
Andrey Savchenko 5ee99cddd4 Fixed tests adding wp_normalize_path() mocks. 2018-03-19 22:44:36 +02:00
Andrey Savchenko 1f85d65b9b Added backtraces to SQL record descriptions. 2018-03-13 18:46:04 +02:00
Andrey Savchenko 1e3195ffc8 Implemented includes shortening in backtrace. 2018-03-12 22:44:01 +02:00
Andrey Savchenko 30db67c055 Added backtrace formatter class. 2018-03-09 22:07:06 +02:00
Andrey Savchenko 79ed1ffcfd Moved SQL data processing to a separate method. 2018-03-08 18:28:17 +02:00
Andrey Savchenko 6818236f83 Moved toolbar hook to later priority to capture more of other actions. 2018-03-07 18:41:24 +02:00
Andrey Savchenko c874c19c91 Updated documentation for v2 release. 2018-02-26 10:42:11 +02:00
Andrey Savchenko 221a902671 Adjusted SQL and default colors. 2018-02-26 09:17:39 +02:00
Andrey Savchenko ac0a187ec4 Excluded mustache cache from code coverage. 2018-02-23 17:06:53 +02:00
Andrey Savchenko 06d2136528 Dropped flat style from badges. 2018-02-23 17:06:37 +02:00
Andrey Savchenko beb68aede2 Added explicit PHP version requirement and updated badges. 2018-02-23 16:38:15 +02:00
Andrey Savchenko b837508181 Updated event colors. 2018-02-23 16:28:55 +02:00
Andrey Savchenko d92a778d10 Adjusted structure for PDS skeleton. 2018-02-23 15:32:18 +02:00
Andrey Savchenko 4238509861 Added PHP and core load collector. 2018-02-23 15:12:29 +02:00
Andrey Savchenko e74777c2a9 Added generic constructor–centric record class. 2018-02-23 14:40:45 +02:00
Andrey Savchenko 3cae2765cb Fixed stopwatch record duration test that didn’t test properly. 2018-02-22 18:19:34 +02:00
Andrey Savchenko 35e8caf1e4 Fixed stopwatch record test for origin time. 2018-02-22 18:04:00 +02:00
Andrey Savchenko 7cc65ca1a2 Fixed stacking of events that are just very close to each other. 2018-02-22 18:01:46 +02:00
Andrey Savchenko 1e75033f25 Normalized on operating in float seconds rather than milliseconds. 2018-02-22 13:14:15 +02:00
Andrey Savchenko 624e282905 Added container test. 2018-02-22 12:34:47 +02:00
Andrey Savchenko 56e9447dce Renamed manager tests for consistency. 2018-02-22 12:25:14 +02:00
Andrey Savchenko 560eb85f4b Added provider tests. 2018-02-22 12:23:47 +02:00
Andrey Savchenko 801f6585cb Added missing namespace in test. 2018-02-21 16:16:57 +02:00
Andrey Savchenko 61dd387484 Added SQL and iterators tests. 2018-02-21 16:12:34 +02:00
Andrey Savchenko 420305143b Added generic stopwatch collector and tests. 2018-02-20 18:09:44 +02:00
Andrey Savchenko 7020e84b2d Added hook event tests. 2018-02-19 16:50:38 +02:00
Andrey Savchenko 5ec0f6c677 Added manager tests. 2018-02-19 16:12:01 +02:00
Andrey Savchenko 1bf5e5c5ad Set up unit tests. 2018-02-16 20:19:16 +02:00
Andrey Savchenko 8cd280f12a Added inline documentation. 2018-02-14 17:54:28 +02:00
Andrey Savchenko d850fa1b02 Renamed main class to Plugin for more clear role. 2018-02-13 18:22:35 +02:00
Andrey Savchenko a19e4fb019 Moved timeline iterator to record namespace. 2018-02-13 18:18:36 +02:00
Andrey Savchenko 53efcd28af Added keys to collectors array. 2018-02-13 18:16:41 +02:00
Andrey Savchenko c74051e87d Adjusted hook events for a simpler interface and wrapped in a provider. 2018-02-13 17:26:41 +02:00
Andrey Savchenko 06e3bb4657 Added proper providers to handle registration and boot. 2018-02-13 11:37:54 +02:00
Andrey Savchenko 48b3383e06 Introduced explicit record interface for event results. 2018-02-12 18:30:00 +02:00
Andrey Savchenko ce7cf8eade Reorganized code to designate events as input and records as results. 2018-02-12 17:12:58 +02:00
Andrey Savchenko 67d686f601 Split functionality from container to manager classes. 2018-02-12 17:02:17 +02:00
Andrey Savchenko 2c074c1cea Simplified processing nested events to a single pass. 2018-02-12 15:53:40 +02:00
Andrey Savchenko a9484ed4ee Added timeline iterator for automatic splitting of nested events. 2018-02-09 18:47:13 +02:00
Andrey Savchenko bee765071b Implemented initial handling of arbitrary nesting events.
See #11
2018-02-09 15:15:23 +02:00
Andrey Savchenko baf5d293a1 Fixed screen reader text. 2018-02-08 21:17:25 +02:00
Andrey Savchenko 36e0d14c48 Fixed empty timelines filter. 2018-02-08 19:11:14 +02:00
Andrey Savchenko 228ea99b43 Dropped any events that aren't properly stopped. 2018-02-08 19:10:57 +02:00
Andrey Savchenko 79e197c4cc Moved another leftover action. 2018-02-08 18:36:31 +02:00
Andrey Savchenko 8396888ee2 Moved leftover event stop to the provider. 2018-02-08 18:10:01 +02:00
Andrey Savchenko d8febfeb3a Moved SQL events to a provider and simplified template. 2018-02-08 18:08:01 +02:00
Andrey Savchenko 31b80d0413 Adjusted from returning raw Stopwatch event objects from providers. 2018-02-08 17:07:35 +02:00
Andrey Savchenko c93249875b Changed Stopwatch service to a factory. 2018-02-08 16:20:30 +02:00
Andrey Savchenko 054bf2e0df Moved HTTP requests events to a provider. 2018-02-08 16:08:39 +02:00
Andrey Savchenko 267f389a40 Moved hooks events to a provider. 2018-02-08 15:00:57 +02:00
Andrey Savchenko 39f03e02bf Added provider interfaces. 2018-02-08 14:58:43 +02:00
Andrey Savchenko 6fc8a648ad Made main class into Pimple container. 2018-02-08 14:29:10 +02:00
Andrey Savchenko b709f968f9 Moved events classes. 2018-02-08 10:57:20 +02:00
Andrey Savchenko c966fb1552 Dropped Thematic events as the theme is obsolete. 2018-02-07 22:55:51 +02:00
Andrey Savchenko 62ea1f4246 Changed main class to concrete instance. 2018-02-07 22:08:41 +02:00
Andrey Savchenko 9527ad1508 Bumped Stopwatch version and updated dependencies. 2018-02-07 21:57:19 +02:00
Andrey Savchenko a77dd9e4c8 Renamed class files for PSR-4. 2018-02-07 21:53:22 +02:00
Andrey Savchenko 03ff2b61ff Updated header version to 1.4.4 2017-07-05 21:45:39 +03:00
Andrey Savchenko 3c0ae866e0 Added Robo tag task and updated changelog for 1.4.4
Fixes #10
2017-07-05 21:45:27 +03:00
Andrey Savchenko d2bece68e5 Added sanity check for invalid priority returned by core
Fixes #9
2017-06-28 14:25:45 +03:00
Andrey Savchenko f50faf6ba6 Added downloads badge to readme. 2016-12-06 21:32:31 +02:00
Andrey Savchenko bca3f42ee5 Updated version and change log for 1.4.2 release. 2016-12-02 19:18:58 +02:00
Andrey Savchenko 68302633c0 Restored functionality on WP 4.7 beta with new current_priority() method. 2016-12-02 19:18:41 +02:00
Andrey Savchenko 67ad1370ef Added Scrutinizer badge to readme. 2016-12-01 22:10:39 +02:00
Andrey Savchenko 4b7ee062c8 Updated change log and version for release 1.4.1. 2016-12-01 20:35:19 +02:00
Andrey Savchenko 2e7a948bfe Added access modifier to methods. 2016-12-01 20:34:15 +02:00
Andrey Savchenko 68ae657962 Added check for Toolbar event start before closing it. 2016-12-01 20:33:55 +02:00
Andrey Savchenko 3edaf2dbc9 Added check for hook priority failing on WP 4.7. 2016-12-01 20:30:48 +02:00
Andrey Savchenko fa155f00e7 Fixed return type hint. 2016-12-01 20:30:15 +02:00
Andrey Savchenko 82b3d1e4e3 Moved license to a separate file. 2016-12-01 20:29:52 +02:00
Andrey Savchenko 0984debd79 Release 1.4 2016-10-01 20:17:36 +03:00
Andrey Savchenko 2ddbd04b29 Colorized SQL writes as warnings. 2016-10-01 20:16:17 +03:00
Andrey Savchenko a16eebd026 Corrected change log heading markup. 2016-10-01 15:34:47 +03:00
Andrey Savchenko 274d294a65 Added screen reader text to events. 2016-10-01 15:29:06 +03:00
Andrey Savchenko ec5adbf47a Recompiled assets. 2016-10-01 14:59:11 +03:00
Andrey Savchenko b26ea48216 Updated dependencies. 2016-10-01 14:58:55 +03:00
Andrey Savchenko 711371c226 Removed release Robo task. 2016-10-01 14:52:48 +03:00
Andrey Savchenko 72ff60fe6e Updated change log to keepachangelog format. 2016-10-01 14:51:22 +03:00
Andrey Savchenko 357753f84b Updated changelog and version for 1.3.2 2015-08-27 14:06:08 +03:00
Andrey Savchenko 9d1dddb462 Normalized slashing on adding files to release zip file. 2015-08-27 14:05:48 +03:00
Andrey Savchenko d88a566aee Fixed dynamic method call to prevent crash on PHP 7. 2015-08-27 14:05:19 +03:00
Andrey Savchenko b976b26454 Updated version in header 2015-08-15 21:06:35 +03:00
Andrey Savchenko a00b11f78a Updated changelog for 1.3.1 2015-08-12 00:15:24 +03:00
Andrey Savchenko 32f300af7f Added check to catch event stops without matching starts
Fixes #7
2015-08-12 00:14:33 +03:00
Andrey Savchenko a3572063d2 Updated changelog and version 2015-06-12 22:06:33 +03:00
Andrey Savchenko e8f8e9a4b6 Implemented release command in robo 2015-06-12 21:06:07 +03:00
Andrey Savchenko cf44efbe64 Added version getter to robo file 2015-06-12 21:05:50 +03:00
Andrey Savchenko 2289923666 Updated main file for code style 2015-06-12 21:05:24 +03:00
Andrey Savchenko b82cd35cf8 Updated gitignore 2015-06-12 20:58:52 +03:00
Andrey Savchenko 8e441c935f Added task to set plugin version 2015-06-11 17:23:31 +03:00
Andrey Savchenko 7dfea751f5 Made method calls more compact 2015-06-11 12:40:19 +03:00