Commit graph

452 commits

Author SHA1 Message Date
jenkins-bot
1b8eac21ab Merge "A few more DBLockManager fixes and cleanups" 2016-08-24 03:15:31 +00:00
Aaron Schulz
de1044de2c Fix broken lockmanager-fail-releaselock status messages
Change-Id: Icb0cfa6e38bc81c35430023afe50dd94ef3b2013
2016-08-23 16:05:05 +00:00
Aaron Schulz
8f47c177e3 A few more DBLockManager fixes and cleanups
* Do not do the connection init step if the same DB handle as
  wfGetDB( DB_MASTER ) is being used to avoid clobbering it.
* Remove begin(), since only one of the subclasses wants
  transactions. That one now uses startAtomic() now.
* Make getConnection() throw an error for bad config instead
  of return null, which was not documented or expected.

Change-Id: Ib09a7972d6569c29e83e329a8f7f9f47a393b896
2016-08-22 22:05:47 -07:00
Aaron Schulz
7f3faf091f Split DBLockManager classes into their own files
Change-Id: If903a90a5be2d6ff11504d34eb125e86c1ab1191
2016-08-20 10:33:37 -07:00
Aaron Schulz
8ad0394d69 Fix DBLockManager comments
Change-Id: I5431caf4b80995c71d4bc5ab739954d70081111a
2016-08-15 14:29:04 -07:00
Aaron Schulz
8b15f8456f Unbreak "localDBMaster" mode in MySqlLockManager by using a separate connection
Change-Id: I4f9328e1555d814e0849cea86aca20896c6dfacf
2016-07-29 19:18:58 -07:00
Aaron Schulz
20c5c48bb1 filebackend: Fix DBLockManager IDEA warnings
Change-Id: I5e671bcee0915f65082c139be8f42aafad6413f1
2016-07-22 23:37:37 +00:00
Aaron Schulz
d42a05475a Added Range support to FileBackend::streamFile()
* Added HTTP options headers parameter to streamFile().
* Refactored doStreamFile() to either call StreamFile::stream()
  or delagate that to the subclass. SwiftFileBackend now relays
  the full Swift response rather than manually making the headers.
  This also makes Range headers easy to support.
* Made use of this in img_auth.php for performance on private wikis.
* Elimate stat call in streamFile() for Swift if "headers" is empty.
* Refactored StreamFile a bit to inject request headers instead
  of using the $_SERVER global. A header options parameter is used
  instead, which also supports Range.
* Removed now unused prepareForStream().
* Cleaned up streamFile() unit tests.

Change-Id: I2ccbcbca6caabb8cf65bd6b3084cede2e6ea628a
2016-06-04 05:43:43 -07:00
Aaron Schulz
7ed633595d Log when resyncFiles() fails in FileBackendMultiWrite
This distinguishes cases that recover from sync errors
from those that do not.

Change-Id: Ibcdea18041e7344077c8308359a1a6087139f2e0
2016-04-29 12:16:13 -07:00
Aaron Schulz
48fc04e656 Optimize consistencyCheck() in FileBackendMultiwrite
doOperationsInternal() already set "preserveCache" but never actually
filled it in to begin with. This should lower round trips if sync checks
are enabled.

Change-Id: Ica67b8d66e7602faed842408365edbd466688f61
2016-04-27 05:18:25 +00:00
jenkins-bot
8f96f8f411 Merge "More FSFile docs" 2016-04-12 22:41:54 +00:00
Aaron Schulz
8cec086be0 filebackend: Make resyncFiles() easier to use
Pass in the resync mode as a flag instead of using
the object instance.

Change-Id: I2da661a65afd712403db936b6e31fba8e8069096
2016-04-12 21:17:51 +00:00
Aaron Schulz
b33df614b7 More FSFile docs
Change-Id: I1ca3e0bc9d5db4ca043f313fb15a780ae102c50a
2016-04-12 14:13:53 -07:00
Max Semenik
943563062f Kill mbstring fallbacks
In the age when we require PHP 5.5, pretending that mbstring emulation
is not slow and silly is silly.

Bug: T129435
Change-Id: Ic8235c9da9a926df63ec7388900c44eab454eebe
2016-04-06 22:14:48 +00:00
Reedy
b5656b6953 Many more function case mismatches
Change-Id: I5d3a5eb8adea1ecbf136415bb9fd7a162633ccca
2016-03-19 00:20:58 +00:00
Aaron Schulz
a14ef91251 Add FileOperationReplication log to improve multiwrite backend logging
Change-Id: I541eac740f4a07182067294c9597cdd49330e86c
2016-03-07 13:55:27 -08:00
jenkins-bot
7e6a9ce4ad Merge "filebackend: Clean up TempFSFile and fix IDEA errors" 2016-03-03 01:38:05 +00:00
Aaron Schulz
b3c80a0ff5 filebackend: Clean up TempFSFile and fix IDEA errors
Change-Id: I4e25e3bf906fa3a918f4462fac1a6be5e85696aa
2016-03-03 01:25:37 +00:00
Aaron Schulz
a5d903860a Allow FSFile objects for src in FileBackend::do*Operations
Convenience aside, this lets multiwrite backends do async replication for
"store" operations safely, buy keeping a handle to the source file that
prevents it from getting prematurely deleted before the post-send writes
to the secondary backends can happen.

Bug: T91869
Change-Id: I1254de527c47835c35fed6e526b42953c1b2b2ca
2016-03-02 18:49:56 +00:00
Bartosz Dziewoński
c161c46d26 Improve code suffering from PHP 5.3's lack of support for foo()[]
I searched for /\$(\S+) = (.+?\(.*?\);)\n.*?\$\1\[/, ignored
everything involving isset(), unset() or array assigments, then
skimmed through the remaining results and changed things where they
made sense. These changes were not automated, so please review them.

Change-Id: Ib37b4c66fc57648470f151ad412210b3629c2538
2016-02-28 22:49:20 +01:00
Aaron Schulz
c0446571d5 Use sync writes for replication of 'store' operations
The local temporary file might not live long enough to be
copied into storage during post-send.

Bug: T128124
Change-Id: Ifb5260958db008ec8b9f4db90f95a42e5ecaeadc
2016-02-27 00:20:13 +00:00
Kunal Mehta
6e9b4f0e9c Convert all array() syntax to []
Per wikitech-l consensus:
 https://lists.wikimedia.org/pipermail/wikitech-l/2016-February/084821.html

Notes:
* Disabled CallTimePassByReference due to false positives (T127163)

Change-Id: I2c8ce713ce6600a0bb7bf67537c87044c7a45c4b
2016-02-17 01:33:00 -08:00
Ricordisamoa
b982fbbd07 Stop doing $that = $this in includes/filebackend
Closures support $this as of PHP 5.4

Change-Id: Ib11139ec81336710c22146f9ff714e8afd3aa2cf
2016-02-10 18:33:52 +01:00
jenkins-bot
3639bb8736 Merge "Fix some FSFileBackend IDEA errors" 2015-12-31 01:18:46 +00:00
Aaron Schulz
1e03c50891 Fix some FSFileBackend IDEA errors
Change-Id: I372ad7af21f223b670498ac17ecac90918ceb2a8
2015-12-29 01:46:05 -08:00
Aaron Schulz
d1f9b125f9 Fix some FileOpBatch IDEA errors
Change-Id: Idd670054b2e257255da18bb8e7048ea9041be269
2015-12-29 01:34:22 -08:00
Reedy
00c426e3c2 Replace wfBaseConvert with Wikimedia\base_convert
Change-Id: Iadab3d018c3559daf79be90edb23d131729bdb68
2015-11-24 22:51:42 +00:00
umherirrender
78328dee73 Use Database::fetchRow instead of array cast
Change-Id: I71435955de604a9b3c2b2570e144b55b35421e4c
2015-11-20 20:44:56 +01:00
Aaron Schulz
ddd2454967 Make Swift iterators throw errors on failure
This is in line with FSFileBackend and is provides the calling
loop of a way to know the listing failed, rather than just
giving incomplete information.

Change-Id: I34c66d9dbf84e5f33982d17e61364c1595d3e9f7
2015-11-06 16:10:05 -08:00
jenkins-bot
b85aeec5e2 Merge "Improve MIME detection in FileBackend" 2015-11-03 11:10:41 +00:00
Timo Tijhof
8a821011ce Remove getLocalServerInstance try/catch in UIDGenerator and DBLockManager
Follows-up 17c91ad610 in which the exception was removed.

Change-Id: If0c8465d0e04f69f29f3f2602dac7ae4538f7542
2015-11-02 22:16:05 +00:00
Aaron Schulz
17c91ad610 Replace newAccelerator() with getLocalServerInstance()
The name is clearer and more consistent, with simpler arguments.

Change-Id: I7205a99ce033e8b086a52cd02c8a721e99c84b1e
2015-11-02 21:39:08 +00:00
Aaron Schulz
de290cd02d Improve MIME detection in FileBackend
The content type detector will now inspect the file contents
to better handle extensionless files.

Also dependency inject the callback and make the default one
use FileInfo.

Change-Id: Iad59bf6c6a416b706f976a4c425763fd30e2debb
2015-11-02 00:36:54 +00:00
Aaron Schulz
642ca3862b Normalize header case for FileBackend operations
Normalize all headers to lower case at the start of the
FileBackend operation methods. This makes it easy for
subclasses to check for certain headers, e.g. content-type.

Change-Id: Ia69976326d17a51bcaa61f2781aa669ae7bd9c28
2015-10-27 12:34:35 -07:00
jenkins-bot
8ab6c38d4f Merge "Make Swift backend respect Content-Type in create/store" 2015-10-27 10:40:11 +00:00
Aaron Schulz
8c4e6beaf3 filebackend: Remove some old Content-Disposition b/c code
Change-Id: I6af4a84bd549e2bfb1b110fa790f499d144f236b
2015-10-26 18:16:27 +00:00
Aaron Schulz
0e3bfab533 Make Swift backend respect Content-Type in create/store
Change-Id: I479d1fc4f261bdcdc380404db0cb2f2397877759
2015-10-26 11:16:18 -07:00
Aaron Schulz
5262d41a6c Minor fix to primeFileCache() comment
Change-Id: I7d040c5a914574df72fa31612df0eb28e15fd46c
2015-10-23 17:18:56 -07:00
Aaron Schulz
72734cfffa Replace some calls to wfGetMainCache()
Change-Id: I9ba8fd5918877af6312b0854634bd36211438f00
2015-10-20 23:52:07 -07:00
Aaron Schulz
7c07943eab Update more docs and type hints to use IDatabase
Change-Id: I8c8d85b32a8aba21e14d2a2dde4c25eb509186c1
2015-10-06 18:49:52 -07:00
Aaron Schulz
28194278ea Fix duplicate automatic file backend bug
Follow-up 8a3816529a

Bug: T114810
Change-Id: I2706c90077627b3df35fe530e0a919cfd0a75d78
2015-10-06 14:50:12 -07:00
Aaron Schulz
8a3816529a Apply $wgReadOnly to all file backends
* Also added a wfConfiguredReadOnly() method
  to avoid DB_SLAVE connections

Change-Id: I9e7ec95c4b2f763505166d2345d27abaef6257a3
2015-10-03 00:15:28 +00:00
Aaron Schulz
169b7b98b5 Added replication=async option to FileBackendMultiWrite
* This will defer writes to non-master backends till the
  end up the web request. This is useful for multi-DC setups.

Bug: T112708
Change-Id: I118c07764dd4a4f4f2590d4548238df12860e750
2015-10-01 23:30:41 +00:00
Aaron Schulz
64c78c5e1e Set getFeatures() for MemoryFileBackend
Change-Id: I565e2e2c8a4a89c6706349a4ef9826f87445d1d2
2015-09-21 15:04:12 -07:00
jenkins-bot
b3fdef18a1 Merge "Added readAffinity flag to FileBackendMultiWrite" 2015-09-21 12:20:45 +00:00
jenkins-bot
d9859b32cd Merge "Removed old "noPush" config hacks from FileBackendMultiWrite" 2015-09-21 09:40:43 +00:00
jenkins-bot
de82ab7c24 Merge "Prevent IDEA error in doOperationsInternal()" 2015-09-21 09:31:01 +00:00
jenkins-bot
e5454da763 Merge "Removed unused LockManager var" 2015-09-21 09:29:47 +00:00
jenkins-bot
8d13ffae12 Merge "Made some FileBackendMultiWrite docs more accurate" 2015-09-21 09:29:24 +00:00
Aaron Schulz
fb0994d5c5 Prevent IDEA error in doOperationsInternal()
Change-Id: I2f0a1885803fff9dc0eb8ca4a595a83736ce421b
2015-09-20 23:04:29 -07:00
Aaron Schulz
639388755c Removed unused LockManager var
Change-Id: I02c1fef624e6f2fe04e3c6d525aaed881eacabd7
2015-09-20 13:57:46 -07:00
Aaron Schulz
bd6ec3bc78 Added readAffinity flag to FileBackendMultiWrite
* A backend with this set (normally 1) will be used for
  non-latest reads. This can be used to prefer a local,
  replicated, backend instead of one farther away (for
  multi-DC setups)
* Note that listings still come from the master always.

Bug: T112708
Change-Id: Ic4bf4ba5a2c9ef78abd11dbd0d4b48c73cad6923
2015-09-20 19:25:43 +00:00
Aaron Schulz
49e9910d0f Made some FileBackendMultiWrite docs more accurate
Change-Id: I14c152601fef3d3c75e7ea7aac72ff87c9f5fd52
2015-09-19 21:11:53 -07:00
Aaron Schulz
92b9ee98a1 Removed old "noPush" config hacks from FileBackendMultiWrite
Change-Id: I80e688cc61c0a656524a0db6aeabb3d3f6e667bd
2015-09-18 17:36:09 -07:00
Aaron Schulz
5cea7769d3 Cleaned up getScopedFileLocks() return value
* Just return the ScopedLock itself without wrappig it in an array.
  This also makes getScopedLocksForOps() actually return the correct
  type according to the docs

Change-Id: Ic2d01d56c3fcb22af3adb5e5d4d1586d62316552
2015-09-18 17:58:11 +00:00
Aaron Schulz
b2ba479eca Fixed some IDEA doc warnings
Change-Id: I9ccc6599d5fbcc143ef33a5619b3c1d1c52e192f
2015-09-11 12:38:37 -07:00
jenkins-bot
6c4601cfbd Merge "Fixed headers sent in addMissingMetadata()" 2015-08-27 08:08:08 +00:00
Timo Tijhof
f1223f90fd objectcache: Use newAccelerator() fallback instead of try/catch
Also remove confusing use of $wgMemc in LoadMonitorMySQL which
should always be the same as wfGetMainCache().

Change-Id: I4fb9d075a37d3d45af71a5026ccf2eb17f24d7b0
2015-08-25 01:03:10 +02:00
Timo Tijhof
79ce51d1c9 objectcache: Make first parameter of newAccelerator optional
Makes it more convenient to use.

Change-Id: I1e11f7a759bd2816e47d1c2453cbe39b8f44b2f0
2015-08-24 23:43:19 +02:00
Aaron Schulz
84e389ec68 Fixed headers sent in addMissingMetadata()
* This used to relay back *all* of the GET headers, which includes
  things that are not changeable (Content-Length) or make no sense
  (x-trans-id). Only send the actual HTTP/metadata headers. Oddly
  enough sending garbage headers gives a 2XX response, but does
  not actually change anything in Swift.

Bug: T105810
Change-Id: Id4829cf998a6d8763fd26d49cd8d9c16cf5527dd
2015-08-05 01:46:52 -07:00
Aaron Schulz
44b1fa8edb Cleaned up and split up Swift header parsing methods a bit
* Added tests for the metadata headers portion of the code

Change-Id: I8ac65e31212b4cca4592f963e0ca5ad30e1349f7
2015-08-05 01:12:50 -07:00
Aaron Schulz
6cef0373c7 Added sanitizeHdrs() tests for Swift
Change-Id: I2e3c3225c729e5220ca16f6ef4518da49e7f721c
2015-07-29 18:57:23 -07:00
jenkins-bot
3eb00083e9 Merge "Clear the stat cache in addMissingMetadata() to avoid more POSTs" 2015-07-28 13:45:00 +00:00
Aaron Schulz
6e7c034901 Improved addMissingMetadata() on POST failure
* If the POST failed but the sha1 was computed, then use
  and cache that value rather than "false".

Change-Id: I42b53c823013ecd9b281406e3d533a21e0de7cfb
2015-07-22 13:19:12 -07:00
Aaron Schulz
54eb877a52 Clear the stat cache in addMissingMetadata() to avoid more POSTs
Change-Id: Icc075e424bdbed6868692ec734dff1e7d2003dd6
2015-07-22 12:04:47 -07:00
Aaron Schulz
83a9ac3ee8 Avoid using trigger_error() in addMissingMetadata()
* Just use the normal swift log instead

Bug: T105810
Change-Id: Ifa463e6298a1b57ab6a8d92f9defc744619d9fb6
2015-07-17 20:29:10 +00:00
Aaron Schulz
84c4e7597e Ignore some ScopedCallback IDE warnings
Change-Id: Iefe24ee5dae90d70c2acaaae9dc5d44c1758d53a
2015-07-15 14:13:42 -07:00
Aaron Schulz
8d1eecab49 Allow "." in filebackend container prefixes
* This character in $wgDBname seems to be common enough.
  The wiki ID is the default container prefix, and if it
  is not accepted, then confusing errors occur that block
  all file uploads. The case of dots is handled now.
* Improved variable naming in resolveStoragePath().

Bug: T46066
Change-Id: I68458a876855894d01e8cf880bd6cfcfdae17bd0
2015-06-26 06:49:20 +00:00
Bartosz Dziewoński
1021f20100 Fix instances of preg_quote() without second parameter
This might work in specific cases, depending on the string we're
quoting, but is never correct. The instance in SpecialAllMessages.php
was resulting in incorrect behavior (and log spam, T103879).

Searched for this regex: preg_quote\((?:\([^)]+?\)|[^,()])+?\)

Change-Id: Icc88775970f4927ddf953e5ad7c5c19d59491573
2015-06-25 19:43:56 +02:00
umherirrender
6b24d10b6d Fix some line indent of string concat
Change-Id: I5883c9cd57d106168648b4502051b4b49046fea2
2015-06-19 20:52:43 +02:00
umherirrender
70f3afd548 Remove unneeded empty lines at begin of if/else/foreach body
An if body must not begin with an empty line

Change-Id: I62b058be337fcc85a120fcd3dadce564db59a271
2015-06-19 20:05:45 +02:00
Kunal Mehta
f6e5079a69 Use mediawiki/at-ease library for suppressing warnings
wfSuppressWarnings() and wfRestoreWarnings() were split out into a
separate library. All usages in core were replaced with the new
functions, and the wf* global functions are marked as deprecated.

Additionally, some uses of @ were replaced due to composer's autoloader
being loaded even earlier.

Ie1234f8c12693408de9b94bf6f84480a90bd4f8e adds the library to
mediawiki/vendor.

Bug: T100923
Change-Id: I5c35079a0a656180852be0ae6b1262d40f6534c4
2015-06-11 18:49:29 +00:00
jenkins-bot
5161541d87 Merge "Converted FileBackendStore to using the WAN cache" 2015-05-18 08:34:10 +00:00
Timo Tijhof
19bff2537e Consistently name the $this callback variable "$that"
Most are already, but some had differnet names. In PHP 5.4+ this is
redundant as they inherit automatically, but we need these for PHP 5.3
compatibility. Settle on "$that" to make these easier to find.

Change-Id: I0b68b2c550fde9c2da53d844421e34b8df0c42ed
2015-05-13 23:05:07 +01:00
Aaron Schulz
b86b9a6549 Tweaked TempFSFile::bind() param type docs
Change-Id: I53de37b3da756ca42447edd60c14cd6d43b56ee2
2015-05-02 00:13:57 +00:00
Aaron Schulz
48cffdff82 Converted FileBackendStore to using the WAN cache
Bug: T93141
Change-Id: I76efb0dc45a697c5fdfc50932e1198a6d663a445
2015-04-30 01:30:38 +00:00
jenkins-bot
b7ec2c9b33 Merge "Fix and make PHPDoc tags in FileBackend more specific" 2015-03-18 16:45:20 +00:00
Thiemo Mättig
d71f05290e Fix and make PHPDoc tags in FileBackend more specific
A pure documentation patch. Should almost be a no-brainer. ;-)

Change-Id: I9bf4d6056f7cde193fe5882a04a7973af9b5a7f4
2015-03-18 17:22:52 +01:00
Aaron Schulz
8d2f7b9178 Never treat persistent stat cache as "latest" in FileBackend
bug: T89184
Change-Id: I035c0f85a641efa0e4e3209b2bcf9847c08ab0d2
2015-02-10 23:30:55 +00:00
Aaron Schulz
a611ebf1ff Changed FileBackend exceptions to subclass Exception
Change-Id: Ic7d4d6cf0dde3e93ef78758b1a6b03f78c9bcdba
2015-01-17 14:48:00 -08:00
jenkins-bot
29790fbc04 Merge "Set stat cache when getting local copy files in Swift" 2015-01-14 21:26:11 +00:00
Aaron Schulz
6921770414 Updated some try-catch statements: MWException -> Exception
Change-Id: I76601a86e30f4984e3b1a8c8ec5ef5a0f652433a
2015-01-09 17:20:22 -08:00
Aaron Schulz
d81ad30744 Set stat cache when getting local copy files in Swift
Change-Id: I672051b8d04a5db4da8236deba48b266ec7dd9ab
2015-01-09 23:18:26 +00:00
Ricordisamoa
2ae155da52 Fix phpcs errors in includes/
Mostly Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines

Change-Id: I678b2f0902f11cd1dfa1611b9da24e7237df9122
2015-01-08 20:15:07 +01:00
Aaron Schulz
4ff8136807 Removed remaining profile calls
Change-Id: I31c81c78715048004fc8fca0f27d09c1fa71c118
2015-01-08 02:49:33 -08:00
Aaron Schulz
3226337f17 Converted some section profiling to scopedProfileIn
Change-Id: If69de34a046f4f33fc57b93beaf264f522ce7386
2015-01-07 14:19:06 -08:00
Chad Horohoe
aa21e125a3 Remove obvious function-level profiling
Xhprof generates this data now. Custom profiling of various
sub-function units are kept.

Calls to profiler represented about 3% of page execution
time on Special:BlankPage (1.5% in/out); after this change
it's down to about 0.98% of page execution time.

Change-Id: Id9a1dc9d8f80bbd52e42226b724a1e1213d07af7
2015-01-07 11:14:24 -08:00
Ricordisamoa
12dec5d85d Fix some stuttering in comments and documentation
Change-Id: I9c0088b9aab37335203cad45a1d6fa8ac3f43321
2014-12-17 19:44:10 +00:00
Ricordisamoa
fc5fd5c37a Typo fixes and non-code tweaks
Skipped replacements:
* prefered → preferred
* prolly → probably

Skipped files:
* resources/lib/jquery.ui/jquery.ui.mouse.js
* resources/lib/jquery/jquery.form.js

Change-Id: Ib7923f362ddfca1b892bf5d601785d6b5aa5d44c
2014-12-12 18:31:15 +00:00
umherirrender
489d793882 Fixed spacing
- Added/removed spaces around parenthesis
- Added newline in empty blocks
- Added space after switch/foreach/function
- Use tabs at begin of line
- Add newline at end of file

Change-Id: I244cdb2c333489e1020931bf4ac5266a87439f0d
2014-12-05 22:28:07 +01:00
Gilles Dubuc
a6f2310cc7 filebackend: Log more details about backend-fail-internal errors
Bug: 73094
Change-Id: I9e45284e3cfd55bc34d87009387a2c1766e2db4a
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/991
2014-11-17 23:36:47 +00:00
Gilles Dubuc
d984dcbcd6 Improve doPrepareInternal error messages
Bug: 73229
Change-Id: Iee6c478d02c3d6f8d5f7d516c799d9bd53b0272f
2014-11-10 19:52:13 +01:00
Aaron Schulz
54f1b2373b Tweaked some of the default LockManager ttls
Change-Id: Ic2c58ef02dc686f38840fe974a9d2858cd15c019
2014-10-23 22:19:19 -07:00
Aaron Schulz
2565f65ff0 Bumped the default Swift token expiry a bit
Change-Id: I59f698a024180410ffd0c02290f6d61db5999f12
2014-09-24 17:04:01 -07:00
Aaron Schulz
d1bc7d2cd9 Removed some b/c code from file backend
Change-Id: Ie8dbff588b067a202b24dfeaf792301c1077f08b
2014-09-12 00:54:24 -07:00
umherirrender
3b2b6a2773 Add missing @param to function docs
Change-Id: I47fa96a976f55a1a93cb75397285edb8c7f4cd8a
2014-08-14 20:22:52 +02:00
umherirrender
21e0c1c533 Correct variable names in @param to match method declarations
Some @param have a typo in the variable name,
some @param's were in wrong order.

Change-Id: Ie25806831027112b398f6f4a909c59147ac3a5fa
2014-08-13 21:48:28 +02:00
rillke
c31fbf073e Unify the spelling of MIME in documentation
Writing MIME as written in Wikipedia and some documentation clean up.

Change-Id: I9dfc36d2bf55d72d9374c4075bd6d45eef0415a4
2014-08-07 23:38:45 +02:00
umherirrender
5fa2717c67 Specifiy mixed doc param in FSFile
Change-Id: I406e46da6ece2e2f9436783a0280afa7cfa9807c
2014-07-28 19:04:51 +02:00
umherirrender
b883e8c7c0 Cleanup some docs (includes/[e-l])
- Swap "$variable type" to "type $variable"
- Added missing types
- Fixed spacing inside docs
- Makes beginning of @param/@return/@var/@throws in capital
- Changed some types to match the more common spelling

Change-Id: I41a84e8e1dec39170aa655250325ffc485eaeaef
2014-07-24 19:43:03 +02:00