Skip to content
Snippets Groups Projects
  1. Oct 28, 2014
    • Adam Williamson's avatar
      use Composer autoloader not OC for non-Composer 3rdparty (#9643) · 0e3f2055
      Adam Williamson authored
      Composer's autoloader is rather better than the OwnCloud autoloader's
      handling of non-OC classes. Plus we can rely on upstream Composer to
      maintain it and not worry about it ourselves.
      
      With this change, we drop the bits of OwnCloud's autoloader that
      handled non-OC classes, and register the classes that were being
      handled by that code with Composer's autoloader instead. As these
      dependencies are converted to actually being managed by Composer,
      the explicit registrations can be dropped as they won't be needed
      any more.
      
      Since OwnCloud's autoloader isn't going to handle non-OC classes any
      more, we no longer need to test to make sure it does it right.
      
      drop unneeded registerPrefix() and registerClass() from autoloader
      
      Now we're not handling anything but OC's own classes, these are
      unnecessary.
      
      error out if composer autoloader is not found (thanks bantu)
      
      We're never going to be able to work without the autoloader, if it's not
      there we should just throw our hands up and surrender.
      0e3f2055
  2. Jun 06, 2014
  3. Jun 04, 2014
  4. May 19, 2014
  5. Oct 22, 2013
  6. Oct 01, 2013
  7. Sep 30, 2013
  8. Sep 18, 2013
  9. Aug 18, 2013
    • Markus Goetz's avatar
      Class Auto Loader: Cache paths in APC · aba64a0b
      Markus Goetz authored
      Using benchmark_single.php (from administration repo) I can
      measure a speed improvement of 5% to 20% loading the /index.php
      when logged in. (when using APC and php-fpm).
      aba64a0b
  10. Jun 10, 2013
  11. May 07, 2013
Loading