Commit Graph

3680 Commits

Author SHA1 Message Date
Léa Saviot
a4c014c75e [expression_editor/poincare] Move Down in an ExpressionLayout.
Change-Id: I87f3394cce5eb4936ab926d5e92fdf44d4473cf7
2018-01-15 11:58:01 +01:00
Léa Saviot
fc8cd6c06e [expression_editor/poincare] Move Up in an ExpressionLayout.
Change-Id: I75fd91233729afd4eb77d8e9d53c102a632643ea
2018-01-15 11:58:01 +01:00
Léa Saviot
96c2f9aeba [poincare] Fixed some layout moveLeft() problems.
Change-Id: Id7b9f9a1cc823589e1abd8a69800331649393126
2018-01-15 11:58:01 +01:00
Léa Saviot
29e549d475 [expression_editor/poincare] Move Right in an ExpressionLayout.
Change-Id: Ib5f018666350d6bb061272ae7b04b6f721d50e84
2018-01-15 11:58:01 +01:00
Léa Saviot
ab81f74bbf [poincare] Bracket Left and Right layouts.
Change-Id: I05987e837324628b5141b31d01f59c88ae5ff3ce
2018-01-15 11:58:01 +01:00
Léa Saviot
8237bab64f [poincare] ParenthesisLeft and Right layouts.
Change-Id: I13cdb59c8b0d7ec1cf773688edff37babb15f893
2018-01-15 11:58:01 +01:00
Léa Saviot
f49168d779 [poincare] Use editable String and BaselineRelative layouts.
Change-Id: I978c4aa43772b294251b948fc20bb0d8b8b05a08
2018-01-15 11:58:01 +01:00
Léa Saviot
ee77ab9723 [poincare] EditableBaselineRelativeLayout.
Change-Id: I8fa6ed2b255d20eb815055987871881b3b5bbf09
2018-01-15 11:58:01 +01:00
Léa Saviot
d5316e06f7 [poincare] EditableStringLayout.
Change-Id: Ie985874c216881a722d9c6807c007bc17b25d4f0
2018-01-15 11:58:01 +01:00
Léa Saviot
074f8c5337 [TO REMOVE] Colored the cursor in Red for visibility.
Change-Id: Ia93ebbac1f4b7e15e7de7a3d8546a19797929d72
2018-01-15 11:58:01 +01:00
Léa Saviot
3af2f88da7 [poincare] Added extern margins on BracketLayout to see the cursor.
Change-Id: I32f6d54c2121b4de1d7ae2552239a1e8ac557913
2018-01-15 11:58:01 +01:00
Léa Saviot
78c02e6871 [expression_editor/poincare] Move Left in an ExpressionLayout.
Change-Id: Id69def65e0976bfb045c1da6e8786a2f5797120c
2018-01-15 11:58:01 +01:00
Léa Saviot
5aa1946796 [expression_editor] Handle navigation events in the controller.
Change-Id: I7f8f2846f7b7ac141e854215edd30e0c078a992c
2018-01-15 11:58:01 +01:00
Léa Saviot
8f6a27bee8 [TO REMOVE] Bigger test case.
Change-Id: I72c0474000aab5eec5ebada2e09c0f7f555c8e2b
2018-01-15 11:58:01 +01:00
Léa Saviot
23d49f768f [expression_editor] Use ExpressionEditorView.
Change-Id: Ib4080fd76f7040be6ad8ebfda10d2e2070c7381c
2018-01-15 11:58:01 +01:00
Léa Saviot
1c6d18afd9 [expression_editor] Scrollable ExpressionView with cursor.
Change-Id: I8f75bcb0be78d8c8901cdad0e85e8463c2ea717c
2018-01-15 11:58:01 +01:00
Léa Saviot
8828eaf79f [escher] ExpressionView drawingOrigin().
Change-Id: I737f17f857edb6e9971feeeb196f2698cc92ad9e
2018-01-15 11:58:01 +01:00
Léa Saviot
589926284c [poincare] absoluteOrigin() is public in ExpressionLayout.
Change-Id: I7e381887e3c62c36c72536ed7ef280bcc637ead4
2018-01-15 11:58:01 +01:00
Léa Saviot
53e7f6ea44 [escher] Get a View's frame.
Change-Id: I9fbcf2fb8db5f735df5c852762dc8645c0358683
2018-01-15 11:58:01 +01:00
Léa Saviot
62c8db9799 [expression_editor] The controller has a ExpressionLayoutCursor.
Change-Id: I8a7e35670eeecca5b633bd784b84df7de1e64626
2018-01-15 11:58:01 +01:00
Léa Saviot
73810bbd9a [poincare] ExpressionLayout cursor.
Change-Id: I2367d20754189608a7925f0d8e8dfe361fed0fd0
2018-01-15 11:58:01 +01:00
Léa Saviot
4ad3adaab2 [apps/escher] Changed setExpression to setExpressionLayout.
Change-Id: I095a12868fd7eaf8d4eb2408617941a86f43e1ee
2018-01-15 11:58:01 +01:00
Léa Saviot
be9cde8ca4 [expression_editor] Base app for development, to remove later.
Change-Id: I1d5b59f67fd146d2e2917546a7d8b9419a0a7036
2018-01-15 11:57:58 +01:00
MaxBzh
4011290e7a Add Urandom module in Python 2018-01-05 14:28:25 +01:00
Émilie Feral
cd93f827c1 [apps] Probability: improve precision of inverse normal probability
using erfInv
2018-01-04 15:48:06 +01:00
Émilie Feral
9506f22576 [apps] Probability: add erfInv function and tests 2018-01-04 15:48:06 +01:00
Émilie Feral
a8b3fbbe5e [escher] Fix error in list view data source 2018-01-04 15:48:06 +01:00
Émilie Feral
faac0d7a58 [escher] Change TableView::size() to
TableView::minimalSizeForOptimalDisplay()
2018-01-04 15:48:06 +01:00
Émilie Feral
da319723a3 [apps] Probability: improve precision of normal law density 2018-01-04 15:48:06 +01:00
Émilie Feral
253a9de5fb [libaxx] Add std::erf in cmath 2018-01-04 15:48:06 +01:00
Émilie Feral
887e3d1f54 [kandinksy] Optimize strokeRect implementation 2018-01-04 15:48:06 +01:00
Émilie Feral
e0b9db43ab [apps] Probability: order subviews to draw the law curve at last
(avoiding visible noise)
2018-01-04 15:48:06 +01:00
Émilie Feral
fa127ced4e [apps] Probability: clean table margins (replace weird cell margins by
table margins)
2018-01-04 15:48:06 +01:00
Émilie Feral
30e6d0b3f0 [apps] Probability: enable to copy content of non-editable calculations 2018-01-04 15:48:06 +01:00
Émilie Feral
26bbfa85ec [apps] Probability: fix bug in layout (the textfield was moving when
adding characters)
2018-01-04 15:48:06 +01:00
Émilie Feral
fd06d428e5 [apps] Redesign Probability Calculation page 2018-01-04 15:48:06 +01:00
Émilie Feral
e8793c429c [escher] In textfield: when calling textFieldDidHandleEvent, precise if
there was any modification in the text
2018-01-04 15:48:06 +01:00
Émilie Feral
66ba406093 [escher] In table view: change the order of the layout: reload the data
BEFORE resizing and layouting cells
2018-01-04 15:48:06 +01:00
Émilie Feral
870994e11d [escher] Add a getter for the modal view in app 2018-01-04 15:48:06 +01:00
Émilie Feral
bc78a0b19e [escher] Add a method in view: relativePointForPointInView 2018-01-04 15:48:06 +01:00
Émilie Feral
c7b9b21074 [apps] Probability: optimize view reloading in calculation page 2018-01-04 15:48:06 +01:00
Émilie Feral
8f4e9b9656 [apps] Probability: redesigning the calculation controller (for future
scrolling purpose)
2018-01-04 15:48:06 +01:00
Émilie Feral
6ccabe2d3b [apps] Probability: fix bug: for discrete laws, when inversing
probability, round to the closest existing probability (instead of the
closest smaller)
2018-01-04 15:48:06 +01:00
Émilie Feral
6f7e1447ed [apps] Probability: display 7 significative numbers in calculation
results
2018-01-04 15:48:06 +01:00
Émilie Feral
0d3d7f3587 [apps] Probability: do not round the calculation results with 3 decimals 2018-01-04 15:48:06 +01:00
Émilie Feral
07054835b4 [apps] Probability: update the size of calculation boxes with their
content
2018-01-04 15:48:06 +01:00
Émilie Feral
e41ca318c7 [escher] TextField: change the method to get the optimal size for display 2018-01-04 15:48:06 +01:00
Émilie Feral
57866ce788 [kandinsky] Make charSize methods constexpr 2018-01-04 15:48:06 +01:00
Émilie Feral
66e375a308 Makefile: all objects .o depend on generated headers (to avoid tracking
all dependencies before compiling)
2018-01-04 15:48:06 +01:00
Émilie Feral
6c070b63fc [apps] Sequence: fix bug due to const char * comparison 2018-01-03 16:16:34 +01:00