Commit graph

461 commits

Author SHA1 Message Date
rich_sposato
d39752ca64 Replaced call to system with call to cin.get.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1158 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-17 20:27:44 +00:00
rich_sposato
c79dd4344c Made Code::Blocks project file.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1156 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-17 20:24:40 +00:00
rich_sposato
aeb3bf8012 Added instructions to build DefaultAlloc.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1155 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-17 20:14:53 +00:00
rich_sposato
efe104663e Added explanatory comments. Replaced tabs with spaces.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1154 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-17 20:04:54 +00:00
rich_sposato
ac16c24fb5 Replaced call to system with call to cin.get.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1153 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-17 20:00:02 +00:00
rich_sposato
b97cbd0a32 Added make files for projects.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1150 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-17 19:55:23 +00:00
rich_sposato
3cb55b723d Adding MSVC 10 project files.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1149 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-17 08:19:44 +00:00
rich_sposato
e0bfdfbeb2 Adding MSVC 10 project files.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1148 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-17 08:16:18 +00:00
rich_sposato
372e33dabc Adding MSVC 10 project files.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1147 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-17 08:10:29 +00:00
rich_sposato
b2612d8d63 Adding MSVC 10 project files.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1146 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-17 08:03:19 +00:00
rich_sposato
e3ae301acc Changes for Linux.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1145 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-15 00:25:04 +00:00
rich_sposato
2fedf40d9d Changed compiler used by project.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1144 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-14 23:49:45 +00:00
rich_sposato
7122d03d7d Added void statements to remove compiler warnings.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1143 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-13 18:39:32 +00:00
rich_sposato
6e39840984 Updated make file to compile ThreadPool and use pthreads library.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1142 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-13 18:37:58 +00:00
rich_sposato
1fcba1aa3b Added 4 void declaration lines to remove compiler warning.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1141 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-07 07:06:01 +00:00
rich_sposato
6d08c064e6 Added tests for bug 2694067.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1139 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-04 23:46:30 +00:00
rich_sposato
cda3ef96a2 Added test for bugs 2792371 and 2694060. Cleaned up code.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1136 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-04 00:52:09 +00:00
rich_sposato
9fe637bf8b Minor cosmetic changes. Also replaced system call with use of std::cin.get.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1134 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-03 05:05:41 +00:00
rich_sposato
6568cc4a3a Added void lines to remove compiler warnings.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1133 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-03 05:03:10 +00:00
rich_sposato
6b42268ba9 Replaced tabs with spaces.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1132 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-03 05:01:16 +00:00
rich_sposato
965a15a5f0 Added void lines to remove compiler warnings. Commented out inappropriate tests. Added call to single-owner test for StrongPtr.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1131 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-03 04:56:54 +00:00
rich_sposato
d66de77411 Added void lines to remove compiler warnings.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1130 7ec92016-0320-0410-acc4-a06ded1c099a
2011-10-03 04:52:52 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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