Commit graph

227 commits

Author SHA1 Message Date
rich_sposato
3410d5ae8f Added call to the allocator's new_handler to trim memory as part of test.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@230 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-09 00:25:48 +00:00
rich_sposato
c78269f482 Added functions to trim extra memory within allocator. Made a new_handler
function for allocator.  Added deallocator function for nothrow delete
operator to insure nothing is leaked when constructor throws.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@229 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-09 00:25:00 +00:00
rich_sposato
d740b86c0a Changed Chunk list to double in size when adding new chunks instead of
just incrementing by 1.  Changes linear operation into amortized constant
time operation.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@228 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-01 22:15:47 +00:00
rich_sposato
aa1b96d9c4 Added #ifdef to deal with MSVC warning about exception specification lists.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@227 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-01 22:01:33 +00:00
syntheticpp
0394032040 remove tabs, wrong enumeration
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@226 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-31 16:11:53 +00:00
syntheticpp
c1b357a5bd type traits: a refernce is also a integral...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@225 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-31 15:54:47 +00:00
syntheticpp
8cf5c6ad87 adding doc
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@224 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 13:48:08 +00:00
syntheticpp
16958f02fb samll fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@223 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 13:22:56 +00:00
syntheticpp
2c6bfd641d samll fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@222 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 13:11:29 +00:00
syntheticpp
01656e16cc adding small object benchmark
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@221 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 13:05:20 +00:00
syntheticpp
cdb70a208b small gcc and msvc8 corrections
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@220 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 12:47:56 +00:00
syntheticpp
0f678b97e2 small gcc and msvc8 corrections
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@219 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 12:47:16 +00:00
syntheticpp
db227c1822 adding SafeFormat.h
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@218 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 10:44:02 +00:00
syntheticpp
54a52b21c1 adding yasli notes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@217 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 10:40:18 +00:00
syntheticpp
af8bdb7ca2 add test programs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@216 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 10:38:52 +00:00
syntheticpp
cf4af691c2 adding yasli
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@215 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 10:22:04 +00:00
syntheticpp
f994398a51 -adding flex_string
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@214 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 10:20:46 +00:00
syntheticpp
7d639aff90 enable RefCountedMT
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@213 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 09:21:17 +00:00
syntheticpp
0ed8a7a091 fix bug[ 446592 ] SmartPtr an threading (RefCountedMT)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@212 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 09:21:02 +00:00
syntheticpp
18884e392f [ 561438 ] GenLinearHierarchy
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@211 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-26 15:35:41 +00:00
syntheticpp
f6fffe4dea fix bug: [ 669669 ] TypeTraits::ParameterType for non-primitive types
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@210 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-26 15:17:42 +00:00
syntheticpp
205770826b fix bug: [ 669669 ] TypeTraits::ParameterType for non-primitive types
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@209 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-26 15:07:24 +00:00
syntheticpp
41536265e8 better support of types with const/volatile qualifiers, thanks to Kalle Rutanen
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@208 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-26 14:02:28 +00:00
syntheticpp
79abaf3ed9 small corrections
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@207 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-25 15:49:51 +00:00
syntheticpp
4c5968dc18 small corrections
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@206 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-25 15:23:14 +00:00
syntheticpp
ba4d64fbe2 make comments consistent with the code
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@205 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-25 15:22:33 +00:00
syntheticpp
125f346221 change default to single threading
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@204 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-10 18:13:13 +00:00
syntheticpp
4c52365bd8 invert new factory code macro logic to be ReferenceTest more compatible with noncc code
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@203 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-31 15:06:22 +00:00
syntheticpp
f783dcc91b invert new factory code macro logic to be ReferenceTest more compatible with noncc code
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@202 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-31 14:23:24 +00:00
syntheticpp
687c3682a7 make object level threading possible
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@201 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-31 14:00:48 +00:00
syntheticpp
7382c3dde0 replace old implementation with the ingeious from Rich Sposato
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@200 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-31 13:51:31 +00:00
syntheticpp
8d3a79495c add dev-c++ project file
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@199 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 15:02:27 +00:00
syntheticpp
ca0b146351 remove misspelled file
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@198 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 15:01:38 +00:00
syntheticpp
2e22f08abd remove unreferenced parameter warning
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@197 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:59:17 +00:00
syntheticpp
a88d7f06bc add dev-c++ project file
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@196 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:45:32 +00:00
syntheticpp
f4994cb86e add Factory example
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@195 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:27:12 +00:00
syntheticpp
21e122256a add cvs Header/Log
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@194 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:26:10 +00:00
syntheticpp
da325e4b8e tabs/space
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@193 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:13:46 +00:00
syntheticpp
9e4ea0178b test for factory with parameters
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@192 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:07:40 +00:00
syntheticpp
c9a317ceea test for factory with parameters
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@191 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:05:05 +00:00
syntheticpp
2c7b241eaf new macros for default threading
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@190 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:04:07 +00:00
syntheticpp
c85f9b568f new Factory, create functions with parameters
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@189 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 14:03:30 +00:00
syntheticpp
ad1de6274f gcc -pedantic correction
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@188 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 07:02:58 +00:00
syntheticpp
2c8ae86eee error on incomplete types, void fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@187 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 06:49:46 +00:00
syntheticpp
6037b312a6 error on incomplete types, void fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@186 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 06:42:33 +00:00
syntheticpp
3a7eb042b9 prepare for next SmallObject version
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@185 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-28 06:12:32 +00:00
syntheticpp
a3ad4d38e2 fix fug SuperSubclass and incomplete classes, 630897
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@184 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-27 19:59:05 +00:00
syntheticpp
ecd3aa136e fix fug SuperSubclass and incomplete classes, 630897
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@183 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-27 19:26:55 +00:00
syntheticpp
7fa263d636 asserts to catch >static initialization order fiasco<
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@182 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-27 17:33:50 +00:00
syntheticpp
a5e61478b6 differnt locks for different SingletonHolders. bug 691687
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@181 7ec92016-0320-0410-acc4-a06ded1c099a
2005-07-27 17:33:22 +00:00