Ruben Dashyan
eb6d697927
[apps] Make app accessors static members of App classes
2019-07-19 15:06:25 +02:00
Ruben Dashyan
44809f4b3f
Substitute Escher app() by Container::activeApp()
2019-07-19 15:06:25 +02:00
Ruben Dashyan
3e992a3560
[apps] Replace app() by textFieldDelegateApp() in TextFieldDelegates
2019-07-19 15:06:25 +02:00
Ruben Dashyan
055d601854
[apps] Define TextFieldDelegate::textFieldDelegateApp() directly from ::app()
2019-07-19 15:06:25 +02:00
Ruben Dashyan
5058f64163
[apps] Define LayoutFieldDelegate::expressionFieldDelegateApp() directly from ::app()
2019-07-19 15:06:25 +02:00
Romain Goyet
21907fb89a
[apps] Get rid of App casts
2019-07-19 15:06:25 +02:00
Ruben Dashyan
1f06819974
[apps] Remove Container * parameter from all App constructors
2019-07-19 15:06:25 +02:00
Léa Saviot
2fdbf2ea11
[poincare] VerticalOffsetLyt serializes as ^().
...
UCodePointLeftSuperscript and UCodePointRightSuperscript no longer exist
2019-06-26 14:03:08 +02:00
Léa Saviot
6455891b77
[apps/test] Silence unused variable warning
2019-06-26 14:03:08 +02:00
Léa Saviot
40c5196cee
[test] Use strcmpWithSystemParentheses
...
Now there can be two types of parentheses : '(' or
UCodePointLeftSystemParenthesis. Because we do not want to complicate
the test results, when comparing a computed serialization and a result
we do not differentiate between the two types of parentheses.
2019-06-26 14:03:08 +02:00
Léa Saviot
1e64db68ef
[apps/solver] Fix string length computation
...
The layout for delta=b^2*4ac did not appear properly
2019-06-13 08:50:45 -04:00
critor
ec40cdd347
Fixed german special characters
...
Now that special unicode characters are supported, when appropriate, replaced occurrences of the 'ae', 'oe', 'ue', and 'ss' digrams with the proper character.
2019-05-31 08:00:15 -04:00
Émilie Feral
cbbb827532
[poincare] Clean recursive tests on expression (isApproximate, IsRandom,
...
IsMatrix etc)
2019-05-03 15:54:22 +02:00
Émilie Feral
08e4b0d6a3
[shared] Clean reloading (highlight, even) of
...
ScrollableExactApproximateExpressionsCell and
ScrollableExactApproximateExpressionsView
2019-05-03 15:54:21 +02:00
Émilie Feral
9665f11d06
[poincare] Layout: discard methods isVerticalOffset(), isHorizontal(),
...
isRightParenthesisLayout(), isLeftBracket(), isRightBracket(),
isCodePoint(),
isLeftParenthesisLayout() and use type() instead
2019-05-03 15:54:21 +02:00
Émilie Feral
da1ee21fd5
[poincare] VerticalOffsetLayout: change name of 'Type' to 'Position'
2019-05-03 15:54:21 +02:00
Léa Saviot
bcfe9469e8
[apps/tests/solver] Test equations + symbolic computation
2019-05-03 15:53:21 +02:00
Léa Saviot
a9e4737dea
[apps/solver] Test: conj(x)*x+1 should not be considered as polynom
2019-05-03 15:53:21 +02:00
Émilie Feral
578c65d5dd
[shared] Clean class names containing storage
2019-05-03 15:53:20 +02:00
Émilie Feral
5a5a181086
[apps/shared] Change names:
...
Sequence::DefinitionHandle --> Sequence::DefinitionModel
Sequence::FirstInitialConditionHandle -->
Sequence::FirstInitialConditionModel
Equation::Handle--> Equation::Model
2019-05-03 15:53:20 +02:00
Émilie Feral
57da4ea618
[shared] Rename classes:
...
ExpressionModelHandle --> ExpressionModel
SingleExpressionModelHandle --> ExpressionModelHandle
StorageFunction --> Function
StorageCartesianFunction --> CartesianFunction
StorageFunctionApp --> FunctionApp
2019-05-03 15:53:20 +02:00
Émilie Feral
15a4072fdc
[ion] Move Storage extensions declaration in Storage class
2019-05-03 15:53:20 +02:00
Émilie Feral
3088a4ee23
[apps/shared] Split ExpressionModelHandle into ExpressionModelHandle and
...
SingleExpressionModelHandle (in perspective of Sequence model who will
be composed of 3 ExpressionModelHandle)
2019-05-03 15:53:20 +02:00
Émilie Feral
6566b08400
[solver] Fix tests with new Equation API
2019-05-03 15:53:20 +02:00
Émilie Feral
2e6e7f93f7
[solver] Make Solver::ListController inherits from
...
StorageExpressionModelListController instead of
ExpressionModelListController
2019-05-03 15:53:20 +02:00
Émilie Feral
f8e9fdef65
[solver] EquationListView: clean setBraceStyle to always re-layout
2019-05-03 15:53:20 +02:00
Émilie Feral
b4c8c53982
[solver] Make EquationStore inherits from StorageExpressionModelStore
2019-05-03 15:53:20 +02:00
Émilie Feral
39709e53da
[solver] Make Equation inherits from ExpressionModelHandle instead of
...
ExpressionModel
2019-05-03 15:53:20 +02:00
Léa Saviot
4f63b16e0a
[unicode] Fix portuguese literals
2019-05-03 15:53:20 +02:00
Léo Solé
e74c5f8039
[unicode] Fix Spanish literals
2019-05-03 15:53:19 +02:00
Léo Solé
3038073d3b
[unicode] Add accents in french litterals
2019-05-03 15:53:19 +02:00
Léa Saviot
4c5251f04f
[unicode] Use unicode when dealing with chars - Part 2
2019-05-03 15:53:19 +02:00
Léa Saviot
9e06b23bbb
[escher/ion] Standard methods in UTF8Helper used in text_area
...
String manipulations need to be done using an UTF8 decoder, but some
manipulations can be optimized if the code points we manipulate are only
one char long. These optimizations are done inside UTF8Helper methods.
2019-05-03 15:53:19 +02:00
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
6b6d3d7fe2
[tests] Fix unicode for tests
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
f576e31ff1
[apps/poincare] Replace CharLayouts with CodePointLayouts
2019-05-03 15:53:19 +02: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
Émilie Feral
7b5f3c570d
[poincare] Change the way Expression are built
2019-02-21 11:29:35 +01:00
Émilie Feral
ac6f23684d
[poincare] Clean Expression and Layout builders
...
Before: Opposite(Opposite(Rational(1))) misleadingly created the
expression "-1"; now, Opposite::Builder(Opposite::Builder(Rational(1)))
creates "--1"
2019-02-21 11:29:35 +01:00
Ruben Dashyan
0943406263
Fix HistoryViewCell and ScrollableExactApproximateExxpressionsCell margins issue
...
Remove all margins from those cells.
Rather add margins to their respective subviews:
- ScrollableExpressionView
- ScrollableExactApproximateExpressionsView.
As a notable consequence, the distance in HistoryViewCell between its
subviews becomes 10 instead of 5.
In passing, replace
- Metric::HistoryHorizontalMargin = 10
- ScrollableExactApproximateExpressionsView::k_digitHorizontalMargin = 10
- HistoryViewCell::k_digitVerticalMargin = 5
- ScrollableExactApproximateExpressionsCell::k_margin = 5
by
- Metric::CommonSmallMargin = 5
- Metric::CommonLargeMargin = 10.
2019-02-18 16:49:58 +01:00
Ruben Dashyan
faae55eb51
[escher/scroll_view] Replace setShowsIndicators by setDecoratorType
2019-02-18 16:49:58 +01:00
Émilie Feral
b3a8441289
[solver] Fix tests on EquationStore: delta discriminant is counted as a
...
solution
2019-01-10 11:42:05 +01:00
Émilie Feral
c3b335212c
[solver] Add a warning message when a polynomial has no real root
2019-01-10 11:42:05 +01:00
Émilie Feral
8cf6006a58
[solver] I18n: add messages "The polynomial has no real root"
2019-01-10 11:42:05 +01:00
Émilie Feral
4ccf1f08a9
[solver] Delta discriminant is counted as a solution to clear the code
2019-01-10 11:42:05 +01:00
Léa Saviot
d6e7f78705
[apps/solver] Clean comments
2019-01-10 11:42:04 +01:00