Commit Graph

9841 Commits

Author SHA1 Message Date
Léa Saviot
2dee8f2b1f [apps/regression] Fix cursor redrawing when changing cursor type
Scenario:
double x[numberOfPoints] = {0.0, 0.975, 1.97, 2.945, 3.971, 4.887, 5.924, 6.964, 7.979, 8.974, 9.998};
double y[numberOfPoints] = {-23.784, -23.322, -28.322, -18.422, -4.813206, 7.146241, 16.631, 16.632, 9.209189, -6.050863, -19.659};
Quadratic regression, navigate on the points then go on the
regressioncurve -> there is a drawing glitch
2019-09-30 17:05:17 +02:00
Ruben Dashyan
1868e47b19 [poincare/expression] Assert defautReplaceSymbolWithExpression does not alter the number of children 2019-09-27 17:57:29 +02:00
Ruben Dashyan
77860aeee9 [poincare] Remove replaceUnknown
Unused anymore
2019-09-27 17:57:29 +02:00
Ruben Dashyan
cc1d51f331 [apps/shared/expression_model] Substitute Expression::replaceSymbolWithExpression for replaceUnknown
since the latter calls the former anyway.
2019-09-27 17:57:29 +02:00
Ruben Dashyan
af2c95be26 [poincare/parametered_expression] Turn replaceUnknown into replaceSymbolWithExpression
That is the only place where those methods did differ.
2019-09-27 17:57:29 +02:00
Ruben Dashyan
d506bb4442 [poincare] Remove Expression::defaultReplaceUnknown
and substitute defaultReplaceSymbolWithExpression instead
2019-09-27 17:57:29 +02:00
Ruben Dashyan
7d5f9d0aca [poincare] Factor asserts in Expression::replaceUnknown 2019-09-27 17:57:29 +02:00
Ruben Dashyan
76e0f78c53 [poincare/expression] Replacing a symbol does not alter in this case the number of children 2019-09-27 17:57:29 +02:00
Ruben Dashyan
af64f50a63 [poincare/parametered_expression] Remove redundant assert 2019-09-27 17:57:29 +02:00
Romain Goyet
473982c575 [travis] Include iOS and Android in the build matrix 2019-09-27 17:57:05 +02:00
Romain Goyet
31daf5ff8f [ion/simulator/android] Use ANDROID_HOME to point to the Android SDK 2019-09-27 17:57:05 +02:00
Romain Goyet
162d857a65 [ion/simulator/android] Make code signing optional
It now depends on a set of environment variables being defined
2019-09-27 17:57:05 +02:00
Romain Goyet
82861bb77c [ion/simulator/android] Use a gradle wrapper
This way one doesn't need to install Gradle manually before building
2019-09-27 17:57:05 +02:00
Romain Goyet
e0b24e030c [ion/simulator/ios] Don't error-out on a missing provisionning profile 2019-09-27 17:57:05 +02:00
Romain Goyet
5d0377f147 [build/android] NDK_HOST_TAG autodetection 2019-09-27 17:57:05 +02:00
Romain Goyet
72765351f3 [ion/simulator/ios] Fix the build 2019-09-27 17:57:05 +02:00
Romain Goyet
94f20b7827 [ion/simulator/linux] Thinner build 2019-09-27 17:57:05 +02:00
Romain Goyet
f83969dd9a [ion/simulator/linux] Avoid using const for libjpeg
Because different libjpeg versions ship with different const variants
2019-09-27 17:57:05 +02:00
Romain Goyet
e46dd0c5b1 [ion/simulator/android] Use stricter build rules 2019-09-27 17:57:05 +02:00
Romain Goyet
70f1fa7ad5 [ion/simulator/ios] Allow bypassing GA 2019-09-27 17:57:05 +02:00
Romain Goyet
3b2db1a146 [ion/sdl] Add Linux support 2019-09-27 17:57:05 +02:00
Romain Goyet
5ef8f2bc1d [build] Add "make help" command 2019-09-27 17:57:05 +02:00
Romain Goyet
fd3c66aaeb [build] Clean the workshop_python_emulator rule 2019-09-27 17:57:05 +02:00
Romain Goyet
c97903f3be [build] Clean the targets 2019-09-27 17:57:05 +02:00
Romain Goyet
6082a011ee [ion/simulator] Misc build fixes 2019-09-27 17:57:05 +02:00
Romain Goyet
5796a0d930 [ion/sdl/web] Fix the HTML page actions 2019-09-27 17:57:05 +02:00
Romain Goyet
30e8b9a0a6 [ion/simulator/web] Update the HTML file 2019-09-27 17:57:05 +02:00
Romain Goyet
0066dcd522 [ion/simulator] Rename platform APIs 2019-09-27 17:57:05 +02:00
Romain Goyet
8f4b45f50f [ion/simulator] Add an option to only render the screen
It's used in the web port which renders the device in HTML
2019-09-27 17:57:05 +02:00
Romain Goyet
97892bb9b7 [ion/simulator] Add missing includes 2019-09-27 17:57:05 +02:00
Romain Goyet
7991c4966a [ion/simulator/web] Correct SDL build 2019-09-27 17:57:05 +02:00
Romain Goyet
882676f0ee [build] Give SFLAGS a chance to overwrite CFLAGS/CXXFLAGS 2019-09-27 17:57:05 +02:00
Romain Goyet
d1d95ee9b8 [ion] Rename sdl to simulator 2019-09-27 17:57:05 +02:00
Romain Goyet
fd6c5f1c89 [ion] Remove the FLTK simulator 2019-09-27 17:57:05 +02:00
Romain Goyet
5e4ff3bf40 [ion/sdl] Clean the build process 2019-09-27 17:57:05 +02:00
Romain Goyet
657a6da583 [build] Clean the windows targets 2019-09-27 17:57:05 +02:00
Romain Goyet
652a44c844 [ion/sdl/windows] Fix the build 2019-09-27 17:57:05 +02:00
Léa Saviot
aa8b0964b3 [apps/graph] If only cartesians, use domains range if < default range
The default range is [-10;10], but if all the functions are cartesian
and defined in a smaller range (for instance [-0.1,0.1]), use that
smaller range.
2019-09-26 12:00:06 +02:00
Émilie Feral
ff6eb7525f [apps/graph] Copy/Cut events on the values controller turn the "(1;3)"
notation into "[[1][3]]" in order to create a matrix layout when paste
into a layout field
2019-09-26 11:26:48 +02:00
Émilie Feral
c982b4c452 [poincare] Tests: fix compilation 2019-09-26 11:26:48 +02:00
Émilie Feral
885f294b28 [poincare] PrintFloat: fix wrong assertion 2019-09-26 11:26:48 +02:00
Émilie Feral
e7e4820513 [apps/shared] StoreController: compute cell width from the number of
glyph required to display the largest float
2019-09-26 11:26:48 +02:00
Émilie Feral
4d593a6149 [poincare] PrintFloat: take into account the distinction between char
and glyph length in ConvertFloatToText
2019-09-26 11:26:48 +02:00
Émilie Feral
d6ad694b76 [apps/shared] EditableCellTableViewController: adjust column width to be
able to display float like "-1.234567E-123"
2019-09-26 11:26:48 +02:00
Émilie Feral
501f7ed8af [poincare] PrintFloat: create glyphLengthForFloatWithPrecision 2019-09-26 11:26:48 +02:00
Émilie Feral
3872785d57 [escher] Add Metric::CellMargin 2019-09-26 11:26:48 +02:00
Émilie Feral
00bb1b7ac1 [apps/graph] ValuesController: column width are different for parametric
functions
2019-09-26 11:26:48 +02:00
Émilie Feral
bf23e0f8da [apps/graph] ValuesController: change display of the parametric column -
display only one column for (x;y) values
2019-09-26 11:26:48 +02:00
Émilie Feral
6a983a5bdf [apps/graph] ValuesController: factorize code to hide the cells 2019-09-26 11:26:48 +02:00
Émilie Feral
b91ea42286 [apps/graph] ValuesController: add comments 2019-09-26 11:26:48 +02:00