Michal 'vorner' Vaner
29f876f895
[1715] Implement the missing unset method
...
The underlying implementation is already there, it's just somebody
forgot to wrap it in this another layer of indirection class.
2012-03-27 13:52:51 +02:00
Michal 'vorner' Vaner
17ab7fae73
[1715] Tests for the unset method
...
The method is clearly missing, that's why the command fails. Creating
tests for when the method exists.
2012-03-27 13:52:51 +02:00
Michal 'vorner' Vaner
21b1adb387
[1715] Test the unset command
...
It's shocking how much is not tested here. No surprise the missing
command was not discovered. Still, not adding tests for the others,
they'd probably fail and it would make the ticket a lot bigger.
2012-03-27 13:52:51 +02:00
Jelte Jansen
6600a2c298
[master] update changelog for merge of #1172
2012-03-26 11:33:13 +02:00
Jelte Jansen
bec26c6137
[master] Merge branch 'trac1172'
2012-03-26 10:44:21 +02:00
Mukund Sivaraman
91071d03e1
[master] Update .gitignore
2012-03-26 11:56:40 +05:30
JINMEI Tatuya
da7f88d1c1
[master] fix indentation consistency in ChangeLog.
2012-03-23 16:47:51 -07:00
JINMEI Tatuya
4fbbae439b
[master] noteed RBTree::nodeFission should preserve the current node's name.
...
This will help at the phase of revisiting the design/implementation.
2012-03-23 14:02:13 -07:00
JINMEI Tatuya
bbeaed010f
[master] Merge branch 'trac1775'
2012-03-23 13:45:33 -07:00
JINMEI Tatuya
012688738d
[master] changelog for #1688
2012-03-23 13:43:26 -07:00
JINMEI Tatuya
b77baca56f
[master] Merge branch 'trac1688'
2012-03-23 13:24:21 -07:00
Mukund Sivaraman
b41d5a89cc
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
2012-03-23 17:18:54 +05:30
JINMEI Tatuya
868ecf0717
[1775] ensure wildcard expanded RRsets are considered of same kind if they are.
...
in the previous version, if one is returned from find() and the other is
from getAdditional() they are not recognized as of the same kind, because
the underlying pointers are different.
2012-03-22 16:35:40 -07:00
JINMEI Tatuya
475284be04
[1775] cleanup: make sure wildcard and glue don't coexist.
...
findNode() should have ensured that, so assert() is used for this.
2012-03-22 15:04:17 -07:00
JINMEI Tatuya
0eaac383a1
[1775] handled corner cases with wildcard expansion: empty or multiple nodes.
...
The previous version crashes if the wildcard node is empty. Also, the
previous version didn't work well if there were multiple wildcard matches
because the auxiliary tree changes as we add more nodes and stored
pointer can become invalid. The fix to this issue is a bit complicated;
I needed to make the process two-stage.
2012-03-22 14:52:49 -07:00
JINMEI Tatuya
953d4bcf1e
[1688] (unrelated cleanup) make RESERVE_RRSETS a private member of Query class.
...
This will prevent it from causing definition bloat even if the linkder
doesn't combine the constant def. It would also make more sense to make
it inaccessible from others anyway, because it's basically an
implementation-internal constatnt.
2012-03-22 10:13:04 -07:00
JINMEI Tatuya
50795e2155
[1688] use referene, rather than making a local copy, for a const vector.
2012-03-22 10:11:05 -07:00
JINMEI Tatuya
46f937392e
[1688] removed a redundant newline
2012-03-22 10:10:24 -07:00
JINMEI Tatuya
3dae428408
[1688] use sstream, not iostreaam, for ostringstream. also reordered headers.
2012-03-22 10:08:05 -07:00
JINMEI Tatuya
7713b14700
[1688] removed an (now) unused header file. also reordered headers.
2012-03-22 10:03:49 -07:00
Jelte Jansen
fda8ee0de5
[1172] fix the cmd parser list index problem
...
make the initial if>2 part of the while
also add a space when glueing extraneous arguments together
2012-03-22 15:17:28 +01:00
Mukund Sivaraman
43b5b82359
[master] Change log file maxsize setting in the BIND 10 guide example
2012-03-22 19:26:03 +05:30
Vaclav Haisman
c5a9c69b1e
bug #1825 : Don't use log4cplus macros which are going to be obsolete soon
...
LOG4CPLUS_OPEN_MODE_TYPE and LOG4CPLUS_FSTREAM_NAMESPACE are going to be
removed in log4cplus 1.1.0 according to the bug report.
2012-03-22 19:26:03 +05:30
haikuo zhang
3c89c290c7
[1680] update changlog entry for this ticket.It is 2 weeks ago
...
that this ticket merged into master.
2012-03-22 21:53:23 +08:00
Jelte Jansen
1448f69f1c
[master] Merge branch 'trac1293'
2012-03-22 14:13:16 +01:00
Mukund Sivaraman
e00a4d69a4
[master] Add another .gitignore rule
2012-03-22 18:38:25 +05:30
Mukund Sivaraman
51b3f091d6
bug #1728 : Add -avoid-version in some more places
2012-03-22 18:34:14 +05:30
Mukund Sivaraman
652ae9e92f
bug #1728 : Set LD_LIBRARY_PATH on OpenBSD as well
2012-03-22 18:34:06 +05:30
Mukund Sivaraman
ba9dcb416a
master: Fix AC_LANG_SOURCE warnings from automake
2012-03-22 18:33:58 +05:30
Mukund Sivaraman
c6d6f765fa
bug #1728 : Add -avoid-version to LDFLAGS for Python modules (contd.)
2012-03-22 18:33:50 +05:30
Mukund Sivaraman
927397a769
bug #1728 : Add -avoid-version to LDFLAGS for Python modules
2012-03-22 18:33:41 +05:30
Jeremy C. Reed
54c1a257f7
[master]Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
2012-03-22 07:55:10 -05:00
Jeremy C. Reed
2482bf2363
[master] document Xfrout notify command.
...
And remove the now renamed/removed internal only zone_new_data_ready
command.
Regenerate nroff file too (which includes
No new changelog entry. This goes with changelog entry 402.
Somewhat discussed on jabber. Didn't get consensus on one sentence,
but that can always be clarified later.
2012-03-22 07:50:50 -05:00
JINMEI Tatuya
40d727bf4c
[1775] use a template to share the same code for const/non cost of findNode.
...
we can then avoid const_cast.
2012-03-22 01:49:24 -07:00
JINMEI Tatuya
d3e876aacd
[1775] added some more notes about the property of the aux wildcard tree.
2012-03-22 00:30:27 -07:00
JINMEI Tatuya
af816ab1e0
[1775] added an assertion check for NULL pointer.
...
this shouldn't happen based on the RBTree API contract, but some versions
of cppcheck reportedly complain about this.
2012-03-22 00:21:24 -07:00
JINMEI Tatuya
6f8e187c1b
[1688] re-enabled lettuce tests that failed due to missing dup suppression.
...
note: there's an error in the test description itself. In "7.2.2 other",
the result should be NOERROR, not NXDOMAIN, because it should match
*.w.example (BIND 9 indeed returns NOERROR, for that matter). I fixed
this, then all tests passed.
2012-03-21 23:54:04 -07:00
JINMEI Tatuya
e70bd3ba8f
[1688] removed redundant duplicate check for NSECs.
2012-03-21 23:41:09 -07:00
JINMEI Tatuya
a6d9e2bc94
[1688] use BOOST_FOREACH instead of dedicated for loops.
...
this could be slightly more efficient because it avoids redundant calls
to vector::end(). In my experiments I actually didn't see much difference,
but it doesn't harm anyway.
2012-03-21 23:33:23 -07:00
JINMEI Tatuya
4ad96ab57e
[1688] suggested reorg: merge response building to the inserter class.
...
that way we don't have to expose mutable member variables of `Query`.
now the responsibility of the "inserter" is enlarged, also renamed it
to represent the new job more appropriately.
2012-03-21 21:45:00 -07:00
JINMEI Tatuya
847525d5ac
[1688] additional test case of duplicate in the same section.
...
the implementation already correctly handles this, so no need to update it.
2012-03-21 21:40:19 -07:00
JINMEI Tatuya
fd5a4de548
[1688] suggested cleanup: use vector::insert instead of copy().
...
also avoid referring to an invalid range of iterator with operator+; use
end() instead (although the original code was probably safe at least in
practice).
2012-03-21 21:06:52 -07:00
JINMEI Tatuya
826ac1a139
[1688] some more trivial cleanups: long line, comment wording, simplification.
2012-03-21 14:44:32 -07:00
JINMEI Tatuya
c0f704fc09
[1688] editorial fixes/cleanups: folded long line, naming convention, constify.
...
also removed "addRRset" utility from rbnode_rrset_unittest, which seems to
be a leftover from an intermediate version (and isn't used anyway)
2012-03-21 13:58:50 -07:00
JINMEI Tatuya
5110dd59de
[master] fill in TBD for the git hash of #1727
...
Also removed the garbage '?' mark. It appears I accidentally committed/pushed
the proposed entry to master...so this is just for cleanup.
2012-03-21 11:58:13 -07:00
JINMEI Tatuya
23f9c3670b
[master] Merge branch 'trac1727'
2012-03-21 11:46:47 -07:00
Mukund Sivaraman
a06071b1dc
bug #1639 : Update ChangeLog
2012-03-21 23:32:23 +05:30
Jeremy C. Reed
6784b5dbb0
[master] change DATASRC_QUERY_NO_ZONE from INFO to DEBUG
...
using debug level of 40 for now.
This is for ticket #1102 .
Also clarify the log description.
No changelog entry.
Discussed some on jabber.
2012-03-21 09:54:39 -05:00
Jelte Jansen
f2594b4779
[1293] update ZONEMGR_UNKNOWN_ZONE_FAIL description
2012-03-21 15:54:33 +01:00
Jelte Jansen
f6c1593309
[1172] better printing of command help
...
- don't reorder output based on mandatoriness
- copy 'item_description' field from spec file as well
2012-03-21 12:09:33 +01:00