Commit graph

1119 commits

Author SHA1 Message Date
rich_sposato
abd64fced4 Changed order of actions to remove warning.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1129 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-03 04:39:17 +00:00
rich_sposato
41cf9e0324 Minor changes for Visual Studio.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1128 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-03 04:00:22 +00:00
rich_sposato
a86d7d51f3 Fixed bug 3388381 by changing ctor body.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1127 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-30 23:16:08 +00:00
rich_sposato
3c3d49ff1a Added tests for AssocVector class. Changed order of projects.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1126 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-30 23:14:41 +00:00
rich_sposato
87aa15c2fc Added tests for AssocVector class.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1125 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-30 23:13:59 +00:00
rich_sposato
d29a4f5618 Fixed 3415388. Changed predefined to match #define in Threads.h
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1124 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-30 19:58:43 +00:00
rich_sposato
36d0d2df1e Added tests for ObjectLevelLockable and ClassLevelLockable.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1123 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-29 23:33:53 +00:00
rich_sposato
120d251852 Changed compiler and linker settings for Release build.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1122 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-29 23:33:08 +00:00
rich_sposato
3d9974dd1a Added tests for ObjectLevelLockable and ClassLevelLockable.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1121 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-29 23:31:47 +00:00
rich_sposato
1573b4924a Changed which libraries are linked.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1120 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-29 20:47:11 +00:00
rich_sposato
e20e694104 Changed check for GCC version 4.4
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1119 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-29 20:40:13 +00:00
rich_sposato
be16975d6a Moved some code in main.cpp to separate files.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1118 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-29 20:36:38 +00:00
syntheticpp
647e6ff06a remove some GCC warnings and update Makefile
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1117 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-29 19:56:39 +00:00
rich_sposato
4ac9e4f44d Added text of MIT License.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1116 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-23 00:46:54 +00:00
rich_sposato
d2ca522cca Added text of MIT License.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1115 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-23 00:46:21 +00:00
rich_sposato
199f8bcade Added comment about policy incompatibility.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1114 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-21 23:24:54 +00:00
rich_sposato
0801173d25 Added tests for SmartPtr::operator[] - and related changes.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1113 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 23:32:29 +00:00
rich_sposato
bec200e5f8 -m
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1112 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 23:25:41 +00:00
rich_sposato
ca6a94ac97 Back to revision 1109. Accidentally checked in more files than I intended.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1111 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 23:19:14 +00:00
rich_sposato
16094ffe39 A little cleanup. Moved class to SmartPtr.cpp and SmartPtr.h files.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1110 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 22:34:24 +00:00
rich_sposato
80a07d19e8 Added array handling to SmartPtr.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1109 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 22:33:34 +00:00
rich_sposato
419efb2c20 Added comment about delete this.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1108 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 18:38:13 +00:00
rich_sposato
9d55e10a3b Added ability for StrongPtr to handle arrays.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1107 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 18:36:12 +00:00
rich_sposato
a6e51efab9 Added ability for StrongPtr to handle arrays.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1106 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 17:52:11 +00:00
rich_sposato
1d71c6b80f Added ability for StrongPtr to handle arrays.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1105 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 17:51:46 +00:00
rich_sposato
c0847588ea Added ability for StrongPtr to handle arrays.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1104 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 17:51:26 +00:00
rich_sposato
a89951c211 Removed #if 0 lines because compiler choked on it.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1103 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-17 02:25:43 +00:00
rich_sposato
0f2b0a91d8 Uncommented test for const DestructiveCopy pointer after fixing bug.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1102 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-17 02:20:19 +00:00
rich_sposato
db151ad7b9 Fixed bug 2080889 by adding overload of const Clone function.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1101 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-17 02:19:01 +00:00
rich_sposato
3af86d72a1 Added call to OnDereference to constructor.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1100 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-13 00:50:05 +00:00
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