1 commit 658299aaf32ce7006156a1d301639d3030f811e5
2 Author: Christian Thaeter <ct@pipapo.org>
3 Date: Wed May 16 11:14:36 2007 +0200
5 cleanup remove disabled gdb stuff
9 commit 26e9400af685ada547ca6d6c8cdb1ae06c6512cc
10 Author: Christian Thaeter <ct@pipapo.org>
11 Date: Wed May 16 11:09:37 2007 +0200
13 add logging by flags to the resource registry, better formatted log messages,
16 M test_nobug_resources.c
18 commit acde95cdc16ff023fcdad7c9a582af38d913f54d
19 Author: Christian Thaeter <ct@pipapo.org>
20 Date: Sat May 12 00:41:21 2007 +0200
22 locks are not needed for thread_id_set, they are rather a deadlocking bug
26 commit 7c1455946f95ead1bf5170002f224cff88c764b7
27 Author: Christian Thaeter <ct@pipapo.org>
28 Date: Fri May 11 08:14:27 2007 +0200
30 waiting for a RECURSIVE resource we already own is a no-op
34 commit 07075edc18c67e81e3f57371687d4b8405259cf7
35 Author: Christian Thaeter <ct@pipapo.org>
36 Date: Fri May 11 07:38:17 2007 +0200
38 fix RESOURCE_LEAVE_LOOKUP to take only 2 parameters
42 M test_nobug_resources.c
44 commit 2463ad121b9fe1ea92b53d41d8c04327daa9a6fa
45 Author: Christian Thaeter <ct@pipapo.org>
46 Date: Thu May 10 05:17:57 2007 +0200
48 fix state array access in RESOURCE_LEAVE_LOOKUP
52 commit de123a0bd42223b4d8f1d3b4eec860d49868b1e1
53 Author: Christian Thaeter <ct@pipapo.org>
54 Date: Thu May 10 04:45:23 2007 +0200
56 improve makefile meta generation, preparation for 0.2rc1 release
61 commit 7159c011632a9af1cbe9ba0851ab5c7ca7a4fd9f
62 Author: Christian Thaeter <ct@pipapo.org>
63 Date: Thu May 10 04:44:18 2007 +0200
67 M test_nobug_resources.c
69 commit d6fbd6023b215f8fd07e69fa039c4b34ae5809c6
70 Author: Christian Thaeter <ct@pipapo.org>
71 Date: Thu May 10 02:46:15 2007 +0200
73 add resource state diagram
77 commit 95fa22cfdffd824669ffd0dae236464bf19f6dac
78 Author: Christian Thaeter <ct@pipapo.org>
79 Date: Wed May 9 22:24:08 2007 +0200
81 counter should only be initialized to 0 when state == WAITING
85 commit 56d19a61a1b8dc9279938718bd8ca94e44cef3b1
86 Author: Christian Thaeter <ct@pipapo.org>
87 Date: Wed May 9 22:23:14 2007 +0200
89 use object_id and a thread_id to identify resources
93 M test_nobug_resources.c
95 commit 79317f8303dedcbe4803d6bee8f3480f17e55bde
96 Author: Christian Thaeter <ct@pipapo.org>
97 Date: Mon May 7 06:27:45 2007 +0200
99 new resource state handling, WAITING, RECURSIVE and EXCLUSIVE
104 commit 6dcfa6d6e01864328d5ba3c74de6d81052dcd0d6
105 Author: Christian Thaeter <ct@pipapo.org>
106 Date: Wed Apr 25 05:14:05 2007 +0200
108 fill NOBUG_LOCATION only in ALPHA and BETA builds and resolve to a empty string in RELEASE builds
112 commit e2d14ad39b2ead020ebb23c6c78ea11621d53b24
113 Author: Christian Thaeter <ct@pipapo.org>
114 Date: Wed Apr 25 03:25:56 2007 +0200
116 fixed INIT_FLAG_LIMIT, old version was still around
120 commit 006451bc8974531a82decb0f4f50260f66da9b65
121 Author: Christian Thaeter <ct@pipapo.org>
122 Date: Wed Apr 25 03:19:16 2007 +0200
124 rename CPPINIT to CPP_DEFINE, make it conditionally only available in C++ compilers
128 commit f9948508b3c078a154fade183bf8510cca228db7
129 Author: Christian Thaeter <ct@pipapo.org>
130 Date: Tue Apr 24 04:21:07 2007 +0200
132 must call INIT before first TRACE
136 commit 20e356f8dff582e85e899ab542c23abd8b8b12d6
137 Author: Christian Thaeter <ct@pipapo.org>
138 Date: Tue Apr 24 04:20:47 2007 +0200
140 add CPPINIT_FLAG macros to ease flag initialization from C++ programs
145 commit c6a5e7eca2622b9696919c503e7cbf6314425c5f
146 Author: Christian Thaeter <ct@pipapo.org>
147 Date: Tue Apr 24 04:17:56 2007 +0200
149 fix DUMP and INVARIANT calls with new LOCATION_ARGS
153 commit 5f54da8056a8a5faca12f6a02239161ced7f2cae
154 Author: Christian Thaeter <ct@pipapo.org>
155 Date: Sun Apr 22 10:16:35 2007 +0200
157 just __func__ suffices
161 commit c4d227ea7083d4c3655d4801e8695dc6ca31c6ee
162 Author: Christian Thaeter <ct@pipapo.org>
163 Date: Sun Apr 22 10:14:58 2007 +0200
165 rename LOCATION macros
169 commit 3d6e016ea9ce20f45e4a9f4d1053b435105d844c
170 Author: Christian Thaeter <ct@pipapo.org>
171 Date: Sun Apr 22 09:50:29 2007 +0200
173 add build/ dir to gitignore
177 commit 3737f233591b2e9d2e913f03b8b2e7494c2626e8
178 Author: Christian Thaeter <ct@pipapo.org>
179 Date: Sun Apr 22 07:29:10 2007 +0200
181 abstract source location information into a file/line/function tuple
185 commit 9b0a088bb3395950530dad1e2c79f2871e872a97
186 Author: Christian Thaeter <ct@pipapo.org>
187 Date: Mon Apr 2 19:02:26 2007 +0200
189 use only the id (void*) for identifying resources, name, type become optional
192 M test_nobug_resources.c
194 commit 6ed17806d1c28d48c764d7aa220a3b90d0edeee2
195 Author: Christian Thaeter <ct@pipapo.org>
196 Date: Mon Apr 2 16:40:45 2007 +0200
198 dump list of resources only
203 commit 584019522f15f425e9dd017f95c71f08dc038e7a
204 Author: Christian Thaeter <ct@pipapo.org>
205 Date: Mon Apr 2 16:40:14 2007 +0200
207 fallback to stderr when console target is not yet set
211 commit 56b11684cdc96b7590fddac2919c3d35a756f4dc
212 Author: Christian Thaeter <ct@pipapo.org>
213 Date: Sun Apr 1 18:16:27 2007 +0200
215 add a void* to resource tracker records which are useable as dynamic identifier (type/name have to be static), make name optional for resource records
219 M test_nobug_resources.c
221 commit e6e2f7e771d89094015ab2c992b8b96053f80119
222 Author: Christian Thaeter <ct@pipapo.org>
223 Date: Sat Mar 31 19:01:39 2007 +0200
225 simplify and fix default ringbuffer handling
231 commit 6fbd93ef423c7fbe6a0782f6c3eaa5a3b4acea7b
232 Author: Christian Thaeter <ct@pipapo.org>
233 Date: Sat Mar 31 02:25:49 2007 +0200
235 add extern "C" for C++ programs
239 commit 881d7aff4110fb7abffdfe18f05599cacc4e7c68
240 Author: Christian Thaeter <ct@pipapo.org>
241 Date: Sat Mar 31 01:58:47 2007 +0200
243 add RESOURCE_LEAVE_LOOKUP which does not need a handle to the holder
247 M test_nobug_resources.c
249 commit a006f9f9b9aec90d82da7563986fc634b82ca28d
250 Author: Christian Thaeter <ct@pipapo.org>
251 Date: Sat Mar 31 01:57:39 2007 +0200
253 add tree parameter to resource_find
258 commit 3a17a58690c9ac51529ad857090e70754db45031
259 Author: Christian Thaeter <ct@pipapo.org>
260 Date: Sat Mar 31 00:01:20 2007 +0200
262 complete resource tracker simplification
266 M test_nobug_resources.c
268 commit d3e159ea6b3ec41f130a9e81cf9f82411075351c
269 Author: Christian Thaeter <ct@pipapo.org>
270 Date: Wed Mar 28 17:42:47 2007 +0200
272 fixed bug with braced arguments
276 commit 8688346115632e1ca40aedcf96b8d6b08eb4164c
277 Author: Christian Thaeter <ct@pipapo.org>
278 Date: Tue Mar 27 22:44:10 2007 +0200
280 Release 0.2pre2 metadata/documentation sync
287 commit 0168c0c7b76cb3c9f1ae863480496f30f04c3b8d
288 Author: Christian Thaeter <ct@pipapo.org>
289 Date: Tue Mar 27 13:24:35 2007 +0200
291 removed locking from the dump functions, at error/report time we already have the lock. Needs to be extended for user-api later
295 commit 35c762e055e8599a7b9f0f5d613798a91281f1a4
296 Author: Christian Thaeter <ct@pipapo.org>
297 Date: Tue Mar 27 11:32:25 2007 +0200
299 add a 'acquired' state to entered resources
303 M test_nobug_resources.c
305 commit d3b02bcc46580883d4351ec890ee758e2659f322
306 Author: Christian Thaeter <ct@pipapo.org>
307 Date: Mon Mar 26 17:29:46 2007 +0200
309 resource registry locking
313 commit 63ad44cdd8530466e36b7805cfa4ac1e1f91e62f
314 Author: Christian Thaeter <ct@pipapo.org>
315 Date: Mon Mar 26 17:29:23 2007 +0200
317 small cleanup and fixes
321 commit 42f1e85d5e3fda78315e0446e1e69855d6004470
322 Author: Christian Thaeter <ct@pipapo.org>
323 Date: Mon Mar 26 10:53:40 2007 +0200
329 commit b660bfaad7ee7fede30381a53ab1fd0cd016dc1f
330 Author: Christian Thaeter <ct@pipapo.org>
331 Date: Sun Mar 25 12:55:28 2007 +0200
333 build 2 library variants now one without threading support, one with threading support
339 commit 8782f3020e7c42fb52fcd18eb958dbd502c975eb
340 Author: Christian Thaeter <ct@pipapo.org>
341 Date: Sun Mar 25 10:14:11 2007 +0200
343 multithreading support, -lpthread is mandatory now, should be made optional and generating a libnobugmt.a and libnobug.a
349 A test_nobug_thread.c
351 commit 5023cd7796add84ee82ef93b58e5026fad5d91d7
352 Author: Christian Thaeter <ct@pipapo.org>
353 Date: Sat Mar 24 09:27:16 2007 +0100
355 basic support tho store states for client resource records, not very mature yet
359 M test_nobug_resources.c
361 commit 641fd12d8b217742ffdabc5b8dcbcf11c446ab58
362 Author: Christian Thaeter <ct@pipapo.org>
363 Date: Sat Mar 24 06:29:16 2007 +0100
365 removed the _literal prefix, introduced _name prefix instead, minor cleanups
369 M test_nobug_resources.c
371 commit 6c88f0d7bd71381296fe139c416ebfa92cce215d
372 Author: Christian Thaeter <ct@pipapo.org>
373 Date: Fri Mar 23 17:49:01 2007 +0100
375 constrain maxmsg 2 chars less makes the code little smaller
379 commit ed78f2f0fce0da9634b5c56827deb4069daf96bd
380 Author: Christian Thaeter <ct@pipapo.org>
381 Date: Fri Mar 23 17:44:23 2007 +0100
387 commit baf12a78550a57cf62b5135b7457812bde9ee8ad
388 Author: Christian Thaeter <ct@pipapo.org>
389 Date: Fri Mar 23 17:40:12 2007 +0100
391 Resource Registry, macros, renames, finished version so far
395 A test_nobug_resources.c
397 commit 34a3280155fd8ebc5429c60a2d5d831aff9b8f06
398 Author: Christian Thaeter <ct@pipapo.org>
399 Date: Thu Mar 22 19:42:19 2007 +0100
401 nobug_resource_dump_all prints out all registered resources
406 commit f864772842993aa825ea495c8978560883cf0905
407 Author: Christian Thaeter <ct@pipapo.org>
408 Date: Thu Mar 22 19:32:39 2007 +0100
410 cleanup and header integration of the resource registry
415 commit a0d4eebf397288f5f6543db55134fe28c57dacfd
416 Author: Christian Thaeter <ct@pipapo.org>
417 Date: Thu Mar 22 19:03:50 2007 +0100
419 add _literal functions for using string literals as resource names without copying
423 commit 81991948b062715483a77912588f71ede11766de
424 Author: Christian Thaeter <ct@pipapo.org>
425 Date: Thu Mar 22 18:49:43 2007 +0100
427 using a colon as type:name delimiter
431 commit 870cab7d1453de319ff9a7fd1382aca31b8b52b8
432 Author: Christian Thaeter <ct@pipapo.org>
433 Date: Thu Mar 22 18:32:54 2007 +0100
435 use type and name as resource identifier
439 commit d732ddeb0418eabd3bdceb3f83e6b5f130db7d2c
440 Author: Christian Thaeter <ct@pipapo.org>
441 Date: Thu Mar 22 17:59:42 2007 +0100
443 resource registry, initial version
449 commit 7fe913bdb458479307cb27f725557d3f36c86275
450 Author: Christian Thaeter <ct@pipapo.org>
451 Date: Thu Mar 22 07:28:19 2007 +0100
453 Ooops, LOG_TRACE should be LOG_DEBUG
458 commit ba537ec64ef19f49d55918a601156cf47f1ff6fb
459 Author: Christian Thaeter <ct@pipapo.org>
460 Date: Thu Mar 22 07:16:20 2007 +0100
462 default values for logging as planned
467 commit 5c15eb0ea266d696c114affd13f71f7e3297736b
468 Author: Christian Thaeter <ct@pipapo.org>
469 Date: Wed Mar 21 13:44:40 2007 +0100
471 libnobug improvement, initialization etc.
476 commit 0cbd08323bde7bb2cce68fc65915c11663072489
477 Author: Christian Thaeter <ct@pipapo.org>
478 Date: Wed Mar 21 13:43:42 2007 +0100
480 new logging function using ringbuffer and other targets
484 commit bbe65dee6c3334f90d16b6d307acf391e4d7c74b
485 Author: Christian Thaeter <ct@pipapo.org>
486 Date: Wed Mar 21 13:42:57 2007 +0100
488 new env parser for NOBUG_LOG
492 commit ce60000931daca3d55abc85a0043a7054268fc70
493 Author: Christian Thaeter <ct@pipapo.org>
494 Date: Wed Mar 21 13:42:24 2007 +0100
496 move struct ringbuffer to nobug.h, small formatting changes, range fix
500 commit 6ae156eed77a23addf6c31d85a84b8cd5c35e98a
501 Author: Christian Thaeter <ct@pipapo.org>
502 Date: Wed Mar 21 04:44:16 2007 +0100
504 add ringbuffer_pos and ringbuffer_pop
508 commit f008167b28f579393a368885ff5488427ba93ca9
509 Author: Christian Thaeter <ct@pipapo.org>
510 Date: Mon Mar 19 05:10:51 2007 +0100
520 commit ca7bb9b1d8d22b245bf0c736d9d7f3ffa9606be4
521 Author: Christian Thaeter <ct@pipapo.org>
522 Date: Sun Mar 18 21:32:08 2007 +0100
524 use NOBUG_DISABLE_SHORTNAMES to disable short aliases
529 commit 01fe48bc80236b6843068323a657efb89b02e440
530 Author: Christian Thaeter <ct@pipapo.org>
531 Date: Sun Mar 18 21:25:42 2007 +0100
533 renamed nobug.c to nobug_ringbuffer.c
538 commit 16c3c966f47db4081f05238e89dfb7a1ba61fbdf
539 Author: Christian Thaeter <ct@pipapo.org>
540 Date: Sun Mar 18 20:11:15 2007 +0100
542 semi-finished ringbuffer
546 commit 1ba07d24640e8283ddaae39c0e921700cdc2f96d
547 Author: Christian Thaeter <ct@pipapo.org>
548 Date: Sun Mar 18 17:17:01 2007 +0100
550 add load and save function
554 commit 721fda7f6e07928ddb50d1eb1e9bf5564a5156bb
555 Author: Christian Thaeter <ct@pipapo.org>
556 Date: Sun Mar 18 17:16:41 2007 +0100
558 for now, O_TRUNC always
562 commit 98b3ceab18902cbefac25988e03115f5d80b5010
563 Author: Christian Thaeter <ct@pipapo.org>
564 Date: Sun Mar 18 05:56:46 2007 +0100
566 next/prev accessors, little TODO list
570 commit 98c82ac1e1dd6fa5b6d89a9c08b4be2b81f3f2a2
571 Author: Christian Thaeter <ct@pipapo.org>
572 Date: Sun Mar 18 04:27:52 2007 +0100
574 ringbuffer implementation, start
579 commit 69ae201a5caeb6801e323905ae6436d0c8d6523b
580 Author: Christian Thaeter <ct@pipapo.org>
581 Date: Fri Mar 16 17:39:13 2007 +0100
583 add few more ignoref files
587 commit 6bc83cae45e45177394a7f7ee85bd6c689cf9869
588 Author: Christian Thaeter <ct@pipapo.org>
589 Date: Wed Mar 14 07:07:44 2007 +0100
597 commit 5949974ec5410007cad31b2fe2a48cdf73c87e24
598 Author: Christian Thaeter <ct@pipapo.org>
599 Date: Wed Mar 14 06:56:46 2007 +0100
601 a NOBUG_INIT_FLAG_LIMIT(flag, default) which lets the initializing program alter the default log level of a debugging flag
605 commit bc4cfdd259022456bf2399497b7f1683f503cd06
606 Author: Christian Thaeter <ct@pipapo.org>
607 Date: Wed Mar 14 06:54:58 2007 +0100
613 commit 7a13ce2bd7f4640b609420a10cce0b58d0902e4c
614 Author: Christian Thaeter <ct@pipapo.org>
615 Date: Wed Mar 14 06:54:15 2007 +0100
617 A new DEPRECATED macro, will altert in ALPHA build, quiet in BETA builds and not compile on RELEASE builds
621 commit 1b9290713c80acbb45ef3d3b2f709d21462fba0c
622 Author: Christian Thaeter <ct@pipapo.org>
623 Date: Wed Mar 7 20:40:34 2007 +0100
625 little fix to make nobug barely useable with C++
629 commit 1ea8dbfe810e51b02af4d48bdbcccf51c81def5f
630 Author: Christian Thaeter <ct@pipapo.org>
631 Date: Mon Mar 5 15:48:51 2007 +0100
633 autotools want a ChangeLog
637 commit c4a0751c280d42156b3162f6c26ae312f76f58ae
638 Author: Christian Thaeter <ct@pipapo.org>
639 Date: Wed Feb 21 01:28:28 2007 +0100
641 use autoconfed checks for valgrind and execinfo, makes valgrind optional
647 commit b63f37c962e8d1749a23d74f345bef90668cf017
648 Author: Christian Thaeter <ct@pipapo.org>
649 Date: Tue Feb 20 22:51:31 2007 +0100
651 test fixes, doc updates (new log format)
657 commit d460f812633cd6029a0dcef801ef2390bcf2b036
658 Author: Christian Thaeter <ct@pipapo.org>
659 Date: Tue Feb 20 22:27:31 2007 +0100
661 new (standardized) log format
665 commit 9de18fd079f2d6b26f5852cd2f7ee561c6b8fd54
666 Author: Christian Thaeter <ct@pipapo.org>
667 Date: Tue Feb 20 19:59:13 2007 +0100
673 commit 3de207b03cb5a3ee456b1e77ba36b1db6596005e
674 Author: Christian Thaeter <ct@pipapo.org>
675 Date: Tue Feb 20 01:14:10 2007 +0100
677 using flags in DUMP macros
682 commit 8f0630ba0d26f9b0aa6b0921a25350d0991f8745
683 Author: Christian Thaeter <ct@pipapo.org>
684 Date: Wed Feb 14 23:19:52 2007 +0100
686 renamed BUG to FIXME, must not exist in BETA builds now
692 commit ef119421fb97ca156a7160114d6433b9dd7d7e15
693 Author: Christian Thaeter <ct@pipapo.org>
694 Date: Fri Feb 2 09:40:15 2007 +0100
696 use git-whatchanged for ChangeLog, remove Changelog from repository
701 commit b2dbc54f90cd3d0ab8fc439516df2a0d5a6b856f
702 Author: Christian Thaeter <ct@pipapo.org>
703 Date: Fri Feb 2 07:12:40 2007 +0100
705 planned feature branch, only added sample code for now
709 commit 8425db6f11687ebd7ea6a61f3380ac418c033a51
710 Author: Christian Thaeter <ct@pipapo.org>
711 Date: Fri Feb 2 05:58:18 2007 +0100
713 fix BETA and RELEASE build bug
718 commit 7fb96382170147011040ee79025278e7750ea2e2
719 Author: Christian Thaeter <ct@pipapo.org>
720 Date: Wed Jan 31 08:03:49 2007 +0100
730 commit 59684118ad8f71e728d0be8228f3d66f1b7b9ae2
731 Author: Christian Thaeter <ct@pipapo.org>
732 Date: Wed Jan 31 08:03:02 2007 +0100
734 added release target to Makefile.am
738 commit 8162b471a7837d7e29ab2ab7588cfa9100d150e1
739 Author: Christian Thaeter <ct@pipapo.org>
740 Date: Tue Jan 30 20:14:10 2007 +0100
752 commit 77c94feca0ecd69c06edced0672cd7e8e173e8b4
753 Author: Christian Thaeter <ct@pipapo.org>
754 Date: Tue Jan 30 06:14:54 2007 +0100
756 better logging control with NOBUG_LOG, set limits per flag
761 commit 56df478c5daec4ff6f4bd236d73e862160ec6576
762 Author: Christian Thaeter <ct@pipapo.org>
763 Date: Sat Jan 27 08:06:55 2007 +0100
765 Doc enhancement: BestPractices. wiki doc got completely reorganized, luckily that isnt seen here.
769 commit 6e6c5ad541b0a24520d9f152975975a6a87681d9
770 Author: Christian Thaeter <ct@pipapo.org>
771 Date: Sat Jan 27 06:33:30 2007 +0100
773 retain old limit in nobug_env_get_flag when initializing flags
777 commit c728db417155f04b4702b9df08a5312e79a1f922
778 Author: Christian Thaeter <ct@pipapo.org>
779 Date: Fri Jan 26 02:50:30 2007 +0100
781 little more precise definition of NOBUG_ON
785 commit b97828286285c935d5895a320ab8f4b0965da4c9
786 Author: Christian Thaeter <ct@pipapo.org>
787 Date: Fri Jan 26 02:46:18 2007 +0100
795 commit a779e3f098f506904f57d503dc85a4f45e9adcb4
796 Author: Christian Thaeter <ct@pipapo.org>
797 Date: Thu Jan 25 17:51:33 2007 +0100
799 little more precise definition of NOBUG_ON
803 commit b8d0d9e57398e42a696852dbddb966830436bb49
804 Author: Christian Thaeter <ct@pipapo.org>
805 Date: Wed Jan 24 13:53:14 2007 +0100
811 commit 15d48d2a0311c79ff5ae4417915095b83358a0a1
812 Author: Christian Thaeter <ct@pipapo.org>
813 Date: Wed Jan 24 13:46:27 2007 +0100
815 fixes Bugs/LimitIgnored
819 commit 728a828cc2ba15d1b39582666e62102790d07340
820 Author: Christian Thaeter <ct@pipapo.org>
821 Date: Tue Jan 16 16:19:40 2007 +0100
823 merged limit and flag checking
830 commit 7c715ce1a5a777934d44fcd861b76269f5d6eca6
831 Author: Christian Thaeter <ct@pipapo.org>
832 Date: Sat Jan 13 22:44:44 2007 +0100
834 new LIMIT definition (prelimary)