Source

mana-core-cxxutils / ChangeLog

Full commit
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
2011-04-21  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-74.
	* CxxUtils/hashtable.h: Fix clang warnings.

2011-04-20  Rolf Seuster < seuster AT cern.ch>
	* use eu-addr2line, if present on the system
	* eu-addr2line follows .gnu_debuglink (debug symbols in a separate library)
	* tagging CxxUtils-00-00-73

2011-03-26  scott snyder  <snyder@bnl.gov>

	* CxxUtils/unused.h: (new)
        * tagging CxxUtils-00-00-72

2011-03-11  Wim Lavrijsen <WLavrijsen@lbl.gov>
        * changes of sprintf -> snprintf for coverity
        * tagging CxxUtils-00-00-71

2011-02-07  scott snyder  <snyder@bnl.gov>

	* tagging CxxUtils-00-00-70.
	* src/SealSignal.cxx (fatal): Update last change: move the abort()
	on null s_fatalReturn to within the region protected by the
	s_inFatal count.

2010-11-20  scott snyder  <snyder@bnl.gov>

	* tagging CxxUtils-00-00-69.
	* src/SealDebug.cxx (stacktraceLine): Protect against null
	dli_sname.

2010-10-01  scott snyder  <snyder@bnl.gov>

	* tagging CxxUtils-00-00-68.
	* src/Arrayrep.cxx (error): Improve error message formatting.

2010-08-26  scott snyder  <snyder@bnl.gov>

	* tagging CxxUtils-00-00-67.
	* src/SealSignal.cxx (fatal): Abort if s_fatalReturn is null.

2010-08-18  scott snyder  <snyder@bnl.gov>

	* tagging CxxUtils-00-00-66.
	* share/StrFormat_test.ref: (new)
	* src/MD5.cxx: Coverity warning fix.
	* CxxUtils/fpcompare.h: Fix typos in comments.
	* src/AthDsoCbk.c: Comment out printfs to stdout.

2010-06-30  Sebastien Binet  <sebastien.binet@cern.ch>

	* tagging CxxUtils-00-00-65
	* adding a string formatter helper
	* A CxxUtils/StrFormat.h
	* A src/StrFormat.cxx
	* A test/StrFormat_test.cxx


2010-04-27  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-64
	* test/SEGVHandler_test.cxx: Another try at making this work on
	both slc and recent fedora.
	* share/SEGVHandler_test.ref: Updated.


2010-04-25  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-63.
	* share/SEGVHandler_test.ref: Updated.

	* Tagging CxxUtils-00-00-62
	* test/SEGVHandler_test.cxx: Add a flush to make output ordering
	more predictable.
	* share/SEGVHandler_test.ref: Updated.

2010-03-01  David Quarrie <David.Quarrie@cern.ch>

	* Tagging CxxUtils-00-00-61
	* CxxUtils/excepts.h: ) Add implementation of feenableexcept()/fedisableexcept() functions for MacOSX
	* src/excepts.cxx:    )  

2010-03-05  Wim Lavrijsen <WLavrijsen@lbl.gov>
        * add <cstdio> to SealSignal.cxx for sprintf

2010-03-01  David Quarrie <David.Quarrie@cern.ch>

	* Tagging CxxUtils-00-00-60
	* CxxUtils/BasicTypes.h: Add header file to provide missing basic types for MacOSX 

2010-02-27  David Quarrie <David.Quarrie@cern.ch>

	* Tagging CxxUtils-00-00-59
	* cmt/requirements: Grrr, the problems come back again, so the library name change wasn't successful. Add the AthDsoCbk.c file to the libCxxUtils.so library for MacOSX as a workaround for failing to load the symbols at runtime. 

2010-02-25  David Quarrie <David.Quarrie@cern.ch>

	* Tagging CxxUtils-00-00-58
	* cmt/requirements: Rename the libAthDsoCbk.so library to libAthDsoCallbacks.so since this solves the mysterious problem with the MacOSX runtime resolution of symbols. Don't ask me why...

2010-02-24  David Quarrie <David.Quarrie@cern.ch>

	* Tagging CxxUtils-00-00-57
	* cmt/requirements: Add the AthDsoCbk.c file to the libCxxUtils.so library for MacOSX as a workaround for failing to load the symbols at runtime. I haven't found a work of making it work otherwise.

2010-02-24  Sebastien Binet  <binet@farnsworth>

	* tagging CxxUtils-00-00-56
	* fixing utest ref-file
	* M share/exctrace1_test.ref

2010-02-22  Sebastien Binet  <binet@lxplus302.cern.ch>

	* tagging CxxUtils-00-00-55
	* cleaning-up CxxUtils_linkopts
	* M cmt/requirements

2010-02-18  Sebastien Binet  <binet@voatlas51.cern.ch>

	* tagging CxxUtils-00-00-54
	* fixing (sort of) utest ref-file
	* M share/exctrace1_test.ref

2010-02-17  David Quarrie <David.Quarrie@cern.ch>

	* Tagging CxxUtils-00-00-53
	* cmt/requirements: Use the named_installed_library pattern for the exctrace_collector library
	* src/AthDsoCbk.c: Fix compilation failure for MacOSX

2010-02-16  Sebastien Binet  <binet@farnsworth>

	* tagging CxxUtils-00-00-52
	* new dso-callbacks with proper list management
	* M CxxUtils/AthDsoCbk.h
	* M src/AthDsoCbk.c
	* M cmt/requirements
	* A src/libcalg
	* A CxxUtils/libcalg

2010-02-15  Sebastien Binet  <binet@farnsworth>

	* tagging CxxUtils-00-00-51
	* new dso-callbacks (with C closures)
	* A CxxUtils/AthDsoCbk.h
	* A src/AthDsoCbk.c
	* M cmt/requirements

2010-02-12  Charles Leggett
	* added MD5.h, MD5.cxx: RSA MD5 digest generator
	* tag CxxUtils-00-00-50
	
2010-01-30  David Quarrie <David.Quarrie@cern.ch>

	* Tagging CxxUtils-00-00-49.
	* CxxUtils/clock.h: ) Provide a simplified clock_gettime() function for MacOSX
	* src/clock.cxx:    )
	* CxxUtils/sincosf.h: ) Provide a simple sincosf() function for MacOSX
	* src/sincosf.cxx:    )
	
2010-01-14  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-48.
	* test/stacktrace_test.cxx: Filter out file/linenumber as well.
	Needed for a clean comparison in opt builds.
	* share/stacktrace_test.ref: Updated.

2010-01-12  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-47.
	* src/SealDebug.cxx: Remove unneeded malloc.h include.
	* share/stacktrace_test.ref: Updated.

2010-01-10  David Quarrie <David.Quarrie>

	* Tagging CxxUtils-00-00-46.
	* src/FloatPackage.cxx: Hack ieee754_double definition for MacOSX. There's probably a better way of doing this
	* src/SealDebug.cxx: Remove #include <malloc.h> for MacOSX since it's missing (and not needed)

2010-01-09  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-45.
	* src/SealDebug.cxx: Rewrite stack trace so that on linux it
	doesn't require dynamic memory allocation.
	* CxxUtils/SealDebug.h: Include SealDebug.h.

	* test/stacktrace_test.cxx: (new)
	* share/stacktrace_test.ref: (new)
	* cmt/requirements: Add it.

	* test/exctrace1_test.cxx: Update comments.
	* test/exctrace2_test.cxx: Update comments.

2010-01-06  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-44.
	* Remove some files that weren't supposed to have been comitted.

	* Tagging CxxUtils-00-00-43.
	* test/hashtable_test.cxx: gcc 4.4 fixes.
	* CxxUtils/fast_push_back.h: gcc 4.4 fixes.

2009-12-09  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-42.
	* CxxUtils/FloatPacker.h, src/FloatPacker.cxx,
	test/FloatPacker_test.cxx, share/FloatPacker_test.ref: (new)

2009-11-19  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-41.

	* CxxUtils/pointer_list.h, CxxUtils/pointer_list.icc,
	src/pointer_list.cxx, test/pointer_list_test.cxx: More efficient
	way of testing for the end of a block.

	* CxxUtils/fpcompare.h: Add equality test.
	* test/fpcompare_test.cxx: Test it.

2009-11-11  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-40.
	* CxxUtils/pointer_list.h, CxxUtils/pointer_list.icc,
	src/pointer_list.cxx, test/pointer_list_test.cxx,
	share/pointer_list_test.ref: First pointer_list implementation.
	* CxxUtils/PackedArray.h: Fix include guard.

2009-11-04  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-39.
	* src/exctrace.cxx: Add a couple missing #includes.

2009-11-01  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-38.
	* CxxUtils/SealDebug.h, src/SealDebug.cxx: Add stacktraceLine.
	* CxxUtils/exctrace.h: (new)
	* src/exctrace.cxx: (new)
	* src/exctrace/exctrace_collector.cxx: (new)
	* test/exctrace1_test.cxx: (new)
	* test/exctrace2_test.cxx: (new)
	* share/exctrace1_test.ref: (new)
	* share/exctrace2_test.ref: (new)
	* cmt/requirements: Add them.

2009-10-22  scott s snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-37.
	* CxxUtils/fpcompare.h: Add overloads for float as well as
	double.
	* test/fpcompare_test.cxx: Test changes.

2009-10-09  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-36.
	* CxxUtils/PackedArray.h, src/PackedArray.cxx,
	test/PackedArray_test.cxx, share/PackedArray_test.ref: (new, from
	DataModel)
	* cmt/requirements: Add the test.

2009-09-24  scott s snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-35.
	* test/procmaps_test.cxx: Fix warnings with optimization.

	* Tagging CxxUtils-00-00-34.
	* CxxUtils/hashtable.h: Fix warnings.
	* test/hashtable_test.cxx: Fix warnings.
	* CxxUtils/no_conversion_warning.h: (new)

2009-09-14  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-33.
	* src/SealDebug.cxx (stacktrace): Fix spurious NULs in backtrace.

2009-08-05  Paolo Calafiura  <calaf@lxcalaf.cern.ch>
	* src/PageAccessControl.cxx (protectPage): size gymnastics to remove
	printf warnings 
	* CxxUtils/page_access.h: size gymnastics to remove printf warnings 
	* src/page_access.cxx: size gymnastics to remove printf warnings 
	* tagging CxxUtils-00-00-32

2009-04-15  Wim Lavrijsen  <WLavrijsen@lbl.gov>
	* added addr2line functionality in stack trace as provided by Rolf Seuster
	* added error handling, compiler warning and other fixes for the above patch
	* tagging CxxUtils-00-00-31

2009-04-15  David Quarrie <David.Quarrie@cern.ch>

	* Tagging CxxUtils-00-00-30
	* src/page_access.cxx: Use size_t instead of unsigned int for 64-bit compatibility
	
2009-04-08  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-29.
	* src/Arrayrep.cxx: Remove Gaudi dependency.
	* test/Arrayrep_test.cxx: Adjust.
	* test/Array_test.cxx: Adjust.
	* cmt/requirements: Fix for SEGVHandler test miscompares.

2009-04-07  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-28.
	* CxxUtils/Array.h: Bring WritableArray and WritableArrayData into
	CaloRec n/s.
	* CxxUtils/Arrayrep.h, src/Arrayrep.cxx: Need to move into CaloRec
	n/s for now, for backwards compatibility with existing data.
	* CxxUtils/fpcompare.h: Fix typo in comments.

2009-04-06  Paolo Calafiura  for Ed Moyse

	* tagging CxxUtils-00-00-27
	* src/procmaps.cxx: OSX does not have C getline, use ifstream instead

2009-04-02  Paolo Calafiura

	* tagging CxxUtils-00-00-26
	* src/PageAccessControl_test.cxx: added #undef NDEBUG
	* src/SEGVHandler_test.cxx: added #undef NDEBUG

2009-04-02  Sebastien Binet  <binet@farnsworth>

	* tagging CxxUtils-00-00-25
	* temporarily disabling failing tests (PageAccessControl+SEGVHandler)
	* M cmt/requirements

2009-04-01  Sebastien Binet  <binet@farnsworth>

	* tagging CxxUtils-00-00-24
	* various cosmetic fixes (for emacs)
	* M CxxUtils/page_access.h
	* M CxxUtils/procmaps.h

2009-03-20  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-23

	* test/SEGVHandler_test.cxx: Make test more reproducible.
	* share/SEGVHandler_test.ref: Updated.

	* CxxUtils/Arrayrep.h, CxxUtils/ArrayScanner.h, CxxUtils/Array.h,
	CxxUtils/Array.icc, src/ArrayScanner.cxx, src/Arrayrep.cxx,
	src/Array.cxx, test/ArrayScanner_test.cxx, test/Arrayrep_test.cxx,
	test/Array_test.cxx, share/ArrayScanner_test.ref,
	share/Arrayrep_test.ref, share/Array_test.ref: Copied here from
	CaloConditions.

	* CxxUtils/fast_push_back.h: Fix include guard.

	* test/CxxUtils.xml: Make sure test differences are considered
	errors.

	* Tagging CxxUtils-00-00-22

	* CxxUtils/fast_push_back.h, test/fast_push_back_test.cxx,
	test/fast_push_back1_test.cxx, share/fast_push_back_test.ref,
	share/fast_push_back_test1.ref: Copied here from DataModel.
	* cmt/requirements: Add the tests.

	* src/procmaps.cxx: Add missing #include.
	* src/PtrAccessSEGVHandler.cxx: Add missing #include.
	* test/SEGVHandler_test.cxx: Add missing #include.

	* test/procmaps_test.cxx (nop): Fix compilation warning.

	* share/PageAccessControl_test.ref, share/SEGVHandler_test.ref,
	share/procmaps_test.ref: (new)

2009-03-11  Sebastien Binet  <binet@farnsworth>

	* tagging CxxUtils-00-00-21
	* adding utests for CxxUtils::copy_if
	* A test/copyif_test.cxx
	* A share/copyif_test.ref

	* tagging CxxUtils-00-00-20
	* adding CxxUtils::copy_if implementation (from gcc4.4)
	* A CxxUtils/algorithms.h

2009-03-10  Paolo Calafiura  
	* Tagging CxxUtils-00-00-19 
	* src/procmaps.cxx (procmaps::Entry): fix sscanf compilation warning (thanks Wim)

2009-03-04  Paolo Calafiura  
	* Tagging CxxUtils-00-00-18
	* class PageAccessControl: add support for counting number of times page was accessed, and for accessing list of protected ptrs
	* src/procmaps.cxx (procmaps::procmaps): do not print maps content

2009-02-12  Paolo Calafiura  
	* Tagging CxxUtils-00-00-17
	* CxxUtils/PageAccessControl.h (class PageAccessControl): adapted iface
	to SG needs. Key m_protected entries by page boundary address

2009-02-03  Paolo Calafiura

	* Tagging CxxUtils-00-00-16
	* new class PageAccessControl, major rewrite of PtrAccessSEGVHandler
	It is starting to work, sort of...

2009-01-29  Paolo Calafiura
	* Tagging CxxUtils-00-00-15
        * added PtrAccessSIGVHandler and its test. This class provides a handle function that logs the  
	addresses that had an access violation. It can be installed as sigaction handler using its
        C facade in cPtrAccessSIGVHandler

2009-01-26  Paolo Calafiura
	* Tagging CxxUtils-00-00-14
        * turned procmaps into a "pseudo-singleton" so that maps can be read only once. At the same time
	added support for rereading maps when an address can not be located in loaded entries.

2009-01-23  Paolo Calafiura
	* Tagging CxxUtils-00-00-13
        * new class procmaps and its test

2008-12-12  Frank Winklmeier  <fwinkl@cern>

	* Tagging CxxUtils-00-00-11
	* src/SealDebug.cxx: Demangle symbol names on Linux.
	* CxxUtils/SealSignal.h: Make 'describe' public so it can be used by CoreDumpSvc.	
	* src/SealSignal.cxx: Fix typos in 'describe'.

2008-12-11  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-10.
	* CxxUtils/hashtable.h: Fix gcc 4.3 warnings.
	* cmt/requirements: We depend on boost now.

2008-12-09  David Quarrie <David.Quarrie@cern.ch>

	* tagging CxxUtils-00-00-09
	* CxxUtils/hashtable.h:  )
	* src/SealDebug.cxx:     ) Add gcc 4.3 support
	* src/SealSharedLib.cxx: )
	* src/SealSignal.cxx:    )

2008-11-24  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-08.
	
	* CxxUtils/sincos.h: (new)
	* test/sincos_test.cxx: (new)
	* share/sincos_test.ref: (new)
	* cmt/requirements: Add sincos_test.

	* CxxUtils/fpcompare.h: Note that you run into the same problem
	using floats as keys for associative containers.
	* CxxUtils/SealSignal.h: Fix compilation warnings.

2008-11-17  David Quarrie <David.Quarrie@cern.ch>
	* CxxUtils/SealCommon.h: Extend Apple #defines
	* CxxUtils/SealSignal.h: Add #include <climits> in order to get access to CHAR_BIT and add fields in siginfo_t for MacOSX
	* src/SealSignal.cxx: Add #include <sys/stat.h>
	* Tagging CxxUtils-00-00-07

2008-11-14  Wim Lavrijsen <WLavrijsen@lbl.gov>
        * added Apple #defines to SealCommon.h (taken from MacOSX 10.5 config.h)

2008-10-29  Wim Lavrijsen <WLavrijsen@lbl.gov>
        * binutils on SLC4 appears not to consider /lib/ld-linux.so for symbols -> worked around
        * tagging CxxUtils-00-00-06

2008-10-28  Wim Lavrijsen <WLavrijsen@lbl.gov>
        * added a stripped-down version of the seal signal handler
        * tagging CxxUtils-00-00-05

2008-10-22  scott s snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-04.
	* CxxUtils/hashtable.h: Add default constructors for hashtable
	iterators (ForwardIterator requirements).
	* test/hashtable_test.cxx: Test use of default ctors.

2008-09-29  scott snyder  <snyder@bnl.gov>

	* Tagging CxxUtils-00-00-03.
	* CxxUtils/fpcompare.h: Make more robust.

	* Tagging CxxUtils-00-00-02.
	* CxxUtils/fpcompare.h: (new)
	* test/fpcompare_test.cxx: (new)
	* share/fpcompare_test.ref: (new)
	* cmt/requirements: Add the test.

2008-09-16  Sebastien Binet  <binet@lblbox>

	* tagging CxxUtils-00-00-01
	* adding ATN unit test hook
	* A test/CxxUtils.xml

2008-09-09  Sebastien Binet  <binet@lblbox>

	* tagging CxxUtils-00-00-00
	* first import of a package holding a set of C++ classes and template
	  utilities w/o any external dependency (apart from boost)