Commit Graph

7944 Commits

Author SHA1 Message Date
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
Ruben Dashyan
a36ea6d1e3 [apps/regression] Use a new helper to compute linear regression coefficients 2019-05-29 11:27:30 +02:00
Ruben Dashyan
2c21055a0f [apps/regression/model/exponential_model] Explicit fit 2019-05-29 11:27:30 +02:00
Ruben Dashyan
5672853511 [apps/regression] Add tests about exponential regression 2019-05-29 11:27:30 +02:00
Ruben Dashyan
712ec0b81c [poincare/decimal] Fix rounding error when buidling 0.9999... 2019-05-28 17:59:18 +02:00
Ruben Dashyan
cbd14480ff [poincare/test/number] Test that long decimals 0.999...9 are rounded off to 1 2019-05-28 17:59:18 +02:00
Romain Goyet
4ae24bcd35 [kandinsky] Add a debug line to help diagnose wrong glyph sizes 2019-05-28 16:05:10 +02:00
Romain Goyet
9a23d12b2b [kandinsky] Fix the rasterizer with old libpng 2019-05-28 16:05:10 +02:00
Romain Goyet
199ef93d40 [kandinsky] Use TTF fonts 2019-05-28 16:05:10 +02:00
Romain Goyet
dbfec9f08b [kandinsky] Enforce proper size for the small font 2019-05-28 16:05:10 +02:00
Romain Goyet
1eddc2d2e4 [kandinsky] Use SmallFont.otf and LargeFont.otf
It makes the Makefile shorter
2019-05-28 16:05:10 +02:00
Romain Goyet
f9634041c0 [kandinsky] Auto-detect libpng in the rasterizer 2019-05-28 16:05:10 +02:00
Romain Goyet
a0ddc9df72 [kandinsky] The rasterizer can check the size of the emitted glyphs 2019-05-28 16:05:10 +02:00
Romain Goyet
c94a5deae3 [kandinsky] Add safeguards in the rasterizer 2019-05-28 16:05:10 +02:00
Léa Saviot
d2d43b8cb0 [poincare] Add tests about cursor positioning in layout 2019-05-27 17:24:11 +02:00
Léa Saviot
3d991e56da [escher/poincare] Cleaner way to find the cursored layout in LayoutField
Everything is now in the virtual method
LayoutNode::layoutToPointWhenInserting
This removes a dirty inclusion of apps/i18n.h in escher
2019-05-27 17:24:11 +02:00
Ruben Dashyan
19529db5d5 [kandinsky/font] Fix for gcc 2019-05-27 15:57:16 +02:00
Ruben Dashyan
1c09f49ec0 [poincare] Fix trigonometric inverse functions' names in comments 2019-05-27 15:51:47 +02:00
Ruben Dashyan
f1a6067027 [apps/code/catalog.*.i18n] arctan -> atan 2019-05-27 15:51:47 +02:00
Ruben Dashyan
d0ba2e9e76 [ion/events] Fix typo: arcsin -> asin and so on 2019-05-27 15:51:47 +02:00
Émilie Feral
4dd7d1d792 [escher] ExpressionView: discard optimization that triggers a bug 2019-05-13 17:54:45 +02:00
Émilie Feral
a0a93a1287 [regression] GraphController: reinitialize the selected series when
displaying graph if the current selected series has been removed
2019-05-09 16:28:36 +02:00
Émilie Feral
b8c02aab9b [poincare] Fix assert for emscripten: alignment issues 2019-05-09 16:28:05 +02:00
Émilie Feral
1e01c5dadb [escher] TextArea: fix cursor position when handling text with UCodePointEmpty 2019-05-07 17:13:13 +02:00
Émilie Feral
3345224d5e build: Version 11.0.0 2019-05-03 17:32:49 +02:00
Émilie Feral
c1c280762f [regression] Add an assertion on the number of entries of matrices used
in models
2019-05-03 15:54:22 +02:00
Émilie Feral
b8c92bf686 [poincare] Matrix: fix error of computations in number of matrix entries 2019-05-03 15:54:22 +02:00
Émilie Feral
9a411874ee [code] Console: when displaying results, do not split in lines in middle
of code points. Otherwise, this triggers crashes when manipulaping the
text (removing code point for instance)
2019-05-03 15:54:22 +02:00
Émilie Feral
97511ff1ac [poincare] Fix tests with Expression::recursivelyMatches cleaning 2019-05-03 15:54:22 +02:00
Émilie Feral
e49b803649 [poincare] Expression: fix deepReduce: any matrix expression interrupts
the simplification
2019-05-03 15:54:22 +02:00
Émilie Feral
93b81cb26c [poincare] Tests: fix build 2019-05-03 15:54:22 +02:00
Émilie Feral
7ebd782d17 [poincare] Missing include 2019-05-03 15:54:22 +02:00
Émilie Feral
8c2f8a9aea [calculation] DisplayOutput: avoid to recursively scan the expression
multiple times instead of one.
2019-05-03 15:54:22 +02:00
Léa Saviot
6c03a5ac0e [poincare/MatrixIdentity] Fix float->int conversion problem
Scenario: in calculation, identity(permute(20,20))
2019-05-03 15:54:22 +02:00
Émilie Feral
cbbb827532 [poincare] Clean recursive tests on expression (isApproximate, IsRandom,
IsMatrix etc)
2019-05-03 15:54:22 +02:00
Émilie Feral
7f373a5c3c [calculation] Calculations involving matrices display only approximate
results and should not toggle the exact output.
2019-05-03 15:54:22 +02:00
Léa Saviot
f5cdf95bc5 [apps/banner_view] Replace assert with escape case 2019-05-03 15:54:22 +02:00
Léa Saviot
28133f378e [apps] Remove wrong withinTemporarySelection escape cases
Scenario:
Sequence app, add new sequence, go on its name, backspace: the cell on
the left of Add new sequence is selected, but it should not
2019-05-03 15:54:22 +02:00
Léa Saviot
204b9fe5cb [poincare] Poincare::IsMatrix returns true for MatrixIdentity 2019-05-03 15:54:22 +02:00
Léa Saviot
5daed629f7 [poincare/layouts] Make default basic checks in isIdenticalTo 2019-05-03 15:54:22 +02:00
Ruben Dashyan
4d4adc5873 [apps/sequence/graph] Replace negative cursor abscissa by 0 2019-05-03 15:54:22 +02:00
Émilie Feral
e9df8f7783 [poincare] MatrixIdentity: fix Indentity(+inf) to avoid crashing 2019-05-03 15:54:22 +02:00
Émilie Feral
a48bec14d2 [calculation] Fix scroll on calculation heigher than the screen.
Changing the selectedSubviewType reloads the selection on the cell so we
need to scrollToSubviewOfTypeOfCellAtLocation afterwards.
2019-05-03 15:54:22 +02:00
Émilie Feral
3168ec14c3 [calculation] HistoryViewCell: fix layoutSubviews to fix weird scrolling
When successively adding calculations 0.2 and int(x*exp(-4x), 0,99) the
reloadScroll would fail
2019-05-03 15:54:22 +02:00
Léa Saviot
a7d8160ee0 [escher/text_field] Add missing cursor location update
Fixes the scenario: go to statistics, press the root key, then the XNT
key -> crash
2019-05-03 15:54:22 +02:00
Léa Saviot
a6cf1498da [apps/text_field_delegate_app] default XNT() is 'x' 2019-05-03 15:54:22 +02:00
Léa Saviot
5316372d72 [escher/text_field] When fetching XNT code point, text is draftText 2019-05-03 15:54:22 +02:00
Léa Saviot
d97d5d40f5 [apps/cartesian_function] Fix derivative name display
Scenario: f(x) = x, go to the Values tab of the Graph app, display the
derivative, there is a roblem with UTF8
2019-05-03 15:54:22 +02:00
Ruben Dashyan
e53b0e6bba [apps/shared] Clean CurveViewCursor coordinate getters 2019-05-03 15:54:22 +02:00
Ruben Dashyan
0e1c1a017d [apps] Implement TextFieldDelegate methods in GraphControllers 2019-05-03 15:54:22 +02:00