Skip to content

Commit

Permalink
Align completion list to beginning of word; Increment version number;…
Browse files Browse the repository at this point in the history
… Update manual; Update translations
  • Loading branch information
hanna-kn committed Jan 1, 2023
1 parent de008cd commit 0aebc22
Show file tree
Hide file tree
Showing 32 changed files with 1,870 additions and 1,851 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2022-12-22 Hanna Knutsson <hanna.knutsson@protonmail.com>

* Align completion list to beginning of word

2022-12-16 Hanna Knutsson <hanna.knutsson@protonmail.com>

* Fix opening customize keypad buttons a second time after the window has been closed with method other than using the close button
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([Qalculate! (GTK UI)],[4.5.0],[],[qalculate-gtk])
AC_INIT([Qalculate! (GTK UI)],[4.5.1],[],[qalculate-gtk])
AC_CONFIG_SRCDIR([src/callbacks.cc])
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS(config.h)
Expand Down
11 changes: 11 additions & 0 deletions data/qalculate-gtk.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,17 @@
</provides>
<translation type="gettext">qalculate-gtk</translation>
<releases>
<release version="4.5.1" date="2023-01-04">
<description>
<p>Changes:</p>
<ul>
<li>Fix retrieval of exchange rates from mycurrency.net and add alternative secondary exchange rates sources</li>
<li>Align completion list to beginning of word</li>
<li>Add m/s³, m/s⁴, m/s⁵, and m/s⁶ as derived units (improves automatic unit conversion)</li>
<li>Check that the output of command, in command() function, is a reasonably sane expression</li>
</ul>
</description>
</release>
<release version="4.5.0" date="2022-12-19">
<description>
<p>Changes:</p>
Expand Down
4 changes: 2 additions & 2 deletions doc/C/qalculate-gtk-C.omf
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
Qalculate! Manual
</title>
<date>
2022-12-19
2023-01-04
</date>
<version identifier="4.5.0" date="2022-12-19" description=""/>
<version identifier="4.5.1" date="2023-01-04" description=""/>
<subject category="GNOME|Applications|Accessories"/>
<description>
This is the Qalculate! manual
Expand Down
6 changes: 3 additions & 3 deletions doc/C/qalculate-gtk.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!ENTITY legal SYSTEM "legal.xml">
<!ENTITY appversion "4.5.0">
<!ENTITY manrevision "4.5.0">
<!ENTITY date "December 2022">
<!ENTITY appversion "4.5.1">
<!ENTITY manrevision "4.5.1">
<!ENTITY date "January 2023">
<!ENTITY app "Qalculate!">
<!ENTITY appendixa SYSTEM "appendixa.xml">
<!ENTITY appendixb SYSTEM "appendixb.xml">
Expand Down
2 changes: 1 addition & 1 deletion doc/html/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/html/qalculate-definitions-functions.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/html/qalculate-definitions-units.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/html/qalculate-definitions-variables.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion doc/html/qalculate-examples.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Appendix D. Example expressions</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="Qalculate! Manual v4.5.0"><link rel="up" href="index.html" title="Qalculate! Manual v4.5.0"><link rel="prev" href="qalculate-definitions-units.html" title="Appendix C. Unit List"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Appendix D. Example expressions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="qalculate-definitions-units.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> </td></tr></table><hr></div><div class="appendix"><div class="titlepage"><div><div><h1 class="title"><a name="qalculate-examples"></a>Appendix D. Example expressions</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-1">Basic functions and operators</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-2">Units</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-3">Physical constants</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-4">Uncertainty and interval arithmetic</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-5">Algebra</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-6">Calculus</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-7">Matrices and vectors</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-8">Statistics</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-9">Time and date</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-10">Number bases</a></span></dt></dl></div><p><span class="emphasis"><em>Note that semicolon can be replaced with comma in function arguments, if comma is not used as decimal or thousands separator.</em></span></p><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="qalculate-examples-1"></a>Basic functions and operators</h2></div></div></div><div class="blockquote"><blockquote class="blockquote"><p><span class="command"><strong>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Appendix D. Example expressions</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="Qalculate! Manual v4.5.1"><link rel="up" href="index.html" title="Qalculate! Manual v4.5.1"><link rel="prev" href="qalculate-definitions-units.html" title="Appendix C. Unit List"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Appendix D. Example expressions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="qalculate-definitions-units.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> </td></tr></table><hr></div><div class="appendix"><div class="titlepage"><div><div><h1 class="title"><a name="qalculate-examples"></a>Appendix D. Example expressions</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-1">Basic functions and operators</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-2">Units</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-3">Physical constants</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-4">Uncertainty and interval arithmetic</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-5">Algebra</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-6">Calculus</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-7">Matrices and vectors</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-8">Statistics</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-9">Time and date</a></span></dt><dt><span class="sect1"><a href="qalculate-examples.html#qalculate-examples-10">Number bases</a></span></dt></dl></div><p><span class="emphasis"><em>Note that semicolon can be replaced with comma in function arguments, if comma is not used as decimal or thousands separator.</em></span></p><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="qalculate-examples-1"></a>Basic functions and operators</h2></div></div></div><div class="blockquote"><blockquote class="blockquote"><p><span class="command"><strong>
sqrt 4</strong></span> <span class="emphasis"><em>= sqrt(4) = 4^(0.5) = 4^(1/2) = 2</em></span></p></blockquote></div><div class="blockquote"><blockquote class="blockquote"><p><span class="command"><strong>
sqrt(25; 16; 9; 4)</strong></span> <span class="emphasis"><em>= [5  4  3  2]</em></span></p></blockquote></div><div class="blockquote"><blockquote class="blockquote"><p><span class="command"><strong>
sqrt(32)</strong></span> <span class="emphasis"><em>= 4 × √(2) (in exact mode)</em></span></p></blockquote></div><div class="blockquote"><blockquote class="blockquote"><p><span class="command"><strong>
Expand Down
2 changes: 1 addition & 1 deletion doc/html/qalculate-expressions.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Chapter 4. Expressions</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="Qalculate! Manual v4.5.0"><link rel="up" href="index.html" title="Qalculate! Manual v4.5.0"><link rel="prev" href="qalculate-user-interface.html" title="Chapter 3. User Interface"><link rel="next" href="qalculate-mode.html" title="Chapter 5. Calculator Modes"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 4. Expressions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="qalculate-user-interface.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="qalculate-mode.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="qalculate-expressions"></a>Chapter 4. Expressions</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="qalculate-expressions.html#qalculate-expression-objects">Objects</a></span></dt><dt><span class="sect1"><a href="qalculate-expressions.html#qalculate-expression-operators">Operators</a></span></dt><dt><span class="sect1"><a href="qalculate-expressions.html#qalculate-implicit-multiplication">Implicit Multiplication and Parsing Modes</a></span></dt><dt><span class="sect1"><a href="qalculate-expressions.html#qalculate-to">The <span class="quote"><span class="quote">to</span></span> (and <span class="quote"><span class="quote">where</span></span>) operators</a></span></dt></dl></div><p>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Chapter 4. Expressions</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="Qalculate! Manual v4.5.1"><link rel="up" href="index.html" title="Qalculate! Manual v4.5.1"><link rel="prev" href="qalculate-user-interface.html" title="Chapter 3. User Interface"><link rel="next" href="qalculate-mode.html" title="Chapter 5. Calculator Modes"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 4. Expressions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="qalculate-user-interface.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="qalculate-mode.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="qalculate-expressions"></a>Chapter 4. Expressions</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="qalculate-expressions.html#qalculate-expression-objects">Objects</a></span></dt><dt><span class="sect1"><a href="qalculate-expressions.html#qalculate-expression-operators">Operators</a></span></dt><dt><span class="sect1"><a href="qalculate-expressions.html#qalculate-implicit-multiplication">Implicit Multiplication and Parsing Modes</a></span></dt><dt><span class="sect1"><a href="qalculate-expressions.html#qalculate-to">The <span class="quote"><span class="quote">to</span></span> (and <span class="quote"><span class="quote">where</span></span>) operators</a></span></dt></dl></div><p>
Expressions are mathematical statements. Mathematical questions are asked through expressions, which contains objects tied together with operators. The result of an expression may also be an expression, if the result is not a single object. Apples and oranges can be mixed, but the result will hold them apart. Qalculate! knows algebra.
</p><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="qalculate-expression-objects"></a>Objects</h2></div></div></div><p>
In Qalculate! mathematical entities, such as numbers and variables, are referred to as objects. The recognized object types are listed below.
Expand Down
2 changes: 1 addition & 1 deletion doc/html/qalculate-functions.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Chapter 8. Functions</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="Qalculate! Manual v4.5.0"><link rel="up" href="index.html" title="Qalculate! Manual v4.5.0"><link rel="prev" href="qalculate-variables.html" title="Chapter 7. Variables"><link rel="next" href="qalculate-units.html" title="Chapter 9. Units"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 8. Functions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="qalculate-variables.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="qalculate-units.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="qalculate-functions"></a>Chapter 8. Functions</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="qalculate-functions.html#qalculate-available-functions">Available Functions</a></span></dt><dt><span class="sect1"><a href="qalculate-functions.html#qalculate-function-creation">Function creation/editing</a></span></dt></dl></div><p>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Chapter 8. Functions</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="Qalculate! Manual v4.5.1"><link rel="up" href="index.html" title="Qalculate! Manual v4.5.1"><link rel="prev" href="qalculate-variables.html" title="Chapter 7. Variables"><link rel="next" href="qalculate-units.html" title="Chapter 9. Units"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 8. Functions</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="qalculate-variables.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="qalculate-units.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="qalculate-functions"></a>Chapter 8. Functions</h1></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl class="toc"><dt><span class="sect1"><a href="qalculate-functions.html#qalculate-available-functions">Available Functions</a></span></dt><dt><span class="sect1"><a href="qalculate-functions.html#qalculate-function-creation">Function creation/editing</a></span></dt></dl></div><p>
Functions are essentially mathematical formulas. They are used to store expressions with variable values, arguments. To execute a function, the values for a number of arguments need to specified. These arguments are then inserted into the expression, making it possible to calculate.
</p><p>
Functions is normally entered in an expression by writing the name followed by arguments, separated by commas (or semicolons in languages with comma as decimal point), in parenthesis, thus following the syntax <span class="command"><strong>name(arg1, arg2, ...)</strong></span>. Qalculate! will give a helpful error message if the arguments are not correct.
Expand Down
2 changes: 1 addition & 1 deletion doc/html/qalculate-interval-arithmetic.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Chapter 6. Propagation of Uncertainty and Interval Arithmetic</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="Qalculate! Manual v4.5.0"><link rel="up" href="index.html" title="Qalculate! Manual v4.5.0"><link rel="prev" href="qalculate-mode.html" title="Chapter 5. Calculator Modes"><link rel="next" href="qalculate-variables.html" title="Chapter 7. Variables"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 6. Propagation of Uncertainty and Interval Arithmetic</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="qalculate-mode.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="qalculate-variables.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="qalculate-interval-arithmetic"></a>Chapter 6. Propagation of Uncertainty and Interval Arithmetic</h1></div></div></div><p>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Chapter 6. Propagation of Uncertainty and Interval Arithmetic</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="Qalculate! Manual v4.5.1"><link rel="up" href="index.html" title="Qalculate! Manual v4.5.1"><link rel="prev" href="qalculate-mode.html" title="Chapter 5. Calculator Modes"><link rel="next" href="qalculate-variables.html" title="Chapter 7. Variables"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 6. Propagation of Uncertainty and Interval Arithmetic</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="qalculate-mode.html">Prev</a> </td><th width="60%" align="center"> </th><td width="20%" align="right"> <a accesskey="n" href="qalculate-variables.html">Next</a></td></tr></table><hr></div><div class="chapter"><div class="titlepage"><div><div><h1 class="title"><a name="qalculate-interval-arithmetic"></a>Chapter 6. Propagation of Uncertainty and Interval Arithmetic</h1></div></div></div><p>
Two different algorithms for calculation of intervals or propagation of uncertainties are supported (selectable from <span class="guimenu">Mode</span>+<span class="guimenu">Interval Calculation</span>). This applies to numbers, defined using the <span class="command"><strong>interval()</strong></span> function or <span class="quote"><span class="quote">±</span></span> notation, or with <span class="quote"><span class="quote">read precision</span></span> enabled, and variables, including physical constants, with specified standard uncertainty. The uncertainty will be calculated separately for non-differentiable functions.
</p><p>
By default the variance formula is used. Intervals are with this method treated as values with measurement uncertainties (the value 5±0.01 has a standard deviation of 0.01). The final uncertainty, or error, is estimated using partial derivatives, as shown below. For expressions involving complex numbers, the imaginary uncertainty are calculated separately.
Expand Down
Loading

0 comments on commit 0aebc22

Please sign in to comment.