Skip to content
Snippets Groups Projects
  1. Jun 15, 2018
  2. Jun 14, 2018
  3. Jun 11, 2018
  4. Jun 09, 2018
  5. Jun 08, 2018
  6. Jun 07, 2018
  7. Jun 06, 2018
  8. Jun 05, 2018
  9. Jun 02, 2018
  10. Jun 01, 2018
    • Andreas Gohr's avatar
      avoid creating expensive stacktrace in dbg_deprecated() · 85331086
      Andreas Gohr authored
      now the method is aborting early again unless the data is actually used
      85331086
    • Andreas Gohr's avatar
      add method to EventHandler to check if an event is actually handled · adda4e93
      Andreas Gohr authored
      Sometimes, preparing the data for an event is expensive and only needed
      if the event is actually handled. This allows for a quick check before
      actually preparing and triggering the event.
      adda4e93
    • Andreas Gohr's avatar
      introduce INFO_DEPRECATION_LOG event · 44455016
      Andreas Gohr authored
      This adds an event to dbg_deprecated(). This allows plugins to handle
      deprecation warnings. One example would be @cosmocode/dokuwiki-plugin-sentry
      
      One thing I don't like, but don't know how to avaoid is that this
      function used to abort super early when $conf['allowdebug'] wasn't set.
      
      However for the sentry plugin you probably would want logs, but still do
      not show any debugging to end users (which allow debug would do).
      
      So now the backtrace is always built, the event triggered and then
      everything is sent to dbglog() which may simply throw everything away.
      
      Suggestions on how to improve this welcome.
      44455016
  11. May 24, 2018
  12. May 22, 2018
  13. May 18, 2018
  14. May 17, 2018
  15. May 16, 2018
Loading