Commit graph

49 commits

Author SHA1 Message Date
Alexandre Emsenhuber
7b79d94515 * Standardised file description headers
* Added some descriptions
* Added @file where needed
2010-08-14 17:42:40 +00:00
Alexandre Emsenhuber
f64cbf506c Removed error suppression opertators (per bug 24159) 2010-07-04 20:43:58 +00:00
Alexandre Emsenhuber
4e2414ac91 Fixed some doxygen warnings 2010-05-25 18:34:15 +00:00
OverlordQ
595a61d27b Added configuration option for memcached timeout based on comments on r58185 2010-01-21 05:49:49 +00:00
Jack Phoenix
231a00ffcc *coding style cleanup
*marked public functions as such in memcached-client.php
2009-12-13 17:57:21 +00:00
Chad Horohoe
a4e5e935b6 Mass convert NULL -> null. Left strings and comments alone, obviously. 2009-12-11 21:07:27 +00:00
Alexandre Emsenhuber
55aaa90bfc Fix for r59289 and 59293: finish to rename the class, really sorry for that :( 2009-11-20 19:14:24 +00:00
Alexandre Emsenhuber
aa7101aabe *STAB STAB STAB* Fix for r59289: forgot to rename the constructor 2009-11-20 18:44:43 +00:00
Alexandre Emsenhuber
002fb024b0 * (bug 21403) memcached class renamed to MWMemecached to avoid conflict with PHP's memcached extension
* Put MemCachedClientforWiki in memcached-client.php so that maintenance/mctest.php doesn't crash when $wgMainCacheType is not CACHE_MEMCACHED
Based on a patch by Kim Hyun-Joon
2009-11-20 15:37:28 +00:00
Alexandre Emsenhuber
8e3f74f59d One more fix for r58949: convert these lines too *STAB* 2009-11-12 22:33:12 +00:00
Alexandre Emsenhuber
4546748126 Fix for r58949: correct indentation 2009-11-12 17:21:09 +00:00
Alexandre Emsenhuber
19d6293f86 Use tabs for indentation, not spaces 2009-11-12 16:19:16 +00:00
Domas Mituzas
89175efa89 set read/write timeouts to 50ms down from 1s 2009-10-27 07:36:27 +00:00
Domas Mituzas
ca9468f8f7 wtf:) 2009-10-27 07:28:29 +00:00
Domas Mituzas
cac2302f6b fix blacklist of dead servers 2009-10-27 07:26:43 +00:00
Domas Mituzas
4eaaf3c716 first few changes to memcached client:
* reduce connect attempts from 3 to 2
* remove the backoff logic, which just doesn't make sense in datacenter environments
2009-10-27 06:57:51 +00:00
Tim Starling
b0f96a03f7 Simpler method for mixing and clipping when computing a second-try hash value 2008-09-28 04:04:10 +00:00
Aaron Schulz
e346e0bfee Suppress errors on count increment (bug 13758) 2008-09-27 23:48:21 +00:00
Aaron Schulz
8a228d7717 Avoid strange negative bucket key values in certain situations (bug 12342) 2008-09-27 23:36:21 +00:00
Aaron Schulz
80c02aaf15 add more info 2008-08-26 22:40:45 +00:00
Aaron Schulz
fdb0d596bf log strange anomaly 2008-08-26 22:35:23 +00:00
Brion Vibber
bdbe18e08e Revert r37295 "(bug 14159) Use of MEMCACHE_COMPRESSED constant causes an E_NOTICE on PHP installs with the Memcache module installed. Renamed to MEMCACHE_MCOMPRESSED."
No such constant is modified here... there's a class constant instead which is being renamed, apparently for no reason.
2008-07-09 01:07:49 +00:00
Chad Horohoe
eba0c36fbf (bug 14159) Use of MEMCACHE_COMPRESSED constant causes an E_NOTICE on PHP installs with the Memcache module installed. Renamed to MEMCACHE_MCOMPRESSED. 2008-07-08 00:43:24 +00:00
Alexandre Emsenhuber
087a9f70c5 WARNING: HUGE COMMIT
Doxygen documentation update:
* Changed alls @addtogroup to @ingroup. @addtogroup adds the comment to the group description, but doesn't add the file, class, function, ... to the group like @ingroup does. See for example http://svn.wikimedia.org/doc/group__SpecialPage.html where it's impossible to see related files, classes, ... that should belong to that group.
* Added @file to file description, it seems that it should be explicitely decalred for file descriptions, otherwise doxygen will think that the comment document the first class, variabled, function, ... that is in that file.
* Removed some empty comments
* Removed some ?>

Added following groups:
* ExternalStorage
* JobQueue
* MaintenanceLanguage

One more thing: there are still a lot of warnings when generating the doc.
2008-05-20 17:13:28 +00:00
Tim Starling
e3fa80f838 Shorter debug output 2008-05-07 04:22:40 +00:00
Siebrand Mazeland
79d5225c0e * remove end of line whitespace
* remove empty lines at end of file
* remove "?>" where still present
2008-04-14 07:45:50 +00:00
Tim Starling
be48d07435 Fixed a couple of potential catchable fatal errors when memcached debugging is enabled 2008-04-09 15:22:27 +00:00
Domas Mituzas
6b55effc4d move global constants to class-specific constants, to avoid collisions with Memcache PECL 2008-03-18 09:54:43 +00:00
Aryeh Gregor
a15c419b3d Remove ?>'s from files. They're pointless, and just asking for people to mess with the files and add trailing whitespace. (Yes, I looked over every one and reverted those that were bogus. Slash-enter a million times in less worked well enough, although it was a bit mind-numbing.) 2007-06-29 01:19:14 +00:00
Yuri Astrakhan
1152253310 API: Enabled API login throttling (with amidaniel's help)
fixed memcached-client comments
minor queryRevisions fix
2007-05-27 23:50:24 +00:00
Nick Jenkins
bd23ec29c6 Doc tweaks:
* Seems like an opportune time to introduce "@addtogroup Media" documentation tags.
* Merge "@addtogroup Metadata" (used by Exif.php) into "@addtogroup Media".
* Few more moving comment blocks to above classes.
2007-04-24 06:53:31 +00:00
Nick Jenkins
f9619da3f0 Yet more doc tweaks:
* Add @addtogroup tags to various classes, to try and group conceptually-related classes together.
* Add brief descriptions to various Special pages, thanks to Phil Boswell.
* Moving some docs to be right above the classes they represent, so that they are picked up.
2007-04-20 08:55:14 +00:00
Nick Jenkins
ae8554c45b Completing code housekeeping stuff for rest of includes/ directory: removing unused local vars, removing unused globals, replacing extract() where simple to do, declaring output arrays before calling preg_match(), and so forth. 2006-11-29 11:43:58 +00:00
Tim Starling
ca7108936d Implemented short connection timeout with retries and exponential backoff. 2006-09-08 14:48:32 +00:00
Ævar Arnfjörð Bjarmason
7bbe971aec * s~ +$~~ 2006-01-07 13:09:30 +00:00
Brion Vibber
219094eb01 Committing various live hacks from Wikimedia servers 2005-10-22 20:52:30 +00:00
Tim Starling
e8c2db18a6 Worked around lack of timeouts in fwrite(), using non-blocking I/O. Also flush the read buffer before every command 2005-09-07 10:10:57 +00:00
Tim Starling
776287c528 stream timeout option 2005-01-21 14:00:18 +00:00
Brion Vibber
d3f5f9357d Memcached data compression fixes:
* Fix typo that caused compression not to be stored (Tim)
* Fix order of operations that corrupted some loads (Brion)
2005-01-17 02:09:51 +00:00
Tim Starling
8089d9774f More debugging info, better hashing function - crc32() goes negative in live PHP! 2004-09-25 16:50:27 +00:00
Jens Frank
17db2f5885 Avoid warning when incrementing non-existing element of array 2004-09-25 08:32:53 +00:00
Gabriel Wicke
50ada93524 silence list, not sure if the port should always be set 2004-06-15 22:43:11 +00:00
Tim Starling
a6460108fa Fixed horribly broken hashing function 2004-06-01 08:38:09 +00:00
Gabriel Wicke
6921cfbd7e SkinPHPTal:
* anon user links if enabled
* page title shows action if set
2004-04-22 22:31:57 +00:00
Gabriel Wicke
5a363c1dd8 another warning fix- please review the mamcached changes, i'm not 100% sure they are correct 2004-04-22 12:02:02 +00:00
Gabriel Wicke
820d07df1e silence sprintf 2004-04-22 11:56:26 +00:00
Tim Starling
fe7e324ea0 fixed notices 2004-04-07 13:59:15 +00:00
Mr. E23
e798403101 Overridable debug printouts in new memcached client. 2004-01-25 07:11:42 +00:00
Mr. E23
5d2e9f5fb6 Replaced old memcached client with new one 2004-01-24 22:58:19 +00:00