Commit Graph

630 Commits

Author SHA1 Message Date
Émilie Feral
e40e626eec [graph] Values tab: select the right cell of the values table when
displaying/undisplaying the derivative column
2019-03-12 16:21:30 +01:00
Romain Goyet
4f2c7a3763 [build] Update the i18n processing to fit the out-of-tree build 2019-03-06 15:00:59 +01:00
Romain Goyet
4f1d74f44b [build] Use an out-of-tree build 2019-03-06 15:00:59 +01:00
Léa Saviot
f392ca8063 [apps/code] More details in NonCompliantName warning 2019-01-21 13:39:59 +01:00
Léa Saviot
869e534b4b [apps] MAke some InteractiveCurveViewRangeDelegate methods const 2019-01-10 11:42:05 +01:00
Léa Saviot
6720ad7b38 [apps] Rename interestingXRange as interestingXHalfRange 2019-01-10 11:42:05 +01:00
Léa Saviot
ab4b4da069 [apps/graph] Add assertions 2019-01-10 11:42:04 +01:00
Léa Saviot
f962e92316 [apps/graph] Fix wrong assertion 2019-01-10 11:42:04 +01:00
Léa Saviot
303ab7f009 [apps/graph] Clean code in graph/graph_controller.cpp 2019-01-10 11:42:02 +01:00
Léa Saviot
3595a8e628 [apps/sequence] Align sequence title and expression baselines 2019-01-10 11:42:02 +01:00
Léa Saviot
0a43cdda7e [apps/graph] Horizontal alignment is 1.0f when editing function name 2019-01-10 11:42:02 +01:00
Léa Saviot
964703bb03 [apps/graph] Increase name column width to max when editing function name 2019-01-10 11:42:02 +01:00
Léa Saviot
37401a5e59 [apps/graph] Add margin between function name and equal 2019-01-10 11:42:02 +01:00
Léa Saviot
6e77bb4123 [apps] Revert Equal after function name 2019-01-10 11:42:02 +01:00
Léa Saviot
ff33ad3ad1 [apps] In FunctionTitleCell, draw the equal separately
This way, we can better manage the margins around the equal
2019-01-10 11:42:02 +01:00
Léa Saviot
738d21cc2b [apps/graph] Align function name and expresion baselines 2019-01-10 11:42:02 +01:00
Léa Saviot
569e0e884e [apps/graph] Memoize baselines in functions list 2019-01-10 11:42:02 +01:00
Léa Saviot
9f6ca489ce [apps/graph] Align the function name right 2019-01-10 11:42:02 +01:00
Léa Saviot
c7e04195c3 [apps/graph] Don't draw a separator between function name and value 2019-01-10 11:42:02 +01:00
Léa Saviot
348c5c0dae [apps/graph] Add equal after function name 2019-01-10 11:42:02 +01:00
Léa Saviot
e04c8bd005 [apps/graph] Fix Graph::Snapshot::reset()
m_graphRange.setDefault called the delegate's interestingXRange, which
uses expressions that might have been deleted before the call to reset
if there had been an exception (the pool is emptied).
2018-11-26 13:20:30 +01:00
Émilie Feral
916493a4d2 [apps] Reset (exam mode) delete all records at once 2018-11-23 12:04:10 +01:00
Léa Saviot
ab83086fc5 [apps/graph] Remove old file 2018-11-23 12:04:09 +01:00
Léa Saviot
97d7955d15 [poincare] Alpha lock when renaming function 2018-11-23 12:04:08 +01:00
Émilie Feral
90befab6ce [shared] Change name: StorageExpressionModel::expression --> expressionReduced 2018-11-23 12:04:08 +01:00
Léa Saviot
2f98a14de2 [apps] Some deutch translation 2018-11-23 12:04:07 +01:00
Léa Saviot
ef4fae251e [apps/graph] Specific error pop ups when renaming function 2018-11-23 12:04:07 +01:00
Léa Saviot
0670057f90 [apps/graph] Destroy variable record with same name when renaming func 2018-11-23 12:04:06 +01:00
Léa Saviot
be195ce70e [apps/graph] Fix storage pointers that expired 2018-11-23 12:04:04 +01:00
Léa Saviot
9bfaed583d [apps/escher/ion] Remove Graph memoized models on storage change 2018-11-23 12:04:03 +01:00
Émilie Feral
fc9b65e2b0 [graph] Fix IntersectionGraphController banner 2018-11-23 12:04:03 +01:00
Émilie Feral
e8b58a2b5b [shared] Create ExpiringPointer: in DEBUG, check that pointers to
memoized functions are not used when invalid
2018-11-23 12:04:03 +01:00
Émilie Feral
344351f5c2 [shared] StorageCartesianFunction: fix nextIntersection to avoid taking
2 function pointers (indeed, 2 functions pointers can not live at the
same time. They are soon to be ExpiringPointer)
2018-11-23 12:04:03 +01:00
Émilie Feral
c551bd89ab [graph] Fix assert in CalculationGraphController 2018-11-23 12:04:03 +01:00
Émilie Feral
a063b00fb7 [graph] StorageDerivativeParameterController &
StorageValuesFunctionParameterController titles cannot be computed
before being in the responder chain (they need to access
app()->functionStore())
2018-11-23 12:04:03 +01:00
Émilie Feral
4b44dd701d [graph] Unable to delete functions from function app 2018-11-23 12:04:03 +01:00
Émilie Feral
698332c355 [escher] InputTextDelegate and LayoutFieldDelegate don't inherit from
InputTextDelegate to avoid diamond inheritance
2018-11-23 12:04:03 +01:00
Léa Saviot
71d8358722 [apps/escher/poincare] Change KDText::FontSize to KDFont 2018-11-23 12:04:02 +01:00
Léa Saviot
64881439bc [apps/graph] When pressing Up while renaming first function, select tab 2018-11-23 12:04:02 +01:00
Léa Saviot
59cdbda0ae [apps/graph] Fix selection after editing a function successfully 2018-11-23 12:04:02 +01:00
Léa Saviot
7b98467fa9 [apps/graph] Fix first responder when popup after renaming function 2018-11-23 12:04:02 +01:00
Léa Saviot
9e332b0c2b [apps] Create and use StorageFunction::BaseNameCompliant 2018-11-23 12:04:02 +01:00
Émilie Feral
8e2a30ab8e [graph] Create a static method StorageCartesianFunctionStore::Symbol() 2018-11-23 12:04:02 +01:00
Léa Saviot
6aab93f3fe [apps/graph] Limit the textfield size when renaming a function 2018-11-23 12:04:02 +01:00
Léa Saviot
65ec434449 [apps/graph] Change cell selection after renaming if event is up or down 2018-11-23 12:04:02 +01:00
Léa Saviot
63d6f11b8d [apps/graph] Fix rebase: don't use old methods 2018-11-23 12:04:02 +01:00
Léa Saviot
bdb5856f7a [apps/graph]Handle user escaping the function renaming with "Back" 2018-11-23 12:04:02 +01:00
Émilie Feral
c70278941a [graph] Do not keep a function pointer as member variable but a record.
Indeed, function pointers can become invalid at any point...
2018-11-23 12:04:02 +01:00
Léa Saviot
6facfbbf7a [apps/graph] Use TextFieldWithExtension in the list controller 2018-11-23 12:04:02 +01:00
Léa Saviot
df542f2f84 [apps/graph] Update column width after renaming function 2018-11-23 12:04:02 +01:00