head 1.2; access; symbols; locks; strict; comment @# @; 1.2 date 2016.06.19.15.40.11; author prlw1; state dead; branches; next 1.1; commitid EEAgNgjzZ5mSG5bz; 1.1 date 2016.04.21.22.11.32; author prlw1; state Exp; branches; next ; commitid NXIg7t3nhmI4Kx3z; desc @@ 1.2 log @Update gnome-calculator to 3.20.1 Overview of changes in gnome-calculator 3.20.1 * Fix: precedence of root operator (Alexis Poirier and Alberto Ruiz) * Update: Translation (Translation team) @ text @$NetBSD: patch-lib_equations-parser.vala,v 1.1 2016/04/21 22:11:32 prlw1 Exp $ equation: fix precedence of the root operator with regards to the unary minus commit 87f716da --- ./lib/equation-parser.vala.orig 2016-02-15 16:53:44.000000000 +0000 +++ ./lib/equation-parser.vala @@@@ -26,15 +26,15 @@@@ private enum Precedence MOD = 3, DIVIDE = 3, NOT = 4, - ROOT = 5, - FUNCTION = 6, - BOOLEAN = 7, - PERCENTAGE = 8, - /* UNARY_MINUS and POWER must have same precedence. */ - UNARY_MINUS = 9, - POWER = 9, - FACTORIAL = 10, - NUMBER_VARIABLE = 11, + FUNCTION = 5, + BOOLEAN = 6, + PERCENTAGE = 7, + /* UNARY_MINUS, ROOT and POWER must have same precedence. */ + UNARY_MINUS = 8, + POWER = 8, + ROOT = 8, + FACTORIAL = 9, + NUMBER_VARIABLE = 10, /* DEPTH should be always at the bottom. It stops node jumping off the current depth level. */ DEPTH } @ 1.1 log @Update gnome-calculator to 3.20.0 Overview of changes in gnome-calculator 3.20.0 * Update: Translation (Translation team) Overview of changes in gnome-calculator 3.19.91 * Fix: Check for null on variables ought to autocomplete (fixes #762426) (Alberto Ruiz) * Updated Czech translation (Marek Černocký) * Updated Catalan translation (Jordi Mas) * Updated Galician translations (Fran Dieguez) * Updated Swedish translation (Anders Jonsson) * Updated Serbian translation (Мирослав Николић) * Updated Brazilian Portuguese translation (Fábio Nogueira) Overview of changes in gnome-calculator 3.19.90 * New: Upgrade license for all source files to GPLv3+ (Michael Catanzaro) * New: Use Soup instead of GVFS to download the IMF/ECB currency data (Alberto Ruiz) * Fix: Silence a compiler warning (Michael Catanzaro) * Fix: Remove Lithuanian litas from currency list (Michael Catanzaro) * Fix: Fix use of GtkStyleContext for GTK+ 3.20 (Michael Catanzaro) * Fix: Clarify license on number.vala (Michael Catanzaro) * Fix: Clarify license on mpfr.vapi (Michael Catanzaro) * Fix: Installed tests: Update expectations (Matthias Clasen) * Fix: Set the accessible name on the mode chooser (Matthias Clasen) * Fix: Do not reset second currency on first currency change, fixes #260166 (Robert Roth) * Fix: Fix Chinese Yuan symbol, fixes #761075 (Alberto Ruiz) * Fix: Add a missing tag to the AppData file (Richard Hughes) * Update: Upgrade appdata (Michael Catanzaro) * Update: Translation (Translation team) Overview of changes in gnome-calculator 3.19.4 * New: Migrate MathConverter, MathWindow, HistoryView and HistoryEntry to GtkBuilder template (Alberto Ruiz) * Fix: Remove unused -D defines from Makefile.am and configure.vapi for both src/ and lib/ (Alberto Ruiz) * Fix: Check if base exponent are complex for xpowy() method (Gerlof Fokkema) * Fix: Prevent infinte loop on some operations with imaginary numbers, bug #757657 (Kyle Green) * Fix: e^(-0.5) returned the wrong value, bug #756960 (Felix Pelletier) * Fix: Missing mnemonic bond in Gross Profit Margin dialog (Martin Simon) * Fix: Use load_from_resource in the Gtk.CssProvider instead of opening the file manually (Alberto Ruiz) * Fix: Use builddir for gresource.xml to satisfy Vala/autotools behaviour, bug #760679 (Michael Catanzaro) * Fix: Rename gnome-calculator.doap name tag to GNOME Calculator instead of gnome-calculator (Alberto Ruiz) * Fix: Use AM_DISTCHECK_CONFIGURE_FLAGS (Michael Catanzaro) * Fix: MathDisplay grabs focus after being shown, bug #748743 (Elita.A.A.Lobo) * Fix: math-equation: "No history" message should disappear when appropriate, bug #759943 (Michael Catanzaro) * Update : Translation (Translation team) Overview of changes in gnome-calculator 3.19.2 * Update : Translation (Translation team) Overview of changes in gnome-calculator 3.19.1 * Fix : Explicitly link required libraries for gnome-calculator and gcalcmd binaries (Andreas Henriksson) * Update : Translation (Translation team) Overview of changes in gnome-calculator 3.18.0 * Fix : SYD function was returning the wrong value (Matthias Clasen) * Fix : Fix dialogs sizing for financial functions (Matthias Clasen) * Update : Translation (Translation team) Overview of changes in gnome-calculator 3.17.92 * Update : Alberto Ruiz as new maintainer in doap file (Alberto Ruiz) * Update : Build System improvements (Michael Catanzaro, Robert Ancell) * Update : Portuguese, Polish and Chinese (Taiwan) translations (Translation team) Overview of changes in gnome-calculator 3.17.3 * Update : Stop using gnome-common (Robert Ancell) * Fix : Remove incorrect assertion in search provider (Michael Catanzaro) Overview of changes in gnome-calculator 3.17.2 * Update : Split many files into an internal convenience library (Michael Catanzaro) * Update : Remove workaround for bug #737222 (Michael Catanzaro) * Update : Translations (Translation team) * Fix : Search provider should discard child stdout/stderr (Michael Catanzaro) * Fix : Syntax error in desktop file keywords Bosnian translation (Kalev Lember) Overview of changes in gnome-calculator 3.16.0 * Update : Translations (Translation team) @ text @d1 1 a1 1 $NetBSD$ @