Josip Komljenović

Results 17 issues of Josip Komljenović

Drama issue: https://github.com/RIAEvangelist/node-ipc/issues/233

Fix #3519. Some surface methods didn't check if the Surface was actually initialized so this PR should fix that. Methods changed: - lock() - unlock() - convert() - mustlock() -...

bug
Submodule: Surface

Fix #2517 This is kinda big refactoring of draw module, function changed are single pixel line thickness, arc, circle, ellipse, triangle, and multi pixel thick rectangle. Most of those functions...

Performance
draw

Atm, surflock is empty module, without any function, also without documentation. However, it is needed for Surface. This PR removes the module, and moves the functionality to the surface. Python...

Code quality/robustness
Surface

Since Python 3.13 PyModule_AddObject() is [soft deprecated](https://docs.python.org/3.14/c-api/module.html#c.PyModule_AddObject). This PR replaces it with newer function, PyModule_AddObjectRef(). It was changed following the way adviced in [the official documentation](https://docs.python.org/3.14/extending/newtypes_tutorial.html#the-basics) between versions 3.9 3.14...

Code quality/robustness

Issue where I will track progress of porting video to C MERGED - [x] Add interface for _sdl2.video classes (#3317) TO DO - [x] Port Renderer to C (#3327) -...

This PR converts pygame._sdl2.video.Renderer to C code. It has the implementation of all the Renderer methods and attributes. It doesn't have docs/type hints/tests or stuff like that.

render/_sdl2

Current alphablit has way too many repetitive code. For example, in each blend blitter, around 90% of the code is the same. So I decided to move it into the...

Code quality/robustness

This PR converts pygame._sdl2.video.Image to C code. It has the implementation of all the Image methods and attributes. It doesn't have docs/type hints/tests or stuff like that. Leaving this as...