This website requires JavaScript.
fd00d51ff7
feat: add carla.c
Loic Coenen
2026-05-02 21:29:53 +00:00
2a22898afb
fix: add missing object and header dependencies to test_stress target
Loic Coenen
2026-05-02 20:24:51 +00:00
93f9b60c41
refactor: update stress tests to use new dispatcher API
Loic Coenen
2026-05-02 20:20:53 +00:00
8b936fd424
refactor: update test_stress.c to use dispatcher-based API
Loic Coenen
2026-05-02 20:17:10 +00:00
b261cd7487
fix: update test_stress.c to use new dispatcher API and remove transport.o dependency
Loic Coenen
2026-05-02 19:56:46 +00:00
333b2c489b
fix: remove missing transport.h include and dependency
Loic Coenen
2026-05-02 19:47:54 +00:00
0f9bd83469
fix: add missing jack include and remove duplicate compile rule
Loic Coenen
2026-05-02 19:47:32 +00:00
0c40f3ced6
fix: update test_stress.c to use dispatcher API and update makefile dependencies
Loic Coenen
2026-05-02 19:45:58 +00:00
d41ba72b73
refactor: rewrite stress_test.c to use dispatcher API with Action structs
Loic Coenen
2026-05-02 19:31:11 +00:00
2daeba263a
test: rewrite stress_test.c to use dispatcher API instead of engine internals
Loic Coenen
2026-05-02 19:18:17 +00:00
7060e0222b
fix: add missing dispatcher.o dependency to test_cli target
Loic Coenen
2026-05-02 19:04:49 +00:00
2f012edff2
test: rewrite test_cli.c to use AppState and dispatch function
Loic Coenen
2026-05-02 19:02:08 +00:00
bb1a4dc012
fix: add missing dispatcher.o dependency to test_gui target
Loic Coenen
2026-05-02 19:00:17 +00:00
0833c267d9
fix: add dummy dispatch function and update engine_init call in test_gui.c
Loic Coenen
2026-05-02 18:57:33 +00:00
63e26af258
fix: add missing dispatcher.o dependency to test_tui target
Loic Coenen
2026-05-02 18:46:47 +00:00
d8017481b3
fix: replace DEFAULT_BPM with literal 120.0 in test_tui.c
Loic Coenen
2026-05-02 18:44:11 +00:00
0577c0e776
refactor: replace DEFAULT_BPM with literal value in test
Loic Coenen
2026-05-02 18:43:07 +00:00
bfe19a50df
refactor: rewrite test_tui.c to use dispatcher architecture
Loic Coenen
2026-05-02 18:42:43 +00:00
6af5475516
fix: add dispatcher.o to test_engine link target
Loic Coenen
2026-05-02 16:02:35 +00:00
6eac3059fb
fix: add missing include for transport functions in tui.c
Loic Coenen
2026-05-02 15:58:07 +00:00
0d02812865
fix: update test_engine.c to use AppState/reducer and fix duplicate enum in transport.h
Loic Coenen
2026-05-02 15:54:06 +00:00
7fd3ab1952
fix: add missing includes for dispatcher and transport in test_engine.c
Loic Coenen
2026-05-02 15:48:58 +00:00
c7b6ed3059
fix: remove duplicate transport state and clock source functions from dispatcher
Loic Coenen
2026-05-02 15:45:26 +00:00
24f1cec191
fix: add dispatcher.o to jack-looper build target
Loic Coenen
2026-05-02 14:40:45 +00:00
63b37aec60
fix: add dispatcher.o to makefile to resolve linker errors
Loic Coenen
2026-05-02 14:40:28 +00:00
02152b4491
fix: refactor cli.c to use action dispatcher pattern
Loic Coenen
2026-05-02 14:37:02 +00:00
4b2c315c50
fix: update gui.c to use dispatcher instead of direct engine transport access
Loic Coenen
2026-05-02 14:34:45 +00:00
3dae299894
fix: add transport_state_to_string and clock_source_to_string to dispatcher
Loic Coenen
2026-05-02 14:34:12 +00:00
6ce8f42dd8
fix: refactor TUI to use dispatcher pattern
Loic Coenen
2026-05-02 14:33:11 +00:00
d6ca5a0079
refactor: implement unidirectional data flow with dispatcher pattern
Loic Coenen
2026-05-02 14:27:56 +00:00
2face8fe3d
feat: add reducer and dispatcher modules
Loic Coenen
2026-05-02 14:27:53 +00:00
6691990787
before refactor
Loic Coenen
2026-05-02 14:07:47 +00:00
6ca2a4c01a
fix: use atomic loads for clip state and buffer_size in engine_process_commands
Loic Coenen
2026-05-02 11:23:00 +00:00
b6cea54a89
fix: make undo history fields atomic and protect clip buffer access in save/load thread
Loic Coenen
2026-05-02 11:19:33 +00:00
fde1a5cb04
Add files (ffs)
Loic Coenen
2026-05-02 11:17:05 +00:00
a8223baf43
fix: use atomic operations for thread-safe clip state access
Loic Coenen
2026-05-02 11:09:17 +00:00
42ecd94d83
fix: remove duplicate declaration of save_load_running_atomic
Loic Coenen
2026-05-02 11:01:09 +00:00
7f0ce410b4
fix: use static atomic variable for save/load thread flag
Loic Coenen
2026-05-02 11:01:03 +00:00
6fb81aa322
fix: remove data races by making save_load_running atomic and removing main thread engine_process_commands calls
Loic Coenen
2026-05-02 11:00:43 +00:00
da88493866
build: add test_wav_io target and exclude stress tests from test
Loic Coenen
2026-05-02 10:53:44 +00:00
da51f3d80c
test: add comprehensive test suite for wav_io.c
Loic Coenen
2026-05-02 10:50:50 +00:00
e5dc4b8c74
feat: add test_wav_io.c
Loic Coenen
2026-05-02 10:50:48 +00:00
35e6e2b17c
fix: add missing wav_io.o to test_gui link target
Loic Coenen
2026-05-02 10:31:51 +00:00
e79ebd3301
fix: replace usleep with nanosleep for POSIX compliance
Loic Coenen
2026-05-02 10:27:26 +00:00
9c43d5c343
build: add wav_io.o to makefile targets and dependencies
Loic Coenen
2026-05-02 10:19:08 +00:00
e4a2d49666
fix: add wav_io.o and pthread linking to makefile
Loic Coenen
2026-05-02 10:18:18 +00:00
f37cb5c0a6
feat: add save/load thread and WAV file I/O for clip persistence
Loic Coenen
2026-05-02 10:18:04 +00:00
c48394f341
fix: update CFLAGS to use thread sanitizer and debug symbols
Loic Coenen
2026-05-02 10:18:02 +00:00
8dff1ade1a
fix: process commands only after all worker threads finish in stress test
Loic Coenen
2026-05-01 23:41:48 +00:00
31653d8b4a
fix: make command queue thread-safe with CAS and memory fences
Loic Coenen
2026-05-01 23:41:27 +00:00
5423daabb1
fix: remove null check for clip buffer in trigger command
Loic Coenen
2026-05-01 23:31:56 +00:00
73f1c355fe
fix: add null check for clip buffer in reset clip command
Loic Coenen
2026-05-01 23:31:24 +00:00
9615eb62c0
fix: allocate transport in CLI test to prevent null pointer crash
Loic Coenen
2026-05-01 23:30:56 +00:00
b0ad3b3d19
fix: add undo support for transport state changes
Loic Coenen
2026-05-01 23:28:33 +00:00
2e0770e95d
test: add nuclear-grade stress tests and memory safety fixes
Loic Coenen
2026-05-01 23:17:13 +00:00
f3da43f4db
fix: add missing UndoAction fields and null checks to prevent memory corruption
Loic Coenen
2026-05-01 23:13:04 +00:00
fdeebd29f0
fix: handle command queue overflow in stress tests
Loic Coenen
2026-05-01 23:05:36 +00:00
2ae91c6813
feat: add stress test file
Loic Coenen
2026-05-01 23:05:35 +00:00
2c547b3486
fix: add missing QUEUED_TRIGGER_POOL_SIZE define to engine.h
Loic Coenen
2026-05-01 23:03:08 +00:00
ab65a2aa61
feat: add stress test for audio engine real-time safety
Loic Coenen
2026-05-01 23:02:47 +00:00
18284e4fea
fix: update transport state initialization in test_cli.c
Loic Coenen
2026-05-01 22:50:05 +00:00
af89c40b6c
fix: update test_cli.c to use transport pointer and remove removed atomic fields
Loic Coenen
2026-05-01 22:49:48 +00:00
e8f4c8256c
fix: correct pointer member access in test_engine.c
Loic Coenen
2026-05-01 22:49:02 +00:00
f0ab26f8a9
fix: use arrow operator to access transport pointer members
Loic Coenen
2026-05-01 22:47:54 +00:00
2a0603247b
fix: declare missing variables in process_callback
Loic Coenen
2026-05-01 22:47:32 +00:00
a579423427
test: add stress test for random engine operations
Loic Coenen
2026-05-01 22:30:39 +00:00
340e83cbce
fix: correct sample_position access to use arrow operator in test assertions
Loic Coenen
2026-05-01 21:54:08 +00:00
45b22acbc7
fix: update transport access and function calls across engine, tui, and tests
Loic Coenen
2026-05-01 21:53:46 +00:00
23a6d09f1f
build: add sanitizer flags to CFLAGS
Loic Coenen
2026-05-01 21:53:45 +00:00
08d1b3508f
fix: remove stray brace causing syntax error in engine_process_commands
Loic Coenen
2026-05-01 21:28:49 +00:00
d9de05b1da
refactor: replace atomic_double with fixed-point BPM and remove circular dependency
Loic Coenen
2026-05-01 21:27:38 +00:00
6d52e076dc
feat: add transport.h header with transport state machine and MIDI clock support
Loic Coenen
2026-05-01 21:14:26 +00:00
ca2c8de12f
feat: add transport control, clock source, and BPM commands to CLI
Loic Coenen
2026-05-01 21:12:37 +00:00
3080c4e962
fix: correct transport field access and state assertion in MIDI clock start test
Loic Coenen
2026-05-01 21:09:01 +00:00
a47598df8c
feat: refactor transport into separate module with master/slave clock support
Loic Coenen
2026-05-01 21:08:38 +00:00
c2ad0e874c
feat: add transport.c
Loic Coenen
2026-05-01 21:08:36 +00:00
a581b60390
fix: correct undo/redo test to match per-trigger undo behavior
Loic Coenen
2026-05-01 20:32:22 +00:00
de4f6ef581
fix: prevent command queue overflow by directly manipulating state in undo/redo
Loic Coenen
2026-05-01 20:20:14 +00:00
5dc533e3a2
fix: add missing CMD_UNDO and CMD_REDO cases inside switch block
Loic Coenen
2026-05-01 20:12:54 +00:00
be3582bc13
feat: implement undo/redo system with history tracking and tests
Loic Coenen
2026-05-01 20:10:45 +00:00
b64b0cd418
fix: adjust mouse event mask and click interval for reliable detection
Loic Coenen
2026-05-01 19:45:29 +00:00
e28a57eede
feat: add mouse support to TUI
Loic Coenen
2026-05-01 19:44:25 +00:00
d989644298
fix: add missing stdbool.h include in test_tui.c
Loic Coenen
2026-05-01 19:43:10 +00:00
8066204e59
fix: trigger clip three times on paste to ensure stopped state
Loic Coenen
2026-05-01 19:38:46 +00:00
0056dce9af
fix: paste clips now stop instead of recording
Loic Coenen
2026-05-01 19:36:27 +00:00
51f5905a22
fix: add UIMode enum to test_tui.c and remove unused yank_count variables
Loic Coenen
2026-05-01 19:34:14 +00:00
2c02901d4e
test: update yank tests to verify clips are stopped after yank
Loic Coenen
2026-05-01 19:31:45 +00:00
e6d5d3d0fb
test: add tests for vim-like visual mode, move mode, yank/paste, marks, and scene navigation
Loic Coenen
2026-05-01 19:20:08 +00:00
2c4129f640
feat: add vim-like keyboard shortcuts with visual mode, marks, yank/paste, and scene navigation
Loic Coenen
2026-05-01 19:14:58 +00:00
054379b26e
fix: change stopped clip color from cyan to blue for better distinction
Loic Coenen
2026-05-01 16:49:24 +00:00
0b061066dd
fix: change stopped clip color from yellow to cyan
Loic Coenen
2026-05-01 16:48:07 +00:00
89e7f00a0c
refactor: remove transport status from grid status line
Loic Coenen
2026-05-01 16:48:06 +00:00
f1f1c02314
fix: add missing string.h include in test_double_process.c
Loic Coenen
2026-05-01 16:24:36 +00:00
93e4bdde14
build: add test_double_process target to Makefile
Loic Coenen
2026-05-01 16:24:22 +00:00
3a83f38d42
test: add test for double command processing bug
Loic Coenen
2026-05-01 16:23:57 +00:00
aefcb175dd
fix: remove debug printf calls from engine_process_commands
Loic Coenen
2026-05-01 16:17:45 +00:00
b1b8363d67
fix: force immediate command processing after engine actions in TUI
Loic Coenen
2026-05-01 16:13:07 +00:00
bb41d82bac
fix: make command mode getch() block by disabling nodelay
Loic Coenen
2026-05-01 15:26:13 +00:00
d416a30944
fix: remove test_gui from test target in makefile
Loic Coenen
2026-05-01 15:23:51 +00:00
efe51944a1
feat: add command mode with :q quit support and tests
Loic Coenen
2026-05-01 15:23:00 +00:00