Skip to content

0.7.9 (#53)#54

Closed
morew4rd wants to merge 1 commit intomainfrom
rel
Closed

0.7.9 (#53)#54
morew4rd wants to merge 1 commit intomainfrom
rel

Conversation

@morew4rd
Copy link
Collaborator

@morew4rd morew4rd commented Feb 4, 2024

https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings

  • Normalize all the line endings

  • fix memory issues

  • __gc was not correctly set (found and fix provided by Zorbn)
  • with that fixed, resources in use but not referenced can cause read after free issues. these are: - play_music - set_shader - set_font - set_canvas these now save a reference to the object to prevent premature collection. (previously done in C API)

functions are extended to support angle/scale_x/scale_y etc.

  • full lua 5.3 utf.* functionalilty
  • some extras

used: https://github.com/starwing/luautf8/


* fix #39

* gitattributes file, to handle crlf better

https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings

* Normalize all the line endings

* fix memory issues

- __gc was not correctly set (found and fix provided by Zorbn)
- with that fixed, resources in use but not referenced can cause read after free issues. these are:
    - play_music
    - set_shader
    - set_font
    - set_canvas
  these now save a reference to the object to prevent premature collection. (previously done in C API)

* remove 'lyte/api/defs/output' folder as it gets unnecessarily chatty with the commits

* Fix shader cleanup only affecting pipeline (#48)

* update sokol_gp to v0.4.1 which fixes the shader leak

* image drawing extensions. fixes #45

functions are extended to support angle/scale_x/scale_y etc.

* fix manual code: draw_image, repeated angle

* lyte.get_textinput() api. progress towards #44

* lyte.get_textinput() api. progress towards #44 (take 2)

* utf8.*

- full lua 5.3 utf.* functionalilty
- some extras

used: https://github.com/starwing/luautf8/

* fix build issues

* get_pressed_keys() api. fixes #50

* image drawing functions: swap order of origin and scale params

---------

Co-authored-by: Zorbn <70043176+Zorbn@users.noreply.github.com>
@morew4rd morew4rd closed this Feb 4, 2024
@morew4rd morew4rd deleted the rel branch February 4, 2024 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant