Commit graph

363 commits

Author SHA1 Message Date
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