Commit graph

1139 commits

Author SHA1 Message Date
rich_sposato
3808e423f2 Fixed bug 3023886 by changing static check to use unnamed enum.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1099 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-09 00:30:44 +00:00
rich_sposato
d84589282e Added more tests for DestructiveCopy.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1098 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-08 23:51:46 +00:00
rich_sposato
d6ee790dd6 Added tests for DestructiveCopy.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1097 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-08 23:37:26 +00:00
rich_sposato
cd6a4f5864 Added code to support test of bug 3224518.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1096 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-07 22:51:17 +00:00
rich_sposato
9fe5e76c73 Added tests for bug 3224518.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1095 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-07 22:50:38 +00:00
rich_sposato
2e1bf19bdd Fixed bug 3224518 by adding calls to OnDereference.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1094 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-07 22:46:37 +00:00
rich_sposato
680a00073e Changed return type for assignment functions.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1093 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-07 20:04:38 +00:00
rich_sposato
bff4655397 Changed test program when working on bug 3106378.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1092 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-07 00:06:19 +00:00
rich_sposato
b8ba216bfb Changed return statements and define section to fix bug 3106378.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1091 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-06 23:56:29 +00:00
rich_sposato
ee07f3d07f Added return type and return statements to fix bug 3399654.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1090 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-06 23:21:38 +00:00
rich_sposato
083812bd56 Added include statement to fix bug 3399706.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1089 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-06 23:01:26 +00:00
rich_sposato
5d9ef0ef2c Moved location of #include statements inside file.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1088 7ec92016-0320-0410-acc4-a06ded1c099a
2011-06-21 08:08:18 +00:00
rich_sposato
4a7c383116 Changed preprocessor statements to provide clarity.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1087 7ec92016-0320-0410-acc4-a06ded1c099a
2011-06-21 03:35:30 +00:00
rich_sposato
1137319d54 Minor changes to preprocessor statements.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1086 7ec92016-0320-0410-acc4-a06ded1c099a
2011-06-21 03:32:19 +00:00
rich_sposato
6cb58ee8cc Removed trailing whitespaces.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1085 7ec92016-0320-0410-acc4-a06ded1c099a
2011-06-21 03:29:50 +00:00
rich_sposato
2bc8950456 Renamed template parameter to avoid confusion.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1084 7ec92016-0320-0410-acc4-a06ded1c099a
2011-06-21 01:16:29 +00:00
rich_sposato
3706b5d249 Added test for exception handling policies.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1083 7ec92016-0320-0410-acc4-a06ded1c099a
2011-06-21 01:11:50 +00:00
rich_sposato
904bbee76d Added ExceptionPolicy enum.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1082 7ec92016-0320-0410-acc4-a06ded1c099a
2011-06-21 01:07:22 +00:00
rich_sposato
27f38492bd Added tests for new single-owner policy classes for StrongPtr.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1081 7ec92016-0320-0410-acc4-a06ded1c099a
2010-10-30 03:12:56 +00:00
rich_sposato
a381009fee Added 3 new policy classes to support single-owner smart
pointers.  Fixed 2 obscure bugs in TwoRefLinks policy.

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1080 7ec92016-0320-0410-acc4-a06ded1c099a
2010-10-30 03:11:07 +00:00
rich_sposato
21f46072bd Added 3 new policy classes to support single-owner smart
pointers.  Changed how ResetPolicy classes get called.

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1079 7ec92016-0320-0410-acc4-a06ded1c099a
2010-10-30 03:09:25 +00:00
rich_sposato
75ce7d41ba Used initialization instead of assignment within constructor.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1078 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-16 17:32:24 +00:00
rich_sposato
dca1d96724 Used initialization instead of assignment within constructor.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1077 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-16 17:28:52 +00:00
rich_sposato
9c85634334 Used initialization instead of assignment within constructor.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1076 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-16 17:26:29 +00:00
rich_sposato
ac54d187bc Replaced repeated calculation with local variable.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1075 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-16 17:23:59 +00:00
rich_sposato
d617910699 Used initialization instead of assignment within constructor.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1074 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-16 17:22:53 +00:00
rich_sposato
92aa90cc6f Fixed bug 3061653 by adding code to check pointers to chunks before searching. Fixed bug 3061659 by checking for empty list.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1073 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-08 02:22:28 +00:00
rich_sposato
edac001bf0 Some coding style changes. Added namespace resolution.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1072 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-08 01:58:51 +00:00
rich_sposato
b82b7f94aa Put some code within Loki::Private namespace.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1071 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-08 01:03:21 +00:00
rich_sposato
1b9364270f Replaced NULL with nullptr.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1070 7ec92016-0320-0410-acc4-a06ded1c099a
2010-09-08 00:48:29 +00:00
rich_sposato
6bc2851497 Loki header files now all have consistent include statement style.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1069 7ec92016-0320-0410-acc4-a06ded1c099a
2010-04-19 03:09:59 +00:00
rich_sposato
ae4fbd418d Fixed bug using patch by ryants.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1068 7ec92016-0320-0410-acc4-a06ded1c099a
2010-03-15 06:03:01 +00:00
syntheticpp
1a2e0328a0 gcc fixes, thanks to Roland Pabel
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1067 7ec92016-0320-0410-acc4-a06ded1c099a
2009-12-22 11:36:36 +00:00
syntheticpp
ead67fddf4 make inheriting from Factory possible, thanks to Roland Pabel
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1066 7ec92016-0320-0410-acc4-a06ded1c099a
2009-12-22 11:35:46 +00:00
syntheticpp
21fadb7917 remove UTF-8 BOM
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1065 7ec92016-0320-0410-acc4-a06ded1c099a
2009-12-14 17:01:10 +00:00
syntheticpp
50877c9943 indent 4 spaces
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1064 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-22 10:55:24 +00:00
syntheticpp
ed74d0efc4 msvc doesn't understand this C++
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1063 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-21 10:54:19 +00:00
syntheticpp
3a89c4689c utf8
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1062 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-21 10:47:12 +00:00
syntheticpp
f4e3f63a8a update studio files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1061 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-21 10:44:43 +00:00
syntheticpp
059018191f use foreach in register code, add foreach tests
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1060 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-21 10:44:08 +00:00
syntheticpp
665abd0b92 add foreach
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1059 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-21 10:40:59 +00:00
syntheticpp
697f3f5775 seems this was removed by accident
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1058 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-21 10:31:47 +00:00
rich_sposato
e3b9a16487 Added project to test if compiler implements thread_local correctly.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1057 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-20 06:37:12 +00:00
rich_sposato
8d363ed1bc Added warning to suggest running ThreadLocal test project.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1056 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-20 06:35:29 +00:00
rich_sposato
0bb48173c9 Added ThreadLocal test project to Loki.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1055 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-20 06:33:15 +00:00
rich_sposato
3592916b15 Added include statement. Removed const declaration.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1054 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-14 07:12:39 +00:00
rich_sposato
6eb3a5a216 Added tests for dynamic-casting with SmartPtr and StrongPtr.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1053 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-10 19:27:20 +00:00
rich_sposato
9e3a736929 Implemented patch 2893162 to allow dynamic-casting with SmartPtr and StrongPtr.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1052 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-10 19:22:16 +00:00
rich_sposato
d54996dbba Added thread-local declaration. Replace sleep with usleep.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1051 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-02 22:45:51 +00:00
rich_sposato
5f5f3b7766 Moved thread_local declaration to separate header file.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1050 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-02 22:40:13 +00:00