Commit Graph

300 Commits

Author SHA1 Message Date
ArtichautCosmique
0906dc919b [mpy/kandinsky] Fix draw_string() on new line + good colors (#47)
* [mpy/kandinsky] Use good colors

* [kandinsky/context_text] Avoid returning to pos x=0 on new line, use arg's x coordinate instead
2021-10-11 20:25:03 +02:00
Laury
d90af0323e Merge omega-dev into upsilon dev 2021-08-31 23:03:30 +02:00
Laury
7c1dc4d5c3 [python] merge '6fcab395' and fix a bug in fill_polygon() 2021-08-30 19:40:30 +02:00
Laury
6fcab3952f [python] Add some useful functions in kandinsky 2021-07-08 22:34:43 +02:00
Joachim LF
f999c796c3 [Upstream] Merged epsilon 15.5 2021-05-14 13:28:22 +02:00
Romain Goyet
2f2e45a6a5 [ion/simulator] Headless simulator maps Ion::Console to stdio 2021-03-03 15:37:48 +01:00
Evann DREUMONT
763ce87d14 [poincare/parser] Use infinity symbol
- Use infinity symbol
- Parse inf, oo, infity
2021-02-10 17:20:14 +01:00
Joachim LF
9b17d1b882 [Update] Epsilon 15.3.1 2021-01-21 19:56:06 +01:00
Gabriel Ozouf
0185e0562c [escher/run_loop] Move kandinksy include
To check whether an ExternalText could be written with Epsilon's fonts,
UTF8Helper made a reference to Kandinsky, which is prohibited. This
check is now done in Escher, before dispatching the event.

Change-Id: I55e9db1ba43c3115775499db47b90a6bdd7cc7b3
2020-11-04 15:58:38 +01:00
Gabriel Ozouf
f777cad3f7 [kandinsky/font] Degree symbol
Aligned the top of the degree symbol ° with the top of capital C and F,
and reduced its right margin.

Change-Id: I63f50654afd965186400e451d71be41add9556c8
2020-11-04 15:33:02 +01:00
Hugo Saint-Vignes
b92c819ea2 [escher/src/text_area] Add char limit in text_area line
Change-Id: I9284936f0202d788edc785aa3f7c82b45ab34cf5
2020-11-04 15:32:59 +01:00
Hugo Saint-Vignes
e27c668c40 [apps,escher,kandinsky,poincare,python] Replace every "grey" with "gray"
Change-Id: I60a232849dce90f70e6977b6024d6e9b1ce1b731
2020-11-04 15:07:20 +01:00
Quentin Guidée
e8b86ca6a1 [upstream] Update 2020-10-10 02:28:33 +02:00
Gabriel Ozouf
0a493d1f34 [kandinsky/color] Update comment on blend method
Change-Id: I5fb68608657d2f604c8cb7c9294382ed4a8603ff
2020-08-25 15:51:58 +02:00
Gabriel Ozouf
e33543aacb [kandinsky/color] Add tests on color blending
Change-Id: If1792bd9ec44052238632d28b806f5582b190fe9
2020-08-25 15:51:58 +02:00
Gabriel Ozouf
078bba2fb9 [kandinsky/color] Fix blend method
When computing the barycenter between two colors, the some of the two
factors a and (1-a) was equal to 255/256 instead of 1.

Change-Id: Ia9a779d43470ef42d9430ad730e842da0f007140
2020-08-25 15:51:58 +02:00
Gabriel Ozouf
38e15da5d0 [kandinsky/color] Blend identical colors
KDColor::blend used to produce different colors when blending two
identical colors (ex : use draw_string in Python to print white text on
a white background).
blend now escapes early when its two color arguments are identical.

Change-Id: I01dc5a0d5e4e6a20e09fee0f346dafc313dae97b
2020-08-25 15:51:58 +02:00
Joachim LF
d7ac7e19bb [Update] Epsilon 14 2020-07-13 10:36:47 +02:00
Quentin
db10723e76 [Update] Upstream 2020-06-18 19:25:17 +02:00
Léa Saviot
7f486d790f [apps/code] Get current script variables and functions 2020-06-04 14:50:03 +02:00
Léa Saviot
a56a73b0ba [apps/calculation] Fix calculation height computation
It was done in two places before, which created inconsistencies
2020-05-28 04:44:27 -07:00
Léa Saviot
e7988b9fa2 [apps/round_cursor_view] Add comment about flaw in algorithm 2020-05-15 02:52:54 -07:00
Quentin
13874cd2e0 Merge branch 'omega-hotfix' into omega-dev 2020-04-16 14:24:47 +02:00
Quentin
f37040dc8a [Fix] Conflicts 2020-04-16 14:04:56 +02:00
Romain Goyet
950862f8d0 Use std::min and std::max 2020-04-14 09:31:02 -04:00
Quentin
e383c3429f [Fix] Conflicts 2020-04-08 15:05:17 +02:00
Quentin
aea963dac0 [Fix] Fix conflicts ._. 2020-04-07 14:53:19 +02:00
Joachim LF
77af9ab92b I18NWarn 2020-04-06 18:29:48 +02:00
Romain Goyet
84f6b179de [build] rule_for now takes both "local" and "global" parameters
Previous the build would fail on macOS if you had an epsilon.elf file in
at the root of the project. Indeed, the %.elf -> %.bin rule would get
triggered, but this rule should only operate on generated (intermediate)
elf file.
2020-04-06 10:12:54 +02:00
Charlotte THOMAS
67a1000ddc [Feature] New Constants & Units
* Added some constant
Move mass on a new submenu of Physics
Added universal translation for a future easter-egg

* Added lenght constant menu
Added radiuses and distances submenu to lenght
Added Faraday Constant

* Constant
Added 16 usual pKa couple values

* Added some constant
( stefan-boltzmann, water triple point, wien, atmospheric pressure, vacuum impedance, bohr magneton, nuclear magneton, muon mass, atomic mass unit, bohr radius )
Missing hungarian translation

* Planck update
added some plancks units ( fondamentals units and energy/power units )

* Changed the Physics constants submenu
Here's the new pattern

1. Fundamental Constants => for the 5 fundamental constants
2. Electromagnetism => 3 constants remain in this submenu
3. Nuclear and Atomic Constnats => bohr magneton & nuclear magneton, bohr radius and particle mass submenu
4. Thermodynamics => this section is mostly unchanged
5. Gravitation => same as before
6. Speed => 2 submenus one for sound speeds and one for escape velocities
7. Mass => the mass of earth/sun/moon
8. Length => 2 submenus, one for radius of earth/sun/moon and one for distances earth-moon and earth-sun
9. Planck Units => The natural system of units

* Units
Added steradian, lumen and lux to the avaliables units
Warning steradian is a new fundamental units ( definition is nullptr )

* Remove debugging and includes

* Added 15 constants

* Update apps/toolbox.fr.i18n

Co-Authored-By: Quentin <quentin.guidee@gmail.com>

* Update apps/toolbox.fr.i18n

Co-Authored-By: Quentin <quentin.guidee@gmail.com>

* Corrected french and english

* Added hu translation
Correct de translation
added combining double acute accent

* q

* Revert "q"

This reverts commit 959786ae504ddf106249a3f799929471eecb8708.

Co-authored-by: Quentin <quentin.guidee@gmail.com>
2020-02-29 23:50:49 +01:00
Quentin Guidée
123b41232b [WIP] Fixed Accessibility settings. Must be reverted 2020-02-12 20:17:03 +01:00
Quentin Guidée
ab8f731515 Fixed some conflicts 2020-02-12 17:42:58 +01:00
Ruben Dashyan
8d3f86c77f [kandinsky/context] getPixel only if in the clipping rect
Fixes the redrawing of RoundCursorView when its frame overlaps the
clipping rect.
2020-02-12 15:13:24 +01:00
Ruben Dashyan
7b8f7007c4 [kandinsky/context] Inline in header file 2020-02-12 15:13:24 +01:00
Ruben Dashyan
7964a2ae6a [poincare/unit][kandinsky/font] Use Greek capital letter omega as Ohm unit symbol 2020-02-12 15:13:23 +01:00
Ruben Dashyan
7cfdadd394 [kandinsky/font] Define IndexForReplacementCharacterCodePoint 2020-02-12 15:13:23 +01:00
Ruben Dashyan
dd92450115 [kandinsky/font] Included header is in C language 2020-02-12 15:13:23 +01:00
Ruben Dashyan
009faa1e37 [kandinsky/font] Factor indexForCodePoint default return value 2020-02-12 15:13:23 +01:00
Quentin Guidée
a159d80b1c Resolved conflicts 2019-12-24 01:07:22 +01:00
Émilie Feral
053fb935e3 [apps] Change color of LED in power on self test: blue is too easily
confused with white
2019-12-20 14:04:56 +01:00
Damien Nicolet
8583ddafca External application, API v2 2019-12-19 00:31:23 +01:00
Damien Nicolet
472929c028 External API for KhiCAS 2019-12-13 01:02:14 +01:00
Jean-Baptiste Boric
9a5bfb944d [kandinsky] Basics of post-processing 2019-11-01 19:44:53 +01:00
Émilie Feral
059c596a80 Makefiles: avoid building all sources for each target; introduce more
modularity
2019-08-08 17:22:01 +02:00
Léa Saviot
a450ce3855 Merge branch 'master' into f7 2019-08-06 17:40:14 +02:00
Ruben Dashyan
07474caf6c [kandinsky/coordinate] Define KDCoordinate limits 2019-07-30 14:15:08 +02:00
Léa Saviot
606e132747 [apps/bench] Change LCD Data pattern (tiling red/blue/green) 2019-07-12 17:50:38 +02:00
Léa Saviot
7b99f78352 [post_and_hardware_tests] Bad pixels limit of 2, not 0 2019-07-05 12:25:45 +02:00
Romain Goyet
c7bde32d65 [kandinsky] Fix the 0 glyph in the large font 2019-06-26 17:34:19 +02:00
Léa Saviot
2ae4b63951 Revert "[kandinsky/fonts/LargeFont.ttf] Change the glyphs of 0 and 3 characters"
This reverts commit cd4260494a.
2019-06-26 16:45:33 +02:00