Robbert van der Helm
61c79ab610
Swap out lazy_static for std::sync::LazyLock
2024-08-18 21:37:10 +02:00
Robbert van der Helm
9e2b9cc06e
Update to the latest Vizia
...
This fixes crashes when opening more than one instance of a plugin GUI
on Windows and macOS.
2024-05-06 00:57:29 +02:00
Robbert van der Helm
b3038b458c
Fix race condition in RunLoopEventHandler
2024-05-05 23:22:01 +02:00
Robbert van der Helm
31583d42e7
Document egui update
2024-05-05 22:53:38 +02:00
Robbert van der Helm
e0913b16de
Document MIDI change from #111
2024-05-05 22:50:19 +02:00
Robbert van der Helm
916dfc16a2
Document the CPAL buffer size handling
2024-05-05 22:43:58 +02:00
Robbert van der Helm
d270d1221f
Fix in-place checks in buffer management
...
The previous implementation didn't work correctly, and would thus result
in soundness issues. Rust 1.78 finally fixes debug assertions in the
standard library so this was caught immediately.
2024-05-04 20:55:50 +02:00
Robbert van der Helm
bb274976ca
Parse target dir location from cargo metadata
2024-03-23 11:51:11 +01:00
Robbert van der Helm
245add6530
Return kNotImplemented for the VST3 input events
2024-03-18 21:48:39 +01:00
Billy Messenger
0d608592b5
fix panic when setting mouse cursor in nih_plug_egui
2024-03-03 15:51:45 +01:00
Robbert van der Helm
b2586ded48
Mention the nih_plug_egui update in the changelog
2024-02-22 21:01:19 +01:00
Robbert van der Helm
4e8beb1098
Update the changelog entry date for merge
2023-12-30 18:00:20 +01:00
Robbert van der Helm
674e871d46
Change the minimum scale factor in Vizia to 0.5
2023-12-30 17:58:54 +01:00
Robbert van der Helm
25a25d0a40
Update Vizia with resizing patch
2023-12-30 17:52:52 +01:00
Robbert van der Helm
9a9b7cd7b9
Promote debug assertion failures to warnings
2023-12-30 15:02:06 +01:00
Robbert van der Helm
193ec70b8a
Update resize handle for upstream vizia changes
2023-12-30 14:44:40 +01:00
Robbert van der Helm
5a2ef860b1
Update Vizia assets for font selection changes
2023-12-30 14:44:40 +01:00
Robbert van der Helm
b794cdeafe
Rework ParentWindowHandle to be a sum type
...
So we can mix and match versions of baseview that target different
versions of `raw_window_handle`.
2023-12-30 14:44:40 +01:00
Robbert van der Helm
32c3f367e4
Update the vizia and baseview dependencies
2023-12-30 14:44:36 +01:00
Robbert van der Helm
756d5a3315
Add missing changelog entry
2023-12-30 14:08:10 +01:00
Robbert van der Helm
105a46d808
Add missing changelog entry for nih_export_vst3
2023-12-06 19:12:54 +01:00
Robbert van der Helm
5f4058d164
Add missing changelog entry for the last PR
2023-11-05 22:35:16 +01:00
Robbert van der Helm
3f4d70c32a
Fix null pointer assertions in buffer management
2023-09-21 22:48:11 +02:00
Robbert van der Helm
19988db139
Support multiple plugins in nih_export_vst3!()
...
Just like in `nih_export_clap!()`.
2023-09-03 15:43:23 +02:00
Robbert van der Helm
c5bfb33d24
Use $crate in the nih_export_*!() macros
2023-09-03 13:47:08 +02:00
Robbert van der Helm
3ccaced613
Support exporting multiple CLAP plugins
...
This required the factory to be rewritten as a macro. since variadic
generics are not yet a thing. Not 100% satisfied with this design yet,
but it's much less ugly than my earlier attempts at this.
2023-08-05 16:38:57 +02:00
Robbert van der Helm
727b15aa93
Remove the Default bound from SysExMessage::Buffer
2023-05-13 22:39:54 +02:00
Robbert van der Helm
4753cd95ce
Fix typo in changelog
2023-05-13 22:38:57 +02:00
Robbert van der Helm
68b3b864d6
Assert that parameter ranges are valid
2023-04-30 21:28:23 +02:00
Robbert van der Helm
0afe6852b3
Avoid returning negative zeroes in v2s_f32_rounded
...
This ensures that values roundtrip correctly since -0.0 and 0.0
correspond to the same normalized value.
2023-04-27 12:30:45 +02:00
Robbert van der Helm
1cedd1fd7e
Upgrade NIH-log to 0.3.1
...
This fixes the local time offsets on Linux.
2023-04-24 23:57:58 +02:00
Robbert van der Helm
5e69910616
Consider block start with buffer management
...
This broke sample accurate automation.
2023-04-24 23:47:29 +02:00
Robbert van der Helm
808782df05
Take &mut self for editor() and task_executor()
2023-04-24 14:51:40 +02:00
Robbert van der Helm
911c0d57d5
Allow declaratively defining CLAP remote controls
2023-04-22 16:59:03 +02:00
Robbert van der Helm
841fe2424c
Update to CLAP 1.1.8
2023-04-22 16:09:58 +02:00
Robbert van der Helm
2dbd835778
Also prefer importing from prelude internally
...
Less breakage when restructuring modules.
2023-04-22 15:13:39 +02:00
Robbert van der Helm
1deb907c38
Fix header name in changelog
2023-04-22 14:43:28 +02:00
Robbert van der Helm
8a7100ac3e
Add an OversamplingAware smoothing style
...
This can be used to have an ergonomic way to do multi-rate smoothing
with variable oversampling amounts that only the `Arc<AtomicF32>` to be
updated from a parameter callback.
2023-04-05 18:08:22 +02:00
Robbert van der Helm
3aa3f08f82
Upgrade nih_debug_assert!() to panic in tests
2023-04-05 16:13:16 +02:00
Robbert van der Helm
cc5980e215
Zero out auxiliary output buffers
...
We used to do this, but this got lost in the migration to the new buffer
management system.
2023-04-01 15:21:12 +02:00
Robbert van der Helm
8196641d65
Update VST3 wrapper to use new buffer manager
...
This also fixes output events not being sent during a parameter flush.
2023-03-31 17:01:41 +02:00
Robbert van der Helm
30a26e0d9a
Update CLAP wrapper to use the new buffer manager
2023-03-31 16:03:49 +02:00
Robbert van der Helm
2de1fd563b
Tweak cosmic text and module logging settings
...
In release builds the cosmic text messages are now suppressed, and in
debug builds the module is always shown even for error, warning, and
info messages.
2023-03-21 20:31:58 +01:00
Robbert van der Helm
730757f8d7
Update dates in changelog
2023-03-21 18:13:59 +01:00
Robbert van der Helm
0d5247ee2f
Fix ParamButton hover state and styling
2023-03-18 15:16:52 +01:00
Robbert van der Helm
ce2eab84e1
Add ergonomic resizing w/ GuiContextEvent::Resize
2023-03-18 14:19:49 +01:00
Robbert van der Helm
9b465fc39d
Document the addition of NoteEvent::channel()
2023-03-17 21:50:48 +01:00
Robbert van der Helm
098589f5c0
Remove empty changelog heading
2023-03-07 21:24:00 +01:00
Robbert van der Helm
f6041789cd
Use computed sizes for ViziaState
2023-03-07 21:22:15 +01:00
Robbert van der Helm
17a95e703f
Detect incorrect GuiContext method usage
...
In debug builds.
2023-03-07 18:02:56 +01:00