Commit Graph

77 Commits

Author SHA1 Message Date
James Vega
9d9c3020ca Add handling of opening sockets to communicate with IPV6 hosts. 2004-06-20 07:37:25 +00:00
Jeremy Fincher
e3b690f933 Added userdata registry. 2004-04-30 18:24:35 +00:00
James Vega
481dd5111a Add comma argument to commaAndify 2004-04-28 06:26:02 +00:00
Jeremy Fincher
ed8df0a998 Updated sorted for 2.4 compatibility. 2004-04-20 10:04:09 +00:00
Jeremy Fincher
9a907277c1 Changed reviter to reversed. 2004-04-20 09:51:20 +00:00
Jeremy Fincher
96838d0dbc Removed catch, moved curry to utils.py 2004-04-20 09:44:58 +00:00
Jeremy Fincher
ec0dd27960 All in the name of case insensitivity. 2004-04-09 16:29:16 +00:00
Jeremy Fincher
9def8a49bd Hmm, didn't define keys. 2004-02-05 07:32:20 +00:00
Jeremy Fincher
6771c24ca6 Added InsensitivePreservingDict and made IrcDict a subclass of it. 2004-02-05 07:14:35 +00:00
Vincent Foley
7bdf8210cb Fixed a bug 2004-01-28 21:42:46 +00:00
Jeremy Fincher
a6e8685c74 Added blank line. I don't remember why, but I'm tired of looking at it in CVS diff, and I'm sure I added it for a reason. 2004-01-27 20:05:36 +00:00
Jeremy Fincher
e189ec24a8 Added some handling for 'try' in the pluralization stuff. 2004-01-23 13:23:20 +00:00
Jeremy Fincher
29426e2f1d Moved isIP* to utils from ircutils. 2004-01-16 17:33:51 +00:00
Jeremy Fincher
cd5a1cb14b Added changeFunctionName to be used elsewhere. 2004-01-16 16:13:24 +00:00
Jeremy Fincher
4452ca879e Added functions for reading non-comment or empty lines of a file. 2004-01-11 14:33:38 +00:00
Jeremy Fincher
bcbfd2130e Made matchCase its own available function. 2004-01-01 19:47:13 +00:00
Jeremy Fincher
42ce8c33a6 Swapped the argument order for utils.{pluralize,nItems} 2003-12-12 15:41:33 +00:00
Jeremy Fincher
88581d99e4 Added utils.sorted. 2003-12-09 14:46:12 +00:00
Jeremy Fincher
949ea7aa2b Made utils.pluralize a little smarter. 2003-12-02 18:58:57 +00:00
Jeremy Fincher
fb2d9b7f4f Various re fixes, including bug #850931. 2003-12-01 11:06:17 +00:00
Jeremy Fincher
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Jeremy Fincher
210809ab99 Fix for bug #848475. 2003-11-25 09:13:28 +00:00
Jeremy Fincher
a4284e7924 Added __revision__ strings. 2003-11-25 08:38:19 +00:00
Jeremy Fincher
dc2c9c55fe Made __iter__ equivalent to iterkeys in IterableMap. 2003-11-23 14:09:20 +00:00
Jeremy Fincher
028b23d41c Allowed abbrev to accept the dictionary object (good for passing in shelves or PersistentDictionaries). 2003-11-11 14:16:27 +00:00
Jeremy Fincher
901a225619 Added safeEval. 2003-11-07 19:40:03 +00:00
Jeremy Fincher
93f02aa959 Added curry to fix.py, converted some code to use it. 2003-11-04 08:26:54 +00:00
Jeremy Fincher
d174226c5c Added the ability to do hashed passwords. 2003-10-28 15:13:53 +00:00
Jeremy Fincher
b63f2170e8 Added a saltHash function. 2003-10-28 14:20:00 +00:00
Jeremy Fincher
eaa15860d8 Made sure commaAndify raises TypeError when it's given lists of non-strings. 2003-10-28 05:10:03 +00:00
Jeremy Fincher
7ae53ef169 Added loss to the plurals dictionary. 2003-10-27 23:57:34 +00:00
Jeremy Fincher
5ff709375e Oops, forgot the docstring. 2003-10-16 20:06:17 +00:00
Jeremy Fincher
2ffe5a13dd Added depluralize function and fixed latent (untested) capitalization buggerishness. 2003-10-16 20:05:45 +00:00
Jeremy Fincher
ed3d757081 Made perlReToPythonRe always raise a ValueError instead of re.error. 2003-10-15 05:07:07 +00:00
Jeremy Fincher
b692681e1c Found bug in utils.sortBy, mentioned by Tim Peters on Python-dev. Fixed, and tested. 2003-10-14 03:47:35 +00:00
Jeremy Fincher
a0fe5410c0 Fixed bug in perlReToReplacer where escaped slashes would stay in the output. 2003-10-12 13:11:53 +00:00
Daniel DiPaolo
d9d141a8e7 * Added the most horribly named command ever - utils.ellipsisify 2003-10-10 04:28:49 +00:00
Jeremy Fincher
970c819e79 Changed fix.py to munge __builtins__ rather than requiring a "from fix import *" statement. 2003-10-05 12:47:19 +00:00
Jeremy Fincher
325e751149 Added a docstring and doctested nItems. 2003-10-04 13:04:01 +00:00
Jeremy Fincher
0aa448bfc7 Added keyword option And to commaAndify to allow specifying a word other than 'and' as the last separator. 2003-09-12 08:55:30 +00:00
Jeremy Fincher
6aa3e06402 Raise ValueError in the case of bad input. 2003-09-08 06:10:06 +00:00
Jeremy Fincher
757154313e Added first exception for pluralize. 2003-09-07 05:48:20 +00:00
Jeremy Fincher
15f4ad8e60 Converted timeElapsed to use nItems. 2003-09-05 06:50:06 +00:00
Jeremy Fincher
f65829b768 Moved several things from fix.py to utils.py. 2003-09-04 20:42:37 +00:00
Jeremy Fincher
4c980aeb3e Added nItems. 2003-09-03 09:40:26 +00:00
Jeremy Fincher
a764de50ad Added sortBy, which uses the decorate/sort/undecorate pattern to sort by a certain criteria. 2003-09-03 08:51:45 +00:00
Jeremy Fincher
83707f81c1 Added normalizeWhitespace. 2003-09-01 18:39:27 +00:00
Jeremy Fincher
30d3747f1d Added utils.pluralize. 2003-09-01 05:42:35 +00:00
Jeremy Fincher
1cd7ccbfa4 Found bug in perlReToPythonRe and fixed it. 2003-08-30 18:39:19 +00:00
Jeremy Fincher
b572562cb3 Added utils.wrapLines and wrapped the lines of each plugin's example. 2003-08-27 16:25:43 +00:00