gnome-calculator:60-split-out-a-backend-library

Last commit made on 2019-04-23
Get this branch:
git clone -b 60-split-out-a-backend-library https://git.launchpad.net/gnome-calculator

Branch merges

Branch information

Name:
60-split-out-a-backend-library
Repository:
lp:gnome-calculator

Recent commits

1c5e077... by esodan

gcalc: add new library for math parsing/solving

Fix issue #60

This new library is independent from the internal one.

GCalc provides following features:

* Parse complicated constant equations
* Parse pre-defined functions (equivalent to the ones in Calculator)
* Parse complicated equations with pre-defined functions in them
* Parsing expressions to an Object Oriented tree representation using GObject classes
* Define arbitrary variables using complicated expressions, with both other variables or constants
* Evaluate expressions using defined variables
* Uses MPC as back end for calculation so complex numbers will be available soon
* No Gtk+ dependencies

d47f81b... by Daniel Mustieles

Updated Spanish translation

3b31d46... by Fabio Tomat <email address hidden>

Update Friulian translation

d3faf5a... by Ask Hjorth Larsen

Updated Danish translation

fb58e4c... by Ask Hjorth Larsen

Updated Danish translation

b23b715... by Andre Klapper

help: Update application icon for 3.32

8492383... by Robert Roth

Fixed bitshift precedence (#98)

30cc548... by Robert Roth

Only allow entering one decimal point in each number (fixes #5)

d6c1d26... by Robert Roth

Ignore keypresses while calculating result (fixes #47)

7899ad8... by Pascal Nowack

search-provider: stop normalizing the equation twice

When an equation is given by the g-s overview, g-c
will solve this equation, where it will be first
normalized and then solved.
This is done by running a subprocess, where g-c
will call g-c in this subprocess with the
"--solve" argument.
With this "--solve" argument, the equation will
also be normalized.
However, when an equation is given by the g-s
overview, it will also be normalized in a check,
that happens before the solve process, to not to
process single numbers given by the g-s overview.
This normalized equation will then be used to
invoke the subprocess to solve the equation,
leading into normalizing the already normalized
equation and therefore resulting into wrong
results when the equation itself contains
decimal numbers.

Solve this issue, by invoking the subprocess with
the unnormalized equation, instead of the
normalized one, to not to normalize the
equation twice.

Closes: https://gitlab.gnome.org/GNOME/gnome-calculator/issues/104