Skip to content
Snippets Groups Projects
  1. Nov 25, 2024
  2. Nov 21, 2024
    • Hanna K.'s avatar
      Option to specify number of displayed significant digits, instead of using... · 60979cd1
      Hanna K. authored
      Option to specify number of displayed significant digits, instead of using precision (if PrintOptions::max_decimals < -1, digits = -max_decimals); Fix current value for "help set approximation" when approximation is exact but auto/dual approximation is not reset (after "exact" command); Update exchange rates; Update translations; Increment version number
      60979cd1
  3. Nov 20, 2024
  4. Nov 15, 2024
    • Hanna K.'s avatar
      Improve decision to automatically convert unchanged quantity with unit; Fix... · 1c48892a
      Hanna K. authored
      Improve decision to automatically convert unchanged quantity with unit; Fix segfault with very large integer raised by very large integer (integer length multiplied by exponent overflows long long int), e.g. "fs^EiK"; Fix wrong output of converted unit with non-numerical exponent in some cases; Improve ability to abort matrix functions; Improve calculation of formatted string length (for filtering of multiple results in Calculator::calculateAndPrint()); Remove "timed out" alternative results in Calculator::calculateAndPrint(); Do not ask calculate as you type question with "--defaults"; Place "approx." on same line as value (instead of as equals sign); Display "aborted" for long aborted result
      1c48892a
  5. Nov 12, 2024
  6. Nov 11, 2024
  7. Nov 08, 2024
  8. Nov 06, 2024
  9. Nov 05, 2024
  10. Nov 02, 2024
    • Hanna K.'s avatar
      Ask user if they want to activate calcaulte as you type when running new... · e84cdc48
      Hanna K. authored
      Ask user if they want to activate calcaulte as you type when running new version first time in interactive mode; Do not show calculate as you type error/warning for aborted calculation (e.g. "Unable to integrate the expression" when calcuation is too slow); Fix spacing after implicit mulitplication interpretation question; Fix formatting when commands/expression is read from file before interactive mode
      e84cdc48
  11. Oct 27, 2024
  12. Oct 26, 2024
  13. Oct 22, 2024
  14. Oct 21, 2024
  15. Oct 20, 2024
  16. Oct 19, 2024
  17. Oct 18, 2024
  18. Oct 15, 2024
    • Hanna Knutsson's avatar
      Merge pull request #713 from csfore/fix-valgrind-errors · d99e2f10
      Hanna Knutsson authored
      libqalculate/Variable: fix valgrind warnings
      d99e2f10
    • Christopher Fore's avatar
      libqalculate/Variable: fix valgrind warnings · 626630c8
      Christopher Fore authored
      
      When attempting to run tests on musl, valgrind outputs warnings about
      uninitialized values. When comparing the two
      KnownVariable::KnownVariable methods, b_expression and sexpression were
      left out in one of them, leading to undefined values for the two of
      them in KnownVariables::set.
      
      Valgrind output:
      
      $ libtool --mode=execute valgrind  --track-origins=yes --leak-check=full ./src/qalc --test-file ./tests/polynomial.batch
      ==28000== Memcheck, a memory error detector
      ==28000== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
      ==28000== Using Valgrind-3.23.1.GIT and LibVEX; rerun with -h for copyright info
      ==28000== Command: /var/tmp/portage/sci-libs/libqalculate-5.3.0/work/libqalculate-5.3.0/src/.libs/qalc --test-file ./tests/polynomial.batch
      ==28000==
      ==28000== Conditional jump or move depends on uninitialised value(s)
      ==28000==    at 0x4BF8293: KnownVariable::set(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (in /var/tmp/portage/sci-libs/libqalculate-5.3.0/work/libqalculate-5.3.0/libqalculate/.libs/libqalculate.so.23.3.0)
      ==28000==    by 0x4BF8883: KnownVariable::KnownVariable(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, bool, bool) (in /var/tmp/portage/sci-libs/libqalculate-5.3.0/work/libqalculate-5.3.0/libqalculate/.libs/libqalculate.so.23.3.0)
      ...
      
      Signed-off-by: default avatarChristopher Fore <csfore@posteo.net>
      626630c8
  19. Oct 14, 2024
  20. Oct 07, 2024
  21. Oct 05, 2024
  22. Oct 01, 2024
    • Hanna K.'s avatar
      Fix inability to abort randpoisson() with very high rate value; Improve... · 7cb78154
      Hanna K. authored
      Fix inability to abort randpoisson() with very high rate value; Improve maximum recursive depth handling for mathematical functions; Improve decision to not show decimal format if fraction format is set to dual (if same is parsed expression); Use more efficient solution to determine is number is shown with scientific notation (when determining if combined fraction should used); Small improvement to handling of scientific e notation with RPN syntax; Increment version number; Update translations; Update currencies
      7cb78154
  23. Sep 28, 2024
  24. Sep 20, 2024
    • Hanna K.'s avatar
      Stop after one function iteration when return value is the same function with... · 21f28b27
      Hanna K. authored
      Stop after one function iteration when return value is the same function with the same arguments (e.g. when function definitions is f(x)=f(x)); Do not show single input decimal number as only combined fraction if fraction format is set to dual; Apply fraction format also for integers if set to percent, permille, or permyriad; Add (hidden) support for percent, permille, and permyriad fraction formats in qalc; Fix "where" expression when variable name is placed after equals greater or equals less; Fix for "do not show single input decimal number as fraction by default if small or large enough to be displayed using scientific notation"; Fix typo in PrintOptions::use_unicode_signs documentation; Fix compiler warning; Update ChangeLog
      21f28b27
  25. Sep 18, 2024
  26. Sep 17, 2024
    • Hanna K.'s avatar
      Fix save definitions option (related to issue #706); When questions are... · 6b60732c
      Hanna K. authored
      Fix save definitions option (related to issue #706); When questions are avoided (when reading commands/expression from file or in result only mode), create temporary objects for "variable" and "function" commands, do not ask before replacing object, and fail without question for illegal names; Avoid asking questions when reading commands/expressions from file before interactive mode; Fix line breaks for output from command line expression or file, before interactive mode; Update "exp" option documentation to reflect that custom negative values are allowed; "unkeep" command (reverse of "keep")
      6b60732c
  27. Sep 16, 2024
  28. Sep 12, 2024
  29. Sep 01, 2024
  30. Aug 31, 2024
Loading