Andrew Belt
f44ee3a15a
Remove "patchPath" from settings. Store path and unsaved status in patch itself. Fix bug where crash leaves old patch path in settings while new patch is loaded in autosave. Add more dialog messages to PatchManager.
3 years ago
Andrew Belt
0a76018aa8
Switch back to %lld for 64-bit integers. Windows supports them but still
gives a warning. Just ignore them for now.
3 years ago
Andrew Belt
2a1bbf4ae3
Rename system::getRuntime() to getTime().
3 years ago
Andrew Belt
c434b14447
Remove system::getTime() testing code.
3 years ago
Andrew Belt
7efd063392
Change timestamps from int64_t to double, and define epoch as when `system::init()` is called.
3 years ago
Andrew Belt
a77f47dc52
Clean up `library::` app updater a bit.
4 years ago
Andrew Belt
155ae4ead6
Rename `updater::` to `library::`. Move VCV Library synchronization code from `plugin::` to `library::`.
4 years ago
Andrew Belt
3bdf4bf06c
Take screenshot when patch is saved (Currently disabled).
4 years ago
Andrew Belt
8a50d39b7f
Make system::archiveFolder and unarchiveToFolder work on Windows with
Unicode. Rename UTF8toUTF16 to U8toU16 and switch back to std::wstring
instead of std::u16string.
4 years ago
Andrew Belt
53cf78eb72
Add rough code to load/save patch to new autosave directory.
4 years ago
Andrew Belt
dd0e670050
Fix wchar_t/char16_t distinction on Windows.
4 years ago
Andrew Belt
d7dfc0492a
Destroy plugins after destroying audio and MIDI drivers, because plugins that register their own audio/MIDI drivers need to be kept loaded when the drivers are destructed.
4 years ago
Andrew Belt
b0bde7453b
Remove Context::init(). Instead, initialize application manually in the standalone launcher.
4 years ago
Andrew Belt
dee649db0f
Break Rack into libRack shared library and lightweight standalone Rack executable.
4 years ago
Andrew Belt
529d87ee12
Remove contextInit() and contextDestroy() since they don't really make sense with multiple instances.
4 years ago
Andrew Belt
68a875bbca
Improve clarity and modularity of PatchManager methods.
4 years ago
Andrew Belt
866f684ce4
Move app::APP_*, ABI_*, and API_* variables to rack:: namespace.
4 years ago
Andrew Belt
af834d49ee
Replace fopen, remove, and rename on Windows with wrappers that call
wide-string equivalents.
4 years ago
Andrew Belt
3f83066966
Make global context a thread_local variable. Add contextSet().
4 years ago
Andrew Belt
ca9231e1b3
Rename App to Context and app.hpp to context.hpp. The APP macro is still valid.
4 years ago
Andrew Belt
538f5589c2
Make headless mode work somewhat.
4 years ago
Andrew Belt
b6a7b09e7a
Restructure audio namespace to mirror midi class structure. (untested)
5 years ago
Andrew Belt
a34b6ef16e
Remove Bridge audio/MIDI driver.
5 years ago
Andrew Belt
e4b6056ded
Massive WIP v2 overhaul:
- Add Engine::fromJson which can be called without the GUI at all.
- Make RackWidget::fromJson attach itself to existing Engine state. However, once attached, they own their Engine objects (Module, Cable).
- Remove Engine thread. Now Engine must be stepped by other threads, such as the audio thread. This is fantastic because there is no longer a mutex lock every audio buffer.
- Add concept of the "primary module", which is allowed to call Engine::step().
- Add many Module events.
5 years ago
Andrew Belt
a419381f71
Parse -p flag as if it's a valid flag, in order to ignore -psn_... nonsense with Mac app translocation.
5 years ago
Andrew Belt
584c37889f
Add ability for plugins to use LuaJIT.
5 years ago
Andrew Belt
98a86b6eae
Add proper app bundle detection on Mac.
5 years ago
Andrew Belt
8140897835
Don't include GLFW/glfw3native.h in window.hpp.
5 years ago
Andrew Belt
7de83dca3b
Use GLFW's glfwGetOpenedFilename()
5 years ago
Andrew Belt
3dbd084b33
Don't use glfwGetOpenedFilename() when launched via command line on Mac.
5 years ago
Andrew Belt
96e623bb70
Fix screenshot flag -t
5 years ago
Andrew Belt
ac5e544d62
Change screenshot flag to -t [zoom]. Re-enable on Mac.
5 years ago
Andrew Belt
1388e9ebb1
Add network::init(). Add asset::bundlePath.
5 years ago
Andrew Belt
dca30e2b53
Auto-format code with astyle.
5 years ago
Andrew Belt
3c957741bc
Tweak .astylerc.
5 years ago
Andrew Belt
2fbf67c287
Write stack trace to log.txt on Windows.
5 years ago
Andrew Belt
6163efdf13
Add log path to fatal signal handler dialog message.
5 years ago
Andrew Belt
7a86e4cc7c
Add fatal signal handling on Mac, with better stability in the handler function.
5 years ago
Andrew Belt
05e2e7b9c0
Reenable backtrace printing in log. Demangle symbols on Linux.
5 years ago
Andrew Belt
923537402e
Add updater.hpp/cpp and more advanced app updating functionality.
5 years ago
Andrew Belt
60a1a47f00
Move system::getAbsolutePath() to string::absolutePath(). Implement on
Windows.
5 years ago
Andrew Belt
029434dcb7
Add system::getAbsoluteDirectory().
5 years ago
Andrew Belt
139f9a0da3
Disable -p flag on Mac for now since App Translocation interferes with it during normal launch.
5 years ago
Andrew Belt
ca89558bb4
Use -v1 filename suffix for plugins/, settings.json, autosave.vcv, and template.vcv when running in non-dev-mode.
5 years ago
Andrew Belt
696939069d
Use <> instead of "" for include directive.
5 years ago
Andrew Belt
beefa87ef6
Add update notification to Help menu item. Remove update popup dialog message, and remove "checkVersion" from settings.
5 years ago
Andrew Belt
d9078e3f69
Allocate screenshot pixel array on heap.
5 years ago
Andrew Belt
99783f9095
Added zoom level to Window::screenshot().
5 years ago
Andrew Belt
e9ac9eb677
Add -p for creating screenshots of every module.
5 years ago
Andrew Belt
7633c21765
Warn if settings.json file is invalid JSON.
5 years ago