From: epage Date: Thu, 24 Dec 2009 12:38:21 +0000 (+0000) Subject: Bumping to 0.9.8, fixing a log bug, releasing deb X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=38ae3ad895876d693eb4760d7e154179400ffa18;p=ejpi Bumping to 0.9.8, fixing a log bug, releasing deb git-svn-id: file:///svnroot/ejpi/trunk@91 df6cc7de-23d0-4ae0-bb86-c17aa67b2a9d --- diff --git a/src/constants.py b/src/constants.py index 5739551..4891017 100644 --- a/src/constants.py +++ b/src/constants.py @@ -2,8 +2,8 @@ import os __pretty_app_name__ = "e**(j pi) + 1 = 0" __app_name__ = "ejpi" -__version__ = "0.9.7" -__build__ = 1 +__version__ = "0.9.8" +__build__ = 0 _data_path_ = os.path.join(os.path.expanduser("~"), ".ejpi") __app_magic__ = 0xdeadbeef _user_logpath_ = "%s/ejpi.log" % _data_path_ diff --git a/src/plugins/trig.py b/src/plugins/trig.py index f3f61e9..6962794 100644 --- a/src/plugins/trig.py +++ b/src/plugins/trig.py @@ -34,7 +34,7 @@ def float_or_complex(float_func, complex_func): return switching_func exp = operation.generate_function(float_or_complex(math.exp, cmath.exp), "exp", operation.Function.REP_FUNCTION, 1) -log = operation.generate_function(float_or_complex(math.exp, cmath.exp), "log", operation.Function.REP_FUNCTION, 1) +log = operation.generate_function(float_or_complex(math.log, cmath.log), "log", operation.Function.REP_FUNCTION, 1) PLUGIN.register_operation("exp", exp) PLUGIN.register_operation("log", log) diff --git a/support/builddeb.py b/support/builddeb.py index 30ce108..d3f8b32 100755 --- a/support/builddeb.py +++ b/support/builddeb.py @@ -24,6 +24,9 @@ __email__ = "eopage@byu.net" __version__ = constants.__version__ __build__ = constants.__build__ __changelog__ = """ +0.9.8 +* Fixing log support + 0.9.7 * Added shortcut to copy result * Shortcuts: Backspace - as expected, Ctrl+Backspace - unpops, Enter - pops