Commit graph

1100 commits

Author SHA1 Message Date
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
rich_sposato
840a40dce1 Added new configurations to differentiate between cygwin-gcc and gnu-gcc.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1035 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-10 23:49:40 +00:00
rich_sposato
3bdf75ff9b Added new configurations to differentiate between cygwin-gcc and gnu-gcc.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1034 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-10 23:47:49 +00:00
rich_sposato
e383589380 Added new configurations to differentiate between cygwin-gcc and gnu-gcc.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1033 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-10 23:45:58 +00:00
rich_sposato
b465c6ad49 Added new configurations to differentiate between cygwin-gcc and gnu-gcc.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1032 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-10 23:43:02 +00:00
rich_sposato
37a4de176f Changed main declaration to remove GCC warning.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1031 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-10 23:11:31 +00:00
rich_sposato
6e978472dd Added include statements and changed main() declaration.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1030 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-10 23:09:23 +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
d2af9cf1df Replaced sleep with usleep.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1027 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-01 17:54:38 +00:00
rich_sposato
8286c4e0b2 Changed #if statement used to decide to compile code.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1026 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-29 19:02:43 +00:00
rich_sposato
bd84a726a9 Added test for pointer to const object.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1025 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 23:49:05 +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
cbf7550f08 Added year to copyright notice.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1023 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 21:10:43 +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
rich_sposato
2d6266ba0b Added explicit qualifier to constructor.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1020 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 20:28:24 +00:00
rich_sposato
c1f17ce2f0 Fixed bug 2831440 by making constructors explicit.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1019 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 20:27:34 +00:00
rich_sposato
9b083bd028 Added tests which compare host to memento.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1018 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 19:42:09 +00:00
rich_sposato
76aeea2390 Added ability to compare host to memento.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1017 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-26 19:40:20 +00:00
syntheticpp
fa3743d524 undo removing warning.
https://sourceforge.net/forum/message.php?msg_id=7564865

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1016 7ec92016-0320-0410-acc4-a06ded1c099a
2009-08-16 20:33:52 +00:00
syntheticpp
c8bd6f516f fix bug
https://sourceforge.net/tracker/?func=detail&atid=396644&aid=2807089&group_id=29557

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1015 7ec92016-0320-0410-acc4-a06ded1c099a
2009-08-16 20:29:58 +00:00
rich_sposato
2817d41081 Added tests for comparison operators for SmartPtr.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1014 7ec92016-0320-0410-acc4-a06ded1c099a
2009-04-11 06:02:59 +00:00
rich_sposato
a1d74d7725 Fixed bug 2747377 by changing order of operands.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1013 7ec92016-0320-0410-acc4-a06ded1c099a
2009-04-11 06:01:06 +00:00
rich_sposato
e35ba7770e Added structs to declare typedefs for various exception policies.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1012 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-31 21:56:08 +00:00
jfbastien
433534f136 Bug 2690414: flex_string missing swap implementation
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1011 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-17 18:21:12 +00:00