syntheticpp
e3277a903d
add reentrance support to the pthread mutex, thx to Shen Lei
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@687 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-01 10:26:25 +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
syntheticpp
30f4e933c1
replace tabs with 4 spaces
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@680 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-19 12:39:09 +00:00
syntheticpp
9b30cc32a6
add hint to fix broken build
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@678 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-19 12:18:44 +00:00
syntheticpp
ee00d7fb60
simplify Functor::operator== implementation. Thanks to Eric Beyeler
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@676 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-09 12:58:44 +00:00
syntheticpp
9233d249c9
fix wrong default value handling, gcc fix
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@675 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-09 12:57:15 +00:00
syntheticpp
ad77f8b3ef
fix wrong default value handling
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@674 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-09 12:04:40 +00:00
vizowl
7227fa0c4e
added a check for _POSIX_PTHREAD_H to detect pthread.h on OS X
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@672 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-04 20:18:39 +00:00
syntheticpp
50d35c6196
add operator== to Functor, initiated by Eric Beyeler
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@662 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-01 12:33:05 +00:00
syntheticpp
0f42475f4a
add warning about mt bug
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@660 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-30 14:30:19 +00:00
syntheticpp
013ffed520
enable documentation by removing doxygen warning
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@654 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-20 10:25:08 +00:00
syntheticpp
781b92cff9
add warnings in the documentation about the special lifetime when using SmallObjects
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@653 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-20 10:23:07 +00:00
syntheticpp
e23c99bf65
undo commit 1.29, reject bug: [ 1459838 ] Loki::COMRefCounted doesn't call AddRef() on assignment
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@646 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-17 16:04:32 +00:00
rich_sposato
0e8b336c0a
Corrected comments. Added operator= function. Improved efficiency of
...
dtor. Other minor changes.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@641 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-21 21:45:17 +00:00
rich_sposato
5a1e25a204
Changed DeleteSingle and DeleteArray policy to not allow use of incomplete
...
types.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@640 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-19 01:04:26 +00:00
syntheticpp
cdc9205e8e
fix compare bug
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@639 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-18 09:27:35 +00:00
lfittl
85a490c387
- Various makefile improvements (better mingw support, easier to add new sources)
...
- Include loki/StrongPtr.hpp, not Loki/StrongPtr.hpp (test/SmartPtr)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@638 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-18 07:29:41 +00:00
syntheticpp
cdc57d88aa
change init order to inheritance order
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@637 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-16 14:08:46 +00:00
syntheticpp
607fcf9ec9
gcc pedantic fix
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@634 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-16 13:36:26 +00:00
rich_sposato
f19d9c93b1
Stylistic change so I can put breakpoint on lines within Mutex functions.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@628 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-15 00:39:50 +00:00
rich_sposato
aee558d54d
Added LOKI_EXPORT macro.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@625 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-06 06:05:20 +00:00
rich_sposato
d5f4f0f77f
Added StrongPtr class to Loki along with tests for StrongPtr.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@623 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-05 22:56:58 +00:00
rich_sposato
0201647cdc
Fixed bug 1459838 using fix made by Thomas Albrecht. (Thanks!)
...
Also added a constructor for NoCheck policy.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@622 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-05 22:41:43 +00:00
lfittl
85b6e7a7da
- Applied patch from Sam Miller to fix bug #1463844
...
- Some minor makefile improvements
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@621 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-04 23:15:10 +00:00
rich_sposato
f107dafa96
Added check for NULL pointer in HeapStorage policy.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@618 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-27 18:38:30 +00:00
rich_sposato
5157e66c72
Added HeapStorage policy as mentioned in Feature Request 1441024.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@617 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-27 18:34:36 +00:00
syntheticpp
72155fad9d
fix spelling
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@615 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-27 15:33:24 +00:00
rich_sposato
47730a3073
Fixed bugs 1452805 and 1451835. Added Merge ability for RefLink policy.
...
Added more tests for SmartPtr.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@610 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-17 22:52:56 +00:00
syntheticpp
aab36b5ebb
patch undefined uintptr_t, thx to Regis Desgroppes
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@609 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-17 20:22:14 +00:00
syntheticpp
2dd3452a84
gcc: specialization only in the correct namespace, thx to Sam Miller
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@608 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-15 08:47:19 +00:00
syntheticpp
e816b5bc78
doxygen fixes
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@604 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-08 18:33:38 +00:00
syntheticpp
ed8237ac69
doxygen fixes
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@603 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-08 18:22:42 +00:00
syntheticpp
d72b2ff1b3
replace tabs with 4 spaces in all files
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@600 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-08 17:07:20 +00:00
syntheticpp
00011a8634
add Register.h
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@597 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-08 16:50:53 +00:00
syntheticpp
57cbca7429
remove second $
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@593 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-08 16:41:38 +00:00
syntheticpp
e9711d3cfe
add documenation
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@592 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-08 16:39:27 +00:00
syntheticpp
a08b05e131
add gcc export specifier
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@587 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-03 15:23:35 +00:00
syntheticpp
bc355b1b0a
also compile with gcc
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@583 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-03 11:58:24 +00:00
syntheticpp
a28d4d6ddd
don't compile with incomplete types
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@579 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-02 09:55:37 +00:00
syntheticpp
ab94f134e4
add documenation how to avoid the -deletion of pointer to incomplete type- error
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@577 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-01 15:20:19 +00:00
syntheticpp
867fb85151
undo disabling checking, remove warnings, many thanks to Sam Miller
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@574 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-28 16:55:56 +00:00
syntheticpp
9eb276e401
fix wrong RejectNull implementation, thanks to Sam Miller
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@573 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-28 12:59:59 +00:00
syntheticpp
5c225a1935
add export specifier
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@572 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-28 11:13:20 +00:00
syntheticpp
83046e76e4
add new line at the end of file
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@569 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-28 10:33:11 +00:00
syntheticpp
93f7324b36
don't use __declspec on non win32 systems
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@568 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-28 10:32:07 +00:00
syntheticpp
4b98d7cc4b
replace tabs
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@567 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-28 10:31:01 +00:00
syntheticpp
c80e88d8c0
add singleton object getter function template
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@566 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-28 10:30:17 +00:00
syntheticpp
4fbed79847
add support of loki.dll
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@564 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-27 19:59:20 +00:00
syntheticpp
f987e34c91
make it possible for Functor not to be a small object because it introduces sometimes problems, add documentation
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@562 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-27 18:53:41 +00:00
syntheticpp
8d18124dc8
guard including
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@557 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-26 23:39:59 +00:00