Commit Graph

1898 Commits

Author SHA1 Message Date
Léa Saviot
2cf34c4cef [apps/statistics] Clean HistogramController 2018-05-29 15:34:49 +02:00
Léa Saviot
94cee8981f [apps/statistics] Clean HistogramBannerView 2018-05-29 15:34:49 +02:00
Léa Saviot
0e9897ab92 [apps/statistics] Clean CalculationController 2018-05-29 15:34:49 +02:00
Léa Saviot
4149c99ded [apps/statistics] Clean BoxView 2018-05-29 15:34:49 +02:00
Léa Saviot
c7aab7b69b [apps/statistics] Clean BoxRange 2018-05-29 15:34:49 +02:00
Léa Saviot
80ee817c45 [apps/statistics] Clean BoxBannerView 2018-05-29 15:34:49 +02:00
Léa Saviot
c806ae65f8 [apps/statistics] Inline methods in app.cpp 2018-05-29 15:34:49 +02:00
Léa Saviot
f6ceeeb793 [apps/statistics] Inline method in BoxController 2018-05-29 15:34:49 +02:00
Léa Saviot
9376b7c62d [apps/statistics] Reorganize BoxController 2018-05-29 15:34:49 +02:00
Léa Saviot
f775af59de [apps] Draw empty cells if no data in StoreController 2018-05-29 15:34:49 +02:00
Léa Saviot
9fe7cd2a46 [apps] Rename FloatPairStore methods 2018-05-29 15:34:48 +02:00
Léa Saviot
551606037d [apps] Do not display empty cells in store_controller 2018-05-29 15:34:48 +02:00
Léa Saviot
11251f03de [apps] Fix Statistics: now displays three series 2018-05-29 15:34:48 +02:00
Léa Saviot
a184ff95b4 [apps] Inline shared/store_parameter_controller.h 2018-05-29 15:34:48 +02:00
Léa Saviot
7637183055 [apps] Multiple series in regression/store 2018-05-29 15:34:48 +02:00
Léa Saviot
25713dc950 [apps] Clean and inline regression/store 2018-05-29 15:34:48 +02:00
Léa Saviot
33fa32d55f [apps] Multiple data series in FloatPairStore 2018-05-29 15:34:48 +02:00
Léa Saviot
600f5307c4 [apps] Use sumOfOccurrences() in statistics/store.cpp 2018-05-29 15:34:48 +02:00
Léa Saviot
9e47b62775 [apps] Inline statistics/store.h 2018-05-29 15:34:48 +02:00
Léa Saviot
40d541bc1c [apps] Display 3 series in Regression and Stats 2018-05-29 15:34:48 +02:00
Léa Saviot
cb67aa535d [apps/shared] Create static ints for cell types 2018-05-29 15:34:48 +02:00
Léa Saviot
dfca5d8438 [apps/statistics] Allow non integer value sizes 2018-05-29 15:34:48 +02:00
Émilie Feral
332564318b [statistics] Recompute the histogram range parameters if the store has
changed (even if the bar parameters has not changed, the maximal size
might differ)
2018-05-29 15:34:07 +02:00
Émilie Feral
84a78c8a9b [probability] Add comment for future improvement in Binomial law
computation
2018-05-23 10:14:21 +02:00
Émilie Feral
0ee32e15be [shared] Curve view: Avoid drawing all bars in histograms when bars
overlap each other due to pixel resolution
2018-05-23 10:14:21 +02:00
Émilie Feral
f2887e895d [probability] Increase the cap of parameters on binomial law 2018-05-23 10:14:21 +02:00
Émilie Feral
7f6d1f0e31 [probability] Fix evalution of the binomial density: some computation
were done in float instead of in double
2018-05-23 10:14:21 +02:00
Émilie Feral
da8286d3f7 [code] Escaping the input loop on a 'home' event should be handled by
the code app instead of the console controller to ensure to escape the
input loop even when the toolbox (or any modal) is displayed
2018-05-23 10:01:15 +02:00
Émilie Feral
5cfe20ad15 [code] Move ConsoleController from MenuController to App 2018-05-23 10:01:15 +02:00
Émilie Feral
58d10403e2 [apps/sequence] Fix maxFirstIndex for double recursive sequences 2018-05-17 17:32:55 +02:00
Léa Saviot
f2d1247cf9 [code] Invalid the script node. If we don't, layouting the subviews
would use the deleted python heap.
using the python heap before

Change-Id: Icf77e7723d843ff415b8e2da11f5ab64eba48aef
2018-05-17 17:23:55 +02:00
Émilie Feral
8541c2cb7e [sequence] Add a pop-up when the user tries to set the first term
index to a value above 1000
2018-05-17 15:39:14 +02:00
Émilie Feral
3a29f086a0 [sequence] Fix u(0), u(1) layout in sequence list 2018-05-17 15:39:14 +02:00
Léa Saviot
7e9b4c1a60 [apps/code] Fix buffer indexes
Change-Id: Ib5748d59fd762af9337e00115f0db4ac5d6d08a9
2018-05-17 15:26:46 +02:00
Léa Saviot
6aaab293d6 [apps/code] Change memcpy to memmove on overlapping buffers
Change-Id: Ic85b177375a4030ad80c8c539ee0084fb095ad44
2018-05-17 15:26:46 +02:00
Émilie Feral
5dcfbf83e9 [escher] ExpressionLayoutFieldDelegate should not take a text as
parameter but a layout
Warning: in ExpressionField: the serialized layout is not guaranteed to
be small enough to fill in the text buffer
2018-05-17 13:53:10 +02:00
Léa Saviot
3953ca1c67 [escher] Remove duplicate method
Change-Id: Iac03f002cb6928831a8d640f1bcdeba116f71d06
2018-05-17 13:42:20 +02:00
Émilie Feral
8b0225ec0e [calculation] Fix bug: update strlcpy with real size of buffer 2018-05-16 19:19:48 +02:00
Émilie Feral
05cd2b5866 [shared] Sequence/Function: on graph zoom on center if the cursor is undefined 2018-05-16 18:51:35 +02:00
Émilie Feral
0c93a50018 [calculation] Increase the cache buffer to accept serialized layout
which would fit in calculation
2018-05-16 18:45:44 +02:00
Émilie Feral
1108ef21db [calculation] Do not memoize the expression layouts but the expressions
final height to avoid overflowing the heap. The expression layouts are
kept in the cell which are fewer then the number of calculations
2018-05-16 18:36:45 +02:00
Léa Saviot
a67f422ab7 [apps/sequence] Fix first/second term index display.
Before, it was always u0 and u1.

Change-Id: Iad5a3992a16f4b4a55e295b24f6a784a17f2807b
2018-05-16 18:36:34 +02:00
Léa Saviot
99f6d73e19 [apps/code] Put cursor inside parentheses when inserting function
In Code::VariableBoxController.

Change-Id: Ib129781d46159c017bcb02e97c6667b6084f5b67
2018-05-16 16:00:24 +02:00
Léa Saviot
291958a901 [apps/statistics] Fix buffer overflow in HistogramController.
Change-Id: Idf8f8701ba7b7d18b92dc7b21108387c0fa0aa3a
2018-05-16 15:58:06 +02:00
Léa Saviot
ea8bd568bf [apps/escher] Fix ExprFieldDelegateApp::exprLayoutFieldDidReceiveEvent
Fix the buffer size and check the length of the serialized expression

Change-Id: I7d53365313c0e0307db3393d46537d35ed799b3b
2018-05-16 15:56:13 +02:00
Léa Saviot
a2226eb5f8 [apps/calculation] Expression buffer max length: k_printedExpressionSize
Change-Id: I41603624f7f7a4d3213ec6ea43297b75b204ed03
2018-05-16 15:56:13 +02:00
Émilie Feral
bb8ab2a42e Merge branch 'saisie-jolie' into master-merge-saisie-jolie 2018-05-16 11:28:07 +02:00
Émilie Feral
16bfca6a7d [shared] Make cursor view a transparent view because it has no
background
2018-05-16 10:01:24 +02:00
Claire Savinas
33a31ab8e0 Saving Python script when home is pressed 2018-05-15 17:27:53 +02:00
Léa Saviot
278a951229 [apps/code] Add member variable initialization in GutterView
Change-Id: I82bcd810f84ae46ec4efc6a2a1c3203ae5a4877a
2018-05-15 17:25:34 +02:00