Commit Graph

45 Commits

Author SHA1 Message Date
Jeremy Fincher
f4f25ef72c Added abs to the calc command. 2004-09-06 08:07:54 +00:00
Jeremy Fincher
fbb348b6e7 Copyright updates. Again, more is left to be done, but this is my part. 2004-08-23 13:14:06 +00:00
Jeremy Fincher
0f598271dc Speeling fixes. 2004-08-18 23:15:27 +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
James Vega
e31aa252dd Don't respond with the units so as to ease nesting convert and calc 2004-03-01 23:18:21 +00:00
Keith Jones
5eac427f15 Changed float division to integer division 2004-02-10 03:21:45 +00:00
James Vega
8623e98939 Yay, now we can convert negative numbers between bases 2004-02-09 03:08:33 +00:00
James Vega
57454c86b3 Grammar proper good is. 2004-02-07 20:58:04 +00:00
James Vega
416a177e51 numbers -> integers 2004-02-07 20:51:30 +00:00
Keith Jones
4d296473e5 Modified base command to allow conversion between non-decimal bases 2004-02-07 20:41:07 +00:00
Jeremy Fincher
6a2f9010b8 Fixed bugz0r. 2004-02-07 18:21:46 +00:00
Jeremy Fincher
1f312044ae Fixed bug. 2004-02-06 07:14:07 +00:00
James Vega
fac4c5624c Removed any unnecessary configure methods (ones that only called
conf.registerPlugin) and changed all other configure methods to accept the
advanced argument instead of onStart.
2004-01-29 23:58:27 +00:00
Keith Jones
0c53779a1b Fixed calc docstring that I inadvertently messed up 2004-01-28 22:50:00 +00:00
James Vega
bc11f76166 Updated configure() to only take one argument (onStart) and switched all of
the onStart.append('load pluginName') calls to
conf.registerPlugin('pluginName', True)
2004-01-28 22:19:25 +00:00
Keith Jones
46e6fdaa62 removed stupid print statements 2004-01-26 23:34:28 +00:00
Jeremy Fincher
b8f497af21 Removed useless comment. 2004-01-26 03:48:05 +00:00
Keith Jones
f36113a697 New convert command uses convertcore.py, plus updated units command.
Additionally, _floatToString now slightly more lax in checking "near
	enough" to zero, and uses same check for "near enough" to int. This was
	done so that convert [calc 2*pi] rads to degrees equals exactly 360.
2004-01-25 07:03:27 +00:00
Jeremy Fincher
78eafe3fa6 Fixed the sqrt bug submitted by kmj. 2004-01-24 18:57:01 +00:00
Jeremy Fincher
75ef7630a8 Factored out _floatToString. 2004-01-23 15:43:09 +00:00
Jeremy Fincher
108bbd8c4f Factored out _floatToString for kmj. 2004-01-22 00:52:11 +00:00
Jeremy Fincher
69aaea218f Moved base command to Math (from Fun) and added a test for no escaping ValueError. 2004-01-09 00:13:44 +00:00
Jeremy Fincher
530aec2be0 Updated the reply infrastructure. No more msg, it's just not necessary. 2004-01-08 03:12:14 +00:00
Jeremy Fincher
a247e2f008 Better error handling for calc/icalc. 2004-01-01 19:09:34 +00:00
Jeremy Fincher
c8783e5ce6 Added an icalc command for doing calculations with real integers. 2003-12-04 08:29:19 +00:00
Jeremy Fincher
77a8d8bd2d Added swap to rpn. 2003-12-02 22:08:46 +00:00
Jeremy Fincher
ca6ebdce52 Added some extra logging of eval'ed expressions. 2003-12-01 11:25:48 +00:00
Jeremy Fincher
48166f4895 Huge update to the logging infrastructure. 2003-11-26 18:21:12 +00:00
Jeremy Fincher
5f4a541fe1 Added __revision__ strings. 2003-11-25 08:23:47 +00:00
Jeremy Fincher
47817f8ea3 Updated error message for overflow. 2003-11-17 15:55:43 +00:00
Jeremy Fincher
320d6b003c Fix for bug #842414. 2003-11-15 08:09:29 +00:00
Jeremy Fincher
2e0b225d0c Changed the needed= keyword arg in privmsgs.getArgs to required=. 2003-11-11 13:20:06 +00:00
James Vega
5a6f3ee7bb Removed the example strings until we figure out what to do with them 2003-11-06 20:42:27 +00:00
Jeremy Fincher
bc6f4bd149 Converted to not use the new module but the types module instead. 2003-10-30 03:46:31 +00:00
Jeremy Fincher
8914543d35 Made <number> optional in convert. 2003-10-23 04:21:40 +00:00
Jeremy Fincher
487ac95d80 Fix for a few exceptions escaping, bug #826177 in partciular. 2003-10-19 14:47:29 +00:00
Jeremy Fincher
f706191201 Added test for rpn 2 degrees and fixed rpn to pass it. 2003-10-13 04:54:57 +00:00
Jeremy Fincher
6c3e193b93 Fixed bug found by G-LiTe and added a test. 2003-10-13 03:47:33 +00:00
James Vega
84f931bb9f Lots of pylint cleanups 2003-10-11 21:03:02 +00:00
Jeremy Fincher
ec0de6431d Changed baseplugin not to require 'from baseplugin import *' because fix is now munging builtins. 2003-10-05 12:56:56 +00:00
Jeremy Fincher
71fcfb8db9 Deleted a few variables that shouldn't have been exported. 2003-10-04 12:29:58 +00:00
Jeremy Fincher
ff6fdf02f3 Added convert and units command. 2003-10-02 23:19:38 +00:00
Jeremy Fincher
e4143b467a Added a bit to the morehelp for calc to explain floating point inaccuracies. 2003-09-23 15:42:01 +00:00
Jeremy Fincher
9f51a69d96 Moved calc and rpn from FunCommands to the new Math plugin. 2003-09-13 15:00:22 +00:00