Commit graph

276 commits

Author SHA1 Message Date
syntheticpp
6dbd2e38f8 Makefile: add missing dependency, thanks to Sergio Pascual
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@831 7ec92016-0320-0410-acc4-a06ded1c099a
2007-07-01 20:01:44 +00:00
rich_sposato
b1a4b3a047 Added CheckReturn facility to Loki.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@824 7ec92016-0320-0410-acc4-a06ded1c099a
2007-05-09 00:57:06 +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
lfittl
2fdafe3884 - Fix test build failure by using class level threading
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@822 7ec92016-0320-0410-acc4-a06ded1c099a
2007-05-07 14:23:19 +00:00
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