Commit Graph

438 Commits

Author SHA1 Message Date
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
Phillip Stephens 6902ba49be Merge pull request #11 from lioncash/make
General: Use std::make_unique where applicable
2019-09-05 23:11:54 -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
Phillip Stephens 5d80d7e81a Merge pull request #12 from lioncash/filebrowser
FileBrowser: Move constructor definition into cpp file
2019-09-05 19:30:47 -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
Phillip Stephens 0553faac37 Merge pull request #5 from lioncash/array
Icon: Use std::array where applicable
2019-09-01 11:03:50 -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
Phillip Stephens 8d55404785 Merge pull request #4 from lioncash/cmake
CMakeLists: Add source files directly to specter target
2019-08-30 16:28:25 -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
Phillip Stephens 5307ab4107 Merge pull request #2 from lioncash/override
General: Use override where applicable
2019-08-10 19:58:47 -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
Jack Andersen 0c45eb56c7 Better CMake dependency handling 2019-06-11 16:05:04 -10:00
Jack Andersen 285140426d Update zeus 2019-05-07 17:49:37 -10:00
Jack Andersen 7b5dce54af Fix compilation against libc++ 2019-04-06 19:03:23 -10:00
Jack Andersen 8ba5cf9a8b Add True and False tests for bitwise enums 2019-04-02 18:30:35 -10:00
Jack Andersen 9bb21b0b32 Update zeus 2019-03-23 22:06:47 -10:00
Jack Andersen 8ce7bdf2c9 Update zeus 2019-03-09 23:14:38 -10:00