mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-05-09 08:25:44 +02:00
[PR #147] [CLOSED] Adding a resizable Python heap #291
Labels
No labels
bug
duplicate
easy
enhancement
enhancement
fixed
fixed
good first issue
hard
invalid
pull-request
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Upsilon#291
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/UpsilonNumworks/Upsilon/pull/147
Author: @AlexandreArduino
Created: 2/7/2022
Status: ❌ Closed
Base:
upsilon-dev← Head:upsilon-dev-python-heap📝 Commits (5)
536acc5first commite14f044removed bad modifications59eaedeheap memory allocator added4cb9d02maximum size reset to 67000a66b39dmistake and indentation corrected📊 Changes
22 files changed (+238 additions, -10 deletions)
View changed files
📝
apps/code/app.cpp(+15 -0)📝
apps/code/app.h(+6 -2)📝
apps/global_preferences.cpp(+12 -0)📝
apps/global_preferences.h(+10 -0)📝
apps/settings/base.de.i18n(+4 -0)📝
apps/settings/base.en.i18n(+4 -0)📝
apps/settings/base.es.i18n(+4 -0)📝
apps/settings/base.fr.i18n(+4 -0)📝
apps/settings/base.hu.i18n(+4 -0)📝
apps/settings/base.it.i18n(+4 -0)📝
apps/settings/base.nl.i18n(+4 -0)📝
apps/settings/base.pt.i18n(+4 -0)📝
apps/settings/base.universal.i18n(+2 -0)📝
apps/settings/sub_menu/code_options_controller.cpp(+62 -5)📝
apps/settings/sub_menu/code_options_controller.h(+6 -2)📝
docs/index.md(+1 -1)📝
ion/Makefile(+1 -0)📝
ion/include/ion.h(+1 -0)➕
ion/include/ion/python_heap.h(+24 -0)➕
ion/src/shared/python_heap.cpp(+61 -0)...and 2 more files
📄 Description
Hi, in order to save memory I tried to make the python heap resizable. Here is how it works :
&& char *memory_heap_available_end; in the GlobalPreferences.
I noticed a problem (a graphical one) in the python sub menu in the settings, I can only print 4 cells so I removed the cursor saving switch (but it is actually here in the code) in order to test/use my new cell.
I hope it will be usefull :p
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.