Commit Graph

1101 Commits

Author SHA1 Message Date
Léa Saviot
496d346049 Remove max/min inline from KDCoordinate header 2019-05-03 15:53:19 +02:00
Léa Saviot
bbb10f1993 [ion/kandinsky] Move unicode to ion 2019-05-03 15:53:19 +02:00
Léa Saviot
5c39cab73e [escher] Fix text inputs so they use UTF8 2019-05-03 15:53:19 +02:00
Léa Saviot
7a1fd68626 [poincare/utf8_decoder] nextCodePointPointer is now stringPosition 2019-05-03 15:53:19 +02:00
Léa Saviot
41afa92f10 [unicode] Use the UTF8Decoder to scan const char * 2019-05-03 15:53:19 +02:00
Léa Saviot
65e5adafac Remove Ion::Charset 2019-05-03 15:53:19 +02:00
Léa Saviot
7c9747da64 [apps/post_and_hardware_tests] Clean code 2019-04-30 17:15:30 +02:00
Léa Saviot
c388d9bb4c [apps/hardware_test] No black screen in LCDDataOK 2019-04-30 17:15:30 +02:00
Léa Saviot
f32e35c7a8 [apps/on_boarding] Faster LCDData test in POST 2019-04-30 17:15:30 +02:00
Émilie Feral
23da0d3f2c [ion] Namespace Ion::UTF8Helper and Ion::UTF8Decoder 2019-04-29 18:01:30 +02:00
Émilie Feral
9e962874b6 Merge branch 'version-11' into HEAD 2019-04-29 18:00:17 +02:00
Léa Saviot
8e3fa8c2e3 [apps/POST] Test not performed if calculator plugged 2019-04-29 10:18:28 +02:00
Émilie Feral
661c7b9943 [escher] SelectableTableView: when reloading data, we temporary deselect
the table. We warn the SelectableTableViewDelegate that the selection
change is 'within a temporary selection change' when notifying it of the
change.
2019-04-26 14:48:31 +02:00
Léa Saviot
641484457c [apps/hardware_tests and POST] Factorize the tests 2019-04-26 12:02:53 +02:00
Émilie Feral
80ad1e9623 [shared] Clean reloading (highlight, even) of
ScrollableExactApproximateExpressionsCell and
ScrollableExactApproximateExpressionsView
2019-04-26 10:41:36 +02:00
Léa Saviot
380ac52cd8 [ion/crc32] crc32Byte and crc32Word 2019-04-25 17:11:06 +02:00
Émilie Feral
a02a1fc5a4 [calculation] HistoryViewCell: fix scroll reloading and right or left
outputs selection (the order of events here matters)
2019-04-25 15:20:55 +02:00
Émilie Feral
2b921c9965 [escher] ExpressionView: optimize setLayouts to avoid marking the whole
view as dirty when the layout did not really changed
2019-04-25 14:03:30 +02:00
Émilie Feral
75f2b55dd8 [shared] ScrollableExactApproximateExpressionsView: fix scrolling when
selecting the left or right output result
2019-04-24 14:56:07 +02:00
Émilie Feral
ff87c8c53c [escher] ScrollableView: discard duplicate data source of scrolling
offset
2019-04-24 14:34:18 +02:00
Émilie Feral
8629b4c9e9 [shared] ScrollableExactApproximateExpressionsView: selecting the right
or left output reload the scroll to display the selected output
2019-04-24 09:43:22 +02:00
Émilie Feral
55e325cc3a [shared] ScrollableExactApproximateExpressionsView: change the selected
output only when one of the two layout is uninitialized. Otherwise, the
parent cell decides of which of right or left output should be selected.
2019-04-23 11:15:17 +02:00
Léa Saviot
bdaf229cfd [apps/text_field_delegate_app] Fix XNT in a sum layout
It was broken by a blunder while swithching to UTF8
2019-04-17 11:31:26 +02:00
Léa Saviot
3554f441c1 [poincare] Remove symbolic computation 2019-04-12 15:16:53 +02:00
Léa Saviot
503a10afbb [apps] Clean apps/shared/expression_model_handle.cpp 2019-04-12 15:16:53 +02:00
Léa Saviot
4bbda406de [unicode] Use Poincare::SerializationHelper::CodePoint 2019-04-12 15:16:53 +02:00
Léa Saviot
93a1546201 [apps] Removed unused static inline method 2019-04-12 15:16:53 +02:00
Léa Saviot
82d5ff7799 [ion/unicode] Clean special code points 2019-04-12 15:16:53 +02:00
Émilie Feral
c6493bdeef [shared] Clean unused method maxInt in ExpressionModelHandle 2019-04-12 15:16:53 +02:00
Émilie Feral
d3fedf4ae5 [shared] ListParameterController: reinit hold record when removing it
from the storage
2019-04-12 15:16:52 +02:00
Émilie Feral
c93e021045 [apps/graph][apps/sequence] ListParameterController is a
ListViewDataSource instead of a SimpleListViewDataSource (indeed, each
cell has a specific type)
2019-04-12 15:16:52 +02:00
Émilie Feral
71195240e2 [shared] Change name of classes:
FunctionRecordData --> FunctionRecordDataBuffer
CartesianFunctionRecordData --> CartesianFunctionRecordDataBuffer
SequenceRecordData --> SequenceRecordDataBuffer
2019-04-12 15:16:52 +02:00
Émilie Feral
d0665d8558 [shared] Clean class names containing storage 2019-04-12 15:16:52 +02:00
Émilie Feral
de41064a47 [apps/shared] Change names:
Sequence::DefinitionHandle --> Sequence::DefinitionModel
Sequence::FirstInitialConditionHandle -->
Sequence::FirstInitialConditionModel
Equation::Handle--> Equation::Model
2019-04-12 15:16:52 +02:00
Émilie Feral
3c1e35ec04 [shared] Rename classes:
ExpressionModelHandle --> ExpressionModel
SingleExpressionModelHandle --> ExpressionModelHandle
StorageFunction --> Function
StorageCartesianFunction --> CartesianFunction
StorageFunctionApp --> FunctionApp
2019-04-12 15:16:52 +02:00
Émilie Feral
3ce406fde1 [shared] Clean unused classes 2019-04-12 15:16:52 +02:00
Émilie Feral
58f9a59d6e [ion] Move Storage extensions declaration in Storage class 2019-04-12 15:16:52 +02:00
Émilie Feral
653bdd6cdb [sequence] Add Poincare::Symbol::SpecialSymbols::UnknownN used in
Sequence
2019-04-12 15:16:52 +02:00
Émilie Feral
5b89c1caa9 [sequence] Implement specific setExpressionContent for Sequence model 2019-04-12 15:16:52 +02:00
Émilie Feral
634972a724 [sequence] SequenceStore returns Sequence * instead of
ExpiringPointer<Sequence>

SequenceStore keep all its Sequences in an array which fix Sequence
addresses
2019-04-12 15:16:52 +02:00
Émilie Feral
ce4497fa25 [apps/sequence] Make controllers inherit from StorageFunction controllers when required 2019-04-12 15:16:52 +02:00
Émilie Feral
6a920391b9 [shared] ExpiringPointer: add constructor to enable pointer casting 2019-04-12 15:16:52 +02:00
Émilie Feral
226aaef448 [shared][graph] Factorize ListController baseline computation in
StorageFunctionListController
2019-04-12 15:16:52 +02:00
Émilie Feral
a8499a055e [shared] Factorize 'storageDidChangeForRecord' in StorageFunctionApp 2019-04-12 15:16:52 +02:00
Émilie Feral
a7192df59c [apps/shared] Split ExpressionModelHandle into ExpressionModelHandle and
SingleExpressionModelHandle (in perspective of Sequence model who will
be composed of 3 ExpressionModelHandle)
2019-04-12 15:16:52 +02:00
Émilie Feral
2ba077af28 [solver] Make Solver::ListController inherits from
StorageExpressionModelListController instead of
ExpressionModelListController
2019-04-12 15:16:52 +02:00
Émilie Feral
d6f5f1bbea [apps/shared] Make StorageExpressionModelListController
SelectableTableViewDelegate instead of StorageFunctionListController
2019-04-12 15:16:52 +02:00
Émilie Feral
d9eb8163bb [apps/shared] StorageExpressionModelListController: avoid useless
invalidation of memoization
2019-04-12 15:16:52 +02:00
Émilie Feral
0af6132016 [apps/shared] StorageExpressionModelListController: change name
reinitExpression--> reinitSelectedExpression
2019-04-12 15:16:52 +02:00
Émilie Feral
06b364d9f4 [apps/shared] StorageExpressionModelListController: switching from
no-selected-cell to first-cell-selected should not make the memoization
shift
2019-04-12 15:16:52 +02:00