Commit graph

103 commits

Author SHA1 Message Date
syntheticpp
727b519348 replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@419 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:03:44 +00:00
syntheticpp
c9fa59ada0 improve test program (gcc fails test 22 and 41)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@418 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 12:55:42 +00:00
syntheticpp
62be08b797 remove msvc warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@416 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 10:38:07 +00:00
syntheticpp
98d9388dfb test fails because snprintf does not support 64bit values, therefore tests on negative integer values is disabled
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@415 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 10:24:39 +00:00
syntheticpp
c65487fd89 assert, include path, and virtual ~ patches by Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@414 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 09:55:09 +00:00
syntheticpp
d5a206bb96 always use #include <loki/...>, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@413 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 00:23:44 +00:00
syntheticpp
4a676debee remove gcc 4.0 warnings, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@410 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 00:01:23 +00:00
syntheticpp
dd7235322b remove system(PAUSE) for gcc, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@409 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 23:54:30 +00:00
syntheticpp
5a9457da09 remove gcc 4.0 warnings, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@408 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 23:45:08 +00:00
syntheticpp
f24e121125 patch Makefiles, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@407 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 23:41:27 +00:00
syntheticpp
f717540760 patch Makefiles, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@406 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 23:35:09 +00:00
syntheticpp
7438aec6c3 SPrintf does not work for negativ integer values on 64 bit systems scp -C -i /home/cuser/.ssh/cf_id_dsa include/loki/SafeFormat.h syntheticpp@cf-shell.sourceforge.net:/home/users/s/sy/syntheticpp/loki/include/loki/!
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@405 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 22:58:58 +00:00
syntheticpp
94131d724c add ScopeGuard example
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@399 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-03 14:36:46 +00:00
syntheticpp
40cc0f1923 add Visitor example
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@395 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 10:54:13 +00:00
syntheticpp
b302ff3049 add visitor example to build process
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@394 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 10:51:27 +00:00
syntheticpp
0dd0c7089b add Visitor example
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@392 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 10:38:25 +00:00
syntheticpp
bf9071ebdb generate library also with the ms toolkit
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@383 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-19 07:54:40 +00:00
rich_sposato
6b6854d53e Added checks for whether loki's allocator is corrupted.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@379 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-08 22:23:33 +00:00
rich_sposato
fb0f712fde Changed template parameter values for SmallObject allocator.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@376 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-08 21:03:02 +00:00
syntheticpp
6b5d0e2629 add speed comparison
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@375 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 14:20:23 +00:00
syntheticpp
7eb9f2e6ae disable %p tests due to different snprintf implementations
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@374 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 13:46:20 +00:00
syntheticpp
fa05da94c0 astyle --style=ansi
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@373 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 13:20:54 +00:00
syntheticpp
3b596259ec make output code more readable
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@372 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 13:17:20 +00:00
syntheticpp
75722359cf point operator added
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@371 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-20 13:16:04 +00:00
syntheticpp
d26ecb6716 change documentation of function
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@365 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-16 13:36:38 +00:00
syntheticpp
f10f61534c add removed tests with NoDestroy plolicy
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@358 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-13 13:39:15 +00:00
syntheticpp
735cde8666 protect private data, add std::vector<IdType> RegisteredIds()
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@356 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-12 16:52:36 +00:00
syntheticpp
1c8bce4d43 remove warnings and adjust code to new default lifetimes of SmallObjects
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@354 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-12 15:13:36 +00:00
syntheticpp
0fc58a0e86 change lifetime policy DieOrder to a msvc7.1 compilable version. Make this the default lifetime for SmallObject
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@353 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-07 12:06:43 +00:00
syntheticpp
4e97accb6a disable FollowIntoDeath/DieOrder lifetime policies when using the msvc 7.1 compiler, bug article: 839821 'Microsoft has confirmed that this is a problem..'
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@352 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-05 17:43:55 +00:00
syntheticpp
cff0fad314 use new singleton lifetime policies
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@346 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 15:00:38 +00:00
syntheticpp
8d8988f5c0 use new singleton lifetime policies
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@345 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 14:15:44 +00:00
syntheticpp
5bbe746eee use new singleton lifetime policies
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@344 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 14:11:18 +00:00
syntheticpp
6c8b1660b4 use new singleton lifetime policies
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@343 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 13:58:18 +00:00
rich_sposato
6f647c1a21 Added explanatory comment about why class has no new [] and delete []
operators.  Removed other comment which is now useless.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@341 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 01:46:04 +00:00
syntheticpp
d805e8d90b apply new lifetime policy to avoid crash on exit in test/Factory
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@340 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:38:19 +00:00
syntheticpp
a17791f2c8 test program for lifetime policies FollowIntoDeath and DieOrder
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@339 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:15:22 +00:00
syntheticpp
a7687a05a1 add lifetime policies to manage singleton lifetime dependencies: FollowIntoDeath and DieOrder. Change SmallObject.h to avoid memory leaks by default
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@338 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:11:52 +00:00
syntheticpp
698ffbff54 disable mt classes when threading is disabled
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@337 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:03:31 +00:00
syntheticpp
a2d383198c test correct also when boost is disabled
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@336 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 14:33:33 +00:00
syntheticpp
41d2cb34f5 disable threading because the sdk (windows.h) is not detected automatically by the batch scripts
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@335 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 14:22:31 +00:00
syntheticpp
7fe4c81ff0 replace tabs space
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@334 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 14:03:23 +00:00
syntheticpp
570f0ed652 make disabling the TYPELIST macros possible
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@333 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 13:49:44 +00:00
syntheticpp
ba524baf5a replace with new implementation
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@332 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-29 12:38:22 +00:00
syntheticpp
de09eec49b find loki include files without a correct sreach pathand some small fixes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@331 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-29 10:21:46 +00:00
syntheticpp
cb9492fca9 new bechmark with: new, SmallObj, SmallValueObj, boost::object_pool, malloc and std::allocator
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@329 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-27 19:11:01 +00:00
syntheticpp
9e333d1dec gcc fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@328 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-27 19:10:32 +00:00
syntheticpp
4978cfb9d8 make object size more flexible
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@327 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-26 23:30:06 +00:00
rich_sposato
b078e019be Added comparison to boost::pool memory allocator.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@325 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-26 00:41:00 +00:00
rich_sposato
b8142d7acc Added CVS keywords and header lines.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@324 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-26 00:38:49 +00:00