Commit Graph

426 Commits

Author SHA1 Message Date
Jack Andersen 81c5d40211 Update fmtlib 2020-04-11 12:50:38 -10:00
Jack Andersen 401f8b8ef5 Exclude CMake CXX standard from MSVC 2020-04-10 19:02:21 -10:00
Phillip Stephens 987c4bb297 Update zeus 2020-03-04 17:31:44 -08:00
Phillip Stephens 3dac8ad966 Update zeus 2020-03-03 16:48:53 -08:00
Phillip Stephens d5845d2b5e Update zeus 2019-12-10 20:50:02 -08:00
Jack Andersen 2a367df869 Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/specter 2019-09-30 21:32:32 -10:00
Jack Andersen 33fd0f2fd7 Switch to string compare operators 2019-09-30 21:32:06 -10:00
Phillip Stephens d884ccedf9 Update zeus 2019-09-21 05:46:47 -07:00
Phillip Stephens 349626ac93 Merge pull request #17 from lioncash/endian
FontCache: Specify athena endian types explicitly
2019-09-14 08:38:20 -07:00
Lioncash ed763a5b18 FontCache: Specify athena endian types explicitly
Allows this code to remain compilable if the enum is ever converted into
a strongly-typed enum.
2019-09-14 10:45:53 -04:00
Lioncash dbb44d20b9 FontCache: Be explicit about athena's SeekOrigin type
Allows this code to still function properly if the enum is turned into
an enum class.
2019-09-08 16:42:24 -04:00
Phillip Stephens 6af485d949 Update zeus 2019-09-06 23:32:22 -07:00
Phillip Stephens 30164a1e65 Update zeus 2019-09-05 23:15:14 -07:00
Lioncash 765c51776b General: Use std::make_unique where applicable
No behavior change.
2019-09-06 01:14:32 -04:00
Phillip Stephens 81beae5526 Merge pull request #13 from lioncash/move
FontCache: Make filters non-allocating
2019-09-05 19:32:59 -07:00
Phillip Stephens c32c8d0a91 Merge pull request #14 from lioncash/emplace
General: Use emplace_back's return value where applicable
2019-09-05 19:31:35 -07:00
Phillip Stephens d773925fde Merge pull request #15 from lioncash/unused
General: Remove unused file-scope variables
2019-09-05 19:31:15 -07:00
Lioncash 909e7d69ee General: Remove unused file-scope variables
Removes unused logvisor modules. This also allows removing some
inclusions. Silences a few unused variable warnings as well.
2019-09-05 20:16:38 -04:00
Lioncash 4e71b955f6 General: Replace loop with resize where applicable
Instead of default constructing in a loop for std::vector, we can just
use resize or its size constructor to do the same thing.
2019-09-05 20:03:04 -04:00
Lioncash fa56ba5db6 General: Use emplace_back's return value where applicable
emplace_back() returns a reference to the added element, so we can use
that instead of querying right after the emplacement.
2019-09-05 19:44:48 -04:00
Lioncash 5c54fd73a1 FontCache: Make filters non-allocating
Avoids the creation of three allocating static constructors that run
during program start.
2019-09-05 19:22:29 -04:00
Lioncash b25cfdd305 FontCache: Default destructor within the cpp file
Avoids potentially inlining a lot of repeated destruction logic. This
also allows the class to play nicer with forward declarations.

While we're at it, we can also explicitly delete the move
assignment/constructor (previously they were implicitly deleted, given
the class contains a const reference).
2019-09-05 19:08:47 -04:00
Lioncash ba7a48764d FileBrowser: Move constructor definition into cpp file
Avoids requiring hecl.hpp to be included within the header.
2019-09-05 18:57:25 -04:00
Phillip Stephens 8ff9e028c7 Merge pull request #10 from lioncash/inc
General: Add necessary includes where applicable
2019-09-05 01:08:43 -07:00
Lioncash 5beb046f9e General: Add necessary includes where applicable
As part of the changes within hecl, this exposed a few indirect
inclusions. We can simply include the headers to resolve these cases.
2019-09-05 00:51:24 -04:00
Phillip Stephens d65fec7e2b Update zeus 2019-09-04 19:36:06 -07:00
Phillip Stephens 303b349e01 Merge pull request #9 from lioncash/clamp
ModalWindow: Migrate from zeus::clamp to std::clamp
2019-09-03 23:25:30 -07:00
Phillip Stephens acc39c3852 Update zeus 2019-09-03 23:10:37 -07:00
Lioncash ba2e7b22a9 ModalWindow: Migrate from zeus::clamp to std::clamp
Migrates to standard library facilities.
2019-09-03 16:52:54 -04:00
Phillip Stephens 8eef6471f2 Update zeus 2019-09-01 11:07:32 -07:00
Phillip Stephens 656ccd1e6c Merge pull request #8 from lioncash/compliance
CMakeLists: Add standard-compliance flags for MSVC
2019-09-01 11:04:18 -07:00
Phillip Stephens 943ed265d0 Merge pull request #7 from lioncash/logname
Toolbar: Correct log module name
2019-09-01 11:04:08 -07:00
Phillip Stephens 953e1a0270 Merge pull request #6 from lioncash/view
View: Add load() overload for arbitrary containers
2019-09-01 11:03:59 -07:00
Lioncash 8073b3ea62 CMakeLists: Add standard-compliance flags for MSVC
Enforces standard compliant behavior capable by MSVC.
2019-09-01 02:46:23 -04:00
Lioncash b0c865ba81 Toolbar: Correct log module name
This isn't the space-related code, so we can amend this.
2019-09-01 02:38:00 -04:00
Lioncash eefcbb5340 View: Add load() overload for arbitrary containers
We can utilize this to allow for transitions to other container types
while retaining support for C-style arrays (e.g. We can seamlessly
transition over to std::array).
2019-09-01 02:18:00 -04:00
Lioncash b2e45e28fa View: Implement load() in terms of the other
Same thing, but with less code duplication.
2019-09-01 01:20:24 -04:00
Lioncash 532e6909f3 Icon: Use std::array where applicable 2019-09-01 00:51:05 -04:00
Lioncash 462d2bb8fa Icon: std::move ObjToken instances where applicable
Allows the callers to move the token instance into the type if able to,
allowing avoiding an unnecessary atomic reference count increment and
decrement.
2019-09-01 00:42:34 -04:00
Phillip Stephens 33a6e07e7a Merge pull request #3 from lioncash/include
General: Include headers where applicable
2019-08-30 16:28:37 -07:00
Lioncash 98949ab494 CMakeLists: Add source files directly to specter target
Same thing, but without the need for separate variables.
2019-08-30 10:00:53 -04:00
Lioncash 21dece5b1e General: Include headers where applicable
Ensures necessary dependencies are always included where applicable, as
well as avoiding including dependencies where they aren't necessary.
2019-08-30 09:54:26 -04:00
Phillip Stephens 50a7f7a860 Fix compiling with update boo 2019-08-18 12:42:19 -07:00
Lioncash a18c188f70 General: Use override where applicable
Continues the override modernizations, this time, addressing the specter
target.
2019-08-10 06:31:33 -04:00
Jack Andersen bce7fd23c7 Windows build fixes 2019-07-27 15:21:11 -10:00
Jack Andersen 7dede77b39 Update zeus 2019-07-20 22:42:43 -10:00
Jack Andersen 70ce423d00 Compile-time locale refactor 2019-07-19 18:26:59 -10:00
Phillip Stephens afb1162c43 Compile fixes 2019-06-20 15:45:11 -07:00
Jack Andersen e1e920987f Asynchronous shader compilation 2019-06-15 20:25:18 -10:00
Jack Andersen 106f7b8039 Update zeus 2019-06-14 14:39:11 -10:00