Commit Graph

  • c124447837 [poincare/test] Add test on UnitConvert simplification Léa Saviot 2020-02-06 11:18:14 +01:00
  • b2a37cfd3e [poincare] Fix tests Léa Saviot 2020-02-06 11:11:45 +01:00
  • 94d71634b6 [poincare/unit_convert] In shallowReduce, fix units testing on the right Léa Saviot 2020-02-06 11:10:17 +01:00
  • 1e3294139d [poincare/parser] 0→0→c should not be parsable Léa Saviot 2020-02-06 10:42:22 +01:00
  • 681ab5429a [poincare/test/simplification] Fix typos Ruben Dashyan 2020-02-05 17:48:19 +01:00
  • 81d755927c [apps/calculation/calculation] Fix array length computation Ruben Dashyan 2020-02-05 17:42:43 +01:00
  • b5233845ba [poincare/expression] Fix Unit approximation in beautifyAndApproximateScalar Ruben Dashyan 2020-02-05 17:31:12 +01:00
  • 2e5df5196f [poincare/expression] hasUnits makes less computations Léa Saviot 2020-02-05 17:30:24 +01:00
  • 23e8033a3e [poincare/test] Add tests on unit convert simplification Léa Saviot 2020-02-05 17:26:54 +01:00
  • 1588f81bea [poincare/power] Fix shallowReduce with units Léa Saviot 2020-02-05 17:04:25 +01:00
  • 308ffb3e3c [poincare/test] Add tests on getUnit Léa Saviot 2020-02-05 16:47:23 +01:00
  • cc280373d0 [poincare] Reducing an Expression which hasUnit in its children returns Undefined in general Ruben Dashyan 2020-02-05 16:36:38 +01:00
  • f465637c86 [poincare/complex_cartesian] Add defaultShallowReduce Ruben Dashyan 2020-02-05 15:26:50 +01:00
  • 2d5708c782 [poincare] Remove dummy defaultShallowReduce Ruben Dashyan 2020-02-05 13:55:19 +01:00
  • e4601206be [poincare/power] Fix getUnit -> return Undef if base has undef unit Léa Saviot 2020-02-05 16:09:13 +01:00
  • 2527f30429 [poincare] Beware of units in "difficult" shallowReduces - Power Léa Saviot 2020-02-05 16:00:05 +01:00
  • e1a7dcdb13 [poincare] Beware of units in "difficult" shallowReduces - Addition Léa Saviot 2020-02-05 15:36:00 +01:00
  • b93277bb7b [poincare/test] Fix tests Léa Saviot 2020-02-05 15:19:01 +01:00
  • d5b07f1f90 [poincare] Implemment getUnit Léa Saviot 2020-02-05 12:13:47 +01:00
  • 94334169f0 [poincare/expr] Remove beautifiedExpHasUnits and reducedExpIsUnitsOnly Léa Saviot 2020-02-05 11:27:05 +01:00
  • ecdcb100fb [poincare/unit_convert] Fix UnitConvert::shallowReduce Léa Saviot 2020-02-05 11:23:25 +01:00
  • d98eddf960 [poincare/parser] UnitConvert does not check the right member is a unit Léa Saviot 2020-02-05 11:10:05 +01:00
  • 9dbb1153a1 [escher] Add TODOs on EditableField, InputEventHandler, LayoutField, TextInput, TextArea, TextInput Émilie Feral 2020-02-05 13:57:29 +01:00
  • 9c25fdb66e [escher] TextField: fix shouldFinishEditing to reset selection Émilie Feral 2020-02-05 12:10:08 +01:00
  • 2470821a6b [apps/settings] Fix sub controller viewWillAppear / didEnterResponderChain behaviours Émilie Feral 2020-02-05 12:05:09 +01:00
  • 4e6411e4a5 [poincare] Unit: missing include for device build Émilie Feral 2020-02-05 11:40:47 +01:00
  • 3aea607be2 [poincare] Force Float(1) in front of an orphan (Power of) Unit Ruben Dashyan 2020-02-04 17:31:47 +01:00
  • d8e36e3cf1 [poincare/test/simplification] Fix units' tests Ruben Dashyan 2020-02-04 14:45:55 +01:00
  • 907bd0db62 [poincare/test/simplification] Fix typo Ruben Dashyan 2020-02-04 10:30:52 +01:00
  • 30fb27d36a [poincare/test/simplification] Add tests on Units Ruben Dashyan 2020-02-04 10:24:56 +01:00
  • 16a832507e [emscripten/whitelist] Whitelist some methods Léa Saviot 2020-02-04 15:41:41 +01:00
  • 533f1312db [solver] Add test with 6 variables Émilie Feral 2020-02-04 15:27:56 +01:00
  • 3df80ed780 [poincare] ParameteredExpression: overrides getVariables to avoid considering parameter as a variable Émilie Feral 2020-02-04 15:09:46 +01:00
  • b8f65442db [ion/simulator] Keyboard shift + left/right/up/down now works Léa Saviot 2020-02-04 11:33:28 +01:00
  • 5cb26b19a5 [poincare] Parsing: Unit token does not accept '_' char except at first position. This enables to parse "_km_s" as Multiplication(Unit(km), Unit(s)) Émilie Feral 2020-02-04 10:56:36 +01:00
  • f91ca59ca3 [poincare] Test: call Expression::Parse instead of creating a parser object everytime we need to parse something Émilie Feral 2020-02-04 10:54:38 +01:00
  • 5afb49c85d [poincare] Rename RightArrow -> RightwardsArrow Léa Saviot 2020-02-04 10:50:59 +01:00
  • 83ea9cf1e1 [poincare/parser] Rename Store with RightwardsArrow Léa Saviot 2020-02-04 10:27:10 +01:00
  • 7a65e5180b [poincare/right_arrow_expression] Factorize Store and UnivtConvert Léa Saviot 2020-02-04 10:19:40 +01:00
  • 8a0e5403ae [poincare/test] Add unit conversion tests Léa Saviot 2020-02-03 18:08:43 +01:00
  • 657ae5ff63 [poincare/unit] Fix shallowBeautify Ruben Dashyan 2020-02-03 18:01:29 +01:00
  • 22e22b8123 [poincare/tree_handle] Make sure B has the same parent as A after A.replaceWithInPlace(B) Ruben Dashyan 2020-02-03 17:57:01 +01:00
  • 4651f7ef0d [poincare/expression] Fix simplifyAndApproximate with convertUnit Léa Saviot 2020-02-03 17:48:16 +01:00
  • 1484dbc5d4 [poincare] Multiplication::shallowReduce: simplify implementation! (recursivelyMatches all children is equivalent to recursivelyMatches on the current node) Émilie Feral 2020-02-03 17:25:55 +01:00
  • ff438cbea8 [poincare] Multiplication::shallowReduce: don't apply 0*a --> 0 when a involves unit or infinity Émilie Feral 2020-02-03 17:24:18 +01:00
  • ee1224dd95 [poincare] Multiplication::shallowBeautify: Keep the unit when the value is 0 or undefined, add tests Émilie Feral 2020-02-03 17:07:57 +01:00
  • 879843ce2b [escher] LayoutField: reset selection when the field should finish editing Émilie Feral 2020-02-03 14:34:53 +01:00
  • 2ae435a628 [apps/calculation/calculation] Remove redundancy Ruben Dashyan 2020-02-03 16:51:57 +01:00
  • cb119b796a [poincare/symbol] Use flag RplceAllSymbolsWithUndefAndDoNotRplceUnits Léa Saviot 2020-02-03 16:55:00 +01:00
  • c543985094 [poincare] Unit conversion Léa Saviot 2020-02-03 16:13:52 +01:00
  • 1393e5e973 [apps/calculation/calculation] Rearrange the conditions forcing DisplayOutput::ApproximateOnly Ruben Dashyan 2020-02-03 15:28:09 +01:00
  • 46a5a7cf5c [apps/calculation/calculation] Force DisplayOutput::ApproximateOnly when there is Unit Ruben Dashyan 2020-02-03 13:49:24 +01:00
  • 4bcb3283c2 [escher] TextField: handleEventWithText: don't move the cursor position if the text could not be inserted Émilie Feral 2020-02-03 11:05:38 +01:00
  • 0ffcf34eb7 [escher] TextField: make the handleEventWithText behaviour consistent: when a text cannot be inserted because it overflows the buffer, don't add anything Émilie Feral 2020-02-03 11:02:34 +01:00
  • 0c55ea4531 [ion] unicode: UTF8Helper::CopyAndRemoveCodePoints returns a boolean which is true if the whole source was copied Émilie Feral 2020-02-03 11:01:39 +01:00
  • 0a61e0f7bc [apps/shared/round_cursor_view] Add warning about getPixels Ruben Dashyan 2020-01-31 17:50:55 +01:00
  • 8d3f86c77f [kandinsky/context] getPixel only if in the clipping rect Ruben Dashyan 2020-01-31 17:18:58 +01:00
  • 7b8f7007c4 [kandinsky/context] Inline in header file Ruben Dashyan 2020-01-31 17:05:45 +01:00
  • 63424fb98b [apps/*/function_graph_controller] Factor selectFunctionWithCursor Ruben Dashyan 2020-01-31 15:50:35 +01:00
  • 246a9aa7a4 [apps/shared/function_graph_controller] Clarify function selection in initCursorParameters Ruben Dashyan 2020-01-31 15:29:05 +01:00
  • 1cdd61ea47 [apps/shared/function_graph_controller] Do not compute the numberOfActiveFunctions repeatedly Ruben Dashyan 2020-01-31 15:24:34 +01:00
  • 503a9ed128 [apps/shared/round_cursor_view] Fix GRAPH_CURSOR_SPEEDUP macro usage Ruben Dashyan 2020-01-31 11:56:38 +01:00
  • 9d1a5ea0a8 [escher] LayoutField: fix putCursorRightOfLayout to update matrix layouts if necessary Émilie Feral 2020-01-31 16:41:22 +01:00
  • 18b4514412 [python] port: add a comment abouth how we use setjmp Émilie Feral 2020-01-31 15:47:04 +01:00
  • 2318019d7b [apps/solver] Center used/ignored variables messages Léa Saviot 2020-01-31 15:51:17 +01:00
  • 9200e6062d [aps/solver] Reset the solution selection when leaving the view Léa Saviot 2020-01-31 14:56:21 +01:00
  • fdb1417a02 [buil] emscripten toolchain: fix build with emmc version >= 1.39.5 Émilie Feral 2020-01-31 15:37:01 +01:00
  • bb2e8ad3c5 [apps/settings] Fix selection Léa Saviot 2020-01-31 14:43:39 +01:00
  • 963edd5c35 [apps/solver] Fix addition of "=0" to equations Léa Saviot 2020-01-31 13:55:05 +01:00
  • c5315189ac [apps/solver] Fix SolutionsController::k_maxNumberOfVisibleCells Léa Saviot 2020-01-31 11:53:50 +01:00
  • de74aa7e59 [python] Enable PYSTACK for emscripten platform: this "fixes" bug probably due to gc_collect (we suspect that transpiled C does not have access to javascript variables preventing it from collecting all required roots and leading to deleting objects prematuraly). Enabling PyStack reduces the use of the heap and fixes the bug. Émilie Feral 2020-01-31 11:44:57 +01:00
  • 58acedfd34 [python] Test: inline code to avoid changing runCode behaviour Émilie Feral 2020-01-31 11:01:42 +01:00
  • f7892d887f [poincare/tokenizer] Fix popToken with greek code points Léa Saviot 2020-01-31 11:04:41 +01:00
  • a13ce5df49 [poincare/test/simplification] Test simplification of units Ruben Dashyan 2019-11-20 16:59:34 +01:00
  • ae3fa46191 [escher/text_field] Fix handling of \n Léa Saviot 2020-01-30 16:31:58 +01:00
  • 4b996b333b [poincare/empty_context] Add missing file Léa Saviot 2020-01-30 16:20:04 +01:00
  • 0348db5d2e [escher] TextArea: fix drawStringAt action with negative length Émilie Feral 2020-01-30 16:15:27 +01:00
  • eff0a26835 [apps/probability] Clean distribution_controller Léa Saviot 2020-01-30 15:46:54 +01:00
  • 96df307833 [poincare/test] Clean arguments of ProcessExpression Léa Saviot 2020-01-30 15:19:20 +01:00
  • 3b80b747b2 [test/solver] Add more tests Léa Saviot 2020-01-30 15:06:28 +01:00
  • 9102ba1381 [poincare/function] Fix shallowReduce to take into account symbComp Léa Saviot 2020-01-30 14:54:36 +01:00
  • 6a57b46f8d [poincare.test] Add tests on symbolic computation Léa Saviot 2020-01-30 14:40:20 +01:00
  • c4beb5ec63 [apps/solver] Fix x10 display in approximate solutions Léa Saviot 2020-01-30 11:34:21 +01:00
  • 25ef10a0c5 [tests/solver] Add test on solver + user defined symbols Léa Saviot 2020-01-29 16:51:28 +01:00
  • 470b713226 [test] Fix tests for new SymbolicComputation parameter Léa Saviot 2020-01-29 16:34:21 +01:00
  • 72259f359c [apps/solver] Fix rowHeight for approximated solutions Léa Saviot 2020-01-29 16:00:27 +01:00
  • 248e875192 [apps/solver] Always display used variables Léa Saviot 2020-01-29 15:46:35 +01:00
  • 424ee9fa15 [poincare] Add SymbolicComputation parameter to the reduction context Léa Saviot 2020-01-29 13:48:19 +01:00
  • 016a68d469 [apps/solver] Do not select "User variables used" row Léa Saviot 2020-01-28 11:54:57 +01:00
  • db0e7f0d8b [apps/solver] Display user variables in the solutions Léa Saviot 2020-01-27 17:58:26 +01:00
  • afbca672fd [escher/button_row_controller] Remove unused variable Léa Saviot 2020-01-27 17:40:09 +01:00
  • 7e7a37bf8e [apps/solver/solutions_controller] Code cleaning Léa Saviot 2020-01-27 11:36:22 +01:00
  • 0e64e89496 [apps/solver] Do not use symbol context if no solution found Léa Saviot 2020-01-17 11:10:49 +01:00
  • 844a28db7b [poincare/parsing/tokenizer] Token::Identifiers may contain Greek letters except pi Ruben Dashyan 2020-01-27 16:20:01 +01:00
  • 7964a2ae6a [poincare/unit][kandinsky/font] Use Greek capital letter omega as Ohm unit symbol Ruben Dashyan 2020-01-29 15:27:45 +01:00
  • 3308427dd4 [poincare/unit] Fix micro prefix symbol Ruben Dashyan 2020-01-29 15:26:24 +01:00
  • 7cfdadd394 [kandinsky/font] Define IndexForReplacementCharacterCodePoint Ruben Dashyan 2020-01-29 14:54:30 +01:00
  • dd92450115 [kandinsky/font] Included header is in C language Ruben Dashyan 2020-01-29 14:44:41 +01:00
  • 009faa1e37 [kandinsky/font] Factor indexForCodePoint default return value Ruben Dashyan 2020-01-29 14:43:35 +01:00
  • ed035ec3f7 [poincare] Unit: h --> hour Émilie Feral 2020-01-29 10:02:48 +01:00