Léa Saviot
67eea0802f
[escher/text_area] Fix cursor navigation on combining code points
2019-06-21 14:30:14 -04:00
Léa Saviot
1043426c40
[ion/utf8] next/previousGlyphPosition methods and tests
2019-06-21 14:30:14 -04:00
Émilie Feral
fb80cd3271
[apps] Object contained in the Storage might be unaligned. Make sure to
...
use emscripten unaligned type to avoid producing an alignment error on
emscripten platform.
2019-06-19 09:54:57 +02:00
Émilie Feral
cd688ab9cf
[apps] Force packing classes of objects contained in the Storage
...
If these classes are padded, we lose space in the Storage and the
Storage::checksum is computed on uninitialized values (corresponding to
the padding memory spaces)
2019-06-19 09:54:57 +02:00
Émilie Feral
0222509850
[regression] GraphController: add missing banner view reload
2019-06-17 15:33:10 -04:00
Émilie Feral
0b8fddf576
[solver] Reinitialize selected subcell when changing displayed layouts
2019-06-17 15:10:40 -04:00
Émilie Feral
3b25398e6e
[shared] ScrollableExactApproximateExpressionsView: reloadScroll when
...
displayed layouts have changed
2019-06-17 15:10:40 -04:00
Léa Saviot
0478fc816e
[escher/layout_field] Fix cursor position when inserting "cos()"
2019-06-17 08:25:29 -04:00
Émilie Feral
a5536115c5
[poincare] Symbol: fix uninitialized read (valgrind)
2019-06-17 14:03:27 +02:00
Émilie Feral
57cc58dfb8
[poincare] Decimal: avoid deferencing nullptr
2019-06-17 10:20:25 +02:00
Émilie Feral
709a7028e8
[shared] BannerView: add an assertion to avoid deferencing nullptr
2019-06-17 10:20:25 +02:00
Émilie Feral
b485319e76
[python] Clean gc_collect and comment to explain potential address
...
sanitize error
2019-06-14 13:37:11 -04:00
Émilie Feral
c0da810ea1
[python] Turtle module: fix modturtle_gc_collect from stack-buffer-overflow
2019-06-14 13:37:11 -04:00
Émilie Feral
9c2fc84cd0
[code] Fix 'use address after scope' issue
...
We used an array that was out of scope in PythonToolbox.
2019-06-14 15:53:45 +02:00
Léa Saviot
bedc09f9f1
[apps/graph_controller] Clean code
2019-06-14 09:31:46 -04:00
Léa Saviot
3de7e4daab
[apps/regression] Fix bannerView
...
For data
0 0
1 2
2 6
3 12
4 20
5 30
6 42
7 56
and square regression, the coefficient c is not fully displayed
2019-06-14 09:31:46 -04:00
Léa Saviot
a886c0fb32
[apps/shared] Share PadWithSpaces method
2019-06-14 09:31:46 -04:00
Léa Saviot
e17658181d
[escher/layout_field] Compute the pointed layout after the insertion
...
Otherwise it breaks the scenario:
Initial layout: '0
"abs(x)" pressed in the toolbox => |•| is added, • being an empty layout
Final layout: |0'|
2019-06-14 08:20:54 -04:00
Léa Saviot
872de8deef
[ion/utf8_helper] Fix StringGlyphLength
2019-06-14 08:16:55 -04:00
Léa Saviot
2061c5d692
[escher/text_area] Fix text indentation handling
...
We used a small buffer to preprocess a text to insert in text area (add
indentation, remove empty code points, compute the next cursor location),
but the size of this buffer was sometimes too small and caused a crash.
Now we do all the text odification in place in the text area buffer.
2019-06-13 11:40:13 -04:00
Léa Saviot
78bdd0e04b
[apps/statistics] Fix banner view
...
Scientific mode, Data:
10 - 1
20 - 5
30 - 4
40 - 3
50 - 1
Display the histogram, there are problems in the banner view
2019-06-13 10:37:47 -04:00
Léa Saviot
50bbae5e06
[ion/unicode] StringGlyphLength method
2019-06-13 10:37:47 -04: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
daffyb
d7333e6585
Update base.fr.i18n
...
some e become é
2019-06-12 15:55:27 +02:00
daffyb
278c8a5cc9
Update base.fr.i18n
...
"Numéro serie" >>> "Numéro série"
2019-06-12 15:54:10 +02:00
Ruben Dashyan
5ee130a959
[apps/code/editor_controller] Fix backspace event handling
...
If there are only spaces on the left of the cursor, then a backspace
should remove two spaces (or one if there is only one of it). The number
of spaces was miscomputed.
2019-06-05 18:15:48 +02:00
Ruben Dashyan
9a63be7ac6
[apps/code] Fix PythonToolbox
...
"kandinsky module function prefix" did insert "kandinsky.function"
instead of "kandinsky.\x11"
2019-06-05 18:15:48 +02:00
Romain Goyet
23e1e39ae7
[kandinsky] Misc font updates
...
Small font:
* Percent (25) blurry
* Backslash (5C) not properly antialiased
* Underscore (5F) blurry
* Degree symbol (B0) not perfectly round
* AE (C6) too wide
* ae (E6) too wide
* Round accent (30A) not perfectly round
* Approx-equal (2248) blurry
Large font:
* Degree symbol (B0) not perfectly round
* AE (C6) wrong
* ae (E6) too wide
* Uppercase delta (394) blurry
* Replacement character (FFFD) blurry
2019-06-03 10:30:29 +02:00
Ruben Dashyan
2f7da3ab46
[poincare/integral] Increase the max number of iterations to evaluate integral
2019-05-31 16:54:33 +02:00
critor
1ef0e4054d
encoding fix
2019-05-31 08:00:15 -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
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