Skip to content

Commit

Permalink
Allow omission of 1 in 1/n for output using fixed denominator; Do not…
Browse files Browse the repository at this point in the history
… show number as combined fraction with fixed denominator if the resulting integer value is an interval; Use capitalized name in Unit::print() regardless of formatting type; Improve formatting of base unit(s) in unit information in qalc; "rUS_ods" -> "US_rods"; Improve output of defs2doc; Fix reading of (old) exchange rates data from exchangerate.host; Update man page; Increment version number; Update translations; Update exchange rates
  • Loading branch information
hanna-kn committed Nov 26, 2023
1 parent 2b9b0e5 commit b5e7d55
Show file tree
Hide file tree
Showing 37 changed files with 13,653 additions and 12,502 deletions.
59 changes: 59 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,62 @@
2023-11-21 Hanna Knutsson <[email protected]>

* Fix BTC exchange rate (data now seem to always use USD)
* Replace exchangerate.host (now requires API key) with currency-api (https://cdn.jsdelivr.net/gh/fawazahmed0/currency-api@1/latest/currencies/eur.json)

2023-11-19 Hanna Knutsson <[email protected]>

* Improve formatting of base unit(s) in unit information in qalc
* Fix plural name of U.S. survey rods
* Improve output of defs2doc

2023-11-13 Hanna Knutsson <[email protected]>

* Ignore spaces when converting text string to integer

2023-10-31 Hanna Knutsson <[email protected]>

* Display all exponents 0-9 using Unicode superscript characters (not, as before, only for units), in qalc (using TAG_TYPE_TERMINAL), if these are the only exponents in the expression (behaviour can be altered using uniexp option)

2023-10-30 Hanna Knutsson <[email protected]>

* Add history command, listing expression history
* Ignore underscore in number

2023-10-29 Hanna Knutsson <[email protected]>

* Add fraction formats for output using percent, permille, and permyriad
* Add additional year definitions as units
* Improve handling of (x*sqrt(x)-y*sqrt(y))/(sqrt(x)-sqrt(y))=x+sqrt(x*y)+y

2023-10-27 Hanna Knutsson <[email protected]>

* Support for specifying a fixed denominator for display of fractions
* Fix case insensitive comparison for strings with more than two or more consecutive Unicode characters in qalc

2023-10-25 Hanna Knutsson <[email protected]>

* Fix parsing of case insensitive object name ending with Unicode character when followed by another Unicode character in expression, e.g. микрометр

2023-10-21 Hanna Knutsson <[email protected]>

* Fix output of value converted to unit expression with numerical multiplier in denominator, e.g. L/(100 km)

2023-10-18 Hanna Knutsson <[email protected]>

* Fix segfault (infinite loop) when trying to solve (x*sqrt(x)-y*sqrt(y))/(sqrt(x)-sqrt(y))=x+sqrt(x*y)+y

2023-10-06 Hanna Knutsson <[email protected]>

* Fix asin(x)=a, acos(x)=a, and atan(x)=a, when a contains an angle unit and default angle unit is set

2023-09-28 Hanna Knutsson <[email protected]>

* Fix Calculator::hasWhereExpression()

2023-09-23 Hanna Knutsson <[email protected]>

* Return gcd of numerators divided by lcm of denominators in gcd() with non-integer rational numbers, and vice versa for lcm()

2023-09-16 Hanna Knutsson <[email protected]>

* Fix display of matrices and vectors with complex number form other than rectangular
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dnl ----------------------
dnl | initialize autotools |---------------------------------------------------
dnl ----------------------

AC_INIT([libqalculate],[4.8.1])
AC_INIT([libqalculate],[4.9.0])
AC_CONFIG_SRCDIR(libqalculate/Calculator.cc)
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS(config.h)
Expand Down
60 changes: 30 additions & 30 deletions data/eurofxref-daily.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,37 @@
<gesmes:name>European Central Bank</gesmes:name>
</gesmes:Sender>
<Cube>
<Cube time='2023-09-11'>
<Cube currency='USD' rate='1.0724'/>
<Cube currency='JPY' rate='157.16'/>
<Cube time='2023-11-20'>
<Cube currency='USD' rate='1.0928'/>
<Cube currency='JPY' rate='162.12'/>
<Cube currency='BGN' rate='1.9558'/>
<Cube currency='CZK' rate='24.508'/>
<Cube currency='DKK' rate='7.4582'/>
<Cube currency='GBP' rate='0.85650'/>
<Cube currency='HUF' rate='384.10'/>
<Cube currency='PLN' rate='4.6438'/>
<Cube currency='RON' rate='4.9635'/>
<Cube currency='SEK' rate='11.8795'/>
<Cube currency='CHF' rate='0.9560'/>
<Cube currency='ISK' rate='143.70'/>
<Cube currency='NOK' rate='11.4240'/>
<Cube currency='TRY' rate='28.8196'/>
<Cube currency='AUD' rate='1.6655'/>
<Cube currency='BRL' rate='5.3205'/>
<Cube currency='CAD' rate='1.4565'/>
<Cube currency='CNY' rate='7.8230'/>
<Cube currency='HKD' rate='8.3995'/>
<Cube currency='IDR' rate='16477.43'/>
<Cube currency='ILS' rate='4.1120'/>
<Cube currency='INR' rate='88.9735'/>
<Cube currency='KRW' rate='1425.94'/>
<Cube currency='MXN' rate='18.8201'/>
<Cube currency='MYR' rate='5.0129'/>
<Cube currency='NZD' rate='1.8100'/>
<Cube currency='PHP' rate='60.837'/>
<Cube currency='SGD' rate='1.4594'/>
<Cube currency='THB' rate='38.049'/>
<Cube currency='ZAR' rate='20.2681'/>
<Cube currency='CZK' rate='24.541'/>
<Cube currency='DKK' rate='7.4565'/>
<Cube currency='GBP' rate='0.87630'/>
<Cube currency='HUF' rate='378.90'/>
<Cube currency='PLN' rate='4.3690'/>
<Cube currency='RON' rate='4.9721'/>
<Cube currency='SEK' rate='11.4270'/>
<Cube currency='CHF' rate='0.9665'/>
<Cube currency='ISK' rate='152.50'/>
<Cube currency='NOK' rate='11.7200'/>
<Cube currency='TRY' rate='31.4332'/>
<Cube currency='AUD' rate='1.6669'/>
<Cube currency='BRL' rate='5.3364'/>
<Cube currency='CAD' rate='1.4994'/>
<Cube currency='CNY' rate='7.8378'/>
<Cube currency='HKD' rate='8.5165'/>
<Cube currency='IDR' rate='16881.57'/>
<Cube currency='ILS' rate='4.0811'/>
<Cube currency='INR' rate='91.1060'/>
<Cube currency='KRW' rate='1412.56'/>
<Cube currency='MXN' rate='18.7590'/>
<Cube currency='MYR' rate='5.1006'/>
<Cube currency='NZD' rate='1.8132'/>
<Cube currency='PHP' rate='60.497'/>
<Cube currency='SGD' rate='1.4641'/>
<Cube currency='THB' rate='38.494'/>
<Cube currency='ZAR' rate='20.1445'/>
</Cube>
</Cube>
</gesmes:Envelope>
Loading

0 comments on commit b5e7d55

Please sign in to comment.