81 Commits (8ba2eff2bc9cadd85f3fadd6f1ca4875a1122cd6)

Author SHA1 Message Date
  Andrew Belt a4c8ee3b5e Use different temporary autosave dir in safe mode. Don't check for library updates in safe mode. 2 years ago
  Andrew Belt a609a9b15e Add `patch::Manager::clearAutosave()`. Clear autosave in safe mode. 3 years ago
  Andrew Belt ed5a362911 Add safe mode. 3 years ago
  Andrew Belt 6ef77b1b88 Add "Save a copy" to File menu. 3 years ago
  Andrew Belt cbe4fe1d3f Clean up plugin::modelFromJson() "Could not find module" message. 3 years ago
  Andrew Belt e1ac2c6859 Clear patch when loading before clearing autosave, since modules in the patch could hold handles to patch storage when clearing. 3 years ago
  Andrew Belt 2676883311 Reset autosave dir if template patch cannot be loaded. 3 years ago
  Andrew Belt f665e52811 Use stoll() on Windows to convert module patch storage name to int64_t. 3 years ago
  Andrew Belt d84847995e Save autosave patch on close in PatchManager instead of standalone adapter. 3 years ago
  Andrew Belt 9d3d1143ea When destroying patch (e.g. on close), dispatch onSave to all Modules so they save their patch storage, etc. 3 years ago
  Andrew Belt 1878e97e4c Serialize gridOffset of RackScrollWidget in patch. 3 years ago
  Andrew Belt 10067ceadc Add RackScrollWidget::getZoom/setZoom/getGridOffset/setGridOffset(). Serialize zoom in patch instead of settings. 3 years ago
  Andrew Belt 9ac54241fb Add patch:: namespace. 3 years ago
  Andrew Belt c50cafb271 Change user dir to Rack2. Remove "-v2" from user subdirs. 3 years ago
  Andrew Belt 094382778f Set JSON real precision to double (17 digits). 3 years ago
  Andrew Belt bcc22eba61 Add actions to ModuleWidget::createSelectionContextMenu(). Refactor RackWidget and ModuleWidget as necessary. 3 years ago
  Andrew Belt 6e9e5212e1 Automatically append .vcv and .vcvm extension to patches if the saved extension does not end with the correct extension. 3 years ago
  Andrew Belt c3ff43b6de Rename *Dir() functions to *Directory(), backtracking on a previous commit. 3 years ago
  Andrew Belt 2d3c9a42b8 Tweak tip texts. 3 years ago
  Andrew Belt 00eb16189b Use "directory/dir" terminology instead of "folder" except for UI text. 3 years ago
  Andrew Belt f3827c82c7 Add major version checking to library plugin update check. 3 years ago
  Andrew Belt 661fd3863d Add Module Save event. 3 years ago
  Andrew Belt 583530032f Move asset::pluginsPath, templatePath, and settingsPath to appropriate namespaces. 4 years ago
  Andrew Belt 2966cd57f7 Move asset::autosavePath to Patch. Add Module::createPatchStorageDir() and remove asset::module(). 4 years ago
  Andrew Belt 1971f2d79a Use "Untitled.vcv" as default patch filename. 4 years ago
  Andrew Belt ec14e18bec Remove PatchManager::isLegacy(). 4 years ago
  Andrew Belt f5bad0e20f Add hard-coded plugin/model slug fallbacks/aliases. Catch Exceptions from Module::fromJson(). 4 years ago
  Andrew Belt dbe843447b Remove useless line in PatchManager::saveDialog(). 4 years ago
  Andrew Belt 17416a7f5e Don't set "path" patch property if the path is unset. 4 years ago
  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. 4 years ago
  Andrew Belt 2a1bbf4ae3 Rename system::getRuntime() to getTime(). 4 years ago
  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 f3c8262183 Make Module always deserialize "id", "leftModuleId", and "rightModuleId". Due to this, make pasting and cloning modules delete these properties from the JSON before `fromJson()` is called. 4 years ago
  Andrew Belt 06c6590b51 Implement Module::ExpanderChangeEvent event trigger. 4 years ago
  Andrew Belt 14a1834348 Check for existence of module patch asset directory before iterating it in `Patch::cleanAutosave()`. 4 years ago
  Andrew Belt 3bdf4bf06c Take screenshot when patch is saved (Currently disabled). 4 years ago
  Andrew Belt 9430ed8a65 Clean up autosave directory of removed modules when saving a patch and closing. Check for magic number of Zstandard format to find out whether a patch is legacy pre-v2. 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 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 4 years ago
  Andrew Belt 0ded01c228 Add system::unarchiveToFolder() and archiveFolder(). Begin using `std::experimental::filesystem`. 4 years ago
  Andrew Belt 53cf78eb72 Add rough code to load/save patch to new autosave directory. 4 years ago
  Andrew Belt fdf85301c7 Fix compile issue on Windows by simplifying how recent patches are 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 1dcaf6c1bc Fix some segfaults when destroying environment. 5 years ago
  Andrew Belt 68a875bbca Improve clarity and modularity of PatchManager methods. 5 years ago