Commit graph

469 commits

Author SHA1 Message Date
1e195e4ac9
fix: Fix DRM leasing support
Some checks failed
Build / build-windows (pypy-3.10, Desktop) (push) Waiting to run
Build / build-windows (pypy-3.10, SDL) (push) Waiting to run
Build / build-windows (pypy-3.11, Desktop) (push) Waiting to run
Build / build-windows (pypy-3.11, SDL) (push) Waiting to run
Build / build-windows (pypy-3.9, Desktop) (push) Waiting to run
Build / build-windows (pypy-3.9, SDL) (push) Waiting to run
Build / source-distro (push) Waiting to run
Build / dynamic-distro (push) Waiting to run
Build / merge (push) Blocked by required conditions
Build / build-mac-intel (3.10, Desktop) (push) Has been cancelled
Build / build-mac-intel (3.10, SDL) (push) Has been cancelled
Build / build-mac-intel (3.11, Desktop) (push) Has been cancelled
Build / build-mac-intel (3.11, SDL) (push) Has been cancelled
Build / build-mac-intel (3.12, Desktop) (push) Has been cancelled
Build / build-mac-intel (3.12, SDL) (push) Has been cancelled
Build / build-mac-intel (3.13, Desktop) (push) Has been cancelled
Build / build-mac-intel (3.13, SDL) (push) Has been cancelled
Build / build-mac-intel (3.9, Desktop) (push) Has been cancelled
Build / build-mac-intel (3.9, SDL) (push) Has been cancelled
Build / build-mac-intel (pypy-3.10, Desktop) (push) Has been cancelled
Build / build-mac-intel (pypy-3.10, SDL) (push) Has been cancelled
Build / build-mac-intel (pypy-3.11, Desktop) (push) Has been cancelled
Build / build-mac-intel (pypy-3.11, SDL) (push) Has been cancelled
Build / build-mac-intel (pypy-3.9, Desktop) (push) Has been cancelled
Build / build-mac-intel (pypy-3.9, SDL) (push) Has been cancelled
Build / build-linux (3.10, DRM) (push) Has been cancelled
Build / build-linux (3.10, Desktop) (push) Has been cancelled
Build / build-linux (3.10, SDL) (push) Has been cancelled
Build / build-linux (3.11, DRM) (push) Has been cancelled
Build / build-linux (3.11, Desktop) (push) Has been cancelled
2025-06-08 08:31:27 -04:00
51e50d4cb9
chore: Switch out submodules and add a nix shell
Some checks failed
Build / build-windows (pypy-3.10, Desktop) (push) Waiting to run
Build / build-windows (pypy-3.10, SDL) (push) Waiting to run
Build / build-windows (pypy-3.11, Desktop) (push) Waiting to run
Build / build-windows (pypy-3.11, SDL) (push) Waiting to run
Build / build-windows (pypy-3.9, Desktop) (push) Waiting to run
Build / build-windows (pypy-3.9, SDL) (push) Waiting to run
Build / source-distro (push) Waiting to run
Build / dynamic-distro (push) Waiting to run
Build / build-mac-intel (3.10, Desktop) (push) Has been cancelled
Build / build-mac-intel (3.10, SDL) (push) Has been cancelled
Build / build-mac-intel (3.11, Desktop) (push) Has been cancelled
Build / build-mac-intel (3.11, SDL) (push) Has been cancelled
Build / build-mac-intel (3.12, Desktop) (push) Has been cancelled
Build / build-mac-intel (3.12, SDL) (push) Has been cancelled
Build / build-mac-intel (3.13, Desktop) (push) Has been cancelled
Build / build-mac-intel (3.13, SDL) (push) Has been cancelled
Build / build-mac-intel (3.9, Desktop) (push) Has been cancelled
Build / build-mac-intel (3.9, SDL) (push) Has been cancelled
Build / build-mac-intel (pypy-3.10, Desktop) (push) Has been cancelled
Build / build-mac-intel (pypy-3.10, SDL) (push) Has been cancelled
Build / build-mac-intel (pypy-3.11, Desktop) (push) Has been cancelled
Build / build-mac-intel (pypy-3.11, SDL) (push) Has been cancelled
Build / build-mac-intel (pypy-3.9, Desktop) (push) Has been cancelled
Build / build-mac-intel (pypy-3.9, SDL) (push) Has been cancelled
Build / build-linux (3.10, DRM) (push) Has been cancelled
Build / build-linux (3.10, Desktop) (push) Has been cancelled
Build / build-linux (3.10, SDL) (push) Has been cancelled
Build / build-linux (3.11, DRM) (push) Has been cancelled
Build / build-linux (3.11, Desktop) (push) Has been cancelled
Build / build-linux (3.11, SDL) (push) Has been cancelled
2025-06-07 20:19:23 -04:00
Richard Smith
8e85d28ca8 add audio examples 2025-06-04 17:00:08 +01:00
Cameron Clough
8d5d810925
Switch to logging in __init__.py, set load message to debug (#171)
* Switch to logging in `__init__.py`, set load message to debug

- Replace print statements with logger.error() and logger.warning() calls.
- Follow best practices by using a module-specific logger via
  getLogger(__name__).
- Use parameterized log messages to avoid unnecessary string formatting.
- Change the "RAYLIB STATIC x.x.x LOADED" message from direct stderr
  output to logger warning level.

Motivation:
In [commaai/openpilot#35076][openpilot-issue], we experienced noisy test
outputs because the RAYLIB STATIC message is printed unnecessarily,
cluttering stderr. This change allows library consumers to control the
visibility of this message.

[openpilot-issue]: https://github.com/commaai/openpilot/issues/35076

* use warning rather than debug logging

---------

Co-authored-by: Richard Smith <github@electronstudio.co.uk>
2025-06-04 15:55:41 +01:00
Richard Smith
c58d89fd86 add example 2025-05-27 19:57:35 +01:00
Richard Smith
f551fca1f3 hack stub files because enum from Physac isn't recognised by raylib header parser 2025-05-27 19:54:53 +01:00
Richard Smith
11c5b1a728 use typedefs when constructing structs 2025-05-27 14:53:20 +01:00
Baptiste Lepilleur
d3fcb40408
* fix hard-coded path in Windows build. (#174) 2025-05-21 12:30:20 +01:00
Richard Smith
d8e4385990 try to fix cirrus build by using system pip 2025-05-03 20:38:31 +01:00
Richard Smith
7971275111 try to fix windows build by disabling threads in Physac 2025-05-03 19:53:01 +01:00
Max Golubev
2df1ac470b
Update physac example (#168) 2025-05-03 19:41:59 +01:00
Richard Smith
67e6bf2405 add @victorfisac version of Physac 2025-05-03 19:40:15 +01:00
Richard Smith
5575f6b7b0 remove raylib Physac repo 2025-05-03 19:33:23 +01:00
Richard Smith
171177618b deprecate Physac, see #165 2025-05-03 19:03:36 +01:00
Richard Smith
5593f2e392 add docstrings for structs and enums, fixes issue #159 2025-05-03 18:06:27 +01:00
Richard Smith
002e4ca4d9 update github actions to oldest supported ubuntu version 2025-05-03 17:12:42 +01:00
Richard Smith
56d06bdf32
github dependents 2025-04-07 11:02:38 +01:00
Richard Smith
22af40317d stupid github forcing changes 2025-02-12 03:57:40 +00:00
Richard Smith
8a45dfad6d pypy 3.11 build 2025-02-12 02:43:56 +00:00
Richard Smith
32061daadb update docs 2025-02-12 02:43:35 +00:00
Richard Smith
4bdd922417
Update setup.py for stupid github depedancy tracking 2025-01-28 18:18:36 +00:00
Richard Smith
bf1622c5c2 add example by @Lightnet 2025-01-12 13:59:32 +00:00
Richard Smith
d6ba624c6e fix missing mac builds 2025-01-04 20:09:34 +00:00
Richard Smith
2c79346ae2
try macos 13 build since 12 deprecated 2024-12-09 17:23:25 +00:00
Richard Smith
94958bbdc2
make github track dependents 2024-12-09 17:11:45 +00:00
Richard Smith
89d56a730f increase version 2024-11-24 13:24:47 +00:00
Richard Smith
6483b53cf3 fix dynamic raylib header being different from static header by making it a link 2024-11-24 13:18:36 +00:00
Richard Smith
8af441f49f please github track our dependants again 2024-11-24 12:38:14 +00:00
Richard Smith
ef15347c17 increase version 2024-11-23 10:45:40 +00:00
Richard Smith
3c5dcca431 try to fool github into tracking our dependents again 2024-11-21 11:44:43 +00:00
Richard Smith
f9ccd9b58e update bundled dynamic libs to 5.5 2024-11-19 15:43:06 +00:00
Richard Smith
a826414a74 update docs 2024-11-19 15:35:54 +00:00
Richard Smith
bf6d5d421c
fix how regex inserts underscore in function names with '2d' and '3d' (#149) 2024-11-19 12:24:58 +00:00
Richard Smith
9e5c9b7f9f
Sdl backend (#140)
* latest raylib version

* add libwayland-dev

* update headers

* add libxkbcommon-dev

* sdl

* sdl dl

* sdl dl

* sdl2 link flags

* remove glfw header

* try static sdl build

* try to set fpic

* install alsa etc before building sdl

* windows

* fix

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try mac

* try mac

* try mac

* try mac

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* update raylib

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* try

* update to 5.5

* dont link x11 if using DRM

* update to fixed raylib version
2024-11-19 12:05:28 +00:00
Richard Smith
d28fa38e9f fix missing defines 2024-11-17 03:32:02 +00:00
Richard Smith
697029fc6a include py.typed in MANIFEST rather than setup 2024-11-17 01:24:57 +00:00
Martin Kuntz Jacobsen
623b9c12cc
Adds py.typed for typing support according to pep 561 (#135) 2024-11-17 01:19:19 +00:00
Richard Smith
ada4b1ca63 update docs and stubs 2024-11-17 01:17:05 +00:00
Richard Smith
e6f2c188db generate type stubs which are sufficiently self-consistent to run mypy on all the examples 2024-11-17 01:17:05 +00:00
Richard Smith
a33f4fcc9a update examples 2024-11-17 01:17:05 +00:00
Richard Smith
4071263a59 add shaders_write_depth example 2024-10-07 18:06:39 +01:00
Richard Smith
fde8354a8a Example OO wrapper around the Vector2 struct, by @Emtyloc 2024-10-07 17:25:53 +01:00
Richard Smith
c9a5ec09e3 give useful error when native DLL isnt found 2024-10-01 00:48:58 +01:00
Richard Smith
15ea1dc79b add the modified header files to the source distro to make building on windows easier 2024-09-20 16:27:11 +01:00
Richard Smith
035830b567 update github actions/upload-artifact since old version no longer works 2024-09-20 15:27:15 +01:00
Richard Smith
d6dc9e7d5c fix pip failing to do binary build from source 2024-09-20 15:23:58 +01:00
Richard Smith
05955b5ef1 cffi 1.17.1 2024-09-05 10:00:34 +01:00
Richard Smith
df2bbccb1f update RPI instructions to build shared lib for DRM because we dont currently add required flags to for static lib to find EGL library 2024-08-03 13:20:30 +01:00
Richard Smith
252fc29c18 Disable use of Py_LIMITED_API. Py_LIMITED_API already didn't work reliably - we had to do builds for every Python version to ensure they would all work. So removing it shouldn't cause problems, and it may increase performance and may allow running on free-threading Python. 2024-07-10 00:48:10 +01:00
Richard Smith
7af2922eb3 update docs 2024-07-02 15:43:33 +01:00