Skip to content

Commit

Permalink
Use middle dot instead of multiplication x in unit expressions; Fix a…
Browse files Browse the repository at this point in the history
…lignment and improve spacing in flat division (primarily in unit expressions); Improve display of abs(), ceil(), and floor(); Remove double parenthesis in manual; Move negative exponents menu item (negative exponents now only applies to units); Disable prefixes by default for scientific, engineering, and pure modes; Do not disable sort minus last and enable negative exponents in scientific and pure modes if these options has been explicitely set by the user (when in one of these modes);
  • Loading branch information
hanna-kn committed Jul 5, 2020
1 parent e2cfac0 commit dcd4fbb
Show file tree
Hide file tree
Showing 9 changed files with 3,535 additions and 3,486 deletions.
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2019-07-04 Hanna Knutsson <hanna.knutsson@protonmail.com>

* Use middle dot instead of multiplication x in unit expressions
* Fix alignment and improve spacing in flat division (primarily in unit expressions)
* Improve display of abs(), ceil(), and floor()
* Move negative exponents menu item (negative exponents now only applies to units)
* Disable prefixes by default for scientific, engineering, and pure modes
* Do not disable sort minus last and enable negative exponents in scientific and pure modes if these options has been explicitely set by the user (when in one of these modes)

2019-07-02 Hanna Knutsson <hanna.knutsson@protonmail.com>

* Fix and improve display of division
Expand Down
21 changes: 10 additions & 11 deletions data/main.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1346,17 +1346,6 @@ On: 2.5 ≈ 2, 1.5 ≈ 2</property>
<signal name="activate" handler="on_menu_item_round_halfway_to_even_activate" swapped="no"/>
</object>
</child>
<child>
<object class="GtkCheckMenuItem" id="menu_item_negative_exponents">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Off: 1/x
On: x^(-1)</property>
<property name="label" translatable="yes">Negative Exponents</property>
<property name="use_underline">True</property>
<signal name="activate" handler="on_menu_item_negative_exponents_activate" swapped="no"/>
</object>
</child>
<child>
<object class="GtkCheckMenuItem" id="menu_item_sort_minus_last">
<property name="visible">True</property>
Expand Down Expand Up @@ -1611,6 +1600,16 @@ On: 1/2*pi = 0.5 pi</property>
<signal name="activate" handler="on_menu_item_denominator_prefixes_activate" swapped="no"/>
</object>
</child>
<child>
<object class="GtkCheckMenuItem" id="menu_item_negative_exponents">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Off: J / K
On: J * K^-1</property>
<property name="label" translatable="yes">Negative Exponents</property>
<signal name="activate" handler="on_menu_item_negative_exponents_activate" swapped="no"/>
</object>
</child>
<child>
<object class="GtkCheckMenuItem" id="menu_item_place_units_separately">
<property name="visible">True</property>
Expand Down
2 changes: 1 addition & 1 deletion doc/C/qalculate-gtk.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1311,7 +1311,7 @@ In &app; mathematical entities, such as numbers and variables, are referred to a
<varlistentry>
<term>Unknowns</term>
<listitem><para>
Unknowns are text strings without any associated value. These are temporary unknown variables with default assumptions. Unknowns can also be explicitly entered by placing a backslash (<quote>\</quote>) before a single character (e.g. <quote>5\a + 2\b</quote>) or using quotation marks (<quote>"</quote> or <quote>'</quote>) before and after a text string (e.g. <quote>5 "apples" + 2 "bananas"</quote>). If unknowns are activated ((<menuchoice><guimenu>Mode</guimenu><guimenu>Enabled Objects</guimenu><guimenuitem>Unknowns</guimenuitem></menuchoice>)) and &app; finds a character that are not associated with any variable, function or unit in an expression, then it will be regarded as an unknown variable. See <xref linkend="qalculate-variables"/>.
Unknowns are text strings without any associated value. These are temporary unknown variables with default assumptions. Unknowns can also be explicitly entered by placing a backslash (<quote>\</quote>) before a single character (e.g. <quote>5\a + 2\b</quote>) or using quotation marks (<quote>"</quote> or <quote>'</quote>) before and after a text string (e.g. <quote>5 "apples" + 2 "bananas"</quote>). If unknowns are activated (<menuchoice><guimenu>Mode</guimenu><guimenu>Enabled Objects</guimenu><guimenuitem>Unknowns</guimenuitem></menuchoice>) and &app; finds a character that are not associated with any variable, function or unit in an expression, then it will be regarded as an unknown variable. See <xref linkend="qalculate-variables"/>.
</para></listitem>
</varlistentry>
<varlistentry>
Expand Down
Loading

0 comments on commit dcd4fbb

Please sign in to comment.