Commit graph

757 commits

Author SHA1 Message Date
syntheticpp
ef44aedc28 compile loki.sln without linker errors, but you have to add the loki library when you open the vcproj alone.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@665 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-01 12:48:33 +00:00
syntheticpp
3b31e3dc78 Functor does not work with the new Functor::operator== ;add operator== to Functor, initiated by Eric Beyeler
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@664 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-01 12:40:24 +00:00
syntheticpp
2a5dc20f8a astyle --style=ansi
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@663 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-01 12:35:08 +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
c272535c72 fix broken mingw build
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@661 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-01 10:09:50 +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
2a1e54aec3 don't confuse with warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@659 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-30 14:17:05 +00:00
syntheticpp
d07f863578 remove gcc warnings, thanks to Stephan Beal
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@658 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-30 14:06:02 +00:00
syntheticpp
a708a57d94 enable all warnings for msvc: -W4
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@657 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-20 11:46:17 +00:00
syntheticpp
0033820b61 prepare for 0.1.5
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@656 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-20 11:16:13 +00:00
syntheticpp
d3def766dc update Changes, prepare for 0.1.5
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@655 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-20 11:14:57 +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
ad36f152b3 also build the tests by default, so we will get more compilations/tests on different machines and maybe more bug reports
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@652 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-20 09:37:54 +00:00
syntheticpp
28ac0a23b2 add test/Function to build proress
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@651 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-20 09:32:16 +00:00
syntheticpp
a6b4587301 make independent of boost
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@650 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-20 09:30:34 +00:00
rich_sposato
a38d02bdd5 Added QueryInterface function to MimicCOM class.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@649 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-18 05:05:21 +00:00
syntheticpp
04b3944796 add new file to makefile
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@648 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-17 16:25:35 +00:00
syntheticpp
b1893764c6 remove gcc warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@647 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-17 16:23:39 +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
syntheticpp
79528d3d19 check commit list
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@645 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-17 07:54:29 +00:00
syntheticpp
a24160182c throw assert on failed test
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@644 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-12 10:24:50 +00:00
rich_sposato
4bc6a12222 Added test for thread-safe StrongPtr policy.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@643 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-28 00:34:21 +00:00
rich_sposato
5261fbbcd6 For debug versions, library is named loki_D.lib instead of loki.lib.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@642 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-28 00:30:48 +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
e1493017a7 add to build process
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@636 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-16 14:07:30 +00:00
syntheticpp
2a9b1a7bcd remove warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@635 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-16 14:05:39 +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
syntheticpp
69c8cf49c7 change init order to declarartion order
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@633 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-16 13:33:36 +00:00
syntheticpp
dfdd6486a2 add StrongPtr to build process
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@632 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-16 13:13:33 +00:00
rich_sposato
2faf1fe5fd Added line to remove compiler warning about unused parameter.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@631 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-15 00:46:46 +00:00
rich_sposato
d2470014cc Added Header keyword for CVS.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@630 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-15 00:41:45 +00:00
rich_sposato
1b3647230d Added StrongPtr.h and StrongPtr.cpp files.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@629 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-15 00:40:19 +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
vizowl
5515cd1756 adding an XCode build project
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@627 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-07 16:27:11 +00:00
rich_sposato
f3a60e8c49 Added CVS Log keyword.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@626 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-06 18:19:58 +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
f7d0b2e1ef Added StrongPtr.cpp and StrongPtr.h files to MinGW projects.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@624 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-06 03:49:37 +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
08702ff400 Adding MinGW test project for SmartPtr.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@620 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-29 19:25:55 +00:00
rich_sposato
7b152208da Adding MinGW .dev files to Loki.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@619 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-29 19:13:06 +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
5d12286439 undef all min/max macros, thx to Shen Lei
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@616 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-27 16:09:57 +00:00