Commit Graph

11274 Commits

Author SHA1 Message Date
David
2913bcb8b5 [Fix] Bug with the default display mode 2020-02-26 17:44:52 +01:00
Quentin Guidée
00350b1530 [Change] Remove the LED color choice by default 2020-02-25 20:43:01 +01:00
Quentin Guidée
b26a35a200 Merge remote-tracking branch 'upstream/master' into omega-hotfix 2020-02-25 15:21:24 +01:00
Léa Saviot
383aafcc55 [python/modion] Allow interruption of modion_keyboard_keydown 2020-02-25 15:17:13 +01:00
Léa Saviot
c377491c7f [ion/simulator.html] Fix digits clickable area position
When resizing the window, the clickable zone would drift from the
buttons.
2020-02-25 15:16:53 +01:00
Léa Saviot
238eeb8106 [ion/web] Fix keyboard buttons positions 2020-02-25 15:16:53 +01:00
Léa Saviot
526a9e550c [ion/simulator/web] The buttons should appear in the browser window
When the window height is very small, there are still some problems with
the buttons, that are half out of the window
2020-02-25 15:16:53 +01:00
Léa Saviot
754110d5c6 [ion/simulator/web] Change background 2020-02-25 15:16:53 +01:00
Léa Saviot
18d6ad34bc Revert "[ion/sdl/web] Fix the HTML page actions"
This reverts commit 5796a0d930.
2020-02-25 15:16:53 +01:00
Léa Saviot
22afe4df2d [apps/statistics] EXE should open the histogram param controller
The OK button already does it.
2020-02-25 15:15:03 +01:00
David
88f202c4e7 [Fix] Improved the compact result display 2020-02-25 15:14:38 +01:00
Léa Saviot
e5a2208b27 [apps/interactive_curve_view_range] Recompute yRange after setDefault
Scenario : f(x)=8x, scroll to the right until the window range has
changed, then set the preadjustment to default -> the x change had no
impact on the yRange because we did not set the yAuto before doing the
changes.
2020-02-25 15:07:16 +01:00
Quentin Guidée
1a77250624 Fix conflicts 2020-02-23 13:43:36 +01:00
Quentin Guidée
24907511f5 Fix conflicts 2020-02-23 13:27:10 +01:00
Léa Saviot
c8537df3b4 [apps/calc] Do not forget to call parent method
Scenario: Open several times the additional outputs menu, there are
drawing problems (multiple stack headers)
2020-02-21 17:04:19 +01:00
Léa Saviot
686e25ec43 [apps/variable_box_controller] Fix expressionLayoutForRecord 2020-02-21 17:03:56 +01:00
Léa Saviot
8fe41a8673 [python/modkandinsky] fillRect accepts negative width and height 2020-02-21 16:04:05 +01:00
Léa Saviot
0a3ce4cade [apps/settings_message_tree] Remove .cpp file 2020-02-21 16:03:07 +01:00
Léa Saviot
750f655b2f [apps] Move SettingsMessageTree in Shared
It is needed in exam_mode_configuration. This way, we can build one app
only
2020-02-21 16:03:07 +01:00
Neven Sajko
f5e53e03e3 [apps/code] Deduplicate definitions of pi and e
Merge the language-specific definitions of these mathematical constants
into one definition. Note that the definitions were in fact inconsistent
across languages.
2020-02-21 15:36:21 +01:00
Quentin Guidée
5420a8a34f Merge remote-tracking branch 'upstream/master' into omega-hotfix 2020-02-20 23:41:50 +01:00
0b101
43795a7456 Fixed result display bug 2020-02-20 23:28:14 +01:00
Quentin Guidée
f1e39b6709 Fix compilation in official 2020-02-20 22:14:54 +01:00
Quentin Guidée
f486f856f7 Merge branch 'zardam-freeMemory' into omega-hotfix 2020-02-20 21:52:26 +01:00
Quentin Guidée
0d102be511 Merge branch 'freeMemory' of git://github.com/zardam/epsilon into zardam-freeMemory 2020-02-20 21:49:51 +01:00
Léa Saviot
80c03220dd [poincare/function] Fix getVariables
Faulty scenario:
Equation x+y=f(0) without defining any variable
2020-02-20 11:58:56 +01:00
Léa Saviot
0d8cb0123b [python/port] Fix user interruption char set up
print can be user interrupted, so the interruption char needs to be
set for the whole runCode method
2020-02-20 11:43:31 +01:00
Léa Saviot
9bc0776a6a [apps/code] Allow interruption of infinite print loops
while (True):
  print("hello")
is now interruptible when the user presses Back
2020-02-20 10:59:01 +01:00
Émilie Feral
c3d8e09ceb [apps/calculation] Calculation: invalid heights memoization when forcing the
display output
2020-02-20 10:56:11 +01:00
Émilie Feral
a2a47bb8ae [apps/calculation] Additional outputs: dismiss the pop-up before doing
any Poincare computations to optimize the available space in the
Poincare pool
2020-02-20 10:56:11 +01:00
Émilie Feral
99e88df284 [apps/calculation] Additional outputs: Clean cells when the pop-up
disappears to avoid uselessly overloading the Poincare pool
2020-02-20 10:56:11 +01:00
Émilie Feral
94daf465c4 [escher][apps/calculation] Improve ScrollView::scrollToContentRect to
scroll "smartly" when scrolling to a too-big-to-be-displayed rect

This fixes calculation history navigation on big cells (that are bigger
than the displayed table)
2020-02-20 10:56:11 +01:00
Émilie Feral
24d9f37205 [apps/calculation] Clean how cell subtype is selected/
This fixes crashes: indeed, in the way it was done before, we called
scrollToSubviewOfTypeOfCellAtLocation after setting the new selected subtype
and before reloading the data. However, selecting a new subtype might expand
the selected cell which can temper with the cell repartition. If so, we need to
reload the data to be able to call 'selectedCell' for instance.
2020-02-20 10:56:11 +01:00
Léa Saviot
cf37e5c45a [apps/code] Fix input(), that did not return the input 2020-02-20 10:52:19 +01:00
Léa Saviot
f7c38979a1 [apps/var_box] Create dummy layout when the real layout makes pool error 2020-02-20 10:44:19 +01:00
Léa Saviot
52ae25a04c [apps] Use willExitApp parameter in dismissModalViewController
This prevents relayouting and thus accessing to expressions/ayotus
possibly deleted by a pool exception
2020-02-20 10:44:19 +01:00
Quentin Guidée
73736c9b15 Fix conflicts 2020-02-20 00:42:47 +01:00
Léa Saviot
84a66d3b31 [apps/code] Fix input(), that did not return the input 2020-02-20 00:20:41 +01:00
Léa Saviot
73bec71db3 [apps/code] Allow interruption of infinite print loops
while (True):
  print("hello")
is now interruptible when the user presses Back
2020-02-20 00:08:42 +01:00
Quentin Guidée
c3d3f0d491 Merge branch 'Gegenter-omega-dev-e13' into omega-hotfix 2020-02-19 23:57:15 +01:00
Quentin Guidée
eb2e0ddd3a Merge branch 'omega-dev-e13' of https://github.com/Gegenter/Omega into Gegenter-omega-dev-e13 2020-02-19 23:53:24 +01:00
Damien Nicolet
03886f7d9f Free 1776 bytes of heap by making sTableRows const 2020-02-19 19:23:26 +01:00
Émilie Feral
2a03583fe0 [apps/calculation] Reset history cell memoization when reloading the
table. Otherwise, the Poincare pool store useless layouts for cells that
aren't displayed.

This fixes the following issue: input "(transpose([1 2 3 4 5 6][1 2 3 4 5
6])^8", the computation works, clear the history, input the same
calculation again, it fails with a memory error.
2020-02-19 10:34:28 +01:00
Émilie Feral
f6d59ae184 [build] Use $(MAKE) instead of make in Makefiles 2020-02-18 11:34:21 +01:00
Émilie Feral
9cc74c740e [build] Do not version binpack-*.tgz 2020-02-18 11:34:21 +01:00
Émilie Feral
e073b88f4e [build] Revert deletion: required shasum computation 2020-02-18 11:34:21 +01:00
Émilie Feral
8002765c3a [build] Target device n0110: enable to call 'make %.two_binaries'
without specifying the building directory
2020-02-18 11:34:21 +01:00
redgl0w
eb498a0e0f Fixed binpack 2020-02-18 11:34:21 +01:00
Émilie Feral
013f817b35 [apps] Fix i18n to be able to build without settings app in offical
software
2020-02-18 10:11:06 +01:00
Léa Saviot
42125a1f56 [apps/settings] Fix i18n to be able to build without settings app 2020-02-18 10:11:06 +01:00