Commit graph

6722 commits

Author SHA1 Message Date
Alistair Riddoch
c524e13751 Add some class doc strings 2013-03-10 18:52:09 +00:00
Alistair Riddoch
386a56cb1a Doc strings are better not in the header. 2013-03-10 18:36:43 +00:00
Alistair Riddoch
ce25c43957 Improve comments 2013-03-10 08:03:52 +00:00
Alistair Riddoch
36d5096915 Cover the two different kinds of PropertyFactory 2013-03-10 00:55:49 +00:00
Alistair Riddoch
e19c92c6ee Move stub class definition to the stubs 2013-03-10 00:48:38 +00:00
Alistair Riddoch
cc34596467 Cover the new method 2013-03-10 00:46:40 +00:00
Alistair Riddoch
d900d930f8 Add a test for ScriptPropertyFactory 2013-03-10 00:43:54 +00:00
Alistair Riddoch
124d62caf7 Add to property factory to allow scripting 2013-03-09 19:23:26 +00:00
Alistair Riddoch
dba9a12c10 Add code to handle a script in a property def 2013-03-05 23:18:06 +00:00
Alistair Riddoch
3cef632e7b Merge branch 'master' of github.com:worldforge/cyphesis 2013-03-04 15:37:50 +00:00
Alistair Riddoch
343d21a64e Eliminate a compiler warning. 2013-03-04 11:39:34 +00:00
Alistair Riddoch
86fc718c9f Remove completed item 2013-03-04 10:36:33 +00:00
Alistair Riddoch
ce45ef54e2 Add a check ensuring tasks duplicates don't overwrite 2013-03-04 00:51:47 +00:00
Alistair Riddoch
55b1d7fe1b Check installFactory works. 2013-03-03 23:38:37 +00:00
Alistair Riddoch
79c65603aa Use insert instead of [] 2013-03-03 23:37:30 +00:00
Alistair Riddoch
2fe47b1f31 Add test to ensure duplicate doesn't clash 2013-03-03 23:35:03 +00:00
Alistair Riddoch
7a424cc0e0 Fix formatting and scopes 2013-03-03 23:19:39 +00:00
Alistair Riddoch
450a1a4483 Centralise setup and teardown 2013-03-03 23:16:44 +00:00
Alistair Riddoch
1c5333912b Add example properties 2013-03-03 23:16:26 +00:00
Alistair Riddoch
145b1efeb8 Break down the test into discrete functions 2013-03-03 23:04:15 +00:00
Alistair Riddoch
9c584b2f94 Make test setup as similar as possible 2013-03-03 22:55:15 +00:00
Alistair Riddoch
3f9d0fb99c Make the test a friend, removing test subclass 2013-03-03 22:48:04 +00:00
Alistair Riddoch
409cb3f579 Restructure to run using framework 2013-03-03 22:37:11 +00:00
Alistair Riddoch
b0f901df7f Remove completed item 2013-03-03 22:20:12 +00:00
Alistair Riddoch
ced0061786 Add a check for modifying parent 2013-03-03 22:17:57 +00:00
Alistair Riddoch
ead87000bc Remove completed item 2013-03-03 22:13:06 +00:00
Alistair Riddoch
21ed4a778f Remove unused variable 2013-03-03 14:00:56 +00:00
Alistair Riddoch
58acb15154 Use new template for properties, and rename some
Properties must now be strictly in the same namespace as other definitions,
so I had to rename a few.
2013-03-01 21:52:09 +00:00
Alistair Riddoch
434d177256 Rename "area" class to "region"
This makes a little more sense in the semantics, and avoids the collision
now that properties are in the same namespace.
2013-03-01 21:30:03 +00:00
Alistair Riddoch
92518c6e5e Remove obsolete methods 2013-03-01 21:21:05 +00:00
Alistair Riddoch
c5f774e5be Add a todo note 2013-03-01 21:19:16 +00:00
Alistair Riddoch
7b78c202cf Improve error messages 2013-03-01 21:19:04 +00:00
Alistair Riddoch
1fdb2dc668 Ensure class description can't have its parents changed 2013-02-28 23:58:03 +00:00
Alistair Riddoch
6568c16da8 Remove completed item 2013-02-28 23:08:59 +00:00
Alistair Riddoch
f7e12a4e72 Add checks to esnure addChild won't crash 2013-02-28 23:08:31 +00:00
Alistair Riddoch
bab8931ead Remove typedefs for OpNo 2013-02-28 15:40:32 +00:00
Alistair Riddoch
e9cb84388a Stop using OpNo here too 2013-02-28 15:39:59 +00:00
Alistair Riddoch
e89ae282f6 Stop using OpNo typedef 2013-02-28 15:27:54 +00:00
Alistair Riddoch
8054110769 Remove unused include 2013-02-28 09:15:05 +00:00
Alistair Riddoch
c35c8b8f46 Remove unused include 2013-02-28 09:09:44 +00:00
Alistair Riddoch
f9d78b78fe Add another note 2013-02-27 22:22:11 +00:00
Alistair Riddoch
d93b907aa2 Remove opInstall
The only purpose was to support opEnumerate
2013-02-27 22:21:36 +00:00
Alistair Riddoch
be57b1dcd6 Remove opEnumerate
This function was used to transition from Atlas-C++ 0.4 to 0.6.
It is no longer used at all, as operations have an integer type.
2013-02-27 22:12:09 +00:00
Alistair Riddoch
4918dc9454 Clean up Inheritance unit test 2013-02-27 22:02:55 +00:00
Alistair Riddoch
6225ba238a Add notes about Inheritance 2013-02-27 21:40:08 +00:00
Alistair Riddoch
e87d1af0c0 Improve error messages. More detail required. 2013-02-26 08:46:09 +00:00
Alistair Riddoch
dae2cfcb5a Correct the name of the template param 2013-02-23 01:01:21 +00:00
Alistair Riddoch
88ebf48378 Add Property specialisation for List 2013-02-23 01:00:07 +00:00
Alistair Riddoch
2ec1979045 Fix a typo 2013-02-22 23:48:52 +00:00
Alistair Riddoch
5e877ad95c Add concise template for internal properties 2013-02-22 23:46:49 +00:00