release/1.0 #157

Closed
OragonEfreet wants to merge 31 commits from release/1.0 into main
Owner
No description provided.
Improve App callback mechanism (#122)
All checks were successful
Documentation / build-docs (push) Successful in 8s
QA / cert (push) Successful in 28s
Build and Test / linux-linux-gcc (push) Successful in 17s
Build and Test / linux-windows-mingw (push) Successful in 26s
4069592b40
1. Setup callback signature changed:
    - Before: void (*bj_app_setup_fn)(struct bj_app* app, void** user_data)
    - After: void* (*bj_app_setup_fn)(struct bj_app* app, void* init_data)

  Setup now returns void* (the user_data for other callbacks) instead of using an output parameter.
  2. bj_run_app signature changed:
    - Before: bj_run_app(setup, step, fixed_step, teardown)
    - After: bj_run_app(setup, step, fixed_step, teardown, init_data)

  Added init_data parameter at the end to pass configuration from main() to setup

Reviewed-on: #121

Reviewed-on: #122
Bump to alpha.1
All checks were successful
Documentation / build-docs (push) Successful in 10s
QA / cert (push) Successful in 29s
Build and Test / linux-linux-gcc (push) Successful in 17s
Build and Test / linux-windows-mingw (push) Successful in 26s
Release / build-docs (push) Successful in 11s
Release / build-linux (push) Successful in 13s
Release / build-windows-mingw (push) Successful in 25s
Release / upload (push) Successful in 5s
4d48cc65fe
Fix macos deprecation warning
All checks were successful
Documentation / build-docs (push) Successful in 9s
QA / cert (push) Successful in 30s
Build and Test / linux-linux-gcc (push) Successful in 17s
Build and Test / linux-windows-mingw (push) Successful in 26s
Documentation / build-docs (pull_request) Successful in 10s
QA / cert (pull_request) Successful in 30s
Build and Test / linux-linux-gcc (pull_request) Successful in 17s
Build and Test / linux-windows-mingw (pull_request) Successful in 26s
e393b8c0d0
Windows: add main.h in every example (#127)
All checks were successful
Documentation / build-docs (push) Successful in 9s
QA / cert (push) Successful in 30s
Build and Test / linux-linux-gcc (push) Successful in 17s
Build and Test / linux-windows-mingw (push) Successful in 28s
Documentation / build-docs (pull_request) Successful in 9s
QA / cert (pull_request) Successful in 30s
Build and Test / linux-linux-gcc (pull_request) Successful in 17s
Build and Test / linux-windows-mingw (pull_request) Successful in 27s
03cba941fb
Reviewed-on: #127
Reviewed-on: #129
Fix macOS crash on quit due to CADisplayLink teardown race (#128)
All checks were successful
Documentation / build-docs (pull_request) Successful in 8s
QA / cert (pull_request) Successful in 30s
Build and Test / linux-linux-gcc (pull_request) Successful in 17s
Build and Test / linux-windows-mingw (pull_request) Successful in 27s
Documentation / build-docs (push) Successful in 9s
QA / cert (push) Successful in 29s
Build and Test / linux-linux-gcc (push) Successful in 18s
Build and Test / linux-windows-mingw (push) Successful in 28s
Release / build-docs (push) Successful in 12s
Release / build-linux (push) Successful in 14s
Release / build-windows-mingw (push) Successful in 27s
Release / upload (push) Successful in 5s
bc1dca3174
Calling [CADisplayLink invalidate] directly during video teardown
could crash with "Unlock of an os_unfair_lock not owned by current
thread" if a display link callback was in progress.

Fix by:
- Clearing the semaphore reference first to stop signaling
- Dispatching invalidate asynchronously to main queue to ensure
  it runs after any in-progress callback completes
- Guarding the callback against NULL semaphore
- Removing manual dispatch_release (ARC manages dispatch objects)

Reviewed-on: #128
fix(wayland): treat KEY_STATE_REPEATED as held
All checks were successful
Documentation / build-docs (pull_request) Successful in 8s
QA / cert (pull_request) Successful in 32s
Build and Test / linux-linux-gcc (pull_request) Successful in 17s
Build and Test / linux-windows-mingw (pull_request) Successful in 27s
Documentation / build-docs (push) Successful in 8s
QA / cert (push) Successful in 30s
Build and Test / linux-linux-gcc (push) Successful in 17s
Build and Test / linux-windows-mingw (push) Successful in 27s
Release / build-docs (push) Successful in 11s
Release / build-linux (push) Successful in 13s
Release / build-windows-mingw (push) Successful in 27s
Release / upload (push) Successful in 5s
6d954b3d3d
+ some cleaning

Reviewed-on: #132
Reviewed-on: #134
Improve CI names (#136)
Some checks failed
Documentation / build-docs (push) Successful in 9s
Build and Test / linux-linux-gcc / shared (push) Has been cancelled
Build and Test / linux-linux-gcc / static (push) Has been cancelled
Build and Test / linux-windows-mingw / shared (push) Has been cancelled
Build and Test / linux-windows-mingw / static (push) Has been cancelled
QA / cert (push) Has been cancelled
45690d4691
Reviewed-on: #136
Create and use banjo-info (#137) (#138)
All checks were successful
Documentation / build-docs (push) Successful in 8s
QA / cert (push) Successful in 29s
Build and Test / linux-linux-gcc / shared (push) Successful in 16s
Build and Test / linux-linux-gcc / static (push) Successful in 17s
Build and Test / linux-windows-mingw / shared (push) Successful in 25s
Build and Test / linux-windows-mingw / static (push) Successful in 26s
83ec2c0f96
Create the banjo-info tool, used in CI

Reviewed-on: #137

Reviewed-on: #138
docs(readme): rewrite homepage (#139) (#140)
All checks were successful
Documentation / build-docs (push) Successful in 8s
QA / cert (push) Successful in 29s
Build and Test / linux-linux-gcc / shared (push) Successful in 16s
Build and Test / linux-linux-gcc / static (push) Successful in 16s
Build and Test / linux-windows-mingw / shared (push) Successful in 25s
Build and Test / linux-windows-mingw / static (push) Successful in 25s
2384fa0058
Reviewed-on: #139
Reviewed-on: #140
Explicit Deployment (#141)
All checks were successful
Documentation / build-docs (push) Successful in 8s
QA / cert (push) Successful in 30s
Build and Test / linux-linux-gcc / shared (push) Successful in 16s
Build and Test / linux-linux-gcc / static (push) Successful in 16s
Build and Test / linux-windows-mingw / shared (push) Successful in 25s
Build and Test / linux-windows-mingw / static (push) Successful in 26s
Release / Build Documentation (release) Successful in 13s
Release / Build Linux (shared) (release) Successful in 13s
Release / Build Linux (static) (release) Successful in 13s
Release / Build Windows MinGW (shared) (release) Successful in 26s
Release / Build Windows MinGW (static) (release) Successful in 26s
Release / upload (release) Successful in 5s
4f1d5c2811
Releases are now explicitely created from Forgejo rather that automated from tag pushes.

Reviewed-on: #141
Update inc/banjo/version.h
All checks were successful
Documentation / build-docs (push) Successful in 8s
QA / cert (push) Successful in 30s
Build and Test / linux-linux-gcc / shared (push) Successful in 16s
Build and Test / linux-linux-gcc / static (push) Successful in 16s
Build and Test / linux-windows-mingw / shared (push) Successful in 25s
Build and Test / linux-windows-mingw / static (push) Successful in 26s
79b963b2a5
fix(bitmap): handle INT32_MIN safely in LOCAL_ABS macro (#143)
Some checks failed
Documentation / build-docs (pull_request) Successful in 8s
Build and Test / linux-linux-gcc / shared (pull_request) Has been cancelled
Build and Test / linux-linux-gcc / static (pull_request) Has been cancelled
Build and Test / linux-windows-mingw / shared (pull_request) Has been cancelled
Build and Test / linux-windows-mingw / static (pull_request) Has been cancelled
QA / cert (pull_request) Has been cancelled
1ae3a2aafe
Fix undefined behavior when negating INT32_MIN by using unsigned
arithmetic instead. The old macro `(uint32_t)(-(x))` would invoke
UB when x is INT32_MIN because -INT32_MIN overflows int32_t.

The new approach casts to uint32_t first, then uses unsigned
subtraction: `(uint32_t)0 - (uint32_t)(x)`, which is well-defined.

Reviewed-on: #143
fix(physics): guard against division by zero in point gravity (#144)
Some checks failed
QA / cert (pull_request) Has been cancelled
Build and Test / linux-linux-gcc / shared (pull_request) Has been cancelled
Build and Test / linux-linux-gcc / static (pull_request) Has been cancelled
Build and Test / linux-windows-mingw / shared (pull_request) Has been cancelled
Build and Test / linux-windows-mingw / static (pull_request) Has been cancelled
Documentation / build-docs (pull_request) Has been cancelled
507a4336a5
Add checks for zero inverse_mass (infinite mass) before computing
gravitational force. Particles with infinite mass should not have
gravity forces applied to them, and division by zero inverse_mass
would cause undefined behavior.

Affects:
- bj_apply_point_gravity_2d
- bj_apply_point_gravity_softened_2d

Reviewed-on: #144
fix(bitmap): add overflow check for buffer size calculation (#148)
Some checks failed
QA / cert (pull_request) Has been cancelled
Build and Test / linux-linux-gcc / shared (pull_request) Has been cancelled
Build and Test / linux-linux-gcc / static (pull_request) Has been cancelled
Build and Test / linux-windows-mingw / shared (pull_request) Has been cancelled
Build and Test / linux-windows-mingw / static (pull_request) Has been cancelled
Documentation / build-docs (pull_request) Has been cancelled
47757398ea
Add overflow check before computing stride * height to prevent
integer overflow when allocating bitmap buffer. On systems where
size_t is 32-bit, large dimensions could overflow and cause
undersized buffer allocation.

Reviewed-on: #148
fix(audio): check pthread_create return in ALSA backend (#149)
Some checks failed
QA / cert (pull_request) Has been cancelled
Build and Test / linux-linux-gcc / shared (pull_request) Has been cancelled
Build and Test / linux-linux-gcc / static (pull_request) Has been cancelled
Build and Test / linux-windows-mingw / shared (pull_request) Has been cancelled
Build and Test / linux-windows-mingw / static (pull_request) Has been cancelled
Documentation / build-docs (pull_request) Has been cancelled
2e7c5bd268
Add error checking for pthread_create() in alsa_open_device().
Previously, if thread creation failed, the device would be returned
as if successfully initialized, leading to a broken audio device.

Also adds null check for audio buffer allocation.

Reviewed-on: #149
fix(net): add null checks after allocation in network code (#150)
All checks were successful
Documentation / build-docs (pull_request) Successful in 8s
QA / cert (pull_request) Successful in 29s
Build and Test / linux-linux-gcc / shared (pull_request) Successful in 16s
Build and Test / linux-linux-gcc / static (pull_request) Successful in 17s
Build and Test / linux-windows-mingw / shared (pull_request) Successful in 25s
Build and Test / linux-windows-mingw / static (pull_request) Successful in 27s
Documentation / build-docs (push) Successful in 8s
QA / cert (push) Successful in 29s
Build and Test / linux-linux-gcc / shared (push) Successful in 16s
Build and Test / linux-linux-gcc / static (push) Successful in 17s
Build and Test / linux-windows-mingw / shared (push) Successful in 26s
Build and Test / linux-windows-mingw / static (push) Successful in 25s
74de3b4bb1
Add null checks after all bj_calloc() calls in both POSIX and Win32
network implementations. Previously, allocation failures would cause
null pointer dereferences. Now properly sets error and returns NULL,
with appropriate resource cleanup (closing sockets, freeing addrinfo).

Affected functions:
- bj_resolve_address
- bj_listen_tcp
- bj_connect_tcp
- bj_connect_tcp_to
- bj_accept_tcp
- bj_open_udp
- bj_udp_recv

Reviewed-on: #150
Edit Changelog
All checks were successful
Documentation / build-docs (push) Successful in 8s
QA / cert (push) Successful in 29s
Build and Test / linux-linux-gcc / shared (push) Successful in 16s
Build and Test / linux-linux-gcc / static (push) Successful in 17s
Build and Test / linux-windows-mingw / shared (push) Successful in 26s
Build and Test / linux-windows-mingw / static (push) Successful in 26s
4f06556253
Fix documentation links in README (#154)
Some checks failed
Documentation / build-docs (push) Has been cancelled
QA / cert (push) Has been cancelled
Build and Test / linux-linux-gcc / shared (push) Has been cancelled
Build and Test / linux-linux-gcc / static (push) Has been cancelled
Build and Test / linux-windows-mingw / shared (push) Has been cancelled
Build and Test / linux-windows-mingw / static (push) Has been cancelled
af251b14d4
Reviewed-on: #154
Improve C++ compatibility (#153)
All checks were successful
C++ Compatibility / C++ Compatibility Check (push) Successful in 7s
Documentation / build-docs (push) Successful in 9s
QA / cert (push) Successful in 29s
Build and Test / linux-linux-gcc / shared (push) Successful in 16s
Build and Test / linux-linux-gcc / static (push) Successful in 16s
Build and Test / linux-windows-mingw / shared (push) Successful in 26s
Build and Test / linux-windows-mingw / static (push) Successful in 25s
c1f14f1b06
Reviewed-on: #153
feat(graphics): use box-aligned text API (#155)
All checks were successful
C++ Compatibility / C++ Compatibility Check (push) Successful in 7s
Documentation / build-docs (push) Successful in 7s
QA / cert (push) Successful in 28s
Build and Test / linux-linux-gcc / shared (push) Successful in 16s
Build and Test / linux-linux-gcc / static (push) Successful in 16s
Build and Test / linux-windows-mingw / shared (push) Successful in 24s
Build and Test / linux-windows-mingw / static (push) Successful in 25s
38d69b7610
Reviewed-on: #155
fix(build): add position independent code (#156)
All checks were successful
C++ Compatibility / C++ Compatibility Check (push) Successful in 8s
Documentation / build-docs (push) Successful in 8s
QA / cert (push) Successful in 28s
Build and Test / linux-linux-gcc / shared (push) Successful in 16s
Build and Test / linux-linux-gcc / static (push) Successful in 16s
Build and Test / linux-windows-mingw / shared (push) Successful in 25s
Build and Test / linux-windows-mingw / static (push) Successful in 26s
Release / Build Documentation (release) Successful in 13s
Release / Build Linux (shared) (release) Successful in 13s
Release / Build Linux (static) (release) Successful in 12s
Release / Build Windows MinGW (shared) (release) Successful in 26s
Release / Build Windows MinGW (static) (release) Successful in 25s
Release / upload (release) Successful in 5s
4afc2d8e57
Reviewed-on: #156
Bump version to RC 3
All checks were successful
C++ Compatibility / C++ Compatibility Check (push) Successful in 7s
Documentation / build-docs (push) Successful in 7s
QA / cert (push) Successful in 28s
Build and Test / linux-linux-gcc / shared (push) Successful in 16s
Build and Test / linux-linux-gcc / static (push) Successful in 16s
Build and Test / linux-windows-mingw / shared (push) Successful in 25s
Build and Test / linux-windows-mingw / static (push) Successful in 25s
2488b6f163
fix(project): fix license badge
Some checks failed
C++ Compatibility / C++ Compatibility Check (push) Successful in 7s
Documentation / build-docs (push) Successful in 7s
QA / cert (push) Successful in 28s
Build and Test / linux-linux-gcc / shared (push) Successful in 16s
Build and Test / linux-linux-gcc / static (push) Successful in 16s
Build and Test / linux-windows-mingw / static (push) Has been cancelled
Build and Test / linux-windows-mingw / shared (push) Has been cancelled
C++ Compatibility / C++ Compatibility Check (pull_request) Successful in 7s
Documentation / build-docs (pull_request) Successful in 8s
QA / cert (pull_request) Successful in 29s
Build and Test / linux-linux-gcc / shared (pull_request) Successful in 15s
Build and Test / linux-linux-gcc / static (pull_request) Successful in 16s
Build and Test / linux-windows-mingw / shared (pull_request) Successful in 25s
Build and Test / linux-windows-mingw / static (pull_request) Successful in 27s
dd4c1ecd84
OragonEfreet closed this pull request 2026-06-16 12:16:04 +02:00
Some checks failed
C++ Compatibility / C++ Compatibility Check (push) Successful in 7s
Documentation / build-docs (push) Successful in 7s
QA / cert (push) Successful in 28s
Build and Test / linux-linux-gcc / shared (push) Successful in 16s
Build and Test / linux-linux-gcc / static (push) Successful in 16s
Build and Test / linux-windows-mingw / static (push) Has been cancelled
Build and Test / linux-windows-mingw / shared (push) Has been cancelled
C++ Compatibility / C++ Compatibility Check (pull_request) Successful in 7s
Documentation / build-docs (pull_request) Successful in 8s
QA / cert (pull_request) Successful in 29s
Build and Test / linux-linux-gcc / shared (pull_request) Successful in 15s
Build and Test / linux-linux-gcc / static (pull_request) Successful in 16s
Build and Test / linux-windows-mingw / shared (pull_request) Successful in 25s
Build and Test / linux-windows-mingw / static (pull_request) Successful in 27s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
OragonEfreet/banjo!157
No description provided.