Commit Graph

170 Commits

Author SHA1 Message Date
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
Jeremy Fincher
ac2b048055 Fixed a capitalization bugz0r. 2004-01-26 07:50:20 +00:00
Jeremy Fincher
b94a7a3b4e Made defaultplugin use the registry. 2004-01-25 08:22:50 +00:00
Jeremy Fincher
c4bb73205f Moved StringWithSpaceOnRight to registry.py. 2004-01-23 13:28:53 +00:00
Jeremy Fincher
3327eae8a0 Updated, fixed a bug, started on dynamic reloading. 2004-01-22 20:16:21 +00:00
Jeremy Fincher
fea97c96b5 Handled non-existent helps. 2004-01-21 19:12:51 +00:00
Jeremy Fincher
58332ad382 Added several new types for better error checking, converted supybot.channels to be space-separated, and made Admin.{join,nick} Do The Right Thing. 2004-01-21 17:13:04 +00:00
Jeremy Fincher
b2b9f64558 Reimplemented CommaSeparatedStringType in an extensible manner. 2004-01-21 16:15:31 +00:00
Jeremy Fincher
19e9d86a7c Added an annotated option to registry.close and a fullNames option (to be used later) to getValues. 2004-01-21 15:48:48 +00:00
Jeremy Fincher
302f824fb7 Made splits more flexible. 2004-01-20 17:09:57 +00:00
Jeremy Fincher
68c4ca6895 Factored invariant checking into setValue as appropriate. 2004-01-20 15:08:08 +00:00
Jeremy Fincher
28a79d4591 Whoa...really dynamic class stuff just to make sure a default-created-but-not-overidden value in a GroupWithDefault doesn't not get set blah blah blah... 2004-01-20 12:27:29 +00:00
Jeremy Fincher
a3c1b87f3b Cache is not a public variable and should not be used. 2004-01-20 11:41:53 +00:00
James Vega
6831dafee5 Brain fart 2004-01-20 04:36:49 +00:00
Jeremy Fincher
9ce0e7dc7d Updated PositiveInteger. 2004-01-19 23:45:11 +00:00
James Vega
a8c3d67cfc Convert Google to using the registry which required adding PositiveInteger
Class to the registry.
2004-01-19 23:42:50 +00:00
Jeremy Fincher
cc672b882a Changed the order to its original order. 2004-01-19 22:39:13 +00:00
Jeremy Fincher
224cacc966 Fixed several bugs and added the replies rich reply method. 2004-01-19 20:51:04 +00:00
Jeremy Fincher
6ca78924f3 HUUUUUUUUGE Configuration change. 2004-01-18 07:58:26 +00:00
Jeremy Fincher
da0cf9b921 Added a few more methods. I think we're going to have to make Group.__getattr__ return the Value holder, not its .value attribute. 2004-01-15 12:17:50 +00:00
Jeremy Fincher
a61b5b8dca Added storing of the default value to Values and GroupsWithDefault. 2004-01-15 00:26:31 +00:00
Jeremy Fincher
0ddb356c0b Changed the sorting function. 2004-01-14 14:18:56 +00:00
Jeremy Fincher
3319e2562d Added writing! 2004-01-14 06:05:58 +00:00
Jeremy Fincher
2ea181073b Updated to allow help-getting. 2004-01-13 15:56:58 +00:00
Jeremy Fincher
3d0b8dc870 Updated to let GroupWithDefault have a .set() that works. 2004-01-13 06:26:35 +00:00
Jeremy Fincher
f90adb5325 Initial checkin. 2004-01-13 06:07:31 +00:00