JINMEI Tatuya
25f0bb96dd
[1964] small cleanups for checkExcessPlaceholders.
...
- style fixes
- constify (also for replacePlaceholder)
- make sure all parameters are used regardless of ENABLE_LOGGER_CHECKS
2012-05-08 15:23:06 -07:00
JINMEI Tatuya
6c0da87a7b
[1964] moved dontCreateCoreDumps to libutil_unittests.
...
this solves various build troubles such as leaving it unused, causing
circular dependcies, or the use of unnamed namespace in a public header file.
2012-05-08 15:11:55 -07:00
Jeremy C. Reed
36d930c2e6
[master][trac1531] spelling typo fixes in comments
2012-05-08 11:56:03 -05:00
Tomek Mrugalski
0c1c1eb1a9
Merge branch 'trac1531'
...
Conflicts:
doc/.gitignore
src/lib/util/buffer.h
2012-05-08 17:32:18 +02:00
Mukund Sivaraman
b3dd1982b7
[1892] Change EXPECT_ABORT to EXPECT_DEATH
2012-05-08 20:41:13 +05:30
Mukund Sivaraman
1c88a49755
[1892] Fix the message string in MismatchedPlaceholders exceptions
2012-05-08 20:41:13 +05:30
Tomek Mrugalski
fbe7a931b3
[1531] Changes after Jeremy's review.
2012-05-08 17:08:48 +02:00
JINMEI Tatuya
253701eb2c
[master] cleanup: removed an obsolete comment added in development.
...
It was temporarily introduced at 1fc79b93 for #1028 , but it should have been
cleaned up even before commiting the change.
should be trivial and harmless, so I'm directly commiting the cleanup.
2012-05-07 10:08:55 -07:00
Mukund Sivaraman
84ce6a7875
[master] Use -c to copy when using install-sh
2012-05-07 18:54:45 +05:30
Mukund Sivaraman
6567d28ea9
[master] Remove files that are put in place by autoreconf
2012-05-07 12:43:04 +05:30
Mukund Sivaraman
4846fa711c
[master] Make a minor whitespace fix to the last but one ChangeLog entry
2012-05-07 10:42:44 +05:30
Mukund Sivaraman
8c1eb19809
[1930] Add ChangeLog entry
2012-05-07 10:42:15 +05:30
Mukund Sivaraman
fcf2f08db9
[1930] Install headers into bind10-specific directory
2012-05-07 10:39:06 +05:30
Mukund Sivaraman
7d8efaf11c
[1892] Add scaffolding check around resource.h
2012-05-04 18:31:25 +05:30
Mukund Sivaraman
0a05819f8a
[1880] Add dontCreateCoreDumps() to EXPECT_ABORT tests
2012-05-04 18:21:14 +05:30
Mukund Sivaraman
c805a1176a
[1880] EXTRA_DIST resource.h
2012-05-04 16:32:02 +05:30
Michal 'vorner' Vaner
255456507a
[1880] Style fix
...
We use anonymous namespace instead of static before a function.
2012-05-04 15:24:34 +05:30
Mukund Sivaraman
491896718f
[1880] Move dontCreateCoreDumps() definition to the header due to dependency issues
2012-05-04 15:24:26 +05:30
Mukund Sivaraman
8b0e391e3a
[1880] Untabify file
2012-05-04 15:24:19 +05:30
Mukund Sivaraman
408043d940
[1880] Use a helper function instead of repeating code
2012-05-04 15:24:11 +05:30
Mukund Sivaraman
d7191f1b7a
[1880] Don't create core files when EXPECT_DEATH is used
2012-05-04 15:24:02 +05:30
Jelte Jansen
56083b8256
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
2012-05-04 07:55:49 +00:00
Jelte Jansen
cc0b929d0d
[master] more ldadd order fixes
...
other binaries in log/unittests also need to link to our local libs first
2012-05-04 07:53:49 +00:00
Michal 'vorner' Vaner
d6d2673701
Merge #1802
2012-05-04 09:06:06 +02:00
Michal 'vorner' Vaner
5fb1859628
[1892] Return the placeholders to tests too
...
The test code now reflects the code change.
2012-05-04 09:33:13 +05:30
Mukund Sivaraman
dfaf9712d1
[1892] Put back the @@Missing placeholder warning when logger checks are off
2012-05-04 09:33:04 +05:30
Mukund Sivaraman
f894ef7422
[1892] Conditionally throw an exception if logger placeholders are not matched
2012-05-04 09:32:55 +05:30
Jelte Jansen
3d876bb262
[master] link gtest libs after local libs
...
so that sys-installed bind10 libraries do not interfere with those in the build tree
2012-05-03 22:14:29 +00:00
Jelte Jansen
3a9c1b6387
[master] Add explicit exception what strings
...
This should fix the unit tests complaining about wrong error messages.
While debugging, I also found an uninitialized value error that has been present probably since the logger code exists. This has also been fixed.
2012-05-03 17:32:31 +02:00
Michal 'vorner' Vaner
37227b85bf
[1802] Set the RESULT_NSEC_SIGNED flag in in-memory
...
When we return a negative answer or wildcard, we return
RESULT_NSEC_SIGNED for NSEC signed zones, similarly to NSEC3-signed
ones.
2012-05-03 13:19:52 +02:00
Michal 'vorner' Vaner
1ff3eb1912
[1802] Set the NSEC flag on add
...
Not tested in any way now yet, this is private data structure. It is not
yet used, so the behavior is not changed.
2012-05-03 13:13:48 +02:00
Michal 'vorner' Vaner
156ace04dc
[1802] Tests for NSEC status
...
The zone should declare itself to be signed if there's an NSEC RR.
2012-05-03 13:00:27 +02:00
Jelte Jansen
7b0e7e1746
[master] Merge branch 'trac1857'
2012-05-03 11:35:16 +02:00
Mukund Sivaraman
bd2568ebde
[1856] Use a dummy database_file for lettuce multi_instance test
2012-05-03 13:44:29 +05:30
Mukund Sivaraman
5ffee903b4
[1885] Add ChangeLog entry
2012-05-03 09:20:40 +05:30
Mukund Sivaraman
95947109c5
[1885] Fix lettuce tests, now that b10-stats-httpd isn't enabled by default
2012-05-03 09:19:03 +05:30
Mukund Sivaraman
5c8bbd7ab6
[1885] Turn off b10-stats-httpd in the default configuration
2012-05-03 09:18:54 +05:30
Jelte Jansen
653847cf99
[master] update changelog for merge of #1520
2012-05-02 16:46:20 +02:00
Jelte Jansen
0f18039bc7
[master] Merge branch 'trac1520'
2012-05-02 16:42:10 +02:00
Jelte Jansen
4c43c7d967
[1857] make other exceptions we define subs of isc::Exception as well
...
instead of std::exception
2012-05-02 16:08:51 +02:00
Jelte Jansen
c73ffa69fd
[master] update changelog for merge of #1843
2012-05-02 14:41:13 +02:00
Jelte Jansen
551657702a
[master] Merge branch 'trac1843'
2012-05-02 14:28:59 +02:00
Jelte Jansen
58757c09f3
[master] Merge branch 'trac1878'
2012-05-02 11:06:55 +02:00
Jelte Jansen
3e6773dbdb
[1878] use . instead of source
2012-05-02 11:06:40 +02:00
Jelte Jansen
17f72c2e94
[1520] treat non-existent list item as empty list
...
instead of treating it as an error
2012-05-02 10:27:33 +02:00
Mukund Sivaraman
c016b74723
[1878] Remove +x mode from setup_intree_bind10.sh.in
2012-05-02 10:13:38 +05:30
Jelte Jansen
4429acb90d
[1843] clean up comments
2012-05-01 15:59:56 +02:00
Mukund Sivaraman
2f7b1a1865
[master] Update .gitignore
2012-05-01 16:45:29 +05:30
Jelte Jansen
9a76caecbc
[1843] use re for directive matching
...
to work with both whitespace and case-insensitivity
2012-05-01 12:29:14 +02:00
Jelte Jansen
3de6e881f6
[1843] don't revert local config on execute failure
...
instead, just print some advice
2012-05-01 12:06:35 +02:00