- 28 Aug, 2012 4 commits
-
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
... just for clarity that the length comes first, and that this is not some zero terminated buffer.
-
Mukund Sivaraman authored
-
Mukund Sivaraman authored
-
- 27 Aug, 2012 7 commits
-
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
and tested for both versions.
-
JINMEI Tatuya authored
-
Mukund Sivaraman authored
-
- 23 Aug, 2012 3 commits
-
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
- 22 Aug, 2012 10 commits
-
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
it will primarily be used for tests in this ticket, but I expect we'll need them in the main code in later tasks.
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
copied (with some modification) object holder and test memory segment from #2100. They should be unified when this branch and #2100 are merged.
-
- 21 Aug, 2012 6 commits
-
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
also now make sure all linked RdataSets are released.
-
JINMEI Tatuya authored
...instead of give its type as a class template parameter and instantiate it within the tree. it won't work (well) for ZoneData, because we need to know the RR class to delete RdataSet (which is the data type for ZoneData tree), but there's no way to tell the RR class about it. A good side effect of this change is that we now don't have to link the memory segment for the tree and its nodes with the zone data (although in practice it's quite likely to use the same segment for all of them). I also updated setData() (further from #2100); it now doesn't even delete any existing data. This is partly relaetd to the above change on deleter - we cannot instantiate the deleter within this method. We could pass the deleter as a parameter, but, actually, in the case of ZoneData we wouldn't have to delete the data; when setData() encounters existing data, it's more likely that ZoneData tries to extend the RdataSet list. It makes more sense to let ZoneData manage all data, including when to delete them. (although not absolutely necessary) I also changed the type of deleter in the domain tree test to highlight we could use a plain old function instead of a functor object. change size is big, but most of the changes are trivial conversion from something like <T, DT> to <T>.
-
JINMEI Tatuya authored
so we can reuse the same data for each fixture.
-
JINMEI Tatuya authored
added getOrigiNode() to get access to the origin node.
-
- 20 Aug, 2012 4 commits
-
-
JINMEI Tatuya authored
so I can use the LabelSequence objects in EXPECT_EQ(). also fixed a minor error in doxygen comment in equals().
-
JINMEI Tatuya authored
right now, only simple create/destry are supported (and they are not 100% safe yet).
-
JINMEI Tatuya authored
not directly related to this branch, but we'll eventually need this. the change is purely local to the domaintree.h; no need to update tests.
-
JINMEI Tatuya authored
-
- 17 Aug, 2012 1 commit
-
-
Mukund Sivaraman authored
-
- 16 Aug, 2012 5 commits
-
-
Jeremy C. Reed authored
-
JINMEI Tatuya authored
-
Jeremy C. Reed authored
discussed via jabber
-
Jeremy C. Reed authored
noted on jabber
-
Jeremy C. Reed authored
Some review on jabber. If necessary, jelte can update later.
-