2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 13:37:55 +00:00
Commit Graph

9667 Commits

Author SHA1 Message Date
Jelte Jansen
b91bb9719f [963] fix type in b10-dbutil manpage source 2012-03-23 13:53:10 +01: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
Jelte Jansen
2c0a8fc3bf [963] improve exit status
0 on success (or upgrade aborted by user)
1 on check and need update
2 on check and version of db too high
3 on command-line error
4 on db read error
5 on upgrade error
2012-03-23 12:19:59 +01:00
Jelte Jansen
b204a39d5b [963] fix run_dbutil.sh script to not change cwd
with this change, you can pass run_dbutil.sh a relative path name for the db file
2012-03-23 11:37:44 +01:00
Jelte Jansen
0f487a9980 [963] fix b10-dbutil.8 creation rule add it to git 2012-03-23 11:29:09 +01:00
JINMEI Tatuya
dfd2aeefef [1579] more editorial and style (guideline) fixes 2012-03-22 17:52:23 -07:00
JINMEI Tatuya
1c57fb2350 [1579] more editorial fixes 2012-03-22 17:52:10 -07:00
JINMEI Tatuya
8c55200c17 [1579] constified is_nsec3 2012-03-22 17:35:07 -07:00
JINMEI Tatuya
ae40f56b7e [1579] suggested change for an awkward comment line:
- s/NSEC3PARAMETER/NSEC3PARAM/
- "definitely" is too strong in this context
- add a space after a comma
- "zonefile" is awkward (there's no "zonefile" in this context)
- "NSEC3 method" is an awkward term
- "this zone signature" is also awkward
2012-03-22 17:18:52 -07:00
JINMEI Tatuya
dd8d9d4ab3 [1579] editorial: removed spaces at EOL; folded long lines, () after return. 2012-03-22 17:04:38 -07:00
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
04e0ef7fe5 [1443] Addressed review comments
- if self.clear_config is None was wrong, should just be if self.clear_config
- 'back up' should have been 'create backup of'
- default value for unused parameter rename_config_file in b10-cfgmgr_test.py.in MyConfigManager should have been False, not None
- reordered message file
2012-03-22 15:36:43 +01: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
haikuo zhang
29e01b55a5 [1579] adjust codes after discussion with jinmei. append more unit
tests for negative case in find function
2012-03-22 21:23:55 +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
Jelte Jansen
24b2851dc0 [1443] add command-line arguments
also extend log message a bit
2012-03-21 17:35:03 +01:00
Jelte Jansen
e17fed2f2b [1443] add method to move config file 2012-03-21 17:03:54 +01:00
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