Commit graph

1007 commits

Author SHA1 Message Date
syntheticpp
a4d1814c45 also compile with the original gnu pthread.h
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@362 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-15 11:08:57 +00:00
syntheticpp
352db5615c add comment for missing lib when using ms toolkit 2003. directory is not empty thus it is also checked out; this prevents a mising directory error when using make
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@361 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-15 11:05:22 +00:00
syntheticpp
a966dc9aff update documentation due to the new lifetime policies
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@360 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-13 16:51:22 +00:00
syntheticpp
a1b035fd15 make new SetLongevity impl more exception safety
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@359 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-13 14:32:03 +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
71b6338ca7 make typedefs private, replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@357 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-12 17:11:55 +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
d45e0a1b08 new impl for SetLongevity which looks more like c++ and circumvents the usage of the so called (ms) 'deprecated' function copy_backward
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@355 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-12 15:14:08 +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
1857e40384 disable show_directores
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@351 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-03 13:15:54 +00:00
syntheticpp
50bf550572 more doxygen documentation, modules added
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@350 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-03 12:56:58 +00:00
syntheticpp
a7c999161b more doxygen documentation, modules added
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@349 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-03 12:55:20 +00:00
syntheticpp
7b4424b3fd more doxygen documentation, modules added
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@348 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-03 12:43:55 +00:00
syntheticpp
76309d2b5c more doxygen documentation, modules added
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@347 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 20:01:11 +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
syntheticpp
10cdcd9d59 remove warning
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@342 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 13:58:03 +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
0fbe1f7258 #undef LOKI_SMALL_OBJECT_USE_NEW_ARRAY when using a Microsoft compiler
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@330 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-29 08:10:13 +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
841e406282 Minor changes to documentation comments.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@326 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-26 00:50:44 +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
rich_sposato
71e9d5aa2d Added seconds back to output.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@323 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-26 00:33:06 +00:00
syntheticpp
8f382ba936 Table is out of date
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@322 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-24 20:51:38 +00:00
syntheticpp
23ade9b6f0 small changes for Threads; add compile test for Threads.h
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@321 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-24 20:35:12 +00:00
syntheticpp
da979a7e0e add boost/TR1 like usage of Functor, with a test program from boost 1.33
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@320 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-24 15:40:22 +00:00
syntheticpp
b73fe0bbcf adding support for POSIX threads (pthreads.h), Thanks to Ilya Volvovski
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@319 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-24 15:05:24 +00:00
syntheticpp
7d66b82b9a bug fix: Unix compilation problems
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@318 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-24 12:13:07 +00:00
syntheticpp
f682afc33b Bugfix: [ 541846 ] SmartPtr and COMRefCounted
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@317 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-21 14:17:46 +00:00
syntheticpp
1d868173c2 Bugfix: 626407 Assertion with SmartPtr<T, LinkedRef>
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@316 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-21 14:04:29 +00:00
syntheticpp
cdb722ec38 add assert
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@315 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-20 16:07:00 +00:00
rich_sposato
c640203744 Removed unneeded include statements. Changed lines that check for corrupt
Chunk.  Changed assertions when allocating.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@313 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 18:06:13 +00:00
rich_sposato
2d4f6a82e6 Removed file which is not needed for project.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@312 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 18:04:44 +00:00