Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Added Escher doc #1653

Open
wants to merge 9,444 commits into
base: master
Choose a base branch
from
Open

[Docs] Added Escher doc #1653

wants to merge 9,444 commits into from

Conversation

RedGl0w
Copy link
Contributor

@RedGl0w RedGl0w commented Aug 30, 2020

TODO :

  • Add maybe in Ion doc the image support which will be moved by Improve simulator #1633
  • Add some images :
    • stackViewController
    • subviews
  • Add responder order doc

- It sould be nameOfScript.py, not just nameOfScript, when the source is
a script
- Fix the source for script name variables. For instance, "from
script1 import *" should display the node "script1" with the source "script1.py"
- If a script has the same name as a module, the module will be imported
and not the script, so do not load its variables (even if the module is
not in the toolbox).
After lauching the console, if we fetch a script we mark it as fetched.
When the variable box displays variables from imported scripts, it scans
all the variables from the scripts marked as fetched.
Because we can now, it might need to be de-factorized later, if more
classes inherit from alternate_empty_nested_menu_controller
Eg : arr|ow(x,y,dx,dy) should give arrow(|,,,)
EmilieNumworks and others added 21 commits July 16, 2020 14:37
calculation height memoization. They're computed from the layouts which
don't depend on the complex format (or any other settings parameters
which could have changed).
…ells are

computed when the calculation is added to the store and don't change afterwards.
Otherwise, if their heights change when scrolling (due to a modification of the
display output type - ExactOnly, ApproximateOnly...), it generates crashes.
If the commandLength is > than the buffer size, we have to escape at
some point to avoid overflowing the buffer.
Change-Id: I610726ed5966d353397be923b76dd003297940a7
Change-Id: I6ebec412b4b6612710476274a8665375d21f9ef8
Without this change, we would get weird "reduced" expression, such as
multiplication(undef, _s), but we do not always check
sSimplificationHasBeenInterrupted afterwards.
If an expression hasUnits and is then reduced, it might not have units
anymore for instance if it was replaced with undefined).
Scenario: Enter "[5000000000000000]^20 _s" in the calculation app
Change-Id: I99a523e9e88ea9c3064e4367d96b01edb0020df9
Change-Id: I7a5e12f6f3d79da802149a6aeef88387941ccdd8
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
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
Change-Id: If1792bd9ec44052238632d28b806f5582b190fe9
Change-Id: I5fb68608657d2f604c8cb7c9294382ed4a8603ff
@NumWorksBot
Copy link

.text .rodata .bss .data
Base 647 468 bytes 264 391 bytes 175 200 bytes 1 72 bytes
Head 647 468 bytes 264 391 bytes 175 200 bytes 1 72 bytes
+ 0 bytes + 0 bytes + 0 bytes + 0 bytes
+ 0 % + 0 % + 0 % + 0 %

The controller is like the root of the UI : it has to handle the keypress, via `handleEvent()`, but has also to handle input views' event, like with which events it has to leave the input, what to do when typing is finished,... when heriting from `TextFieldDelegate`.

### stackViewController : a very usefull one

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Present it as a LIFO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.