Commit graph

460 commits

Author SHA1 Message Date
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
syntheticpp
d2b327170e replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@311 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 13:08:34 +00:00
syntheticpp
0df314b345 remove debug code
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@310 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 09:44:00 +00:00
syntheticpp
a60cd00348 add test for static member variables
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@309 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 09:43:45 +00:00
syntheticpp
d1a5bd2ec8 add SmallSingleton to build process
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@308 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 09:03:54 +00:00
syntheticpp
a61d7f7127 add DeletableSingleton policy and examples from Curtis Krauskopf's CUJ article 'Creating Dynamic Singletons & the Loki Library' - www.decompile.com
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@307 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 08:43:42 +00:00
syntheticpp
6c7cedb361 add example from Curtis Krauskopf's CUJ article 'Creating Dynamic Singletons & the Loki Library' - www.decompile.com
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@306 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 08:24:50 +00:00
syntheticpp
6548c6e1d7 gcc patch
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@305 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 08:07:23 +00:00
syntheticpp
e8fcb25741 fix bug 1327060. Add missing template parameter to make different static variables possible
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@304 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-15 19:41:23 +00:00
rich_sposato
b53657017a Added tests for corrupt Chunk. Added cout statements for debugging - and
these are inside a #ifdef block.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@303 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-15 00:41:36 +00:00
rich_sposato
c23e9f1e23 Added check for already deleted block. Made Chunk members private.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@302 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-14 23:16:23 +00:00
rich_sposato
b6916ef5fe Adding SmallSingleton project to CVS.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@301 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-14 20:28:51 +00:00
rich_sposato
ea12936779 Adding SmallSingleton test project to CVS.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@300 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-14 18:48:10 +00:00
rich_sposato
7cebdb5f96 Added cvs keywords.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@299 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-14 18:35:06 +00:00
rich_sposato
fdd5e4a158 Added another condition to if statement for allocChunk_.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@298 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-13 22:55:46 +00:00
rich_sposato
6981c5931a Added documentation comments about lifetime policies.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@297 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-13 22:43:03 +00:00
rich_sposato
a810fb8d0f Moved emptyChunk_ assignment because code depends upon it. And added if
statement before line where allocChunk_ is assigned.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@296 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-13 22:41:05 +00:00
rich_sposato
01349cc358 Added program to test how compiler uses default new and delete operators.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@295 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-13 00:40:38 +00:00
syntheticpp
ebde306337 Bug [ 1314453 ] AssocVector<>: hinted insert does not preservedering. Thanks to Christopher Twigg
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@294 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-10 15:02:57 +00:00
rich_sposato
d772eacd50 Added GetLongevity function so allocator can work with a certain lifetime
policy class used with Loki::SingletonHolder.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@293 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-07 01:22:09 +00:00
syntheticpp
98c07576c8 adding template based list/sequence implementation, should replace LOKI_TYPELIST_, update some files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@292 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-06 17:50:51 +00:00
syntheticpp
c343e24150 adding template based list/sequence implementation, should replace LOKI_TYPELIST_
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@291 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-06 17:49:14 +00:00
syntheticpp
1eb831f009 calculate also speed-up factor
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@290 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-06 10:17:56 +00:00
rich_sposato
4e035929fd Added tests for new [] and delete [].
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@289 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-06 00:20:24 +00:00
rich_sposato
2f6f89551f Added clarifying comment about destructor.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@288 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-06 00:19:56 +00:00
syntheticpp
bf144a940b remove some unnecessary code
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@287 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 22:43:00 +00:00
syntheticpp
1550e02b62 fix bug 511144
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@286 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 18:45:10 +00:00
syntheticpp
3156804c37 update build process
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@285 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 18:14:21 +00:00
syntheticpp
b44c50216e add OrderedStatic test
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@284 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 17:57:54 +00:00
syntheticpp
ab34afa8d6 Proposal to solve 'static initialization order fiasco'
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@283 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 17:56:11 +00:00
syntheticpp
2171d8a7b8 move unreachable code warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@282 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 09:57:37 +00:00
syntheticpp
d0e75dd3b1 add Longevity test
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@281 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 09:11:58 +00:00
syntheticpp
13d56ada49 the greater the value of longevity the greater the lifetime.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@280 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 09:08:42 +00:00
syntheticpp
622a426739 generate no folders
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@278 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-29 08:57:13 +00:00
syntheticpp
dee53adb01 update msvc build process
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@277 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-29 08:09:17 +00:00
rich_sposato
98734a38e9 Added comments saying how to test array forms of new and delete.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@276 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-27 17:04:30 +00:00
syntheticpp
2f9e9583b0 remove absolute path names
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@275 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-27 11:52:58 +00:00
syntheticpp
160460a522 doxygen configure file
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@274 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-27 09:11:11 +00:00
rich_sposato
b97d31ab25 Added array forms of new and delete.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@273 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-27 00:41:13 +00:00
rich_sposato
abe707a047 Moved Chunk out of FixedAllocator class so I could improve efficiency for
SmallObjAllocator::Deallocate.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@272 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-27 00:40:30 +00:00
rich_sposato
e529d13e1b Changed include path to be direct instead of relying upon project settings.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@271 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-26 21:38:54 +00:00
syntheticpp
dcb1d09cd5 undo msvc project-file changes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@270 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-26 08:43:29 +00:00
syntheticpp
6e99716c13 move macros into LOKI_ namespace
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@269 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-26 07:33:05 +00:00
syntheticpp
82a749919e debian makefile from Martin Krafft
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@268 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-25 17:59:43 +00:00
syntheticpp
c3d1c45925 replace
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@267 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-25 11:58:11 +00:00
syntheticpp
829bfc94f1 replace
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@266 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-25 11:57:25 +00:00
syntheticpp
d30ac8835e the installer needs a batch file
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@265 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-25 11:51:18 +00:00
syntheticpp
2522fba824 boost says: <member pointer is not pointer>
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@264 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-25 00:40:35 +00:00