Merge lp://qastaging/~toineo/unity-lens-applications/calculator into lp://qastaging/unity-lens-applications
Status: | Superseded |
---|---|
Proposed branch: | lp://qastaging/~toineo/unity-lens-applications/calculator |
Merge into: | lp://qastaging/unity-lens-applications |
Diff against target: |
876 lines (+740/-54) 4 files modified
src/Makefile.am (+1/-0) src/equationparser.vala (+416/-0) src/runner.vala (+170/-53) src/utils.vala (+153/-1) |
To merge this branch: | bzr merge lp://qastaging/~toineo/unity-lens-applications/calculator |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
toineo (community) | Abstain | ||
Didier Roche-Tolomelli | Needs Fixing | ||
Review via email: mp+70264@code.qastaging.launchpad.net |
This proposal has been superseded by a proposal from 2011-09-09.
Description of the change
This mainly adds a calculator to the <alt-f2> mode.
The refactored runner should also permit easier integration of other modes, in the future.
To try it : <alt-f2> + "= yourexpression", e.g "= 2 * tan(7) / 5"
It implements bug #778036.
I would like to thank Didrocks for his very useful help in making this little contribution, and for the time he spent answering my questions.
Unmerged revisions
- 219. By toineo
-
Remerged against njpatel's and didrocks' work
- 218. By toineo
-
Fix the bug of broken function calls.
Fix a bug due to the "useless + deleting" (now, (+-+-7) is correctly evaluated).
Add log10 to the function set. - 217. By toineo
-
Fixing the approximations due to the double type.
Removing the display of the search string, before the result. - 216. By toineo
-
Improving results display.
- 215. By toineo
-
Fixing regression of history not displayed on empty search.
Removing useless comments and fixing indentation. - 214. By toineo
-
Implementing double hashmap for size-based function processing.
Fixing minor issues (bool process_easter(), indent problem, shameful process_computation( ) structure). - 213. By toineo
-
Refactored runner with mode support
Adding equation parser and corresponding calculator mode in runner
excellent work, sponsoring, thanks!