JINMEI Tatuya
a9e9a2b26f
[trac613] avoid the obvious form of self assignment to silence cppcheck.
2011-02-24 16:39:25 -08:00
JINMEI Tatuya
f54d8505d8
[trac613] use narrower variable scope. also constify variables when possible.
2011-02-24 14:12:28 -08:00
JINMEI Tatuya
950fc0ab5f
[trac613] fixed a typo: s/=/==/ in assertion. this is a bug, but wouldn't be
...
realized (un)luckily.
2011-02-24 14:11:06 -08:00
JINMEI Tatuya
b229aa1c06
[trac613] pass parameters by reference instead of a copy of obj when possible
2011-02-24 14:06:02 -08:00
JINMEI Tatuya
ba66913e80
[trac613] made sure some of class member variables are initialized in the constructor.
2011-02-24 14:02:34 -08:00
Jeremy C. Reed
4bdd50ce23
[master] regenerate HTML document
...
(NOTE: I had the wrong date in the release tarball again;
I changed my checklist again to make sure this is fixed
for next time.)
2011-02-24 15:34:09 -06:00
Jeremy C. Reed
a232b085df
[master] cleanup related to b10-resolver
2011-02-24 15:33:55 -06:00
Michal 'vorner' Vaner
4fa3cf5c5f
[trac614] Enable tracing of file descriptor
2011-02-24 21:10:51 +01:00
Jeremy C. Reed
d3f8f8fce7
[master] update some version numbers
...
This is 20110224.
Add release stamp in the ChangeLog
Update versions for bind10, bindctl, and msgq.
Maybe not precise and we should discuss if or how we should
maintain per component version numbers.
2011-02-24 14:03:34 -06:00
Michal 'vorner' Vaner
923a470796
[trac614] Functional fixes
...
* Don't fail on test crash
* Better escaping of IPC in the script
* Run from the tests' dir, so they find their files
2011-02-24 21:02:39 +01:00
JINMEI Tatuya
6e0b739857
Merge remote branch 'origin/trac624'
2011-02-24 10:55:06 -08:00
Jeremy C. Reed
e8460092b6
[master] mention in-memory data source in README
2011-02-24 12:32:40 -06:00
Michal 'vorner' Vaner
ddd04eed61
[trac614] First cut at an ugly script
...
It produces the output, but fails at the end reporting the status, needs
at last some documentation, etc. It might leave some files after the
run. It doesn't handle some parameters properly (problems with
escaping).
It is a big ugly bash script. But as it is to be used by the developers,
not users, it might not be so big problem.
2011-02-24 19:10:02 +01:00
Stephen Morris
add0f697ae
[trac624] Fix for build on OSX
...
In the test for UDPSocket, use io_service::run_one() instead of
poll().
2011-02-24 16:43:30 +00:00
Jeremy C. Reed
1a5be74809
[master] regenerate two documents
2011-02-24 10:32:10 -06:00
Jeremy C. Reed
71d27e416b
Merge branch 'jreed-docs'
2011-02-24 10:22:28 -06:00
Jeremy C. Reed
89ad5194eb
[master] change setproctitle configure check from error to warning
...
The setproctitle check in configure is not really used by build;
it only provides a suggestion for installation.
Some systems don't need it.
We could consider removing this check (ticket #587 ).
Discussed via jabber.
2011-02-24 09:56:35 -06:00
Jeremy C. Reed
9a75a9c73b
[master] remove log4cxx in configure.ac and Makefiles.
...
It is not used currently.
Discussed in jabber.
2011-02-24 09:32:42 -06:00
Jelte Jansen
6fb5dd6bf0
[master] removed a debug print from the message cache
...
my bad, i think the review even pointed it out but it still snuck through
2011-02-24 16:14:52 +01:00
Michal 'vorner' Vaner
c3d81863bc
[trac388] Fix rethrowing of exception
...
If the e is used explicitly, the type is lost (even when it shouldn't
probably be, as we catch it as a reference). This way the type is
preserved, allowing other catches on the stack handle it properly.
2011-02-24 15:29:04 +01:00
Michal 'vorner' Vaner
199599a979
[trac388] Enable port config test in resolver
...
It needed to close sockets to be able to successfully roll back in case
of failure.
2011-02-24 15:21:47 +01:00
Michal 'vorner' Vaner
d7ec12be1f
[trac388] Enable clearServers test
2011-02-24 15:13:03 +01:00
Jeremy C. Reed
13204f9c20
[jreed-docs] in-memory datasource exists now
...
so sqlite3 is not the only one.
TODO: still need to document the in-memory datasource.
2011-02-24 07:51:18 -06:00
Jeremy C. Reed
7c9c7811d3
[jreed-docs] regen manpage
2011-02-24 07:50:42 -06:00
Michal 'vorner' Vaner
b7d8ac6afd
[trac388] Formatting fix of Changelog
2011-02-24 14:50:19 +01:00
Michal 'vorner' Vaner
586df2b37d
Changelog for #565
2011-02-24 14:21:25 +01:00
Michal 'vorner' Vaner
0ac0b4602f
Merge remote-tracking branch 'origin/trac565'
2011-02-24 13:59:10 +01:00
chenzhengzhang
40f74edaaf
[trac419] update request handling logic
2011-02-24 20:28:19 +08:00
Stephen Morris
7c41968160
[trac499] Mischellaneous minor preparator changes
...
* Extend logging in IOFetch (and add message definitions)
* Update buffer size setting for UDP socket
* remove spaces at end of lines in other files
2011-02-24 12:02:59 +00:00
Jelte Jansen
24ef7a1642
[trac607] quick fix for trac607 (see comment there)
2011-02-24 12:49:56 +01:00
JINMEI Tatuya
59455cd6b9
[trac613] use <> instead of "" to include header files to satisfy cppcheck.
2011-02-24 01:34:45 -08:00
JINMEI Tatuya
8a47d8d2b9
[trac613] catch exceptions by (const) reference.
2011-02-24 01:19:42 -08:00
JINMEI Tatuya
6bdfcf31fe
[trac613] avoid using an unused temporary variable.
2011-02-24 01:15:40 -08:00
Stephen Morris
f0dd8824dc
Merge branch 'master' into trac499
2011-02-24 09:12:45 +00:00
Jelte Jansen
54f4650b7d
[master] fixed the IPPROTO argument of one of the fetches
...
it used IPPROTO_IDP instead of IPPROTO_UDP, somehow this snuck past my review, and since IPPROTO_IDP exists, it reverted to TCP (which isn't implemented yet). The future-proof fix is to either not allow this to be passed (use a boolen use_udp or something), or raise an error on an unknown protocol.
But for now this quick fix should at least get it working again. Reviewed on jabber by stephen.
2011-02-24 10:11:40 +01:00
Stephen Morris
af01e66fde
[trac499] Add logging of errors to IOFetch
2011-02-24 08:58:58 +00:00
JINMEI Tatuya
33deff727f
[trac613] use the rethrow idiom instead of explicitly resending the same exception object.
2011-02-24 00:52:19 -08:00
hanfeng
354ca192db
[trac388] add check to avoid stop server twice
2011-02-24 09:53:36 +08:00
JINMEI Tatuya
bb708b6586
[master] use prefix version of ++, pointed out by cppcheck.
...
should be sufficiently trivial, directly committing to master.
2011-02-23 16:56:45 -08:00
Jelte Jansen
d3120390ae
[trac602] forgot to remove 3 spaces
2011-02-24 00:34:44 +01:00
Jelte Jansen
27025d831a
[trac602] addressed jinmei's comments
2011-02-24 00:33:31 +01:00
Michal 'vorner' Vaner
34be7c60c8
[trac565] Wording and naming fixes
2011-02-23 22:47:45 +01:00
Michal 'vorner' Vaner
008a3bf75b
[trac565] Rename sendo to recipient
2011-02-23 22:47:39 +01:00
Michal 'vorner' Vaner
cce105f44b
[trac565] Reorder the config_handler for readability
...
The closures are moved to the top of the function and commented. It'll
hopefully be more readable this way.
2011-02-23 22:47:31 +01:00
Jelte Jansen
57b77aa7c0
[trac602] also remove boost/thread from nameserver_address_store.cc
2011-02-23 22:35:58 +01:00
JINMEI Tatuya
e5961a4ce0
[trac565] directly fixed an obvious typo.
2011-02-23 10:50:52 -08:00
Jelte Jansen
14a51327ed
[trac602] added --enable-boost-threads option (disabled by default)
...
if not set, we use dummy locks instead of the boost locks
2011-02-23 19:01:11 +01:00
Michal 'vorner' Vaner
8f331c78a0
[trac388] Comment & whitespace fix
2011-02-23 16:08:18 +01:00
Michal 'vorner' Vaner
60f301c235
[trac565] Less duplicates in config_handler
2011-02-23 15:38:46 +01:00
Michal 'vorner' Vaner
4a8925ec51
[trac565] Fix extra self in params
2011-02-23 15:38:30 +01:00