Commit graph

1175 commits

Author SHA1 Message Date
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
rich_sposato
399234cb43 Changed parameter type for main.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1049 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-02 22:38:37 +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
096a7d5841 Added ThreadLocal.h header file.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1047 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-02 05:43:58 +00:00
rich_sposato
5b98f92405 Added ThreadLocal.h header file.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1046 7ec92016-0320-0410-acc4-a06ded1c099a
2009-11-02 05:37:41 +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
c74e851a38 Renamed Unlocker to remove compiler warning. Changed function calls for sleeping.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1044 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-16 06:00:40 +00:00
rich_sposato
65949024b3 Renamed Unlocker to remove compiler warning.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1043 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-16 05:54:12 +00:00
rich_sposato
7d52fcdeb9 Changed some project settings.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1042 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-11 05:35:15 +00:00
rich_sposato
eddb08f4cf Project was missing some header files in include directory.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1041 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-11 05:31:02 +00:00
rich_sposato
bddc811650 Minor changes to project settings.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1040 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-11 05:26:46 +00:00
rich_sposato
6cc7597d5c Added new configurations to differentiate between cygwin-gcc and gnu-gcc.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1039 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-10 23:56:26 +00:00
rich_sposato
47bb08d2de Added new configurations to differentiate between cygwin-gcc and gnu-gcc.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1038 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-10 23:54:57 +00:00
rich_sposato
46547199cf Added new configurations to differentiate between cygwin-gcc and gnu-gcc.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1037 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-10 23:53:07 +00:00
rich_sposato
9d86b1d4aa Added new configurations to differentiate between cygwin-gcc and gnu-gcc.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1036 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-10 23:51:27 +00:00