SHA256
1
0
forked from pool/qalculate-qt

Compare commits

..

15 Commits

Author SHA256 Message Date
Ana Guerrero
f180ef8eb6 Accepting request 1237863 from science
OBS-URL: https://build.opensuse.org/request/show/1237863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qalculate-qt?expand=0&rev=7
2025-01-16 17:31:28 +00:00
Dmitry Roshchin
7788d32868 - Update to 5.5.0:
* Place approximate value before exact in calculate
    as you type result
  * Option to disable cursor blinking
  * Set ans variable to solution(s) of equation
    (as if solve() function were used)
  * Fix display of units automatically appended to expression in
    parse status
  * Fix reading of expressions from file
  * a(i) and a[i] syntax (the latter with support for functions)
    for element in vector (libqalculate)
  * New function: factor() (libqalculate)
  * Minor bug fixes and feature enhancements

OBS-URL: https://build.opensuse.org/package/show/science/qalculate-qt?expand=0&rev=15
2025-01-14 15:36:54 +00:00
Ana Guerrero
13277360ca Accepting request 1233134 from science
- Build with Qt6
- Update to 5.4.0

OBS-URL: https://build.opensuse.org/request/show/1233134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qalculate-qt?expand=0&rev=6
2024-12-23 15:54:21 +00:00
060ce8c8b9 OBS-URL: https://build.opensuse.org/package/show/science/qalculate-qt?expand=0&rev=13 2024-12-23 11:41:22 +00:00
d64c1d2b81 - Build with Qt6
- Update to 5.4.0
- Update to 5.3.0
- Update to 5.2.0

OBS-URL: https://build.opensuse.org/package/show/science/qalculate-qt?expand=0&rev=12
2024-12-23 11:40:57 +00:00
Dominique Leuenberger
5b09255523 Accepting request 1192804 from science
Update to 5.x, sync-up with qalculate

OBS-URL: https://build.opensuse.org/request/show/1192804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qalculate-qt?expand=0&rev=5
2024-08-09 14:16:05 +00:00
Ana Guerrero
ae1e694eae Accepting request 1173425 from science
OBS-URL: https://build.opensuse.org/request/show/1173425
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qalculate-qt?expand=0&rev=4
2024-05-12 20:53:55 +00:00
b01ae5bf23 Accepting request 1173372 from home:jgwang:branches:science
Update to 4.9.0

old: science/qalculate-qt
new: home:jgwang:branches:science/qalculate-qt rev None
Index: qalculate-qt.changes
===================================================================
--- qalculate-qt.changes (revision 7)
+++ qalculate-qt.changes (revision 2)
@@ -1,4 +1,154 @@
 -------------------------------------------------------------------
+Sat May 11 00:37:16 UTC 2024 - jun wang <jgwang@suse.com>
+
+- Update to 4.9.0
+  + Changes from 4.9.0
+    * Support for specifying a fixed denominator for display of
+      fractions
+    * Return gcd of numerators divided by lcm of denominators in
+      gcd() with non-integer rational numbers, and vice versa for
+      lcm()
+    * Add units for mean Gregorian and tropical years
+    * Ignore underscore in number
+    * Replace defunct exchange rates source and fix bitcoin
+      exchange rate
+    * Fix asin(x)=a, acos(x)=a, and atan(x)=a, when a contains an
+      angle unit and default angle unit is set
+    * Fix output of value converted to unit expression with
+      numerical multiplier in denominator, e.g. "➞ L/(100 km)"
+    * Fix segfault when trying to solve
+      "(x*sqrt(x)-y*sqrt(y))/(sqrt(x)-sqrt(y))=x+sqrt(x*y)+y"
+    * Fix parsing of case insensitive object name ending with
+      Unicode character when followed by another Unicode character
+      in expression, e.g. "микрометр"
+    * Always add result to history (even if identical to previous)
+      if expression contains a function generating a random
+      number (GTK, Qt)
+    * Prefer capitalized function name (over name with underscore),
+      when completing function name (GTK, Qt)
+    * Improve decision to (not) update calculate-as-you-type
+      result when last character is an operator (GTK)
+    * Add percent and permille output options in rational number
+      form menu (GTK)
+    * Fix keypad button (up/down) for cycling through expression
+      history (GTK)
+    * Restore decimal number base after closing programming
+      keypad (Qt)
+    * Improve appearance of conversion menu (Qt)
+    * Save position of main window even if size has not changed
+      from the default (Qt)
+    * Fix custom middle click button action (Qt)
+    * Fix immediate calculation after selecting to-conversion
+      completion (Qt)
+    * Add history command, listing expression history (CLI)
+    * Display all exponents 0-9 using Unicode superscript
+      characters if these are the only exponents in the
+      expression (CLI)
+    * Minor bug fixes and feature enhancements 
+  + Changes from 4.8.1
+    * Fix besselj() and bessely()
+    * Fix display of matrices and vectors with complex number
+      form other than rectangular (default)
+    * Fix conflict between decibel units (e.g. "0dB") and
+      duodecimal 0d… syntax (now requires at least two digits)
+    * Fixes for title options in plot() function
+    * Add additional buttons and button menus to general
+      keypad (Qt)
+    * Add option to show all functions, units, and variables in
+      tool button menus (Qt)
+    * Add recently used objects to functions, units, and variables
+      menus (Qt)
+    * Add option to bypass dialog for functions in menu (Qt)
+    * Add option, in context menu, to display text for tool
+      buttons (Qt)
+    * Open functions, units, and variables tool button menus using
+      long-press or right-click (in addition to arrow button),
+      and add keyboard shortcuts (Qt)
+    * Use keypad tool button menu as context menu and show keypad
+      type in title bar of keypad (Qt)
+    * Auto-update number bases above programming keypad when
+      entering simple integers, even if calculate-as-you-type is
+      deactivated (GTK)
+  + Changes from 4.8.0
+    * Concise (e.g. "1.2345(67)") and relative (e.g. "5+/-2%")
+      notation for output and input (disabled by default for
+      concise notation) of interval
+    * Optimize rest of unit expression when converting to partial
+      (insufficient) expression (e.g. 18MA×100ns to J = 1.8 J/V)
+    * Round high precision intervals enclosing integers for
+      integer arguments
+    * Add support for specifying position of sign bit in floating
+      point functions
+    * New derived units: Debye, C·m, Daraf, F^-1, V/C, N/C, kcal,
+      kcal/g, kJ
+    * Use international foot as base unit for rod
+    * Fix fibonacci() for non-integers and recursive use
+    * Fix conversion options presented for speed units
+      (and possibly other)
+    * Update dialogs for editing of variables, functions, units,
+      etc. to match the corresponding dialogs in the Qt UI (GTK)
+    * Show user-defined objects in a separate category in menus
+      and dialogs (GTK)
+    * Add option to disable tooltips in keypad or everywhere
+      (GTK, Qt)
+    * Add option to disable units and to interpret unrecognized
+      symbols as variables (unknowns) to preferences (Qt)
+    * Make closing of application with Escape key optional and
+      disabled by default (GTK, Qt)
+    * Hide name column in conversion list when applied to current
+      result (Qt)
+    * Add temporary option to unknown variable edit dialog
+      (GTK, Qt)
+    * Add Microship (PIC16/17) 24 and 32 bit floating point
+      formats (GTK, Qt)
+    * Fix initial height of list and description in units window
+      (GTK)
+    * Minor bug fixes and feature enhancements
+  + Changes from 4.7.0
+    * Support for custom default angle unit, e.g. turn, arcsec,
+      arcmin
+    * Append default angle unit (instead of always radians) when
+      converting value without unit to angle unit
+    * More consistent addition and removal of angle unit from
+      function arguments
+    * Always interpret ./, .*, and .^ as entrywise operators if
+      user intention is unclear
+    * Change order of operations to place entrywise and ordinary
+      operators on the same precedence level
+    * Add function, kron(), for Kronecker product, and constants
+      for Pauli matrices
+    * Add radius to planets dataset and update other properties
+    * Support replacement of unknown variables within variable
+      values
+    * Fix besselj(0, 0)
+    * Fix incomplete calculation in tan() with try exact
+      approximation
+    * Fix 0/0=0 equality (do not return true) and output of 2/0
+      (and similar)
+    * Fixes and improvements for newtonsolve() and secantsolve()
+    * Fix segfault when MathStructure is deleted after Calculator,
+      and in destructor of calculated DynamicVariable
+      (called from Calculator destructor)
+    * Do not save mode on exit if "-defaults" command line switch
+      where used (CLI)
+    * Allow multiple actions for keyboard shortcuts (GTK, Qt)
+    * Add toggle precision, and min, max, or min and max decimals
+      to available shortcut and button actions (GTK, Qt)
+    * Add option to exclude units for unformatted ASCII copy
+      (GTK, Qt)
+    * Add optional value to copy result action, allowing
+      expression copy and formatting selection (GTK, Qt)
+    * Fix copy unformatted ASCII when local digit group separator
+      is same as selected decimal separator (GTK, Qt)
+    * Add option to automatically copy result (Qt)
+    * Always set (primary) selection clipboard contents when whole
+      expression is selected or selection is cleared, e.g. after
+      calculation (Qt)
+    * Improve support dark mode and high contrast modes, and
+      change default style to Fusion, on Windows (Qt)
+    * Minor bug fixes and feature enhancements
+
+-------------------------------------------------------------------
 Thu Apr 20 09:24:22 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>
 
 - Update to 4.6.1:
Index: qalculate-qt.spec
===================================================================
--- qalculate-qt.spec (revision 7)
+++ qalculate-qt.spec (revision 2)
@@ -1,7 +1,7 @@
 #
 # spec file for package qalculate-qt
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           qalculate-qt
-Version:        4.6.1
+Version:        4.9.0
 Release:        0
 Summary:        Multi-purpose cross-platform desktop calculator
 License:        GPL-2.0-or-later
Index: qalculate-qt-4.9.0.tar.gz
===================================================================
Binary file qalculate-qt-4.9.0.tar.gz (revision 2) added
Index: qalculate-qt-4.6.1.tar.gz
===================================================================
Binary file qalculate-qt-4.6.1.tar.gz (revision 7) deleted

OBS-URL: https://build.opensuse.org/request/show/1173372
OBS-URL: https://build.opensuse.org/package/show/science/qalculate-qt?expand=0&rev=8
2024-05-11 13:26:15 +00:00
Dominique Leuenberger
8c1ed61f90 Accepting request 1080891 from science
OBS-URL: https://build.opensuse.org/request/show/1080891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qalculate-qt?expand=0&rev=3
2023-04-21 12:16:58 +00:00
Dirk Stoecker
b56396d74f Accepting request 1080638 from home:polslinux:branches:science
- Update to 4.6.1:
  * More robust and consistent default language detection and option
    to change language on Windows
  * Option to change symbols used for output of digits 10 and 11 in
    duodecimal numbers (use A and B as default digits)

OBS-URL: https://build.opensuse.org/request/show/1080638
OBS-URL: https://build.opensuse.org/package/show/science/qalculate-qt?expand=0&rev=6
2023-04-20 13:24:43 +00:00
Dominique Leuenberger
7ce92a3a3b Accepting request 1045968 from science
OBS-URL: https://build.opensuse.org/request/show/1045968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qalculate-qt?expand=0&rev=2
2023-01-03 14:04:50 +00:00
2cbfd8794f Accepting request 1045477 from home:polslinux:branches:science
- Update to 4.5.0:
  * Use history font for RPN stack list (GTK, Qt)
  * Use log() instead of log2() as alternative action on "ln" keypad button (Qt)
  * Fix completion (including segfaults) and expression tooltip on Wayland (Qt)
  * Fix RPN mode deactivated after application loses focus (Qt)

OBS-URL: https://build.opensuse.org/request/show/1045477
OBS-URL: https://build.opensuse.org/package/show/science/qalculate-qt?expand=0&rev=4
2023-01-01 05:35:03 +00:00
Dominique Leuenberger
0bc1b0dce4 Accepting request 1035288 from science
GUI for qalculate

OBS-URL: https://build.opensuse.org/request/show/1035288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qalculate-qt?expand=0&rev=1
2022-11-12 16:41:17 +00:00
Dmitry Roshchin
ff8ae58abf Accepting request 1035180 from home:polslinux:branches:science
- Fix spec file, update QT min version.

OBS-URL: https://build.opensuse.org/request/show/1035180
OBS-URL: https://build.opensuse.org/package/show/science/qalculate-qt?expand=0&rev=2
2022-11-11 13:48:33 +00:00
Dmitry Roshchin
e17fd314d2 Accepting request 1035033 from home:polslinux:teststuff
Add also the QT interface for Qalculate

OBS-URL: https://build.opensuse.org/request/show/1035033
OBS-URL: https://build.opensuse.org/package/show/science/qalculate-qt?expand=0&rev=1
2022-11-10 18:09:34 +00:00
5 changed files with 155 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d3d2a054ed73c005fe2e64dc1882a0fe2f9aef817d59f30898efe4a80edf1330
size 1738477

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6571fc85bde7f2b1422f215a5c4176bc1013726e2971d4c27770078be659a7b
size 1746381

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e7e97b2fb6fde836eae2e7bc4249d54cd5ecac13c00e56188de0c21664fb4086
size 1882778

View File

@ -1,3 +1,142 @@
-------------------------------------------------------------------
Tue Jan 14 14:55:58 UTC 2025 - Paolo Stivanin <info@paolostivanin.com>
- Update to 5.5.0:
* Place approximate value before exact in calculate
as you type result
* Option to disable cursor blinking
* Set ans variable to solution(s) of equation
(as if solve() function were used)
* Fix display of units automatically appended to expression in
parse status
* Fix reading of expressions from file
* a(i) and a[i] syntax (the latter with support for functions)
for element in vector (libqalculate)
* New function: factor() (libqalculate)
* Minor bug fixes and feature enhancements
-------------------------------------------------------------------
Thu Dec 19 04:20:00 UTC 2024 - pallas wept <pallaswept@proton.me>
- Build with Qt6
- Update to 5.4.0
* Apply dual approximation/fraction to calculate as you type
result, as regular result but with length restriction
* Add option to add/edit comment to history context menu, and save
comments in result on exit
* Add "Search by Date" (also shows the date of the expression) to
history context menu
* Option to automatically group digits in input
* Option, in menu, to open settings folder(s)
* Improve decision to automatically convert unchanged quantity
with unit
* Fix equals sign for calculate as you type result
* Fix segfault with calculate as you type of "-(300K" and similar
* Fix saving of two's complement input settings
* Fix erroneous HTML output after format of result with
error/warning has been updated
* Updated French translation
* New functions: tripleProduct(), multilimit() (libqalculate)
* Fix case conversion of µ to M and similar (libqalculate)
* Fix segfault with very large integer raised by very large
integer (libqalculate)
* Minor bug fixes and feature enhancements
- Update to 5.3.0
* Show language menu in preferences on all platforms
* Change "Hide number pad" to "Always show number pad", and add
separate number pad when the option is not enabled
* Improve initial value and clear all other fields when edited
field is empty, in number bases and floating point conversion
dialogs
* Allow unit expressions for insert unit action, for custom
shortcuts and buttons
* Set minimum characters to two for all completion with "Limited
full completion"
* Support x without backslash for custom function argument
condition
* Update parsed expression and calculate-as-you-type result if
variable, function, or unit in expression has changed
* Improve support for small displays with low resolution/high
scaling
* Update chain mode to match behaviour in Gtk UI
* Update calendar and floating point conversion dialogs after
expression calculation
* Delay creation of keypads, completion list, and functions,
units, and variables toolbar menus until shown
* Portuguese (pt_PT) translation
* Fixes for overwrite input mode
* Fix unresponsive expression field in some cases after smart
parentheses has been applied
* Fix completion with both custom app font and custom expression
font set
* Fix input of max value for number argument
* Fix shift + "^°" key press (input °) with German keyboard layout
* Fix memory leaks (libqalculate)
* Fix segfault with recursive (self-referencing) function
(libqalculate)
* Fix input of negative exponent in scientific e notation with RPN
syntax (libqalculate)
* Fix parsing of 1°2'3" as 1°+2'+3" (libqalculate)
* Improve handling of "where" expressions with inequalities
(libqalculate)
* Fix definite integral for 1/sqrt(1-x^2), with limits
higher/lower than or equal to -1 and 1 (libqalculate)
* Fix crash with empty vector in plot function, e.g. plot([])
(libqalculate)
* Fix "did you mean..." warning for two implicitly multiplicated
functions without space between (e.g. "atan2(a,b)atan2(c,d)")
(libqalculate)
* Fix inability to abort randpoisson() with very high rate value
(libqalculate)
* Minor bug fixes and feature enhancements
- Update to 5.2.0
* Option (enabled by default) to show expression status (parsed
expression and calculated value) as you type in history list,
instead of in tooltip (Qt)
* Option to hide toolbar (Qt)
* Option to preserve height of history list when keypad or number
bases are shown/hidden (Qt)
* Headers for keyboard shortcuts and actions lists to allow custom
sorting (Qt)
* Option to show/hide hidden units (hidden by default) in units
window (Qt)
* Option to change the max number of history lines saved (GTK, Qt)
* Reduced minimum height (one line) of expression field (Qt)
* Fix subsequent tab completions after completion of unit with
prefix (GTK, Qt)
* Fix convert button text, when toolbar style is not icon only
(Qt)
* Fix history list not cleared before reload if there are exactly
one item (Qt)
* Physical constants updated with CODATA 2022 values
(libqalculate)
* New function: allroots() (libqalculate)
* New units: therm, thermie, IUNS calorie, rpm (libqalculate)
* Additional names/symbols for turn unit (libqalculate)
* Use symbol "cal" for thermochemical (instead of international
table) calorie (libqalculate)
* Change title and names/symbols of weak mixing angle (prepend
"sin2" to theta variants) (libqalculate)
* Return exact negative integers in log10() (libqalculate)
* More conservative handling of infinity in equations
(libqalculate)
* Remove n from equation solution if possible using assumptions of
x (libqalculate)
* Fix unnecessary parenthesis, with wrong color for closing
bracket, around unit with exponent in HTML output (libqalculate)
* Fix input of scientific E-notation using lowercase e in numbers
using concise interval notation, in expressions (libqalculate)
* Fix "bit width" and "signed integer" arguments in setbits()
(libqalculate)
* Fix a^(f(x))=a^(b*g(x)) where b=2 or b=3 (libqalculate)
* Fix auto/dual approximation with "where" expression
(libqalculate)
* Fix "where" expressions with multiple inequality statements for
a single variable, e.g. "where x>0 and x<10" (libqalculate)
* Fix crash when a variable name/symbol with more than 20
characters is used in "where" expression (libqalculate)
* Minor bug fixes and feature enhancements
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 1 07:17:39 UTC 2024 - Christophe Marin <christophe@krop.fr> Mon Jul 1 07:17:39 UTC 2024 - Christophe Marin <christophe@krop.fr>

View File

@ -1,7 +1,7 @@
# #
# spec file for package qalculate-qt # spec file for package qalculate-qt
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: qalculate-qt Name: qalculate-qt
Version: 5.1.0 Version: 5.5.0
Release: 0 Release: 0
Summary: Multi-purpose cross-platform desktop calculator Summary: Multi-purpose cross-platform desktop calculator
License: GPL-2.0-or-later License: GPL-2.0-or-later
@ -26,19 +26,21 @@ URL: https://qalculate.github.io
Source0: https://github.com/Qalculate/qalculate-qt/releases/download/v%{version}/qalculate-qt-%{version}.tar.gz Source0: https://github.com/Qalculate/qalculate-qt/releases/download/v%{version}/qalculate-qt-%{version}.tar.gz
BuildRequires: automake BuildRequires: automake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: intltool BuildRequires: intltool
BuildRequires: libnghttp2-devel BuildRequires: libnghttp2-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig
# compilation fails on 5.12.x # compilation fails on 5.12.x
BuildRequires: pkgconfig(Qt5Core) >= 5.15.0 BuildRequires: pkgconfig(Qt6Core)
BuildRequires: libqt5-linguist BuildRequires: qt6-base-common-devel
BuildRequires: libqt5-qtbase-common-devel BuildRequires: qt6-base-devel
BuildRequires: libqt5-qtbase-devel BuildRequires: qt6-tools-linguist
BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt6Network)
BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt6Widgets)
BuildRequires: pkgconfig(libqalculate) >= %{version} BuildRequires: pkgconfig(libqalculate) >= %{version}
BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libxml-2.0)
Requires: libqalculate23 >= %{version}
%description %description
Qalculate! is a multi-purpose cross-platform desktop calculator. It is Qalculate! is a multi-purpose cross-platform desktop calculator. It is
@ -54,11 +56,11 @@ user-friendly interface (QT, GTK+ and CLI).
%autosetup -p1 %autosetup -p1
%build %build
%qmake5 PREFIX=%{_prefix} %qmake6 PREFIX=%{_prefix}
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
%qmake5_install %qmake6_install
%files %files
%license COPYING %license COPYING
@ -92,6 +94,7 @@ make %{?_smp_mflags}
%{_datadir}/qalculate-qt/translations/qalculate-qt_fr.qm %{_datadir}/qalculate-qt/translations/qalculate-qt_fr.qm
%{_datadir}/qalculate-qt/translations/qalculate-qt_nl.qm %{_datadir}/qalculate-qt/translations/qalculate-qt_nl.qm
%{_datadir}/qalculate-qt/translations/qalculate-qt_pt_BR.qm %{_datadir}/qalculate-qt/translations/qalculate-qt_pt_BR.qm
%{_datadir}/qalculate-qt/translations/qalculate-qt_pt_PT.qm
%{_datadir}/qalculate-qt/translations/qalculate-qt_ru.qm %{_datadir}/qalculate-qt/translations/qalculate-qt_ru.qm
%{_datadir}/qalculate-qt/translations/qalculate-qt_sl.qm %{_datadir}/qalculate-qt/translations/qalculate-qt_sl.qm
%{_datadir}/qalculate-qt/translations/qalculate-qt_sv.qm %{_datadir}/qalculate-qt/translations/qalculate-qt_sv.qm