| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I62ba23bd22e0f177fb48acaf6bcc38cbffacd3e7
|
|\ |
|
| |
| |
| |
| | |
Change-Id: If2b56935b8e89c4a2f3b9d0c790bbd6d6d88c520
|
| |
| |
| |
| |
| |
| | |
Fix trailing whitespace
Change-Id: I53abf75e142f0166032b98e4adb3dabe06643017
|
| |
| |
| |
| | |
Change-Id: I1eba3eb44ebef02c771b518c2bcbdc0d41eb8086
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Throttled key lock polling and changed the key locking to happen in sorted key order.
This should reduce deadlocks and wasted RTTs for frequently used items.
* Also tweaked the wfRandomString() argument to be 32 (128 bit).
Change-Id: I12bbc988251ad3c895aa40a08b0215b2bcdb5e4f
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When inserting XML elements inline <such as this one>, doxygen chokes
about it not being known. Simply enclosing the tag in double quotes
prevents doxygen from emitting a warning.
Also enclosed a few invalid functions calls such as \. and double quoted
the HTML entities such as &foobar;
Change-Id: I4019637145e683c2bec3d17b2fd98b0c50a932f1
|
|/
|
|
| |
Change-Id: I730c8b078b9f3a0ad73b1b0887a8c991c9d81bde
|
|
|
|
| |
Change-Id: Ie99a7f1335bb5cceb0cb1c33a40094b3a22101ea
|
|
|
|
| |
Change-Id: I4031085faef4a1a7ce49dbeeb0b3ddf94d41132c
|
|
|
|
|
|
|
|
| |
* If PHPUnit converts warnings to exceptions, any I/O warnings can throw
exceptions which leave locksHeld in an inconsistent state, breaking the
__destruct() function. This commits reorders the variable update slightly.
Change-Id: I5deac811e7b4d0bc71f3d4096b8d72711904a444
|
|
|
|
|
| |
Revert "Revert to arbitrarily old point before initial remote branch creation to help clean up"
This reverts commit ee0d3d330f76b97c451c168dc9b052ee84609b5b
|
|
|
|
|
|
| |
help clean up
Change-Id: I41a3d1e55d3ea9dffa42451237fe065f9334361d
|
|
|
|
| |
Change-Id: I019d24c19f317eb649b5a0415618b453e1ea171b
|
|
|
|
| |
Change-Id: Ie48852acb434f6b62fda0b13b13e076f833d8975
|
|
|
|
|
|
|
|
|
|
| |
* Fixed unlocking logic in FSLockManager for case when an EX lock was made, then an SH one, and then the EX one was "unlocked"
* Avoid hiding useful unlink() warnings in FSLockManager
* Reduced locking use in test cleanup code
* Added a simple testLockCalls() test function
* Made a few cleanups & fixes to backend tests
Change-Id: I1110d9b537c450d9feca5a2fb35519c22435e81d
|
|
|
|
|
|
| |
Also made file/class documentation more consistent.
Change-Id: Iad15427368d13a6cc11c8512b7265e8c7b8878a5
|
|
|
|
| |
Change-Id: Ib4a716867b12be2cef90f87bc77c22ea2d890261
|
|
|
|
|
|
|
| |
instead of /tmp, this is not allowed. I'm not sure what setupGlobals() is meant to do nowadays, that part is untested. It seems to be duplicated in ParserTest::__construct().
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/114224
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/112984
|
|
|
|
|
|
|
|
| |
* Various documentation improvements.
* Moved a few protected FileBackendStoreShardListIterator functions down. Same with normalizeContainerPath().
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/112958
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/112866
|
|
|
|
|
|
|
| |
DatabaseBase::rollback()
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/112443
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/111101
|
|
|
|
|
|
|
|
|
| |
bool" and then the metadata can say true if foo, false if bar
Other documentation improvements
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/111053
|
|
|
|
|
|
|
|
|
| |
bool" and then the metadata can say true if foo, false if bar
Other documentation improvements
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/111049
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/110938
|
|
|
|
|
|
|
| |
FSLockManager::doLock(). This was from before referencing counting was used.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/110714
|
|
|
|
|
|
|
| |
Fix whitespace
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/110125
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Ternary operator avoided a call to wfWikiID()
* We really want to explicitly choose the manager
use LockManagerGroup->get( 'nullLockManager' )
* defaultConfig no more needed if it handles just one parameter that
we want to set explicitly
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/109855
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/109814
|
|
|
|
|
|
|
|
| |
* Made DBLockManager constructor a bit more convenient to use with just 'localDBMaster' in the db buckets.
* Documentation tweaks.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/108891
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Made secure() call doPrepare() for caller dummy proofing (especially those that don't check the status).
In FSFileBackend:
* Removed redundant wfMkdirParents() calls in FSFileBackend, we already have prepare() for this purpose. This also keeps it's behavior more consistent with the other backends.
* Made use of 'backend-fail-store' message in doStoreInternal().
Other:
* Updated unit tests and renamed $src => $source in some functions for consistency.
* Added some documentation comments and @since tags.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/108878
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/108745
|
|
|
|
| |
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/108743
|
|
|
|
|
|
|
| |
* Various documentation cleanups.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/108304
|
|
|
|
|
|
|
| |
Mainly indexes in foreach loops
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/107791
|
|
|
|
|
|
|
| |
Fix documentation
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/107680
|
|
|
|
|
|
|
|
|
| |
of the resource paths.
* Removed lockmanager-fail-acquirelocks message; a series of lockmanager-fail-acquirelock messages are now used instead.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/107197
|
|
|
|
|
|
|
|
|
| |
* Only use hash keys later on in the data flow rather than right when doLock() is called. This allows for error messages in Status objects to use human readable paths rather than ugly hash keys.
* Moved $locksHeld declaration duplication up to the base class.
* Fixed __destruct() in FSLockManager to not use bogus doSingleUnlock() lock type parameter.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/107193
|
|
|
|
|
|
|
|
|
|
|
|
| |
FileBackendGroup. Deferred registration of file backends and lock managers to the respective singleton() functions for the group objects.
* Refactored FileRepo::initZones() to require the specific zones; nothing was using it differently.
* Removed deleted zone check in deleteBatch(), a similar error will instead trigger with the initZones() call as needed.
* Added $wgLocalFileRepo comment.
* Updated tests.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/107028
|
|
|
|
|
|
|
| |
this masks important error messages
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/106757
|
|
changes SVN likes to sprinkle in (easy to spot from the change list). Did not add SwiftFileBackend.php as it still is in development.
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/106752
|