aboutsummaryrefslogtreecommitdiffstats
path: root/lib/autoloader.php
Commit message (Collapse)AuthorAgeFilesLines
* Happy new year!Thomas Müller2016-01-121-3/+4
|
* Move lib/repair to lib/private/repairMorris Jobke2016-01-071-3/+0
|
* Revert "Dont bother with stream_resolve_include_path if the path is already ↵Vincent Petry2015-11-291-5/+1
| | | | absolute"
* Dont bother with stream_resolve_include_path if the path is already absoluteRobin Appelman2015-11-271-1/+5
|
* [autoloader] Make sure to load construct full pathsRoeland Jago Douma2015-11-061-8/+24
| | | | | This reduces a lot of the autoloader magic and makes sure that we generate full paths in the autoloader.
* Update license headersLukas Reschke2015-10-261-0/+1
|
* Remove dead codeLukas Reschke2015-10-251-8/+7
| | | | Those variables are never written to. Thus this is dead code which should be removed.
* deduplicate @xenopathicMorris Jobke2015-10-061-1/+1
|
* update licence headers via scriptMorris Jobke2015-10-051-0/+1
|
* Restore loadApp() autoload registrationRobin McCorkell2015-09-161-3/+6
| | | | | Also changes the autoloader validRoots into a hashmap to try and reduce duplicate entries
* Unique exception for invalid autoload paths, better handlingRobin McCorkell2015-09-051-1/+3
| | | | | Background jobs are tolerant of stale entries left by disabled apps, which will cause an autoload exception.
* Resolve autoloader valid roots before checkingRobin McCorkell2015-09-051-1/+1
| | | | Allows symlinked app directories to work properly
* Show the path as part of the exception for not allowed autoloading pathsRobin Appelman2015-09-011-1/+1
|
* verify the path in the autoloaderRobin Appelman2015-09-011-1/+32
|
* Remove OC_LogThomas Müller2015-07-031-1/+1
|
* Update license headersJenkins for ownCloud2015-03-261-4/+23
|
* Revert "Updating license headers"Morris Jobke2015-02-261-23/+5
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-5/+23
|
* use Composer autoloader not OC for non-Composer 3rdparty (#9643)Adam Williamson2014-10-281-28/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* add additional type checkGeorg Ehrke2014-06-061-1/+1
|
* update autoloaderGeorg Ehrke2014-06-041-6/+5
|
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-1/+1
| | | | * test case added to avoid adding them later
* Allow null as cache parameter (if no cache was found) and for cache removal.Andreas Fischer2013-10-221-1/+1
|
* Only write-back on cache miss.Andreas Fischer2013-10-221-3/+3
|
* Inject memoryCache into Autoloader. Remove recursion-prevention hack.Andreas Fischer2013-10-221-27/+28
|
* Merge pull request #5071 from owncloud/fix-autoloader-masterThomas Müller2013-10-021-0/+1
|\ | | | | Fix autoloader regression
| * Fix autoloader regressionVictor Dubiniuk2013-10-021-0/+1
| |
* | Merge branch 'master' into fixing-4620-masterThomas Müller2013-10-011-3/+3
|\|
| * move the private namespace OC into lib/private - OCP will stay in lib/publicThomas Müller2013-09-301-3/+3
| | | | | | | | | | Conflicts: lib/private/vcategories.php
* | in case the cache cannot be initialized within the autoloader we just shoul ↵Thomas Müller2013-09-181-1/+5
|/ | | | not use it
* Class Auto Loader: Cache paths in APCMarkus Goetz2013-08-181-1/+25
| | | | | | 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).
* Let's just use '/' as we do almost everywhere - this change fixes two ↵Thomas Mueller2013-06-101-2/+2
| | | | failing unit tests
* Autoloader: fix loading app clases located in lib/Robin Appelman2013-05-081-5/+6
|
* Autoloader: load the 3rdparty libraries using prefixesRobin Appelman2013-05-071-17/+16
|
* Autoloader: add support for custom namespace pathsRobin Appelman2013-05-071-1/+19
|
* Autoloader: split getting the class paths and loading the classRobin Appelman2013-05-071-7/+20
|
* Allow disabling the global classpath in an autoloaderRobin Appelman2013-05-071-3/+19
|
* Allow the autoloader to try mutliple possible paths for each pathRobin Appelman2013-05-071-24/+17
|
* Add per-autoloader classPathRobin Appelman2013-05-071-3/+24
|
* Move autoloader to it's own classRobin Appelman2013-05-071-0/+65