Commit Graph

11243 Commits

Author SHA1 Message Date
Émilie Feral
fbdc7a4117 [ion] Battery: change battery thresholds (LOW, EMPTY) 2019-04-12 15:16:53 +02:00
Émilie Feral
da12904873 [ion] Dim Brightness before shutting down when the battery low 2019-04-12 15:16:53 +02:00
Léa Saviot
22b7853dfa [poincare] Fix Layout::replaceWithJuxtapositionOf 2019-04-12 15:16:53 +02:00
Léa Saviot
057939dd3f [apps/calc] displayExactOuputOnly only if the input is store in function
This prevents 1+x->f(x) from displaying 1+x = undef
[[1,2]] + [[1][2]] displays undef
2019-04-12 15:16:53 +02:00
Léa Saviot
50e2d11b1f [apps/calculation] Calculation::DisplayOutput can be Exact/Approx/Both 2019-04-12 15:16:53 +02:00
Ruben Dashyan
3fdac50e2b [escher] Fix ExpressionField::inputViewHeight
Since commit

  [escher] Implement ScrollView::minimalSizeForOptimalDisplay including margins

minimalSizeForOptimalDisplay includes the ScrollView margins.
2019-04-12 15:16:53 +02:00
Léa Saviot
246349e72f [python/turtle] Fix rounding errors
Some horizontal/vertical lines were not properly drawn
Example script:
from math import *
from turtle import *
def a():
  def carre(n):
    fd(n)
    right(90)
    fd(n)
    right(90)
    fd(n)
    right(90)
    fd(n)
    right(90)
  penup()
  goto(-158,109)
  pendown()
  carre(100)
  for j in range(10):
    for i in range(26):
      penup()
      fd(2)
      pendown()
      carre(10)
      penup()
      fd(10)
      pendown()
    penup()
    goto(-158,109-10*(j+1))
    pendown()
2019-04-12 15:16:53 +02:00
Léa Saviot
4298140013 [apps/tests/solver] Test equations + symbolic computation 2019-04-12 15:16:53 +02:00
Léa Saviot
3d8de2246f [poincare/tests] Parametered expressions + symbolic computation 2019-04-12 15:16:53 +02:00
Léa Saviot
b16bd8efa1 [poincare] Use ParameteredExpression in Symbol::shallowReduce 2019-04-12 15:16:53 +02:00
Léa Saviot
2b16b5b2a1 [poincare] Parametered expression 2019-04-12 15:16:53 +02:00
Léa Saviot
6d26fd578c [poincare] Do not replace a symbol if it is an expression's parameter 2019-04-12 15:16:53 +02:00
Léa Saviot
5dc240c94f [apps/calculation] Add tests about no symbolic computation 2019-04-12 15:16:53 +02:00
Léa Saviot
a45cde2fed [calculation/test] Rename some test method arguments 2019-04-12 15:16:53 +02:00
Léa Saviot
41fc08a4d4 [test] Fix tests for unknown symbol is not real 2019-04-12 15:16:53 +02:00
Léa Saviot
ad5da8ad77 [poincare] A non defined symbol is not real
This fixes the equation "conj(x) * x +1", that should not be treated as
a polynom
2019-04-12 15:16:53 +02:00
Léa Saviot
69d90b155d [apps/solver] Test: conj(x)*x+1 should not be considered as polynom 2019-04-12 15:16:53 +02:00
Léa Saviot
8b10c979a0 [test] Fix tests for no symbolic computation 2019-04-12 15:16:53 +02:00
Léa Saviot
3554f441c1 [poincare] Remove symbolic computation 2019-04-12 15:16:53 +02:00
Léa Saviot
503a10afbb [apps] Clean apps/shared/expression_model_handle.cpp 2019-04-12 15:16:53 +02:00
Léa Saviot
4bbda406de [unicode] Use Poincare::SerializationHelper::CodePoint 2019-04-12 15:16:53 +02:00
Léa Saviot
41b2571668 [poincare] MatrixIdentity 2019-04-12 15:16:53 +02:00
Léa Saviot
327f19cb5c [poincarE] Static method name upper case 2019-04-12 15:16:53 +02:00
Léa Saviot
522ecead7b [apps/toolbox] Matrix > Identity command 2019-04-12 15:16:53 +02:00
Léa Saviot
a2448ec807 [escher] Increase TextField::maxBufferSize
In order to be able to write a 10*10 adjacency matrix
2019-04-12 15:16:53 +02:00
Léa Saviot
93a1546201 [apps] Removed unused static inline method 2019-04-12 15:16:53 +02:00
Léa Saviot
82d5ff7799 [ion/unicode] Clean special code points 2019-04-12 15:16:53 +02:00
Léa Saviot
5c9bdbf1f1 [apps/settings] Coding style 2019-04-12 15:16:53 +02:00
Léa Saviot
6e5fbe9966 [apps/settings] Clean unicode layout creations 2019-04-12 15:16:53 +02:00
Léa Saviot
f3675d83df [apps/settings] Factorize layout font sizes 2019-04-12 15:16:53 +02:00
Léa Saviot
7cfeac8387 [apps/reg] Factorize the model layouts fonts 2019-04-12 15:16:53 +02:00
Léa Saviot
93388a0248 [apps/reg] Clean regression models layout creation 2019-04-12 15:16:53 +02:00
Léa Saviot
cbcfa35110 [unicode] Use 3BC symbol instead of B5 for the glyph Mu.
NFKD normalization transforms uniB5 into uni3BC.
2019-04-12 15:16:53 +02:00
Léa Saviot
1832800a72 [apps/probability] Fix UTF8 problem when copying law parameter
In probability, when displaying the exponential law for instance, the
lambda did not appear correctly.
2019-04-12 15:16:53 +02:00
Léa Saviot
b49b86caa6 [apps/probability] Rename k_maxNumOfTitleChars -> k_titleBufferSize 2019-04-12 15:16:53 +02:00
Émilie Feral
d107b59f00 [probability] ExponentialLaw: fix
cumulativeDistributiveFunctionAtAbscissa for value < 0
2019-04-12 15:16:53 +02:00
Ruben Dashyan
e53fda3534 [ion/shared/events] Correct text for Ion::Event::EE 2019-04-12 15:16:53 +02:00
Émilie Feral
c6493bdeef [shared] Clean unused method maxInt in ExpressionModelHandle 2019-04-12 15:16:53 +02:00
Émilie Feral
596f0c297e [sequence] Fix Sequence::isDefined 2019-04-12 15:16:53 +02:00
Émilie Feral
751361fb0b [sequence] Fix bug: number of curves in graph is the number of active
functions
2019-04-12 15:16:53 +02:00
Émilie Feral
549ed911d4 [sequence] Sequence: factorize InitialConditionModels 2019-04-12 15:16:52 +02:00
Émilie Feral
0e5d29950a [code] Get rid of unused member variable in VariableBoxController 2019-04-12 15:16:52 +02:00
Émilie Feral
d3fedf4ae5 [shared] ListParameterController: reinit hold record when removing it
from the storage
2019-04-12 15:16:52 +02:00
Émilie Feral
7c359a03a9 [sequence] Fix Toolbox: sequence fullName is for example "u.seq" which
cannot be compare to "u"
2019-04-12 15:16:52 +02:00
Émilie Feral
c93e021045 [apps/graph][apps/sequence] ListParameterController is a
ListViewDataSource instead of a SimpleListViewDataSource (indeed, each
cell has a specific type)
2019-04-12 15:16:52 +02:00
Émilie Feral
71195240e2 [shared] Change name of classes:
FunctionRecordData --> FunctionRecordDataBuffer
CartesianFunctionRecordData --> CartesianFunctionRecordDataBuffer
SequenceRecordData --> SequenceRecordDataBuffer
2019-04-12 15:16:52 +02:00
Émilie Feral
d0665d8558 [shared] Clean class names containing storage 2019-04-12 15:16:52 +02:00
Émilie Feral
de41064a47 [apps/shared] Change names:
Sequence::DefinitionHandle --> Sequence::DefinitionModel
Sequence::FirstInitialConditionHandle -->
Sequence::FirstInitialConditionModel
Equation::Handle--> Equation::Model
2019-04-12 15:16:52 +02:00
Émilie Feral
3c1e35ec04 [shared] Rename classes:
ExpressionModelHandle --> ExpressionModel
SingleExpressionModelHandle --> ExpressionModelHandle
StorageFunction --> Function
StorageCartesianFunction --> CartesianFunction
StorageFunctionApp --> FunctionApp
2019-04-12 15:16:52 +02:00
Émilie Feral
3ce406fde1 [shared] Clean unused classes 2019-04-12 15:16:52 +02:00