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
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
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
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
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
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
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
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
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
da01e0f541
Fixed bug 2656893. Removed redundant assertions.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@995 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-04 07:13:07 +00:00
rich_sposato
36f75e2dd5
Added yasli header files.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@979 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:30:36 +00:00
syntheticpp
9103a647c4
fix line endings
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@958 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-29 17:38:55 +00:00
syntheticpp
0c4b7983f8
Apple fix
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@951 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-26 19:58:04 +00:00
syntheticpp
797f97f415
Cygwin fixes: build with mingw 3.4.4 and 4.3.2
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@950 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-26 19:45:54 +00:00
rich_sposato
b45fb658ee
Added MSVC9 project file.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@940 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-21 07:32:15 +00:00
syntheticpp
1e72cc7149
gcc 4.2 fix
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@907 7ec92016-0320-0410-acc4-a06ded1c099a
2008-12-10 19:47:33 +00:00
rich_sposato
7b4782d75e
Removed thread_local storage qualifier for GCC. Add ctor initializer for GCC.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@905 7ec92016-0320-0410-acc4-a06ded1c099a
2008-11-10 06:48:38 +00:00
syntheticpp
0c4789ee11
GCC 4.2 fixes
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@895 7ec92016-0320-0410-acc4-a06ded1c099a
2008-08-08 22:06:26 +00:00
rich_sposato
c48d2f7a84
Added LevelMutex files to project.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@893 7ec92016-0320-0410-acc4-a06ded1c099a
2008-07-24 23:14:17 +00:00
rich_sposato
4dbde4cd35
Upgraded file to MSVC 9.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@872 7ec92016-0320-0410-acc4-a06ded1c099a
2008-07-23 07:07:05 +00:00
rich_sposato
ee05791b21
Adding MSVC 8 files to Loki.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@870 7ec92016-0320-0410-acc4-a06ded1c099a
2008-07-23 02:12:05 +00:00
syntheticpp
f31e5b82f7
add hp-ux patch 1835801
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@868 7ec92016-0320-0410-acc4-a06ded1c099a
2008-07-15 20:19:23 +00:00
rich_sposato
996c78ec71
Adding LevelMutex to Loki.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@845 7ec92016-0320-0410-acc4-a06ded1c099a
2008-05-25 04:06:54 +00:00
lfittl
4ff2a48e5a
Fixed makefiles for GNU/kFreeBSD, GNU/hurd
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@826 7ec92016-0320-0410-acc4-a06ded1c099a
2007-05-29 02:25:39 +00:00
lfittl
214635bfc1
- Fixed build failures with gcc 4.3 pre-release
...
(http://bugs.debian.org/413432 )
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@823 7ec92016-0320-0410-acc4-a06ded1c099a
2007-05-08 10:48:40 +00:00
rich_sposato
0699d642fd
Changed TwoRefCounts dtor and minor change to SmallObj.cpp code.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@819 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-07 00:30:12 +00:00
rich_sposato
5bc174ffce
Added destructor to TwoRefCounts.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@815 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-01 01:23:48 +00:00
syntheticpp
af68912216
move macro switched code into the header to fix linker errors.
...
By this we don't need special libraries for the
#if defined (LOKI_OBJECT_LEVEL_THREADING) || defined (LOKI_CLASS_LEVEL_THREADING)
case.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@807 7ec92016-0320-0410-acc4-a06ded1c099a
2007-02-25 12:49:19 +00:00
rich_sposato
1743fd1da3
Added typedef so LockableTwoRefCounts uses thread-safe allocator.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@772 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-03 00:21:35 +00:00
syntheticpp
85e43339c8
there is no svn keyword Log
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@756 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 20:05:42 +00:00
syntheticpp
73798da9f5
subversion uses Id instead of Header
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@755 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 20:02:15 +00:00
syntheticpp
092052ee93
svn propdel svn:executable -R *
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@739 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 18:16:19 +00:00
rich_sposato
6b3fd8df7b
Added #ifdef section around lockable pointer class to insure it only gets
...
built in a multi-threaded model.
Added #ifdef sections around asserts that are expensive to test.
Removed test lines that send info to output.
Removed commented code.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@714 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-14 00:03:15 +00:00
lfittl
68a09a05be
- Link after calling install, otherwise we end up with 2 copies of the lib and no links
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@702 7ec92016-0320-0410-acc4-a06ded1c099a
2006-09-11 21:53:53 +00:00
lfittl
3de4a064cb
- Create initial 0.1.6 changelog
...
- Makefiles can now be called from sub directories
- Makefiles know includes and recompile if they are changed (linux, macosx)
- Build all tests except SingletonDll with the static library (linux, macosx)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@695 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-14 07:31:37 +00:00
syntheticpp
234e0855d1
remove 64 bit warning
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@693 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-07 09:30:48 +00:00
syntheticpp
ae9c9ecc22
add writing to ostream, by Tom Browder
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@692 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-06 18:25:28 +00:00
lfittl
5121014d22
- Override CPPFLAGS and LDFLAGS (src/Makefile)
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@689 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-01 12:17:05 +00:00
syntheticpp
11e532673b
use standard conforming naming, SUN's compiler needs it
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@686 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-28 08:04:21 +00:00