add a PLANNED_TEST() macro to test.h
[nobug.git] / NEWS
blob1dd32a8984f74d51f6968e638c99a196f8a8b58c
1 201002.1
2 --------
3 03 Feb 2010
5 Replaced certain boring strings with a '-' in passed contexts.
6 Multiline continued log lines have a special event mark (!) now.
7 FIX a race condition when starting threads accessing resources, this introduces
8 the block syntax for resource tracker macros again. Programs have to be adapted
9 to take advantage of this. The internal locking got a big overhaul.
12 201001.3
13 --------
14 29 Jan 2010
16 Refactored the logging core, it now supports multiline logging, log statements
17 can contain newline characters which will emit to multiple loglines
18 atomically, resource dumping uses this feature. The nobug libraries are now
19 properly versioned. Added internal ringbuffer documentation. The ringbuffer
20 guard pages can now be dynamically configured. Resource logging stays active
21 in BETA builds in preparation for offline resource tracking. Improved release
22 targets for make, that means more frequent releases in future.
25 201001.2
26 --------
27 23 Jan 2010
29 A new facility was added to pass 'source-contexts' (file, line, function).
30 This allows one to emit diagnostics on behalf of a calling function. The
31 '_DBG' macro variants were removed because no one really used them and their
32 functionality is superseded by the 'flags'. Small bugfixes and documentation
33 improvements were made. Thread IDs now keep their thread number on reset. The
34 use of the GCC ',##__VA_ARGS__' semantic is factored out. The library should
35 now compile on other compilers too. Mac OS X is now officially tested and
36 supported.
39 201001.1
40 --------
41 10 Jan 2010
43 A major update of the "test.sh" testsuite driver was done. Support was added
44 for conditionals in testsuites, informational messages, separate configuration
45 files, and more. A race condition when leaving resources by the
46 resourcetracker was fixed. A TRYING state that omits deadlock detection was
47 added to the resource tracker. Newline issues were fixed with newer valgrind
48 versions (which involves an API change). The documentation for nobug and
49 test.sh was improved. This is the first release which officially supports
50 other platforms, such as Maemo5/ARM, Mac OS X, and OpenSolaris.
53 200909.1
54 --------
55 04 Sep 2009 11:51
57 This is a major update with all the improvements from the past 1.5 years. The
58 Resource tracker was completely rewritten. A new documentation system is used
59 now, and the documentation got a major update. A test suite for self-testing
60 NoBug was added. Many new or planned features such as fault-injection and
61 logging callbacks are finished. This release starts with a new version
62 numbering scheme. The API is now mostly finalized. This is a review release on
63 the way for a major production release soon.
66 0.3rc1
67 ------
68 03 Apr 2008
70 The environment variable parser for runtime configuration was completed, and
71 passing of options for creating log files or ring buffers is now implemented.
72 A hook for application defined logging was added. A tool to dump ring buffer
73 content as a log was included. Logging output contains now an event counter.
74 The license was changed to GPLv2 or any later.
77 0.3pre1
78 -------
79 04 Jul 2007 04:29
81 A deadlock detector was added. This is a review release, a work in progress.
84 0.2
85 ---
86 31 May 2007
88 The source code location handling (file/line/function) was improved and
89 centralized. Logging flags in C++ applications can be initialized and parsed
90 with a simple initializer. The Resource Registry was stabilized and rewritten
91 and given a new interface. Resources can be acquired in three states.
92 Multithreading support for the Resource Registry was improved. All actions on
93 the Resource Registry can emit logging messages. Only a few fixes were made
94 since the 0.2rc1 release.
97 0.2rc1
98 ------
99 16 May 2007
101 The source code location handling (file/line/function) was improved and
102 centralized. Logging flags in C++ applications can be initialized and parsed
103 with a simple initializer. The Resource Registry was stabilized and rewritten
104 and given a new interface. Resources can be acquired in three states now.
105 Multithreading support for the Resource Registry was improved. All actions on
106 the Resource Registry can now emit logging messages.
109 0.2pre2
110 -------
111 28 Mar 2007
113 NoBug is now usable from C++ programs. Support for multithreaded programs was
114 added. It now compiles to two static link libraries, one for singlethreaded
115 and one for multithreaded applications. The logging subsystem was rewritten
116 and now uses an efficient ringbuffer as backend storage. There is support for
117 multiple logging targets and the control via the environment is much improved.
118 A Resource Tracker was added to debug resource usage of the controlled
119 program.
122 0.2pre
123 ------
124 21 Feb 2007
126 Valgrind and execinfo.h are now optional. The Log format was changed to be
127 similar to gcc's output, so editors should be able to parse the output. DUMP
128 now uses the flags mechanism too. The BUG macro was renamed to FIXME, and the
129 FIXME macro may not be used in BETA builds. Some bugfixes and cleanups were
130 done.
135 31 Jan 2007
137 GNU autotools are now used. Better logging support was added. The
138 documentation was synchronized with the code.