40 Commits (699a297534632d2d6095e694cb2a4ae1b0cb114b)

Author SHA1 Message Date
  Andrew Belt 45113452eb Stop writing to log if file exceeds 10 MB. 6 months ago
  Andrew Belt ba84d14467 If log file cannot be written, show error dialog and exit. On Mac, explain how to enable Document Folder permission and open System Settings before exit. 7 months ago
  Andrew Belt 1cd3b2c423 Flush logger even if using a file. 2 years ago
  Andrew Belt 54cc95ae46 Make all subsystems able to initialize and destroy multiple times. 3 years ago
  Andrew Belt 0a59d4aad3 Refactor logger. Require setting logger::logPath before initializing logger. 3 years ago
  Andrew Belt 583530032f Move asset::pluginsPath, templatePath, and settingsPath to appropriate namespaces. 3 years ago
  Andrew Belt 30f814b7ae Move asset::logPath to logger::path. 3 years ago
  Andrew Belt 8eb58fde2b Remove window reopen test. Add mutexes to logger init/destroy. 3 years ago
  Andrew Belt 5d5e63bacd Don't flush log file, just console output, when logging. 3 years ago
  Andrew Belt 2a1bbf4ae3 Rename system::getRuntime() to getTime(). 3 years ago
  Andrew Belt 790e1053cc Rename system::getTime() to getRuntime(). Add system::getUnixTime(). 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 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 b3095ff8df Disable stdout/stderr rerouting in logger. 4 years ago
  Andrew Belt 19bf21aa4b Redirect stdout and stderr to the log file so crashing libraries will log 4 years ago
  Andrew Belt a808849a26 Add function name to logger. 4 years ago
  Andrew Belt 120aafe6d3 Change order of includes to C++ standard headers, library headers, and local project headers. 4 years ago
  Andrew Belt f78d92fdaf Fix "Rack has crashed" message if Rack v1 crashed and Rack v2 was opened. 4 years ago
  Andrew Belt 72493c6b51 Fix reentrancy of logger. 4 years ago
  Andrew Belt b6f1191168 Make all environment init() functions re-entrant after calling destroy() if it exists. 4 years ago
  Andrew Belt 2edfb394aa Fix logger::isTruncated() segfault. 4 years ago
  Andrew Belt 8edf67b058 Add unused logger::isTruncated(). 4 years ago
  Andrew Belt 306e454f0c Use higher resolution clock for system::getNanoseconds() on Windows. 4 years ago
  Andrew Belt 5a45c26da6 Add system::getNanoseconds(). Use it instead of std::chrono. 4 years ago
  Andrew Belt dca30e2b53 Auto-format code with astyle. 5 years ago
  Andrew Belt 6163efdf13 Add log path to fatal signal handler dialog message. 5 years ago
  Andrew Belt 382f67a53e Add error message to stderr if cannot open log.txt file. 5 years ago
  Andrew Belt 696939069d Use <> instead of "" for include directive. 5 years ago
  Andrew Belt 2446756c54 Make settings a namespace instead of a global class. 5 years ago
  Andrew Belt 0309ad7323 Move devMode and headless to Settings. Unzip Fundamental even if plugins/Fundamental folder exists but it isn't loaded. 5 years ago
  Andrew Belt d2008677fe Add mutex to logger 5 years ago
  Andrew Belt f5601d2042 Work on toolbar, event context 5 years ago
  Andrew Belt 0dec45d970 Class-ify window, un-class-ify asset 5 years ago
  Andrew Belt cbed0cf7a1 Wrap asset state into new AssetManager class 5 years ago
  Andrew Belt 402f42a354 Add Context class for storing global state 5 years ago
  Andrew Belt 0e05e63dcb Rename asset::local to user, rename asset:global to system 5 years ago
  Andrew Belt 3644b1877e Clean up includes 5 years ago
  Andrew Belt 587f936a99 Move random to its own namespace, shuffle files around 6 years ago
  Andrew Belt 3fa78176e2 Move asset to its own namespace 6 years ago
  Andrew Belt bee6f658cf Move logger to its own namespace, add macros to macros.hpp 6 years ago