Commit Graph

7545 Commits

Author SHA1 Message Date
Romain Goyet
9fc81d9a3f [ion/sdl] Build from the shortened Android directory 2019-03-06 15:47:11 +01:00
Romain Goyet
8b27785a07 [ion/sdl] Clean the Android app structure 2019-03-06 15:38:48 +01:00
Romain Goyet
bfda580882 [ion/sdl] Add a build/targets file 2019-03-06 15:38:48 +01:00
Romain Goyet
b9bb730a9d [ion/sdl] Sort the build system 2019-03-06 15:38:48 +01:00
Romain Goyet
abc204f06a [ion/sdl] Use key centers to compute keypresses 2019-03-06 15:38:48 +01:00
Romain Goyet
72a8ab7461 [ion/sdl] Implement msleep 2019-03-06 15:38:48 +01:00
Romain Goyet
2a62f9b8ec [ion/sdl] Use an areaOfInterest 2019-03-06 15:38:48 +01:00
Romain Goyet
22a8683b81 [ion/sdl] Use the Texture API 2019-03-06 15:38:48 +01:00
Romain Goyet
cedc68314d [ion/sdl] Use an areaOfInterest for the layout 2019-03-06 15:38:48 +01:00
Romain Goyet
1e6a3958be [ion/sdl] First import 2019-03-06 15:38:48 +01:00
Romain Goyet
d7975cfa7f [scripts] Make sure apps have all their prerequisites 2019-03-06 15:00:59 +01:00
Romain Goyet
c286f4fd62 [scripts] Work around command-line length limit on windows 2019-03-06 15:00:59 +01:00
Romain Goyet
6e3ce5d295 [scripts] Make sure to build i18n.h 2019-03-06 15:00:59 +01:00
Romain Goyet
219fdcbdc6 [scripts] Correctly build the test runner 2019-03-06 15:00:59 +01:00
Romain Goyet
69b1d37e64 [scripts] Fix the Travis build 2019-03-06 15:00:59 +01:00
Romain Goyet
160f202860 [scripts] Prevent mixing implicit and normal rules 2019-03-06 15:00:59 +01:00
Romain Goyet
4aebba88dd [scripts] Define shortcut commands for test.elf and epsilon.elf 2019-03-06 15:00:59 +01:00
Romain Goyet
3cb4580769 [scripts] Get rid of "products" 2019-03-06 15:00:59 +01:00
Romain Goyet
4eb641695b [scripts] Fix the quiz build 2019-03-06 15:00:59 +01:00
Romain Goyet
414f76b70b [scripts] Fix blackbox, emscripten, and simulator 2019-03-06 15:00:59 +01:00
Romain Goyet
0c83253d2e [scripts] Use BUILD_DIR instead of build_dir 2019-03-06 15:00:59 +01:00
Romain Goyet
ef3f5b877c [apps] Delete the long-dead PicView app 2019-03-06 15:00:59 +01:00
Romain Goyet
bd6339f9dc [make] Rename OUTPUT_DIRECTORY to build_dir 2019-03-06 15:00:59 +01:00
Romain Goyet
2af792cf88 [build] Rename the build folder to scripts 2019-03-06 15:00:59 +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
Émilie Feral
a540bfa753 [poincare] Add comment TreeHandle constructor 2019-02-21 11:29:35 +01:00
Émilie Feral
d26c98e9d5 [poincare] Fix comments 2019-02-21 11:29:35 +01:00
Émilie Feral
8ca4094e13 [poincare] Un-inline Symbol and Function UntypedBuilder 2019-02-21 11:29:35 +01:00
Émilie Feral
24c9617a89 [poincare] Templatize TreeHandle Builders 2019-02-21 11:29:35 +01:00
Émilie Feral
d29885028b [poincare] Factorize Builders of SymbolAbstract classes 2019-02-21 11:29:35 +01:00
Émilie Feral
3adbca88d8 [poincare] TreeHandle: Improve BuildWithBasicChildren
When building ghost nodes to stand as temporary children, we do not need
to move them are they are built sequentially after the built node.
2019-02-21 11:29:35 +01:00
Émilie Feral
fad3ad958d [poincare] SymbolAbstract: the node alignment is handled by the TreePool
and the TreeNode classes. SymbolAbstract and its children class don't
need to watch the alignment.
2019-02-21 11:29:35 +01:00
Émilie Feral
55704b4e65 [poincare] TreeHandle: the constructor from a identifier retains the
node if it has one
2019-02-21 11:29:35 +01:00
Émilie Feral
3fc32d7c74 [poincare] Clean warning 2019-02-21 11:29:35 +01:00
Émilie Feral
359fc3a599 [poincare] Create templated methods instead of defining UntypedBuilder
on every expression
2019-02-21 11:29:35 +01:00
Émilie Feral
7b5f3c570d [poincare] Change the way Expression are built 2019-02-21 11:29:35 +01:00
Émilie Feral
902dda34d6 [poincare] Add comment 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
b3d15d7e7f [escher/table_view] layoutSubviews of m_contentView first 2019-02-18 16:49:58 +01:00
Ruben Dashyan
b5dc7f738e [escher/table_view] scrollToCell includes CellOverlap
In passing, factorize duplicate code.
2019-02-18 16:49:58 +01:00
Ruben Dashyan
1ac829ca18 [escher/scroll_view_indicator] Fix rounding issues for bars 2019-02-18 16:49:58 +01:00
Ruben Dashyan
9ea63678e1 [escher] Inline ScrollView::setCommonMargins 2019-02-18 16:49:58 +01:00
Ruben Dashyan
3d254b9ef1 [apps/shared/scrollable_exact_approximate_expressions_cell] Fix background 2019-02-18 16:49:58 +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
571967088e [escher/scroll_view] Uniformize scroll bars frame across Epsilon 2019-02-18 16:49:58 +01:00
Ruben Dashyan
15de9f93ef [escher/scroll_view] Implement Decorator::indicatorAtIndex explicitly
Instead of using pointer arithmetic
2019-02-18 16:49:58 +01:00
Émilie Feral
3487547f16 [escher] ScrollView: fix Decorators contructor/destructors 2019-02-18 16:49:58 +01:00
Émilie Feral
f18a55defe [escher] ScrollView: make numberOfIndicators method const 2019-02-18 16:49:58 +01:00
Ruben Dashyan
1662b06f36 [escher/scroll_view] Put the decorators inside a union 2019-02-18 16:49:58 +01:00