Commit Graph

51 Commits

Author SHA1 Message Date
Phillip Stephens 2f0febba27
Blender 3.0 fixes 2022-01-02 19:25:25 -08:00
Luke Street 2c79d64978 Stop trying to make <ranges> happen, it's not going to happen 2021-10-25 22:34:20 -04:00
Luke Street 396ebde5fd hecl: Only include <ranges> on Windows 2021-10-25 19:35:09 -04:00
Luke Street 78f8716150 Fix macOS/Linux issues
- Fixes png lib becoming undefined on macOS
- Auto-detect macports png/Qt paths
- Fixes typos
- Workaround for AppleClang/fmt bug
2021-06-30 16:27:53 -04:00
Luke Street 9ca1a38171 Use UTF-8 exclusively internally
This removes SystemString, SystemChar, etc.
All filepaths and log strings are assumed to be UTF-8,
with conversions to UTF-16 for Windows APIs as appropriate.

Updates amuse, athena, boo, kabufua and nod
2021-06-30 14:20:45 -04:00
Luke Street e66bc80c49 Fix -Wstringop-truncation issues 2021-04-05 13:29:41 -04:00
Jack Andersen 6a8714c1f3 Update fmtlib 2020-04-11 12:48:11 -10:00
Jack Andersen 8a73a8ee48 Code style improvements 2019-09-30 21:23:35 -10:00
Lioncash 6968f8a301 hecl/hecl: Use nullptr where applicable 2019-08-24 16:14:59 -04:00
Lioncash e5a0d657b3 hecl/hecl: Remove pointer casts from GetTmpDir()
We can just make the pointers point to const data, eliminating the need
to cast away const.
2019-08-24 16:04:30 -04:00
Lioncash 40b2e3edde hecl/hecl: Dehardcode sizes where applicable
Queries the source arrays for the size instead of replicating it
elsewhere.
2019-08-24 16:00:49 -04:00
Lioncash 0a6edbad2c hecl/hecl: Tidy up GetSystemLocations()
Converts a define into a constexpr variable, also joins declarations
with assignments where applicable.
2019-08-24 16:00:44 -04:00
Lioncash bc7a6563cf hecl/hecl: Simplify SetThreadRes() 2019-08-24 15:36:35 -04:00
Lioncash 32fec587b5 hecl/hecl: Collapse InProgress() into std::any_of()
Same thing, more straightforward.
2019-08-24 15:32:18 -04:00
Lioncash e96eb4cac6 hecl/hecl: Include relevant headers
Ensures the translation unit includes exactly what it needs.
2019-08-24 15:28:54 -04:00
Lioncash 5e98cb139a hecl/hecl: Convert std::string/std::wstring to views
Gets rid of two static constructors.
2019-08-24 15:23:57 -04:00
Lioncash 7088235bc4 hecl: Correct fmt formatting specifiers
These should be using {}-style formatting specifiers instead of printf
style. While we're at it, std::move the std::string instances where
applicable to potentially avoid reallocations.
2019-08-24 03:21:16 -04:00
Phillip Stephens e691b95cbf Merge pull request #15 from lioncash/file
hecl/hecl: Introduce FopenUnique
2019-08-21 23:16:25 -07:00
Lioncash fb9e4df372 hecl: Make use of FopenUnique
Makes use of the introduced API function to eliminate the need to
explicit fclose FILE* instances.
2019-08-22 01:16:48 -04:00
Lioncash 82109b785d General: Make use of lock deduction guides
Allows dehardcoding the type within the locks.
2019-08-21 17:01:03 -04:00
Jack Andersen 7b05b41d34 Windows build fixes 2019-07-27 15:19:48 -10:00
Jack Andersen 6988f86672 Massive fmtlib refactor 2019-07-19 18:22:58 -10:00
Jack Andersen 4fa1a2f3b7 Fixes for ANCS cooking 2019-06-14 14:37:53 -10:00
Jack Andersen 387f8fa864 Blender Python API updates and better CMake dependency handling 2019-06-11 16:01:19 -10:00
Jack Andersen 1f04f7ae12 Add closefrom call to RunProcess 2019-02-26 19:13:19 -10:00
Jack Andersen fc40190933 Implicit switch fallthrough refactor 2019-02-17 19:44:46 -10:00
Jack Andersen 72193079ae New code style refactor 2018-12-07 19:18:42 -10:00
Jack Andersen 61a50aa57e Windows sync fixes for API changes 2018-10-14 10:09:15 -10:00
Jack Andersen 77f814192e Windows build fixes 2018-05-24 20:34:58 -10:00
Jack Andersen f546400cc1 Update boo 2018-01-21 12:03:48 -10:00
Phillip Stephens 0e4310903d Update boo; Add initial GUI mode support 2017-12-15 18:13:20 -08:00
Jack Andersen 559096feeb UWP support 2017-12-05 17:22:31 -10:00
Jack Andersen 4111d49d64 string_view refactor 2017-11-12 20:13:53 -10:00
Jack Andersen a3b9a32633 Remaining object tracker platforms 2017-11-05 20:56:17 -10:00
Jack Andersen 5e99ee1d95 Minor improvements 2017-10-25 19:37:15 -10:00
Jack Andersen 6b4351d689 Missing #include for linux 2017-02-25 16:42:57 -10:00
Jack Andersen 89f216d94f Add hecl::PathRelative() 2017-02-24 21:58:36 -10:00
Jack Andersen 8c3a7da616 Updates to support VISI generation 2017-02-23 22:27:07 -10:00
Jack Andersen ae9b2309cf Add RecrusiveMakeDir 2017-02-03 17:45:39 -10:00
Phillip Stephens c840625080 Add Char16ToWide helper function 2017-01-23 23:55:26 -08:00
Jack Andersen b8abd466dd char16_t formatting support 2017-01-23 21:40:09 -10:00
Phillip Stephens c4ee610169 Fix stack related crash in getGlobResults 2017-01-01 15:19:03 -08:00
Jack Andersen 77c3d1e184 BlenderConnection stability improvements for Windows 2016-12-25 12:15:31 -10:00
Jack Andersen aa408ccfec Move LTO-problematic definitions out of header 2016-10-10 15:21:15 -10:00
Jack Andersen d307e645b1 Remove unnecessary and RVO-detrimental moves 2016-10-02 18:39:10 -10:00
Jack Andersen ae348f111b use of reliable constant rather then iffy macro 2016-09-29 17:32:24 -10:00
Jack Andersen f6428c9407 Glob path fixes 2016-09-20 19:41:06 -10:00
Jack Andersen 6de25c1d1d Refinements to avoid bad level linkages 2016-09-18 13:46:49 -10:00
Jack Andersen 719c62f09f Add ResourceLock for detecting parallel resource collisions 2016-08-11 16:33:03 -10:00
Jack Andersen 037404c5ff Function-scope statics aren't as efficient as file-scope ones 2016-04-14 17:24:51 -10:00