Commit graph

418 commits

Author SHA1 Message Date
rich_sposato
5fdebe2bf7 Fixed bugs 2792371 and 2694060 by adding checks for end of format.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1135 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-04 00:50:00 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
f16c81d265 Moved thread_local macro code to separate header file. Added more error values to enum family.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1048 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-02 05:48:02 +00:00
rich_sposato
c447453a8b Added new header to Loki.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1045 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-02 05:34:21 +00:00
rich_sposato
d723342f30 Changed functions in all policies from public to protected.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1029 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-07 00:41:02 +00:00
rich_sposato
6281fa4bef Changed functions in ownership policies from public to protected.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1028 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-07 00:28:23 +00:00
rich_sposato
81b896f459 Replaced assert( IsValid() ) with checker's call to IsValid.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1024 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 23:07:10 +00:00
rich_sposato
350065c291 Fixed bug 2789197 by adding include statement.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1022 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 21:03:36 +00:00
rich_sposato
1663a0b30b Fixed bug 2803535 by adding const qualifier.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1021 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 20:43:11 +00:00