Commit Graph

10845 Commits

Author SHA1 Message Date
Romain Goyet
6de90d97a4 [build] Remove duplication of HANDY_TARGETS_EXTENSIONS 2020-04-03 22:26:55 -04:00
Romain Goyet
13b5cd0151 [ci] Build for the iOS Simulator too
This means building an x86_64 binary that will run on a Mac simulating
an iPhone or an iPad
2020-04-03 22:26:55 -04:00
Romain Goyet
1886918900 [ci] Simplify bucket names 2020-04-03 22:26:55 -04:00
Romain Goyet
1b2bbd163b [ion/device] Rename a file 2020-04-03 22:26:55 -04:00
Romain Goyet
f7911bae72 [build] Remove DEFAULT
It was redundant with HANDY_TARGETS and HANDY_TARGETS_EXTENSIONS
2020-04-03 22:26:55 -04:00
Romain Goyet
99b916e179 [build] Share multi-app code 2020-04-03 22:26:55 -04:00
Romain Goyet
f9b0843578 [build/simulator/apple] Share code 2020-04-03 22:26:55 -04:00
Romain Goyet
fff20eb530 [ion/simulator/apple] Rename Make helper 2020-04-03 22:26:55 -04:00
Romain Goyet
d4149b1a3d [build] Move %_run targets in the build dir 2020-04-03 22:26:55 -04:00
Romain Goyet
ed7038262c [ci] Misc cleanups 2020-04-03 22:26:55 -04:00
Romain Goyet
3f2b14ac3e [build] Misc cleanups 2020-04-03 22:26:55 -04:00
Romain Goyet
ba57dbde61 [build] macOS and iOS can now build any binary 2020-04-03 22:26:55 -04:00
Romain Goyet
ada205b1a7 [build] Use variants
- Move helpers functions into build/helpers.mak
- Move official warning into official targets only
2020-04-03 22:26:55 -04:00
Émilie Feral
8d621e4dce [apps/shared] ScrollableMultipleExpressionsView: reload scroll content
view layout when changing the displayed expression layouts

Fix bug: input (transpose([1 1 1 1 1 1])[1 1 1 1 1 1])^30, click on 'OK'
and then 'up'. The cell is mis-displayed.
2020-04-03 10:42:42 +02:00
Émilie Feral
300de8fb15 [apps/calculation] HistoryViewCell: when changing SubviewType, set the
right subcell as first responder!

This fixes the following bug: when selecting a cell whose content is too
long to be displayed, the scrolling is broken
2020-04-03 10:42:42 +02:00
Émilie Feral
90222c3f45 [apps/calculation] SelectableTableView: scrollToCell once the margin
have been updated

This fixes the following bug: input the vertical matrix [1,2,3], the
scroll failed
2020-04-03 10:42:42 +02:00
Émilie Feral
e6516ae0e7 [apps/calculation] Fix typo 2020-04-03 10:39:05 +02:00
Émilie Feral
40986ebb99 [python] Change math module test to be true on all platforms 2020-04-01 16:39:59 +02:00
Émilie Feral
8a5af352bf [python] Fix warning: signed/unsigned int comparison 2020-04-01 16:39:59 +02:00
Émilie Feral
cdff61f64b [python] Add tests for each module 2020-04-01 16:39:59 +02:00
Émilie Feral
ec5803f06f [python] Test: fix printText 2020-04-01 16:39:59 +02:00
Émilie Feral
d0a77bda2b [python] Improve test API 2020-04-01 16:39:59 +02:00
Émilie Feral
ffb8f8f953 [python] Test: add all template scripts 2020-04-01 16:39:59 +02:00
Émilie Feral
11dc259566 [python] test: add a function to run single command test 2020-04-01 16:39:59 +02:00
Émilie Feral
d7804ad5d1 [python] Tidy matplotlib tests 2020-04-01 16:39:59 +02:00
Émilie Feral
2738d30684 [python] test: check wether script execution lead to a Python error 2020-04-01 16:39:59 +02:00
Émilie Feral
2f171eb2fd [python] Add matplotlib test WIP 2020-04-01 16:39:59 +02:00
Léa Saviot
11ac25e935 [apps/code] Fix toolbox comment 2020-04-01 13:42:44 +02:00
Léa Saviot
92c62ce3dc [apps/code] Remove superfluous spaces in toolbox 2020-04-01 13:42:44 +02:00
Léa Saviot
76e0deb9bf [tests/solver] Test solve equation with max number of variables 2020-04-01 11:47:19 +02:00
Émilie Feral
633776b92f [apps/shared] Fix CurveView::drawArrow on arrow without orientation 2020-04-01 11:46:25 +02:00
Léa Saviot
511a96f464 [apps/code] Add matplotlib.pyplot functions to the toolbox catalog
Not just in the modules submenu
2020-04-01 10:18:09 +02:00
Émilie Feral
0f00bdda33 [apps] Fix test build 2020-04-01 10:18:09 +02:00
Émilie Feral
244b97e89b [python] matplotlib: handle case plot([],[]) 2020-04-01 10:18:09 +02:00
Émilie Feral
e5660635d6 [python] matplotlib: handle case hist([]) 2020-04-01 10:18:09 +02:00
Émilie Feral
3987167419 [python] matplotlib: add comment 2020-04-01 10:18:09 +02:00
Émilie Feral
28224bd75e [python] matplotlib: fix hist implementation
This fixes the following crash: input 'hist([1,2,100],[1,2]) on a Python
console with matplotlib.pyplot imported
2020-04-01 10:18:09 +02:00
Émilie Feral
bc1eae17d7 [python] matplotlib: change text() relative position to be similar to
python3
2020-04-01 10:18:09 +02:00
Émilie Feral
642a7c7f61 [apps/code] Increase python heap to 32k 2020-04-01 10:18:09 +02:00
Émilie Feral
7c612f35a8 [python] matplotlib: change Store::Rectangle structure to (left, right,
top, bottom) and avoid rounding error when converting flaot rect to
pixel
2020-04-01 10:18:09 +02:00
Émilie Feral
d468f5e130 [python] WIP matplotlib: avoid empty pixel line between bars and axis
line
2020-04-01 10:18:09 +02:00
Émilie Feral
84bc46ca8c [python] matplotlib: PlotView: improve rect drawing (use round instead
of truncating pixelFloat
2020-04-01 10:18:09 +02:00
Émilie Feral
b3b6565410 [python] modpyplot: show() does nothing when the store is empty 2020-04-01 10:18:09 +02:00
Émilie Feral
ce33faad11 [python] matplotlib: PlotView: rectangle are always visible despite the
pixel width
2020-04-01 10:18:09 +02:00
Émilie Feral
51eabf08e1 [python] matplotlib: fix PlotStore::initRange for an only dot 2020-04-01 10:18:09 +02:00
Émilie Feral
2c82460470 [python] matplotlib: add a comment to PlotView 2020-04-01 10:18:09 +02:00
Émilie Feral
b290bed409 [python] matplotlib: fix typo in ErrorValue 2020-04-01 10:18:09 +02:00
Émilie Feral
d247843da6 [apps/code] Clean ConsoleController::reloadData (always returns true) 2020-04-01 10:18:09 +02:00
Émilie Feral
81284120af [apps/code] ConsoleController: refreshOutput is now done only when the
console is active
2020-04-01 10:18:09 +02:00
Émilie Feral
574eacb69c [python] matplotlib: flush heap memory when any error is raised 2020-04-01 10:18:09 +02:00