Commit Graph

  • 22bbe932c8 [poincare] Unit: no prefix for tonne unit Émilie Feral 2020-01-29 10:00:12 +01:00
  • a78d34293c [app] Toolbox: add the unit menu Émilie Feral 2020-01-29 09:58:39 +01:00
  • b29d014695 [escher/text_field] Fix removing of \n in insertTextAtLocation Léa Saviot 2020-01-29 09:10:10 +01:00
  • ad665fba73 [python] Add a simple test Romain Goyet 2020-01-28 18:46:40 -05:00
  • 179ce5d5d5 [ion/unicode/codepoint] Rename is[(Lower|Upper)Case]Letter to isLatin[(Small|Capital)]Letter Ruben Dashyan 2020-01-27 16:37:01 +01:00
  • 575b911da9 [ion/unicode] Split isDigit into isDecimalDigit, isBinaryDigit, isHexadecimalDigit Ruben Dashyan 2020-01-27 15:16:05 +01:00
  • d48a882f04 [poincare/parsing/tokenizer] Fix popWhile return value Ruben Dashyan 2020-01-28 16:54:38 +01:00
  • 25a5fb1048 [poincare/parsing/tokenizer] popWhile tests 'didPop' condition only once Ruben Dashyan 2020-01-28 16:51:10 +01:00
  • 622673a0fa [poincare/parsing/tokenizer] Remove unused method Ruben Dashyan 2020-01-28 16:42:37 +01:00
  • 31c07e0a58 [poincare/parsing/tokenizer] Simplify popIdentifier Ruben Dashyan 2020-01-27 15:15:17 +01:00
  • 15a9137d14 [poincare/unit] Remove angstrom unit Ruben Dashyan 2020-01-28 16:13:35 +01:00
  • 09e1c2eb8b [escher/text_input] insertTextAtLocation location parameter not const anymore Ruben Dashyan 2020-01-28 15:43:47 +01:00
  • 742ee475ea [escher/text_area] Fix typo Ruben Dashyan 2020-01-28 15:20:39 +01:00
  • 6da74ea3e1 [poincare/unit] Add prefixes for liter Ruben Dashyan 2020-01-27 14:13:26 +01:00
  • c66ef8212a [poincare/unit] Do not output units with short-scale prefixes Ruben Dashyan 2020-01-27 13:52:44 +01:00
  • ab836c7a01 [poincare/unit] Distinguish prefixability of units at input and output Ruben Dashyan 2020-01-27 11:54:29 +01:00
  • b578ed56f8 [poincare/parsing/tokenizer] Avoid using UTF8Helper Ruben Dashyan 2020-01-24 15:48:44 +01:00
  • 9b0b4e3096 [ion/unicode] Define and use CodePoint const methods Ruben Dashyan 2020-01-24 14:30:42 +01:00
  • 7665ad6fe0 [apps/graph/graph_controller] Fix interestingRanges step Léa Saviot 2020-01-24 16:43:00 +01:00
  • 244c7b31eb [ion/web] Fix screenshots Léa Saviot 2020-01-24 13:43:28 +01:00
  • 50f1ee9721 [poincare/multiplication] Fix handling of units with non-integer exponent Ruben Dashyan 2020-01-24 11:08:28 +01:00
  • 1c15f8fc58 [poincare/multiplication] Avoid useless Expression cloning Ruben Dashyan 2020-01-24 11:06:34 +01:00
  • ffe25f3b4a [poincare/multiplication] Avoid beautifying square meters to ha and cube meters to L Ruben Dashyan 2020-01-23 18:03:20 +01:00
  • 4d7c12987d [poincare/test/simplification] Gather hyperbolic trigonometry tests Ruben Dashyan 2020-01-23 16:57:00 +01:00
  • f9e419dcd6 [poincare/expression] defaultDeepReduceChildren does not recompute the number of children Ruben Dashyan 2020-01-23 15:26:04 +01:00
  • 8f31f56544 [poincare/unit] Fix pressure units Ruben Dashyan 2020-01-23 15:10:43 +01:00
  • 855cec527f [poincare] Power: remove rule i^(p/q) -> e^(i*Pi*p/2q). Émilie Feral 2020-01-23 15:16:58 +01:00
  • 1f02e8e381 [poincare] AbsoluteValue: add rule |x*y| --> |x|*|y| and |x^y| --> |x|^y Émilie Feral 2020-01-23 15:05:27 +01:00
  • 3692c083e2 [poincare/unit] Simplify shallowReduce Ruben Dashyan 2020-01-22 16:46:44 +01:00
  • cadc409561 [poincare/unit] Avoid non-necessary cloning in shallowReduce Ruben Dashyan 2020-01-22 16:43:01 +01:00
  • 2c4160e59c [poincare/unit] Fix shallowReduce Ruben Dashyan 2020-01-22 16:37:50 +01:00
  • bbb9e83703 [apps/calculation] Fix and add tests Émilie Feral 2020-01-22 15:03:46 +01:00
  • 551e4998f4 [apps/calculation][apps/solver][poincare] Simplify sign =/≈ computation between outputs in Calculation/Solver Émilie Feral 2020-01-22 14:45:02 +01:00
  • c2540a1d8a [apps/calculation] Calculations now hold 4 texts: input, exact output and 2 approximate outputs - one with the maximal number of significant digits and one with the number of significant digits asked by the user. This enables to find the approximate output without going through the approximation routine again. Émilie Feral 2020-01-22 13:40:57 +01:00
  • 5631ef6ad0 [poincare/multiplication] Fix typo in shallowBeautify Ruben Dashyan 2020-01-22 11:32:30 +01:00
  • b3f4dcb13d [poincare/unit] Fix electron-volt unit definition Ruben Dashyan 2020-01-22 11:10:20 +01:00
  • 054aac2c1c [poincare/expression] Equalize simplified and approximate output in presence of units Ruben Dashyan 2020-01-21 13:44:31 +01:00
  • c4f112e5aa [apps/calculation/calculation] Do not approximate approximateOutput again Ruben Dashyan 2020-01-21 11:46:35 +01:00
  • a9ca60338c [poincare] Beautify Unit products according to value's order of magnitude Ruben Dashyan 2020-01-20 15:24:09 +01:00
  • 380e6fff3d [poincare/unit] Improve Tree log Ruben Dashyan 2020-01-20 15:09:09 +01:00
  • e6009250de [poincare/test/parsing] Fix Parser usage Ruben Dashyan 2020-01-21 16:24:49 +01:00
  • 4b98652ed9 [poincare] Parser: Context is now a member variable of the Parser class instead of being given as a parameter in all methods Émilie Feral 2020-01-20 14:51:37 +01:00
  • ba4f9297d4 [poincare] Test: add parsing tests for units Émilie Feral 2020-01-20 14:33:10 +01:00
  • 99481e7a28 [poincare] Unit: avoid useless parentheses addition in before deep reducing Émilie Feral 2020-01-20 14:32:32 +01:00
  • 489901a613 [poincare] Units are now prefixed by "_" to distinct them from user variable Émilie Feral 2020-01-20 14:31:49 +01:00
  • 313430ec97 [poincare] Expression: add comment for future improvement Émilie Feral 2020-01-20 12:07:05 +01:00
  • bf73b69808 [poincare] Units: change signature of serialize to follow same conventions as Expression::serialize Émilie Feral 2020-01-20 12:06:05 +01:00
  • 3428e0aa6f [poincare] Decimal: strlcpy returns the length of the source even if the copy was partially completed. Always return the real copied length in Decimal::convertToText. Émilie Feral 2020-01-20 10:07:10 +01:00
  • eba529d5ee [poincare/multiplication] Optimize shallowBeautify for units: do not use deepReduce repeatedly Ruben Dashyan 2020-01-13 11:53:40 +01:00
  • 8f41bd7cd0 [poincare/multiplication] shallowBeautify recognizes derived units Ruben Dashyan 2019-11-18 16:29:41 +01:00
  • 300399fe4d [poincare/expression] deepBeautify bubbles up Undefined children Ruben Dashyan 2019-11-13 10:51:52 +01:00
  • 454bfc4f36 [poincare/multiplication] Units always stay in the numerator Ruben Dashyan 2019-12-16 11:42:21 +01:00
  • cb638a8126 [poincare/power] Units always stay in the numerator Ruben Dashyan 2019-10-31 17:59:11 +01:00
  • 97508c155c [poincare/test/parsing] Test parsing of unit symbols Ruben Dashyan 2019-11-20 15:32:19 +01:00
  • 1f3abec05e [poincare/parser] Parse unit symbols Ruben Dashyan 2019-10-31 10:30:17 +01:00
  • 92d17145b2 [poincare] Define Unit class Ruben Dashyan 2019-10-31 10:22:39 +01:00
  • a82ff2b703 [apps/calculation] HistoryController: in historyViewCellDidChangeSelection, limit the whole table reloading to cases where the cell height did actually change to avoid useless blinking Émilie Feral 2020-01-23 11:10:40 +01:00
  • 71de56f87a [apps/calculation] HistoryViewCell: fix setHighlighted to reload subviews highlight Émilie Feral 2020-01-23 11:08:47 +01:00
  • b39b8da036 [apps/calculation] HistoryViewCell: prevent from selecting ellipsis suview if it not visible Émilie Feral 2020-01-22 17:13:56 +01:00
  • a39ca58470 [apps/calculation] HistoryViewCell: fix first responder. The first responder is the HistoryViewCell when the ellipsis subview is selected Émilie Feral 2020-01-22 17:13:00 +01:00
  • 767d1654cc [apps/calculation] HistoryViewCell: select the right expression of output when coming from ellipsis subview Émilie Feral 2020-01-22 17:12:00 +01:00
  • 39dbb7d68c [apps/calculation] Fix relayouting when highlighted cell changed Émilie Feral 2020-01-22 16:44:24 +01:00
  • 86bd4be03e [python/port] Fix gc_collect_root on emscripten Léa Saviot 2020-01-22 10:05:10 +01:00
  • d70c4c7205 [ion] Typo Léa Saviot 2020-01-21 17:14:01 +01:00
  • 40ed9b3557 Revert "[eshcer/layout_field] Factor handleEvent" Léa Saviot 2020-01-22 15:46:14 +01:00
  • 8554bbd8c8 [poincare/layout_cursor] Fix cursor position after adding square root Léa Saviot 2020-01-22 14:37:22 +01:00
  • bbe39aac14 [apps/calculation] HistoryController: display additional results pop-up when handling OK/exe on the ellipsis view Émilie Feral 2020-01-22 09:37:18 +01:00
  • 7d0a1cd0b2 [apps/calculation] HistoryViewCell: enable selecting the ellipsis Émilie Feral 2020-01-22 09:36:13 +01:00
  • 9a97fc01b2 [apps/calculation] HistoryViewCell: m_expandedCalculation memoizes true only when the calculation is actually expanded (when the output is selected and the display output is ExactApproximateToggle) Émilie Feral 2020-01-21 17:28:52 +01:00
  • f276a88e79 [apps/calculation] HistoryViewCell: display ellipsis view when highlighted Émilie Feral 2020-01-21 14:52:33 +01:00
  • b56cd8b012 [escher] Metric: add EllipsisCellWidth. This will be soon used by Calculation::HistoryCell Émilie Feral 2020-01-21 14:51:53 +01:00
  • 251db5b60e [apps/shared][apps/calculation] Change class names: ScrollableInputExactApproximateExpressionsCell --> ScrollableThreeExpressionsCell AbstractScrollableExactApproximateExpressionsView --> AbstractScrollableMultipleExpressionsView ScrollableExactApproximateExpressionsView --> ScrollableTwoExpressionsView ScrollableInputExactApproximateExpressionsView --> ScrollableTwoExpressionsCell Émilie Feral 2020-01-21 12:03:56 +01:00
  • 87e4836196 [apps/calculation][apps/shared] AbstractScrollableExactApproximateExpressionsView children classes reload scroll after reloading the subview selection when entering the responder chain and when cell becomes first responder. We don't reload scroll when setting content of cells as this is done every time we relayout - when scrolling in the table for instance. Émilie Feral 2020-01-21 10:29:46 +01:00
  • ef5681ec0b [escher] Remove BurgerMenuView Émilie Feral 2020-01-20 18:01:48 +01:00
  • 56319ef275 [apps/shared] AbstractScrollableExactApproximateExpressionsView can hold up to three expressions but no more BurgerMenuView. ScrollableExactApproximateExpressionsView and ScrollableInputExactApproximateExpressionsView inherit from it. Émilie Feral 2020-01-20 17:59:47 +01:00
  • 3de0ee7f98 [apps/calculation] ExpressionWithEqualSignView inherits from ExpressionView instead of composing Émilie Feral 2020-01-20 17:52:27 +01:00
  • 88ab0e686c [apps] Less operations in willExitResponderChain if exiting app Léa Saviot 2020-01-21 11:56:56 +01:00
  • 90e5a08d3a [escher/app] Coding style Léa Saviot 2020-01-21 10:46:45 +01:00
  • 5e45a60f99 [apps/settings] Fix selection glitch Léa Saviot 2020-01-21 10:17:39 +01:00
  • 19435687d5 [apps/settings] Coding style Léa Saviot 2020-01-21 09:57:40 +01:00
  • 60706835e7 [poincare/tree_node] Assertions on parent id that should not be this id Léa Saviot 2020-01-20 16:54:08 +01:00
  • b7e177865a [apps/code] Fix prompt after input Léa Saviot 2020-01-20 15:07:29 +01:00
  • 3dcb40b5d4 [apps/code] Do not call interrupt in printText Léa Saviot 2020-01-20 15:01:47 +01:00
  • 1dacd71acb [apps/code] Remove unneeded arguments Léa Saviot 2020-01-17 14:28:08 +01:00
  • c6c3e3f340 [apps/code] Hide prompt when running script Léa Saviot 2020-01-17 14:06:15 +01:00
  • f47f1f0543 [apps/code] Refresh view in printText Léa Saviot 2020-01-17 10:04:28 +01:00
  • f20bb1fcf2 [apps/code] Display the console before running auto-imported script Léa Saviot 2020-01-16 17:36:20 +01:00
  • 42bdf29ead [python] Fix compilation warnings Léa Saviot 2020-01-20 12:11:20 +01:00
  • a5bf4b68fa [apps/code] Remove duplicate i18n Léa Saviot 2020-01-20 11:48:48 +01:00
  • d5a18fcf13 [apps/code] Add time module in the toolbox Léa Saviot 2020-01-20 11:45:59 +01:00
  • 200e542a96 [apps/code] Add ion module in toolbox Léa Saviot 2020-01-20 11:30:55 +01:00
  • 8742ea9d25 [apps/code/i18N] Alphabetical rearrangement Léa Saviot 2020-01-20 11:28:22 +01:00
  • 373409b50e [apps/regression] Fix test compilation Émilie Feral 2020-01-17 17:36:37 +01:00
  • 60048cb9a9 [poincare] Create a ContextWithParent that implements expressionTypeForIdentifier Émilie Feral 2020-01-17 14:34:28 +01:00
  • c629cb66ba [apps/calculation] Calculation: don't memoize the display in height computation. It has to be updated everytime an exception is raised and this was forgotten. Émilie Feral 2020-01-17 11:01:47 +01:00
  • 4e948ce533 [poincare] Change Factor approximation to return undef on non real values Émilie Feral 2020-01-17 10:34:07 +01:00
  • 8deb81b8c2 [apps/calculation] CalculationStore: Equal and Store node are always at the root, no need to recursively check their presence Émilie Feral 2020-01-16 17:57:03 +01:00
  • 0c19b54365 [apps/calculation] Do not display additional results for Equal or Store expressions Émilie Feral 2020-01-16 17:56:24 +01:00
  • 2a37fa4447 [apps/calculation] ComplexListController: change the way the Complex model parameters are computed. Émilie Feral 2020-01-16 17:53:37 +01:00
  • 58a4dcf62a [poincare] Multiplication: improve splitIntoNormalForm to fill Numeral factor (instead of returning uninitialized factors) if the multiplication is 1x1 Émilie Feral 2020-01-16 16:46:00 +01:00