1. 15 Oct, 2020 1 commit
    • Luca Carlon's avatar
      Add the backspace button to the list of memory buttons · 857bc549
      Luca Carlon authored
      The backspace button seems not to be added to any set of buttons,
      reulting in incoherent font color.
      This commit adds it to the memory buttons, like the clear button,
      making the font color coherent with the rest of the buttons and
      background and foreground colors to be set in the proper section.
      857bc549
  2. 09 Oct, 2020 1 commit
  3. 03 Oct, 2020 1 commit
  4. 20 Sep, 2020 1 commit
  5. 19 Sep, 2020 1 commit
  6. 18 Sep, 2020 1 commit
  7. 10 Sep, 2020 1 commit
  8. 08 Sep, 2020 1 commit
  9. 07 Sep, 2020 1 commit
  10. 06 Sep, 2020 1 commit
  11. 31 Aug, 2020 2 commits
  12. 29 Aug, 2020 1 commit
  13. 28 Aug, 2020 1 commit
  14. 25 Aug, 2020 1 commit
  15. 18 Aug, 2020 1 commit
  16. 17 Aug, 2020 2 commits
  17. 16 Aug, 2020 1 commit
  18. 05 Aug, 2020 2 commits
  19. 01 Aug, 2020 1 commit
  20. 31 Jul, 2020 1 commit
  21. 30 Jul, 2020 1 commit
  22. 29 Jul, 2020 1 commit
  23. 27 Jul, 2020 1 commit
  24. 26 Jul, 2020 1 commit
  25. 25 Jul, 2020 1 commit
  26. 24 Jul, 2020 2 commits
  27. 14 Jul, 2020 1 commit
  28. 11 Jul, 2020 1 commit
  29. 03 Jul, 2020 1 commit
  30. 18 Jun, 2020 2 commits
  31. 17 Jun, 2020 2 commits
  32. 08 Jun, 2020 1 commit
  33. 07 Jun, 2020 2 commits
    • Oleg Popkov's avatar
      Set the onlyUpdateOperation flag in a saner place · 67a969b7
      Oleg Popkov authored
      BUG 419775
      
      For some reason, CalcEngine::setOnlyUpdateOperation(true) was called
      whenever the display was updated "from core", which also happens in
      case of unary operations, thereby skipping them.
      67a969b7
    • Oleg Popkov's avatar
      Fix chained operations involving inserted numbers · cf39d29d
      Oleg Popkov authored
      In brief, KCalc uses a stack in `CalcEngine` for both numbers and operations in order to ensure the correct operation evaluation order (such that `2 + 2 * 2 = 6`) and support parentheses. Operations are pushed along with currently displayed numerical values. KCalc also checks whether it should push the operation onto the stack or just replace a pushed one with the new one without changing the associated number (so that `5 + - 3 = 2`), and for this it uses a flag changed by calling the `CalcEngine::setOnlyUpdateOperation` method. Obviously, this flag must be cleared after a number is entered by any method, but it only happens if a number is entered manually. As a result, inserting a number as a whole, whether as a constant or by pasting from the clipboard, results in replacing the preceding operation with the succeeding one without storing the number in question, unless the succeeding operation is `=` or `%`.
      
      BUG: 412401
      cf39d29d