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
Émilie Feral
38eaf9b051
[apps/regression] even_odd_double_buffer_text_cell_with_separator:
...
simplify selectFirstText code
2019-09-26 11:26:48 +02:00
Émilie Feral
2c84bb1031
[apps/regression] Fix bug: a one-pixel-large band was not drawn because
...
we divided an odd coordinate by two.
2019-09-26 11:26:48 +02:00
Émilie Feral
3f329182b0
[apps/graph] ValuesController: if the selection change is temporary, we
...
don't need to avoid selecting hid cells
2019-09-26 11:26:48 +02:00
Émilie Feral
743bf7cf28
[escher] EvenOddMessageTextCell wraps the message view with a 2-pixel
...
margins (avoid almost duplicate classes)
2019-09-26 11:26:48 +02:00
Émilie Feral
6f70924893
[escher] EvenOddBufferTextCell wraps the text view with a 2-pixel margin
2019-09-26 11:26:48 +02:00
Romain Goyet
a3b3951eee
[build] Add a helper to run multiple fuzzers easily
2019-09-26 11:18:46 +02:00
Ruben Dashyan
259eb35cf4
Revert ""Almost equal to" sign in banner views"
...
This reverts commit bd5a247858 .
2019-09-26 10:36:17 +02:00
Ruben Dashyan
38a4a44633
[apps/statistics/store] Fix typo
2019-09-26 10:35:06 +02:00
Léa Saviot
d4784146d1
[apps/toolbar] Translate sci symbol
2019-09-25 17:49:45 +02:00
Léa Saviot
9b593a3807
[apps/title_bar_view] Code cleaning
2019-09-25 17:49:45 +02:00
Léa Saviot
2686b0d51d
[apps] Display Engineering notation in title bar
2019-09-25 17:49:45 +02:00
Léa Saviot
2c11192b2a
[poincare/matrix_layout] Do not serialize the first and last empty lines
...
[•]
[•]
[2] will be serialized like [2].
[•]
[•]
[•]
This way, if a user inputs a column matrix and then switches to a line
matrix without properly deleting each empty row, it is serialized
correctly.
2019-09-25 17:49:31 +02:00
Émilie Feral
db04183910
[apps/shared] Temporary fix: enable to display large float
...
(-1.234567E-123) in the values controller
This fix is not great and will be improved in future commits
2019-09-25 15:33:11 +02:00
Léa Saviot
c768c15826
[apps/proba] Fix Normal distribution undercurve colouring
...
Reverts 01d2db1342
2019-09-25 11:14:29 +02:00
Léa Saviot
b3e72835f0
[apps/graph] Fix expiring pointer that expired
2019-09-24 11:31:15 +02:00
Léa Saviot
79a70f5b6e
[apps/graph] Clip t when navigating curves vertically
2019-09-23 17:31:35 +02:00
Léa Saviot
6336c385db
[apps/graph] jumpToLeftRightCurve takes into account vertical distance
2019-09-23 17:31:35 +02:00
Léa Saviot
e9974a216d
[apps/graph] If only cartesians, jump to next curve when out of range
...
Scenario:
-----------• ->press "right": the cursor goes on the lower curve
-*-*-*-*-*-
2019-09-23 17:31:35 +02:00
Léa Saviot
f037df0ab5
[apps/round_cursor_view] Fix color change
...
When changing the color, erase the cursor first, otherwise there is a
drawing glitch
Scenario:
f(x)=1
g(x)=2
Cursor on f(x), go to g(x), go right -> the previous cursor left a dot
2019-09-23 17:31:35 +02:00
Léa Saviot
4248128471
[apps/graph] ContinuousFunctionStore::displaysNonCartesianFunctions
2019-09-23 17:31:35 +02:00
Léa Saviot
f79e774971
[apps/graph] Factorize displaysNonCartesianFunctions uses
2019-09-23 17:31:35 +02:00
Léa Saviot
ebfa251db8
[apps/grah} closestCurveIndexVertically renamed as next...
2019-09-23 17:31:35 +02:00