]>
code.bitgloo.com Git - clyne/entityx.git/log
Alec Thomas [Mon, 5 May 2014 16:59:28 +0000 (12:59 -0400)]
1.0.0alpha1 release.
Alec Thomas [Sat, 3 May 2014 23:58:37 +0000 (19:58 -0400)]
Add -g to release builds.
Alec Thomas [Fri, 25 Apr 2014 18:21:27 +0000 (14:21 -0400)]
Verify destroyed event count is correct.
Alec Thomas [Fri, 18 Apr 2014 15:17:41 +0000 (11:17 -0400)]
Don't include entityx/Manager.h - it is no longer used.
Alec Thomas [Wed, 2 Apr 2014 13:16:41 +0000 (09:16 -0400)]
Doc updates.
Alec Thomas [Wed, 5 Mar 2014 08:04:40 +0000 (19:04 +1100)]
Use vector rather than unordered_map for event dispatching.
Alec Thomas [Wed, 5 Mar 2014 06:17:20 +0000 (17:17 +1100)]
Wrap component access in a ComponentHandle.
Alec Thomas [Tue, 4 Mar 2014 02:26:30 +0000 (13:26 +1100)]
Use TEST_CASE_METHOD rather than SECTION.
Alec Thomas [Tue, 4 Mar 2014 02:04:49 +0000 (13:04 +1100)]
Switch to Catch testing framework.
Alec Thomas [Sun, 2 Mar 2014 12:08:56 +0000 (23:08 +1100)]
Update README for 1.0.0.
Alec Thomas [Sun, 2 Mar 2014 11:49:41 +0000 (22:49 +1100)]
Use raw pointers for components, allocated from pools.
Alec Thomas [Sun, 2 Mar 2014 04:59:44 +0000 (15:59 +1100)]
Removed Manager. Add EntityX class. Largely eradicate use of shared_ptr.
Alec Thomas [Sun, 2 Mar 2014 01:58:57 +0000 (12:58 +1100)]
Fix visibility issue with gcc.
Alec Thomas [Sun, 2 Mar 2014 01:50:01 +0000 (12:50 +1100)]
Increase cache coherency.
Mainly achieved by allocating components in contiguous memory blocks.
This is a breaking change, thus the major version bump.
Jarrett Chisholm [Wed, 12 Feb 2014 01:17:46 +0000 (20:17 -0500)]
Fixed compile issues on Windows with Visual Studio 2013.
- Made compiler flags dependent on the compiler being used.
- Added check for clang to use the same compiler options as gnu g++
Alec Thomas [Thu, 23 Jan 2014 05:33:41 +0000 (21:33 -0800)]
Merge pull request #26 from hovatterz/pkg-config
Add pkg-config source file
Zack Hovatter [Sun, 19 Jan 2014 23:40:58 +0000 (17:40 -0600)]
Add pkg-config source file
Alec Thomas [Tue, 31 Dec 2013 04:19:40 +0000 (20:19 -0800)]
Merge pull request #22 from scott-linder/master
Added std::forward in order to respect move semantics in some methods.
scott-linder [Tue, 31 Dec 2013 00:33:17 +0000 (19:33 -0500)]
Added std::forward in order to respect move semantics in some methods.
Previously, calls to the methods assign<C>(...), emit<E>(...), and add<S>(...)
would fail if constructor arguments relied upon move semantics.
Alec Thomas [Wed, 25 Dec 2013 17:11:52 +0000 (09:11 -0800)]
Merge pull request #21 from scott-linder/master
Added entityx::make_ptr to mirror std::make_shared
scott-linder [Wed, 25 Dec 2013 03:42:03 +0000 (22:42 -0500)]
Added entityx::make_ptr to mirror std::make_shared
Alec Thomas [Sat, 21 Dec 2013 01:57:02 +0000 (20:57 -0500)]
Move Python support to https://github.com/alecthomas/entityx_python
Alec Thomas [Fri, 20 Dec 2013 05:24:01 +0000 (00:24 -0500)]
Event delivery to/from Python and C++.
Alec Thomas [Wed, 18 Dec 2013 04:46:43 +0000 (23:46 -0500)]
Fix unpack and entities_with_components with > 2 args.
Alec Thomas [Mon, 2 Dec 2013 20:10:00 +0000 (15:10 -0500)]
Add download instructions.
Alec Thomas [Mon, 2 Dec 2013 19:55:20 +0000 (14:55 -0500)]
Update docs, add step(dt) to Manager.
Fixes #19.
Alec Thomas [Fri, 29 Nov 2013 17:59:02 +0000 (12:59 -0500)]
Don't cap at ms.
Alec Thomas [Fri, 29 Nov 2013 17:47:51 +0000 (12:47 -0500)]
Merge no-boost into master.
This eradicates boost as a dependency for everything except the Python
integration, which may or may not work for now.
Alec Thomas [Fri, 29 Nov 2013 17:47:35 +0000 (12:47 -0500)]
Make benchmarks work.
Alec Thomas [Wed, 27 Nov 2013 18:08:12 +0000 (10:08 -0800)]
Merge pull request #18 from dustinfreeman/master
Fixed spelling in README.md
Dustin Freeman [Wed, 27 Nov 2013 16:56:26 +0000 (11:56 -0500)]
Fixed spelling in README.md
Depdendency -> Dependency
Antony Woods [Mon, 4 Nov 2013 09:09:28 +0000 (09:09 +0000)]
Moved stdlib=libc++ test into CMakeLists.txt. Made further modifications to README.md
Antony Woods [Mon, 4 Nov 2013 08:57:55 +0000 (08:57 +0000)]
Tidied up config.h.in to remove redundant guard - take two
Antony Woods [Mon, 4 Nov 2013 08:53:42 +0000 (08:53 +0000)]
Revert "Tidied up config.h.in to remove redundant guard"
This reverts commit
a5247cfd2a63ac4ef4820a61d43af0fb10f722ae .
Antony Woods [Fri, 1 Nov 2013 08:20:46 +0000 (08:20 +0000)]
Tidied up config.h.in to remove redundant guard
Antony Woods [Thu, 31 Oct 2013 09:01:02 +0000 (09:01 +0000)]
Line endings fix?
Antony Woods [Wed, 30 Oct 2013 08:41:08 +0000 (08:41 +0000)]
Normalize line endings
Antony Woods [Wed, 30 Oct 2013 08:38:58 +0000 (08:38 +0000)]
Resolved README merge conflict
Antony [Wed, 30 Oct 2013 08:30:12 +0000 (01:30 -0700)]
Merge pull request #1 from alecthomas/master
Merge changes from upstream
Alec Thomas [Wed, 30 Oct 2013 03:05:34 +0000 (23:05 -0400)]
Normalize line endings
Alec Thomas [Wed, 30 Oct 2013 02:54:18 +0000 (22:54 -0400)]
Add .gitattributes for line endings.
Antony Woods [Tue, 29 Oct 2013 18:25:31 +0000 (18:25 +0000)]
Tidying up and amending readme/changes
Antony Woods [Tue, 29 Oct 2013 08:40:31 +0000 (08:40 +0000)]
Removed boost namespace from tests so they compile
Antony Woods [Tue, 29 Oct 2013 08:36:33 +0000 (08:36 +0000)]
Fixed a compiler error with std::chrono::duration
Antony Woods [Wed, 16 Oct 2013 08:09:22 +0000 (09:09 +0100)]
Fixed invalid header in python files. Now using chrono instead of boost timer. Removed unnecessary ptr checks, as now shared ptr is mandatory. Updated Readme to reflect new changes. Updated travis file, just in case.
Antony Woods [Tue, 15 Oct 2013 23:17:05 +0000 (00:17 +0100)]
First pass at replacing boost with c++11 features
Alec Thomas [Mon, 14 Oct 2013 20:30:23 +0000 (16:30 -0400)]
Dependencies in README.
Antony Woods [Mon, 14 Oct 2013 20:03:04 +0000 (21:03 +0100)]
Initial commit
Alec Thomas [Mon, 14 Oct 2013 17:56:17 +0000 (13:56 -0400)]
README formatting tweaks.
Alec Thomas [Mon, 14 Oct 2013 17:53:41 +0000 (13:53 -0400)]
Fix bug in EntityManager::get.
Alec Thomas [Sat, 12 Oct 2013 17:07:53 +0000 (13:07 -0400)]
Allow creation of Entity::Id from uint64_t.
Alec Thomas [Fri, 4 Oct 2013 14:48:13 +0000 (10:48 -0400)]
Document dependency helper.
Alec Thomas [Fri, 4 Oct 2013 14:41:04 +0000 (10:41 -0400)]
Add `Dependency<C, D1, D2...>` System for automatic component
dependencies.
Alec Thomas [Wed, 2 Oct 2013 01:48:41 +0000 (21:48 -0400)]
Update README to match reality.
Alec Thomas [Thu, 5 Sep 2013 21:32:46 +0000 (17:32 -0400)]
Speed up iterator creation a bit by avoiding some copies.
Alec Thomas [Thu, 5 Sep 2013 21:16:11 +0000 (17:16 -0400)]
Fix stupid iteration bug.
Iteration would terminate at ID size() rather than capacity(),
where size() is the number of allocated entities. Depending on where
deleted entities were, this would likely miss entities at the end of
the allocated vectors.
Fixes #10.
Alec Thomas [Thu, 5 Sep 2013 00:51:18 +0000 (20:51 -0400)]
Add entityx/entityx.h
Alec Thomas [Wed, 4 Sep 2013 23:36:31 +0000 (19:36 -0400)]
Performance improvements + emitting events from Python.
David Wicks [Mon, 2 Sep 2013 20:04:51 +0000 (16:04 -0400)]
Added remove<C>() method for removal of components by type.
Along with this, there is a ComponentRemovedEvent<T> that is
delivered whenever a component is removed from an entity.
Alec Thomas [Thu, 29 Aug 2013 20:14:19 +0000 (16:14 -0400)]
Speed up iteration a bit.
Alec Thomas [Thu, 22 Aug 2013 22:38:14 +0000 (18:38 -0400)]
Switch from boost::signal to embedded Simple::Signal.
Alec Thomas [Thu, 22 Aug 2013 02:57:32 +0000 (22:57 -0400)]
Revert "Switch to boost::signals2."
Until I have the time to make the tests work.
This reverts commit
be03c3a3d4e8824c3b909648b46910b4cdbc72e1 .
Alec Thomas [Thu, 22 Aug 2013 00:34:10 +0000 (20:34 -0400)]
Switch to boost::signals2.
Alec Thomas [Mon, 19 Aug 2013 04:28:35 +0000 (00:28 -0400)]
Use README.md for Doxygen index.
Alec Thomas [Mon, 19 Aug 2013 04:15:27 +0000 (00:15 -0400)]
Fix build.
Alec Thomas [Mon, 19 Aug 2013 04:01:01 +0000 (00:01 -0400)]
Add Doxygen file.
Alec Thomas [Sun, 18 Aug 2013 15:33:27 +0000 (11:33 -0400)]
Destroying an entity correctly invalidates all other references.
Alec Thomas [Sun, 18 Aug 2013 00:43:48 +0000 (20:43 -0400)]
Clarify docs + dump test output on failure.
Alec Thomas [Sat, 17 Aug 2013 22:45:40 +0000 (18:45 -0400)]
Add changelog, clean up docs a bit.
Alec Thomas [Sat, 17 Aug 2013 03:53:44 +0000 (23:53 -0400)]
Add Python based scripting system (still experimental).
The build system has also been revamped considerably, with the ability
to select between std::shared_ptr and boost::shared_ptr, as well as
other improvements.
Alec Thomas [Tue, 4 Jun 2013 16:25:28 +0000 (12:25 -0400)]
Update documentation. Fixes #8.
Alec Thomas [Mon, 1 Apr 2013 15:51:29 +0000 (11:51 -0400)]
All Manager classes are now managed by smart pointers.
Alec Thomas [Wed, 3 Apr 2013 00:05:53 +0000 (20:05 -0400)]
Agh. .gitignore!
Alec Thomas [Tue, 2 Apr 2013 23:58:14 +0000 (19:58 -0400)]
Remove Components*, moved to tags/ in a previous change.
Alec Thomas [Mon, 1 Apr 2013 15:51:29 +0000 (11:51 -0400)]
Allow shared_ptr implementation to be selected.
Fixes #6.
Alec Thomas [Tue, 2 Apr 2013 04:19:30 +0000 (00:19 -0400)]
Add support for Travis-CI.
Also ditched glog.
Alec Thomas [Tue, 2 Apr 2013 03:41:51 +0000 (23:41 -0400)]
Include gtest (as per gtest recommendations).
See https://groups.google.com/forum/?fromgroups=#!topic/googletestframework/Zo7_HOv1MJ0
Alec Thomas [Sat, 30 Mar 2013 14:04:14 +0000 (10:04 -0400)]
Fix README.
Fixes #7.
Alec Thomas [Sun, 24 Mar 2013 17:56:01 +0000 (13:56 -0400)]
Remove unused flag that broke clang 3.x.
Fixes #5.
Alec Thomas [Wed, 20 Mar 2013 14:44:31 +0000 (07:44 -0700)]
Merge pull request #4 from larspensjo/gcc-static
gcc 4.7.2 doesn't allow static keyword in member function definition.
Lars Pensjö [Wed, 20 Mar 2013 06:11:27 +0000 (07:11 +0100)]
gcc 4.7.2 doesn't allow static keyword in member function definition.
Alec Thomas [Fri, 15 Mar 2013 03:26:47 +0000 (23:26 -0400)]
Make Component<T>::family() support > 64 components.
Alec Thomas [Fri, 15 Mar 2013 03:08:54 +0000 (23:08 -0400)]
Typedef bitset out.
Alec Thomas [Tue, 12 Mar 2013 04:05:29 +0000 (00:05 -0400)]
Use std::bitset, allowing for an arbitrary number of components.
Alec Thomas [Tue, 12 Mar 2013 03:05:54 +0000 (23:05 -0400)]
Improve documentation.
Alec Thomas [Tue, 12 Mar 2013 02:03:14 +0000 (22:03 -0400)]
Add some benchmarks.
Alec Thomas [Mon, 11 Mar 2013 06:53:40 +0000 (02:53 -0400)]
Use std::list for free list.
Alec Thomas [Mon, 11 Mar 2013 05:38:06 +0000 (01:38 -0400)]
Some breaking changes to Entity management.
- Entity will no longer implicitly cast to Entity::Id. This is safer
and cleaner.
- Use Entity::destroy(). This will destroy the entity *and* invalidate
the handle.
- Removed the exists() method, as it was largely meaningless anyway.
Listen to EntityDestroyedEvent instead.
- Exposed Entity::manager() and removed manager attribute from events.
Alec Thomas [Sun, 10 Mar 2013 17:29:43 +0000 (13:29 -0400)]
README formatting.
Lars Pensjö [Sun, 10 Mar 2013 01:00:06 +0000 (02:00 +0100)]
Two bugfixes in Entity.
Fix Entity::operator! and initialize Entity::id_ to invalid value by
default.
Add test to verify operator! and uninitialized Entity.
Suppress warnings about unused variables.
Alec Thomas [Sat, 9 Mar 2013 17:35:09 +0000 (12:35 -0500)]
Allow Entity objects to be copied around.
Note that this doesn't use shared_ptr, but this is little different
from the previous implementation using a reference.
Alec Thomas [Sat, 2 Mar 2013 18:30:55 +0000 (13:30 -0500)]
Remove unused variable. Update README.
Alec Thomas [Sat, 2 Mar 2013 17:58:29 +0000 (09:58 -0800)]
Merge pull request #2 from larspensjo/ReuseEntity
Bug in allocation of freed entities.
Lars Pensjö [Sat, 2 Mar 2013 14:33:11 +0000 (15:33 +0100)]
Added comment.
Lars Pensjö [Sat, 2 Mar 2013 14:26:31 +0000 (15:26 +0100)]
Entity allocation error fixed.
Need to save the id before erasing.
Lars Pensjö [Sat, 2 Mar 2013 14:23:10 +0000 (15:23 +0100)]
Add test for reusing an Entity.
This will lead to a crash.
Alec Thomas [Wed, 27 Feb 2013 21:14:53 +0000 (13:14 -0800)]
Merge pull request #1 from larspensjo/linux-gcc
Enable testing for Linux GCC.
Lars Pensjö [Wed, 27 Feb 2013 09:43:58 +0000 (10:43 +0100)]
Minor readme updates.
Add link to define POD.
Refer to entity instead of component.
Lars Pensjö [Wed, 27 Feb 2013 06:38:47 +0000 (07:38 +0100)]
Enable testing for Linux with gcc.
Resolve namespace std clash with boost.
struct NullDeleter can't be local.
Remove surplus ';'.
Lars Pensjö [Wed, 27 Feb 2013 06:10:03 +0000 (07:10 +0100)]
Update cmake conf for testing.
Suppress error from signed comparison in gtest.h (-Wno-error=sign-compare).
Suppress error from unused variables (-Wno-error=unused-but-set-variable).
Add cmake flag BUILD_TESTING to the cached variables.
When building for testing, the include path to GTest shall be added.