Andrew Belt
790e1053cc
Rename system::getTime() to getRuntime(). Add system::getUnixTime().
4 years ago
Andrew Belt
7efd063392
Change timestamps from int64_t to double, and define epoch as when `system::init()` is called.
4 years ago
Andrew Belt
d6b382f36d
Fix bug in resolving paths in system::unarchiveFolder().
Create .tar.zst plugins in `make dist` for plugins.
Link to libstdc++ statically for plugins.
Remove -lstdc++fs since we replaced it with ghc::filesystem.
4 years ago
Andrew Belt
2a7fab31aa
Replace std::experimental::filesystem with ghc::filesystem library.
4 years ago
Andrew Belt
9c5a616eab
Change file extension of plugin packages to .vcvplugin.
4 years ago
Andrew Belt
232d2c10e5
Add `compressionLevel` argument to `system::archiveFolder()`.
4 years ago
Andrew Belt
8d908a0a55
Add system::join(). Add asset::module().
4 years ago
Andrew Belt
6d1795ee35
Test new system:: functions. Make system:: filesystem functions throw Exception on error. Add system::getCanonical().
4 years ago
Andrew Belt
c862847394
Set compression level of system::archiveFolder() .tar.zst file.
4 years ago
Andrew Belt
3fbd0f77a9
Move string::absolute, directory, filename, filenameBase, and filenameExtension to system::getAbsolute, getDirectory, getFilename, getStem, and getExtension. Reimplement most system:: functions using std::experimental::filesystem. Add system::doesExist, getFileSize, and getTempDir.
4 years ago
Andrew Belt
df544700b9
Remove libzip, zlib. Remove string::compress() and uncompress(). Remove system::unzipToFolder().
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
0ded01c228
Add system::unarchiveToFolder() and archiveFolder(). Begin using `std::experimental::filesystem`.
4 years ago
Andrew Belt
dd0e670050
Fix wchar_t/char16_t distinction on Windows.
5 years ago
Andrew Belt
e457294889
Change string::fromWstring to UTF16toUTF8. Change string::toWstring to UTF8toUTF16. Replace std::wstring to std::u16string and wchar_t to char16_t.
5 years ago
Andrew Belt
b3a3b1cdbd
Add system::get/setWorkingDirectory() which fixes the Windows build.
5 years ago
Andrew Belt
120aafe6d3
Change order of includes to C++ standard headers, library headers, and local project headers.
5 years ago
Andrew Belt
af834d49ee
Replace fopen, remove, and rename on Windows with wrappers that call
wide-string equivalents.
5 years ago
Andrew Belt
8423ce87aa
Add template preset for modules, which are loaded when created from the Module Browser.
5 years ago
Andrew Belt
58a44db0c5
Slightly increase performance of system::getNanoseconds() for Linux.
5 years ago
Andrew Belt
306e454f0c
Use higher resolution clock for system::getNanoseconds() on Windows.
Ban `long` from codebase. Use int64_t instead.
5 years ago
Andrew Belt
5a45c26da6
Add system::getNanoseconds(). Use it instead of std::chrono.
5 years ago
Andrew Belt
c7f65f7bfb
Remove system::getThreadTime() and system::setThreadRealTime().
5 years ago
Andrew Belt
cc14d40fe3
Remove preset directory if empty.
5 years ago
Andrew Belt
2f5bff5a3a
Add _WIN32_WINNT version.
5 years ago
Andrew Belt
798d01d240
Add system::getEntriesRecursive().
5 years ago
Andrew Belt
a629561f58
Move plugin.cpp's extractZip to system::unzipToFolder().
5 years ago
Andrew Belt
873f6719d0
Use higher precision (but lower accuracy) thread runtime counter on Windows.
5 years ago
Andrew Belt
edc55bf3e3
Implement system::getThreadTime on Mac.
5 years ago
Andrew Belt
cb6e9b82c1
Add system::getThreadTime implementation on Windows
5 years ago
Andrew Belt
8c9e594c32
Use thread runtime rather than time of day for measuring module CPU.
5 years ago
Andrew Belt
dca30e2b53
Auto-format code with astyle.
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
a5e1ac75f8
Finish auto-updater on Windows. Add network::urlPath(). Reimplement
runProcessDetached() using ShellExecuteExW() instead of CreateProcess().
5 years ago
Andrew Belt
60a1a47f00
Move system::getAbsolutePath() to string::absolutePath(). Implement on
Windows.
5 years ago
Andrew Belt
4a09492b3e
Implement system::getAbsolutePath() on Mac.
5 years ago
Andrew Belt
029434dcb7
Add system::getAbsoluteDirectory().
5 years ago
Andrew Belt
bc06efd9ab
Add system::openFolder() on Mac.
5 years ago
Andrew Belt
c8d495dfe3
Use correct ShellExecute verb for system::openFolder() on Windows.
5 years ago
Andrew Belt
696939069d
Use <> instead of "" for include directive.
6 years ago
Andrew Belt
afd6d4bb8e
Clean up various headers.
6 years ago
Andrew Belt
46f9577dc1
Disable system::setThreadRealTime on Mac. Fix GLFW init hints on Mac.
6 years ago
Andrew Belt
ce2936c0c8
Restart engine workers when setting real-time priority.
6 years ago
Andrew Belt
ec5874ada6
Add string<->wstring conversion functions
6 years ago
Andrew Belt
53a63187fe
Add partial Unicode handling of filenames on Windows.
6 years ago
Andrew Belt
06249451fa
Fix GetVersion function call
6 years ago
Andrew Belt
a7ec68e4f0
Log OS version on launch
6 years ago
Andrew Belt
82f32038ac
Add system::runProcessAsync
6 years ago
Andrew Belt
6886360c3b
Use system::openFolder() for certain menu items.
6 years ago