rich_sposato
b4f940e59b
Added more tests for weak pointer.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@820 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-07 01:17:51 +00:00
rich_sposato
c95d4ccc74
Fixed compiler error that occurs when using 64 bit pointers.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@817 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-01 01:54:23 +00:00
rich_sposato
281d57aa5e
Added another test for StrongPtr.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@816 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-01 01:24:43 +00:00
syntheticpp
e53177ef92
msvc8 fix
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@809 7ec92016-0320-0410-acc4-a06ded1c099a
2007-02-25 14:34:30 +00:00
syntheticpp
4fc70080d3
remove warning
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@808 7ec92016-0320-0410-acc4-a06ded1c099a
2007-02-25 13:08:45 +00:00
rich_sposato
cc0392d433
Added tests for StrongPtr comparison operators.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@805 7ec92016-0320-0410-acc4-a06ded1c099a
2007-01-13 01:47:23 +00:00
rich_sposato
3feb5442a9
Added compile tests of multiple parameters with ScopeGuard.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@800 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-22 01:08:21 +00:00
rich_sposato
d5ce57ee3b
Added test for ScopeGuard.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@797 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-19 19:51:06 +00:00
clitte_bbt
10f1b011c6
Integration of SmartPointer encapsulation policy for CachedFactory.
...
Once the smart pointer goes out of scope, the object is automatically returned to the Cache.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@792 7ec92016-0320-0410-acc4-a06ded1c099a
2006-12-17 14:59:06 +00:00
syntheticpp
a62f5f4078
clock/clock_t are not in std:: on msvc
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@786 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-22 22:55:35 +00:00
rich_sposato
59bc51b565
Added test for LockedStorage policy.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@784 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-21 01:37:15 +00:00
clitte_bbt
f6e7714eca
Added the getmilliSeconds() function for the WIN32 environnement.
...
_WIN32 & MinGW compiler uses std::clock()
_CYGWIN_ & linux compilers uses gettimeofday() implementation
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@780 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-20 23:41:15 +00:00
clitte_bbt
7dbb105cab
linux std::clock is not precise enough. Changing to gettimeofday to retrieve ms precision.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@779 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-20 22:36:28 +00:00
lfittl
f3aa021c9a
- Compile libs of test/SingletonDll with -fPIC, fixes FTBFS on amd64
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@775 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-05 13:09:00 +00:00
rich_sposato
337f50ba9d
Added tests for ClassLevelLockable policy for SmallObject allocator.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@773 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-03 00:38:25 +00:00
syntheticpp
8f7c3b42d7
ove macro values into Loki namespace
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@769 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-26 10:58:19 +00:00
syntheticpp
a6799d3f88
add copyright notice
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@763 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 21:10:41 +00:00
syntheticpp
da502b99be
no Log keyword any more, see also http://subversion.tigris.org/faq.html#log-in-source
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@761 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 20:48:18 +00:00
syntheticpp
a35442b5d1
subversion uses Id instead of Header
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@760 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 20:36:13 +00:00
syntheticpp
9b473fd7f2
remove keyword Revision, because there is no link to viewvs
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@759 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 20:27:29 +00:00
syntheticpp
dd07d070bf
add keyword Id, test keyword Revision
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@758 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 20:25:48 +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
syntheticpp
e337788cc5
change line ending
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@734 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 10:36:45 +00:00
syntheticpp
b849c0261e
add test code for template friends with template template parameters
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@733 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 10:09:37 +00:00
syntheticpp
8c497d146d
by default Loki is compiled without thread support, so we must disable the dependency on thread classes (StrongPtr) to avaoid linker errors when compiling with the default build process. Should we change the default threading of Loki?
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@729 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 11:48:13 +00:00
syntheticpp
8f8cd26c0e
don't compile flex_string by default, it takes tooooo long
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@728 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 11:20:19 +00:00
syntheticpp
41a3ecb8b8
remove gcc 4.2 warning
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@726 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 11:15:54 +00:00
syntheticpp
c9754acc13
Sleep is not defined on linux
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@725 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 10:55:40 +00:00
syntheticpp
6f706cff82
add CachedFactory, remove gcc warnings
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@722 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 10:30:16 +00:00
syntheticpp
78febe17ec
add CachedFactory, patches for: msvc, build system
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@720 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 09:59:11 +00:00
syntheticpp
cf3ca512e6
add CachedFactory, initial version of Guillaume Chatelet
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@719 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-16 09:31:45 +00:00
syntheticpp
0d71c438ab
add missing unsigned long overload for Windows
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@716 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-15 09:33:54 +00:00
rich_sposato
705122e74c
Fixed a couple of bugs. Added lines to send test info to output. Added
...
use of ScopeGuard. Removed superfluous code.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@715 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-14 00:06:15 +00:00
rich_sposato
d04a1b1f76
Added check for -t command line parameter to do lock-thread test.
...
Changed ending chars of some lines from LF to CR-LF to be consistent.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@712 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-13 23:59:42 +00:00
rich_sposato
1ae9a874d5
Added LOKI_OBJECT_LEVEL_THREADING to make sure locked object test is done
...
correctly.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@711 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-13 23:56:46 +00:00
syntheticpp
71a95f5005
test injected friends. Thanks to Sigoure Benoit
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@710 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-11 11:17:53 +00:00
syntheticpp
47e28751c0
add friend injection test
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@708 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-11 10:40:47 +00:00
syntheticpp
4e99e918b9
use a relative path
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@707 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-11 09:04:02 +00:00
syntheticpp
c249b0f93b
add ctor with std::pair argument
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@705 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-11 08:51:40 +00:00
syntheticpp
f628dc7165
move instantiation to the source file (fixes linker error with gcc 4.0.1 on the mac), Thanks to Idar Tollefsen and Sam Miller
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@703 7ec92016-0320-0410-acc4-a06ded1c099a
2006-09-15 06:30:16 +00:00
lfittl
3c5746fef0
- Link only loki statically, but not other libs (tests)
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@701 7ec92016-0320-0410-acc4-a06ded1c099a
2006-09-11 20:56:55 +00:00
syntheticpp
cec102e2b0
rename user type to make the code more readable
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@699 7ec92016-0320-0410-acc4-a06ded1c099a
2006-09-08 11:08:59 +00:00
syntheticpp
d08b31a152
Mac's gcc doesn't support -static
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@697 7ec92016-0320-0410-acc4-a06ded1c099a
2006-08-30 11:18:18 +00:00
syntheticpp
0e03492cdb
ImplT/PimplT/RimplT renamed to the more readable version: T->Of
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@696 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-17 11:05:44 +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
fd6b9484ee
replace tabs with 4 spaces
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@681 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-19 12:46:22 +00:00
syntheticpp
963152efd4
fix msvc build process
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@679 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-19 12:35:09 +00:00
lfittl
f026c57cd2
- Simplify some threading code by not saving the return status
...
(also fixes 2 gcc warnings)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@673 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-08 19:15:27 +00:00
syntheticpp
1293f216ea
also work without TYPELIST
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@669 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-01 13:08:56 +00:00
syntheticpp
f05942295b
also test Functor with Seq<>
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@668 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-01 13:08:14 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
syntheticpp
5fff65df2e
build shared lib also on mac osx, thx sto Sam Miller
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@614 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-21 21:01:18 +00:00
syntheticpp
085c66fef9
fix include error
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@613 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-21 20:50:22 +00:00
rich_sposato
1138dc9878
Adding base.h to CVS.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@611 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-20 21:14:16 +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
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
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
af2a37a777
add register test code
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@598 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-08 16:58:22 +00:00
syntheticpp
e4d7c445d8
add register test code
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@596 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-08 16:50:18 +00:00
syntheticpp
ab6e52b476
add mingw library names
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@590 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-03 16:30:53 +00:00
syntheticpp
ac263c0ca6
fix gcc link errors
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@589 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-03 16:17:38 +00:00
syntheticpp
1e6be9b640
remove wrong macro
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@588 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-03 15:26:54 +00:00
syntheticpp
a095b57814
update msvc project files: also compile in release mode
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@586 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-03 13:14:48 +00:00
syntheticpp
584ce0e3ad
update msvc project files, all now msvc8, simplify listed files to the relevant ones
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@585 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-03 12:58:02 +00:00
syntheticpp
6e908d51b3
Locking::Ptr has been removed
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@584 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-03 12:41:58 +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
e320b0113d
fix copy&paste error
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@582 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-03 11:49:28 +00:00
lfittl
6152f9386f
- Added some missing newlines at end of files
...
- Modified Makefiles to produce a shared library
- Added SingletonDll Makefile
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@581 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-02 21:19:41 +00:00
syntheticpp
f13e5f58ef
add incomplete type tests
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@580 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-02 09:57:39 +00:00
syntheticpp
d1fa26e239
add ide pause
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@578 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-01 15:45:43 +00:00
syntheticpp
17de92e41f
add documenation, correct cvs keyword
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@576 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-01 14:44:38 +00:00
rich_sposato
e9a1abe64c
Fixed bug 1440694 by adding check if rhs is previous neighbor.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@575 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-01 02:08:11 +00:00
syntheticpp
e3ba946127
add SingletonDll to msvc build process
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@571 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-28 10:50:56 +00:00
syntheticpp
2b800d6146
add comment about macro generated code
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@570 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-28 10:48:16 +00:00
syntheticpp
a3b09b5bed
add SingletonDll test do demonstrate the usage of singletons in a Dll
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@565 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-28 10:29:06 +00:00
syntheticpp
0b4a918819
add msvc8 project file
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@561 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-27 18:48:53 +00:00
syntheticpp
997ffc628c
add test and solution for static ... fiasco crash
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@560 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-27 18:47:42 +00:00
syntheticpp
10e18e1c83
remove unnecessary #ifdefs
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@559 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-27 17:57:56 +00:00
syntheticpp
fdea0be349
add test/SmartPtr and src/SmartPtr.cpp to the msvc build process
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@555 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-25 13:29:24 +00:00
syntheticpp
0dd629f292
change Makefile style to -one line per targets-
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@554 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-25 13:20:38 +00:00
syntheticpp
4c5547fd44
add test/SmartPtr and src/SmartPtr.cpp to the gcc build process
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@553 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-25 13:18:55 +00:00
syntheticpp
72449b4ab1
add test/SmartPtr and src/SmartPtr.cpp to the gcc build process
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@552 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-25 13:10:50 +00:00
rich_sposato
ebd2c77af9
Added test project for Loki::SmartPtr class.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@549 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-25 01:53:20 +00:00
syntheticpp
5a8e9c06f4
move DeletableSingleton to its own folder
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@547 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-22 23:07:51 +00:00
rich_sposato
0e6a7a134c
Set path to source file needed for testing.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@545 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-21 01:04:48 +00:00
rich_sposato
71dd064cfa
Set paths for source files.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@543 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-20 23:41:10 +00:00
rich_sposato
f80a2f9d5e
Fixed syntax for CVS keyword.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@542 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-20 23:40:09 +00:00
rich_sposato
3bf285c36e
Converted project to MSVC 8.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@541 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-20 23:39:29 +00:00
rich_sposato
503733513f
Adding DeletableSingleton project to CVS.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@540 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-20 23:22:14 +00:00
syntheticpp
21b4ae937e
move flex_string to the end of the build process (it's so slow)
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@537 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-20 16:11:10 +00:00
syntheticpp
51335c7899
don't break old ScopeGuard code
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@531 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-14 12:11:06 +00:00
syntheticpp
56ccba6d09
use RefToValue.h, add dismiss for the ref guard
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@529 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-14 11:48:53 +00:00
syntheticpp
4f1aa95dce
add ScopeGuard ByRef test
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@528 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-14 11:28:54 +00:00
syntheticpp
147eca6930
replace implementation with a auto-create and propagating-const wrapper for smart pointers which auto delete the holded pointer on destruction
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@522 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-28 20:13:57 +00:00
rich_sposato
5cd8ff71a4
Added cvs header keyword.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@519 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-25 18:34:11 +00:00
rich_sposato
f0da0fab8a
Changed values for template parameters used to make SmallObject allocator.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@518 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-25 18:07:40 +00:00
syntheticpp
853d58a218
add support of deep constness, only supported by (future) Loki::SmartPtr, not supported by boost::shared_ptr and plain pointer. Maybe deep constness forces a redesign of Pimpl. Is there a way to support deep constness by a rimpl?
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@517 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-23 17:23:46 +00:00
syntheticpp
f6a31b5916
remove gcc -Wpadded warning
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@516 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-23 15:33:57 +00:00
syntheticpp
8d2032c422
remove gcc -Wpadding warning
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@510 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-21 23:44:36 +00:00
syntheticpp
7cff08afe1
change include path to the correct one
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@509 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-21 14:51:17 +00:00
syntheticpp
5e5965fdc1
replace LockPtr/ConstLockPtr implementation with a template policy based one
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@508 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-21 14:13:48 +00:00
syntheticpp
2ada6bd1d7
remove gcc warnings
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@507 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-21 14:11:59 +00:00
rich_sposato
ccad1a5623
Moved Mutex class into Loki library.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@503 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-21 01:02:58 +00:00
lfittl
a36bcf0b79
- Enabled -Wpadded, -Wsign-compare, -Wconversion, -Wpointer-arith (gcc)
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@501 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-20 16:07:58 +00:00
lfittl
e2a042aa25
- Disabled -Weffc++ flag, fixing these warnings produces too much useless code
...
- Enabled -pedantic, -Wold-style-cast and -Wundef for src/ and test/
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@500 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-20 15:56:11 +00:00
lfittl
c68642eb5f
- Disabled -Weffc++ flag, fixing these warnings produces too much useless code
...
- Enabled -pedantic, -Wold-style-cast and -Wundef for src/ and test/
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@499 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-19 23:11:57 +00:00
rich_sposato
7acf9ff6be
Added ConstLockingPtr class.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@498 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-19 19:36:34 +00:00
rich_sposato
963c55994f
Added functions to Mutex class.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@497 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-19 19:36:09 +00:00
syntheticpp
319f949eee
make rimpl type really a reference
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@495 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-18 19:03:25 +00:00
syntheticpp
794fd6ba56
move definition of the destructor to extra file, because msvc tries to use the incomplete type; not inlining does not help; maybe this is a compiler bug.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@493 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-18 16:49:32 +00:00
syntheticpp
8840afc7dd
add LockPtr test with a Mutex and Thread class. Now it is possible to do some simple cross platform multithreading withhin Loki
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@491 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-17 11:18:38 +00:00
syntheticpp
a6e8b74fd7
fix undefined behaviour
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@482 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 18:21:01 +00:00
lfittl
658a2e5c79
- Removed for loop from test/Makefile to make it work with mingw
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@481 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 14:44:07 +00:00
syntheticpp
c69cdedf2e
replace tabs
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@480 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 13:30:26 +00:00
syntheticpp
47e962d64b
clean up
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@479 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 13:29:09 +00:00
syntheticpp
95fadc5260
msvc work around
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@476 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 00:05:02 +00:00
syntheticpp
2287a53487
add memory leak detection
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@475 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-15 23:17:57 +00:00
syntheticpp
de2a6e513d
linux fixes
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@474 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-15 22:32:54 +00:00
syntheticpp
0efd57d86d
remove also .o and .exe when cleaning
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@473 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-15 22:15:56 +00:00
syntheticpp
95b163d2bd
add pimpl/rimpl tests
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@472 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-15 22:09:32 +00:00
syntheticpp
faa06a862b
- make.msvc.bat: remove all object files when finished\n - src/Makefile: add rm *.o
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@467 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-10 23:43:18 +00:00
syntheticpp
316c01306d
make SafeFormat linkable
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@466 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-10 23:21:33 +00:00
lfittl
44f7af2935
- Don't create temporary object files anymore, use implicit rule for binaries
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@464 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-10 00:02:44 +00:00
lfittl
d51dd537ea
- Make it easier to overwrite CXXFLAGS, by using CPPFLAGS for loki specific stuff
...
- Don't create temporary object files anymore, use implicit rule for binaries
- Removed unneeded DESTDIR= line
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@463 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 23:56:13 +00:00
syntheticpp
facc431d5a
fix for msvc7.1
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@457 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 08:09:21 +00:00
syntheticpp
21262bcd3b
disable warning
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@456 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 08:06:55 +00:00
syntheticpp
d2372341f3
fix for msvc7.1
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@454 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 07:51:44 +00:00
syntheticpp
dd83739b20
fix makefiles
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@453 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 07:36:34 +00:00
syntheticpp
5a3972d804
replace tabs
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@452 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 07:27:01 +00:00
lfittl
3f7449d7bc
Make it easier to add a new test subtarget
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@451 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-08 23:29:44 +00:00
syntheticpp
32b4c0a8fa
fix printing pointers
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@449 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-08 14:38:29 +00:00
syntheticpp
f09bf76ce3
remove last msvc warnings
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@448 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-07 10:31:24 +00:00
lfittl
898b1a5312
Fixed .PHONY targets
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@446 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-07 03:19:49 +00:00
lfittl
ec5c81cb93
Updated SmallObj test Makefile to fit renaming of SmallSingleton to SmallObjSingleton
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@445 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-07 03:09:05 +00:00
syntheticpp
7e3cf8faf4
no lib needed
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@440 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-06 09:49:25 +00:00
syntheticpp
21341bc317
independent from libloki, use namespace loki, remove warnings
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@435 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 21:28:37 +00:00
syntheticpp
972ba9915b
rename Small->SmallObj
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@434 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 21:05:19 +00:00
syntheticpp
70fdd98598
add msvc8 project files
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@432 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 17:48:24 +00:00
syntheticpp
a53275bb8f
swap names
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@431 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 17:40:29 +00:00
syntheticpp
7702fbfd00
renome project files
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@429 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 17:31:55 +00:00
syntheticpp
019b01fe36
add msvc8 project files
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@428 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 17:29:10 +00:00
syntheticpp
8814dc7790
add msvc8 project files
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@427 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 17:21:13 +00:00
syntheticpp
29e7199a27
msvc8 + toolkit fixes
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@426 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 14:07:49 +00:00
syntheticpp
ddff4acea3
remove warnings
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@423 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:31:14 +00:00
syntheticpp
ee494e1c57
add -DNDEBUG
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@422 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:20:11 +00:00
syntheticpp
56fe17d96e
update msvc makefile
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@420 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:11:45 +00:00
syntheticpp
727b519348
replace tabs
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@419 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:03:44 +00:00
syntheticpp
c9fa59ada0
improve test program (gcc fails test 22 and 41)
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@418 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 12:55:42 +00:00
syntheticpp
62be08b797
remove msvc warnings
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@416 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 10:38:07 +00:00
syntheticpp
98d9388dfb
test fails because snprintf does not support 64bit values, therefore tests on negative integer values is disabled
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@415 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 10:24:39 +00:00
syntheticpp
c65487fd89
assert, include path, and virtual ~ patches by Lukas Fittl
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@414 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 09:55:09 +00:00
syntheticpp
d5a206bb96
always use #include <loki/...>, Thanks to Lukas Fittl
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@413 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 00:23:44 +00:00
syntheticpp
4a676debee
remove gcc 4.0 warnings, Thanks to Lukas Fittl
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@410 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 00:01:23 +00:00
syntheticpp
dd7235322b
remove system(PAUSE) for gcc, Thanks to Lukas Fittl
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@409 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 23:54:30 +00:00
syntheticpp
5a9457da09
remove gcc 4.0 warnings, Thanks to Lukas Fittl
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@408 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 23:45:08 +00:00
syntheticpp
f24e121125
patch Makefiles, Thanks to Lukas Fittl
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@407 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 23:41:27 +00:00
syntheticpp
f717540760
patch Makefiles, Thanks to Lukas Fittl
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@406 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 23:35:09 +00:00
syntheticpp
7438aec6c3
SPrintf does not work for negativ integer values on 64 bit systems scp -C -i /home/cuser/.ssh/cf_id_dsa include/loki/SafeFormat.h syntheticpp@cf-shell.sourceforge.net:/home/users/s/sy/syntheticpp/loki/include/loki/!
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@405 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 22:58:58 +00:00
syntheticpp
94131d724c
add ScopeGuard example
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@399 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-03 14:36:46 +00:00
syntheticpp
40cc0f1923
add Visitor example
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@395 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 10:54:13 +00:00
syntheticpp
b302ff3049
add visitor example to build process
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@394 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 10:51:27 +00:00
syntheticpp
0dd0c7089b
add Visitor example
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@392 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 10:38:25 +00:00
syntheticpp
bf9071ebdb
generate library also with the ms toolkit
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@383 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-19 07:54:40 +00:00
rich_sposato
6b6854d53e
Added checks for whether loki's allocator is corrupted.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@379 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-08 22:23:33 +00:00
rich_sposato
fb0f712fde
Changed template parameter values for SmallObject allocator.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@376 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-08 21:03:02 +00:00
syntheticpp
6b5d0e2629
add speed comparison
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@375 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 14:20:23 +00:00
syntheticpp
7eb9f2e6ae
disable %p tests due to different snprintf implementations
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@374 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 13:46:20 +00:00
syntheticpp
fa05da94c0
astyle --style=ansi
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@373 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 13:20:54 +00:00
syntheticpp
3b596259ec
make output code more readable
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@372 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 13:17:20 +00:00
syntheticpp
75722359cf
point operator added
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@371 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-20 13:16:04 +00:00
syntheticpp
d26ecb6716
change documentation of function
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@365 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-16 13:36:38 +00:00
syntheticpp
f10f61534c
add removed tests with NoDestroy plolicy
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@358 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-13 13:39:15 +00:00
syntheticpp
735cde8666
protect private data, add std::vector<IdType> RegisteredIds()
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@356 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-12 16:52:36 +00:00
syntheticpp
1c8bce4d43
remove warnings and adjust code to new default lifetimes of SmallObjects
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@354 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-12 15:13:36 +00:00
syntheticpp
0fc58a0e86
change lifetime policy DieOrder to a msvc7.1 compilable version. Make this the default lifetime for SmallObject
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@353 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-07 12:06:43 +00:00
syntheticpp
4e97accb6a
disable FollowIntoDeath/DieOrder lifetime policies when using the msvc 7.1 compiler, bug article: 839821 'Microsoft has confirmed that this is a problem..'
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@352 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-05 17:43:55 +00:00
syntheticpp
cff0fad314
use new singleton lifetime policies
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@346 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 15:00:38 +00:00
syntheticpp
8d8988f5c0
use new singleton lifetime policies
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@345 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 14:15:44 +00:00
syntheticpp
5bbe746eee
use new singleton lifetime policies
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@344 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 14:11:18 +00:00
syntheticpp
6c8b1660b4
use new singleton lifetime policies
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@343 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 13:58:18 +00:00
rich_sposato
6f647c1a21
Added explanatory comment about why class has no new [] and delete []
...
operators. Removed other comment which is now useless.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@341 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 01:46:04 +00:00
syntheticpp
d805e8d90b
apply new lifetime policy to avoid crash on exit in test/Factory
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@340 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:38:19 +00:00
syntheticpp
a17791f2c8
test program for lifetime policies FollowIntoDeath and DieOrder
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@339 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:15:22 +00:00
syntheticpp
a7687a05a1
add lifetime policies to manage singleton lifetime dependencies: FollowIntoDeath and DieOrder. Change SmallObject.h to avoid memory leaks by default
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@338 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:11:52 +00:00
syntheticpp
698ffbff54
disable mt classes when threading is disabled
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@337 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:03:31 +00:00
syntheticpp
a2d383198c
test correct also when boost is disabled
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@336 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 14:33:33 +00:00
syntheticpp
41d2cb34f5
disable threading because the sdk (windows.h) is not detected automatically by the batch scripts
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@335 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 14:22:31 +00:00
syntheticpp
7fe4c81ff0
replace tabs space
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@334 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 14:03:23 +00:00
syntheticpp
570f0ed652
make disabling the TYPELIST macros possible
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@333 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 13:49:44 +00:00
syntheticpp
ba524baf5a
replace with new implementation
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@332 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-29 12:38:22 +00:00
syntheticpp
de09eec49b
find loki include files without a correct sreach pathand some small fixes
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@331 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-29 10:21:46 +00:00
syntheticpp
cb9492fca9
new bechmark with: new, SmallObj, SmallValueObj, boost::object_pool, malloc and std::allocator
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@329 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-27 19:11:01 +00:00
syntheticpp
9e333d1dec
gcc fix
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@328 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-27 19:10:32 +00:00
syntheticpp
4978cfb9d8
make object size more flexible
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@327 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-26 23:30:06 +00:00
rich_sposato
b078e019be
Added comparison to boost::pool memory allocator.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@325 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-26 00:41:00 +00:00
rich_sposato
b8142d7acc
Added CVS keywords and header lines.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@324 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-26 00:38:49 +00:00
rich_sposato
71e9d5aa2d
Added seconds back to output.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@323 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-26 00:33:06 +00:00
syntheticpp
8f382ba936
Table is out of date
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@322 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-24 20:51:38 +00:00
syntheticpp
23ade9b6f0
small changes for Threads; add compile test for Threads.h
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@321 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-24 20:35:12 +00:00
syntheticpp
da979a7e0e
add boost/TR1 like usage of Functor, with a test program from boost 1.33
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@320 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-24 15:40:22 +00:00
syntheticpp
7d66b82b9a
bug fix: Unix compilation problems
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@318 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-24 12:13:07 +00:00
rich_sposato
2d4f6a82e6
Removed file which is not needed for project.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@312 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 18:04:44 +00:00
syntheticpp
a60cd00348
add test for static member variables
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@309 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 09:43:45 +00:00
syntheticpp
d1a5bd2ec8
add SmallSingleton to build process
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@308 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 09:03:54 +00:00
syntheticpp
a61d7f7127
add DeletableSingleton policy and examples from Curtis Krauskopf's CUJ article 'Creating Dynamic Singletons & the Loki Library' - www.decompile.com
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@307 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 08:43:42 +00:00
syntheticpp
6c7cedb361
add example from Curtis Krauskopf's CUJ article 'Creating Dynamic Singletons & the Loki Library' - www.decompile.com
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@306 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-17 08:24:50 +00:00
rich_sposato
b6916ef5fe
Adding SmallSingleton project to CVS.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@301 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-14 20:28:51 +00:00
rich_sposato
ea12936779
Adding SmallSingleton test project to CVS.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@300 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-14 18:48:10 +00:00
rich_sposato
7cebdb5f96
Added cvs keywords.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@299 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-14 18:35:06 +00:00
rich_sposato
01349cc358
Added program to test how compiler uses default new and delete operators.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@295 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-13 00:40:38 +00:00
syntheticpp
ebde306337
Bug [ 1314453 ] AssocVector<>: hinted insert does not preservedering. Thanks to Christopher Twigg
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@294 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-10 15:02:57 +00:00
syntheticpp
98c07576c8
adding template based list/sequence implementation, should replace LOKI_TYPELIST_, update some files
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@292 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-06 17:50:51 +00:00
syntheticpp
1eb831f009
calculate also speed-up factor
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@290 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-06 10:17:56 +00:00
rich_sposato
4e035929fd
Added tests for new [] and delete [].
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@289 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-06 00:20:24 +00:00
syntheticpp
bf144a940b
remove some unnecessary code
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@287 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 22:43:00 +00:00
syntheticpp
3156804c37
update build process
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@285 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 18:14:21 +00:00
syntheticpp
b44c50216e
add OrderedStatic test
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@284 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 17:57:54 +00:00
syntheticpp
d0e75dd3b1
add Longevity test
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@281 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-05 09:11:58 +00:00
syntheticpp
dee53adb01
update msvc build process
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@277 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-29 08:09:17 +00:00
rich_sposato
98734a38e9
Added comments saying how to test array forms of new and delete.
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@276 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-27 17:04:30 +00:00
syntheticpp
dcb1d09cd5
undo msvc project-file changes
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@270 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-26 08:43:29 +00:00
syntheticpp
6e99716c13
move macros into LOKI_ namespace
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@269 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-26 07:33:05 +00:00
syntheticpp
2ee111e98a
upate to general makefiles
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@263 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-25 00:06:40 +00:00
syntheticpp
09022968ca
update Dev-C++ project files
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@262 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-25 00:06:27 +00:00
syntheticpp
b38c147bc3
upate to general makefiles
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@261 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-24 23:47:39 +00:00
syntheticpp
62de511210
new version of TypeTest2 from Kalle Rutanen
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@260 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-24 23:38:58 +00:00
syntheticpp
79f4f270a5
gcc fix
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@258 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-24 23:09:13 +00:00