Commit Graph

175 Commits

Author SHA1 Message Date
Jeremy Fincher
8ca625d339 Initial import. 2005-01-19 13:14:38 +00:00
James Vega
dbfec8afb9 Add supybot module 2007-04-22 20:10:26 +00:00
James Vega
80f9f7d42a Let's make this error message a *tad* more useful. 2005-01-14 02:20:53 +00:00
James Vega
6061f49a48 *** empty log message *** 2005-01-06 04:01:16 +00:00
Jeremy Fincher
955bf08255 Rudimentary sorting. 2004-12-02 05:37:04 +00:00
Jeremy Fincher
9ea98a5657 Updated docstring. 2004-11-28 16:29:40 +00:00
James Vega
9a3d196986 Move the Probability class to src/registry.py 2004-11-28 08:05:56 +00:00
Jeremy Fincher
fd4e62599f Better logging. 2004-11-21 13:31:50 +00:00
James Vega
2fb7041627 Slightly better wording (and matches Float's wording) 2004-11-09 18:41:03 +00:00
Jeremy Fincher
a060f26aa8 Fixed bug #1059544, InvalidRegistryValues can now show what the name of the registry value is. 2004-11-03 22:58:20 +00:00
Jeremy Fincher
9e813ff778 Added an XXX. 2004-10-24 06:34:28 +00:00
Jeremy Fincher
447a6e63e0 Fixed bug #1052921. 2004-10-24 06:32:07 +00:00
Jeremy Fincher
76fc8b946e Removed some useless options from close. 2004-10-03 22:18:12 +00:00
Jeremy Fincher
42f9ea9bfc Let's catch some exceptions and continue with the output-writing if an exception is raised. 2004-10-03 09:39:39 +00:00
Jeremy Fincher
1ea5e55a8e Changed to be better, hopefully. We really need to find out where this losing of channel values is happening. 2004-09-30 22:13:47 +00:00
Jeremy Fincher
419d2c0e45 Odd, it didn't commit properly. 2004-09-30 22:03:28 +00:00
Jeremy Fincher
54ccb01b5e Changed showDefault to _showDefault. 2004-09-30 20:03:54 +00:00
Jeremy Fincher
6ce21297de Line wrapping, and now more showDefault for long things (since I can't figure out how to wrap it), and line-wrapping of serialized NormalizedString things. 2004-09-30 15:22:50 +00:00
Jeremy Fincher
0874dfd5f3 Abstracted out bool verification in utils.toBool. 2004-09-28 07:22:26 +00:00
James Vega
9291c56e3f Update to use a help method instead of a help string. Allows sub-classes of
Group/Value to define their own help method.
2004-09-25 17:06:05 +00:00
James Vega
50973a10fb Remove #! lines. 2004-09-20 03:01:50 +00:00
Jeremy Fincher
ab3e0289f1 Style update. 2004-09-16 14:18:56 +00:00
Jeremy Fincher
5f1aa43ee0 Fix0red the bugz0r. 2004-09-14 15:30:16 +00:00
Jeremy Fincher
e1d961c62f Fixed regexp bug. 2004-09-13 01:21:48 +00:00
Jeremy Fincher
6a417db8bc Allow groups to have help. 2004-09-11 16:17:40 +00:00
Jeremy Fincher
e98bb7a787 Elucidating comment. 2004-09-10 06:31:39 +00:00
Jeremy Fincher
bebe005584 Fixed Regexp. 2004-09-09 19:13:46 +00:00
Jeremy Fincher
5aa00316ab Used some supers. 2004-09-09 15:34:13 +00:00
Jeremy Fincher
aad768c188 Added orderAlphabetically. 2004-09-08 22:51:00 +00:00
James Vega
8cc4a98d9e Use a better docstring for NonNegativeInteger. 2004-09-03 13:51:06 +00:00
Jeremy Fincher
f6fbe4eb27 Made register more useful, should fix some Services.identify bugs. 2004-08-27 20:10:17 +00:00
Jeremy Fincher
f0a5207117 Let's setValue by default, that's more useful. 2004-08-27 04:32:50 +00:00
Jeremy Fincher
48f58cc4de Elucidating comment. 2004-08-23 12:27:47 +00:00
Jeremy Fincher
8936208e02 Bah. 2004-08-22 14:36:43 +00:00
Jeremy Fincher
980762492b Uh, one wonders why I didn't do this in the first place. Just fix the bugs that are already there, Jeremy. 2004-08-22 06:24:45 +00:00
Jeremy Fincher
6ecf2ae6ea Let's hope this doesn't break anything too serious. 2004-08-21 09:14:59 +00:00
Jeremy Fincher
535d872cab Information-gathering and robustitude. 2004-08-20 21:17:34 +00:00
Jeremy Fincher
fac96b16dc Fix for problem with channelvalues not being removed on setValue. 2004-08-20 16:45:48 +00:00
Jeremy Fincher
ed63bc5435 I think there are bugs here, some tests are failing, but it's late and I can't figure out why. 2004-08-20 06:58:25 +00:00
Jeremy Fincher
a4c8384e49 Boomshakalaka\! 2004-08-20 04:35:27 +00:00
Jeremy Fincher
e844d9c943 This should fix the problems with children of ChannelValues. 2004-08-20 03:43:02 +00:00
Jeremy Fincher
b22e3c44e2 Changed supplyDefault to _supplyDefault and added %s handling for supybot.nick.alternates. 2004-08-17 20:43:25 +00:00
Jeremy Fincher
f89bb167d1 Various updates. 2004-08-17 06:36:51 +00:00
Jeremy Fincher
0b699e8ad8 Must...save...bytes... 2004-08-16 18:47:23 +00:00
Jeremy Fincher
1c84dd676b Renamed to _children. 2004-08-11 17:05:33 +00:00
Jeremy Fincher
775b542126 Useless imports, a nice little bugz0r, found by PyChecker. 2004-08-11 07:30:43 +00:00
Jeremy Fincher
2ebbc80a95 Removed testing code, it's never used. 2004-08-08 17:35:32 +00:00
Jeremy Fincher
50c8cfaf26 Unregister should remove the node from the cache as well. 2004-08-05 18:47:03 +00:00
Jeremy Fincher
2429c1c6f7 Added SpaceSeparatedSetOfStrings. 2004-08-02 12:34:06 +00:00
Jeremy Fincher
3234af10e7 Fix for bug #998311; we should now work fine with channels with dots in their names. 2004-08-02 10:47:05 +00:00
Jeremy Fincher
74e3cce0a2 Slightly nicer fix, I don't know why I didn't think of this before. 2004-08-01 18:08:55 +00:00
James Vega
7834a2c50b Now registry.Regexp updates properly 2004-08-01 16:33:56 +00:00
Jeremy Fincher
b6ba7955ac With some clearer thinking, I believe this is the proper implementation of tmpDir. If there's something wrong with it, send me a note or write a test and it'll be fixed. 2004-08-01 12:46:03 +00:00
Jeremy Fincher
a2feec9ac0 Added NonNegativeInteger. 2004-07-31 12:09:52 +00:00
Jeremy Fincher
823bfb040f Added utils.AtomicFile and converted our uses of 'w' to it. This rocks. 2004-07-31 10:21:07 +00:00
Jeremy Fincher
9250d3ab32 Tons of differences, moved some registry values around, also changed some internal attributes of registry thingies. 2004-07-31 05:00:43 +00:00
Jeremy Fincher
30abebecbe Some random commits, NormalizedString, etc. 2004-07-29 09:51:38 +00:00
Jeremy Fincher
0f12c4bb19 Refactored a little. 2004-07-28 02:56:44 +00:00
Jeremy Fincher
c515e925b8 Added an __call__ on Groups so a better error message is raised. 2004-07-25 11:06:56 +00:00
Jeremy Fincher
3f08089a32 Added registry.split. 2004-07-24 21:40:47 +00:00
Jeremy Fincher
f9c61271ea w00, less path mungingEXCLAIMEXCLAIM 2004-07-24 05:18:26 +00:00
James Vega
315810d08e yay! no more stray whitespace 2004-07-21 19:36:35 +00:00
Jeremy Fincher
70efdfbea1 Slight cleanups. 2004-07-21 18:49:27 +00:00
Jeremy Fincher
fd6cb44549 Let's return the node, just in case it turns out to be useful. Of course, we know it turns out to be useful, or else we wouldn't be adding this... 2004-07-20 05:39:58 +00:00
Jeremy Fincher
8ab613dbed Remove bracketSyntax, make brackets channel-specific. 2004-05-07 16:14:02 +00:00
Jeremy Fincher
0c51ead69d Minor stylistic update (I think). 2004-05-07 11:41:32 +00:00
Jeremy Fincher
e3b690f933 Added userdata registry. 2004-04-30 18:24:35 +00:00
Jeremy Fincher
2c2e21e765 Fixed bug #941101. 2004-04-29 11:49:24 +00:00
Jeremy Fincher
8eb20228af Changed an exception raised. 2004-04-18 02:47:12 +00:00
Jeremy Fincher
4923fc4a6c Oops, wrong commit. 2004-04-16 08:27:27 +00:00
Jeremy Fincher
a4b54566e9 Uncommented something I didn't understand. Good thing I saw this before the release :) 2004-04-16 08:13:55 +00:00
Jeremy Fincher
d5ee023bfa Updated some design of the Values. 2004-04-13 01:01:52 +00:00
Jeremy Fincher
3538dee7c9 Ah, a better way to do default normalization. 2004-04-08 11:13:03 +00:00
Jeremy Fincher
9eee85dc63 I really should test these things before committing. 2004-04-08 10:59:13 +00:00
James Vega
106f957fac Fixed string formatting bug 2004-04-08 03:26:03 +00:00
Jeremy Fincher
46a3f07491 Made sure we can normalize for OnlySomeStrings. 2004-04-08 02:18:35 +00:00
Jeremy Fincher
71ea32c811 Added supybot.brackets for specifying what valid bracket characters are. 2004-03-30 08:27:05 +00:00
Jeremy Fincher
59e5a6bc9f Fix for bug that rejects extraneous spaces in Boolean registry values. 2004-03-21 19:40:13 +00:00
Jeremy Fincher
2dab520e66 Fixed the __str__ of some Value subclasses. 2004-02-17 06:30:12 +00:00
Jeremy Fincher
bd7c758dee Slightly fixed a formatting issue. 2004-02-16 08:41:26 +00:00
Jeremy Fincher
fb59b25a63 Added the ability for configuration variables to be private so they can't have their values gotten by people who can't change them. 2004-02-14 00:47:21 +00:00
Jeremy Fincher
14ab800a13 Fixed bug #894619. 2004-02-11 06:33:05 +00:00
Jeremy Fincher
d6f79c4a56 Made a showDefault configuration option for deciding whether or not to write the default to the registry, and made registerPlugin set it to False (who needs to know what the default is for that stuff?) 2004-02-10 03:15:31 +00:00
Jeremy Fincher
c60664f620 Fixed bugz0r #893239. 2004-02-09 16:32:00 +00:00
Jeremy Fincher
f2f2680c91 Added support for groups alone having help. 2004-02-07 23:35:42 +00:00
Jeremy Fincher
4fec15f40e Fix the cause of several exceptions being raised on loading of plugins. 2004-02-06 09:19:54 +00:00
Jeremy Fincher
21ef041a58 Updated to make case insensitivity with preservation much easier (based on utils.InsensitivePreservingDict). 2004-02-05 07:54:38 +00:00
Jeremy Fincher
a7c7cc2841 Minor stylistic changes. 2004-02-04 15:55:56 +00:00
Jeremy Fincher
b8b014d447 Output the default value into the registry file. 2004-02-03 23:19:22 +00:00
Jeremy Fincher
1df9b64c39 Got it back workin, mo. 2004-02-03 22:39:24 +00:00
Jeremy Fincher
27b24e142a Reordred some more, changed the default of prefixChars, and fixed some older-written values. 2004-02-03 18:21:19 +00:00
Jeremy Fincher
9bf4f35a51 Refactored registry to remove the Group/Value distinction. 2004-02-03 16:43:22 +00:00
Jeremy Fincher
c0ea69ef0f Made the exceptions raised give more useful messages. 2004-02-02 08:31:11 +00:00
Jeremy Fincher
8aa74dee4b Converted to work. 2004-01-30 22:15:39 +00:00
Jeremy Fincher
3590d2aac8 Slight stylistic updates. 2004-01-30 19:27:02 +00:00
Jeremy Fincher
1f934bf55e Removed line that wasn't absolutely necessary and seemed to be causing trouble. 2004-01-30 06:12:16 +00:00
Jeremy Fincher
3f310efed7 Added a Regexp type. 2004-01-27 18:14:44 +00:00
Jeremy Fincher
3bac853c61 Some slight updates. 2004-01-27 11:25:36 +00:00
Jeremy Fincher
81009586fb Forgot to set the default in GroupWithValue. 2004-01-26 19:17:41 +00:00
Jeremy Fincher
847b53d68a Fixed some bugz0rs. 2004-01-26 08:10:36 +00:00