Commit graph

111 commits

Author SHA1 Message Date
rich_sposato
d2af9cf1df Replaced sleep with usleep.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1027 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-01 17:54:38 +00:00
rich_sposato
8286c4e0b2 Changed #if statement used to decide to compile code.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1026 7ec92016-0320-0410-acc4-a06ded1c099a
2009-09-29 19:02:43 +00:00
rich_sposato
da01e0f541 Fixed bug 2656893. Removed redundant assertions.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@995 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-04 07:13:07 +00:00
rich_sposato
36f75e2dd5 Added yasli header files.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@979 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:30:36 +00:00
syntheticpp
9103a647c4 fix line endings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@958 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-29 17:38:55 +00:00
syntheticpp
0c4b7983f8 Apple fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@951 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-26 19:58:04 +00:00
syntheticpp
797f97f415 Cygwin fixes: build with mingw 3.4.4 and 4.3.2
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@950 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-26 19:45:54 +00:00
rich_sposato
b45fb658ee Added MSVC9 project file.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@940 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-21 07:32:15 +00:00
syntheticpp
1e72cc7149 gcc 4.2 fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@907 7ec92016-0320-0410-acc4-a06ded1c099a
2008-12-10 19:47:33 +00:00
rich_sposato
7b4782d75e Removed thread_local storage qualifier for GCC. Add ctor initializer for GCC.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@905 7ec92016-0320-0410-acc4-a06ded1c099a
2008-11-10 06:48:38 +00:00
syntheticpp
0c4789ee11 GCC 4.2 fixes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@895 7ec92016-0320-0410-acc4-a06ded1c099a
2008-08-08 22:06:26 +00:00
rich_sposato
c48d2f7a84 Added LevelMutex files to project.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@893 7ec92016-0320-0410-acc4-a06ded1c099a
2008-07-24 23:14:17 +00:00
rich_sposato
4dbde4cd35 Upgraded file to MSVC 9.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@872 7ec92016-0320-0410-acc4-a06ded1c099a
2008-07-23 07:07:05 +00:00
rich_sposato
ee05791b21 Adding MSVC 8 files to Loki.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@870 7ec92016-0320-0410-acc4-a06ded1c099a
2008-07-23 02:12:05 +00:00
syntheticpp
f31e5b82f7 add hp-ux patch 1835801
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@868 7ec92016-0320-0410-acc4-a06ded1c099a
2008-07-15 20:19:23 +00:00
rich_sposato
996c78ec71 Adding LevelMutex to Loki.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@845 7ec92016-0320-0410-acc4-a06ded1c099a
2008-05-25 04:06:54 +00:00
lfittl
4ff2a48e5a Fixed makefiles for GNU/kFreeBSD, GNU/hurd
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@826 7ec92016-0320-0410-acc4-a06ded1c099a
2007-05-29 02:25:39 +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
rich_sposato
0699d642fd Changed TwoRefCounts dtor and minor change to SmallObj.cpp code.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@819 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-07 00:30:12 +00:00
rich_sposato
5bc174ffce Added destructor to TwoRefCounts.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@815 7ec92016-0320-0410-acc4-a06ded1c099a
2007-03-01 01:23:48 +00:00
syntheticpp
af68912216 move macro switched code into the header to fix linker errors.
By this we don't need special libraries for the
#if defined (LOKI_OBJECT_LEVEL_THREADING) || defined (LOKI_CLASS_LEVEL_THREADING)
case.



git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@807 7ec92016-0320-0410-acc4-a06ded1c099a
2007-02-25 12:49:19 +00:00
rich_sposato
1743fd1da3 Added typedef so LockableTwoRefCounts uses thread-safe allocator.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@772 7ec92016-0320-0410-acc4-a06ded1c099a
2006-11-03 00:21:35 +00:00
syntheticpp
85e43339c8 there is no svn keyword Log
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@756 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 20:05:42 +00:00
syntheticpp
73798da9f5 subversion uses Id instead of Header
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@755 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 20:02:15 +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
rich_sposato
6b3fd8df7b Added #ifdef section around lockable pointer class to insure it only gets
built in a multi-threaded model.
Added #ifdef sections around asserts that are expensive to test.
Removed test lines that send info to output.
Removed commented code.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@714 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-14 00:03:15 +00:00
lfittl
68a09a05be - Link after calling install, otherwise we end up with 2 copies of the lib and no links
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@702 7ec92016-0320-0410-acc4-a06ded1c099a
2006-09-11 21:53:53 +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
234e0855d1 remove 64 bit warning
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@693 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-07 09:30:48 +00:00
syntheticpp
ae9c9ecc22 add writing to ostream, by Tom Browder
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@692 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-06 18:25:28 +00:00
lfittl
5121014d22 - Override CPPFLAGS and LDFLAGS (src/Makefile)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@689 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-01 12:17:05 +00:00
syntheticpp
11e532673b use standard conforming naming, SUN's compiler needs it
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@686 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-28 08:04:21 +00:00
syntheticpp
7a2682e617 build 015 dll
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@683 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-19 13:09: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
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
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
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
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
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
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
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
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
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
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
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
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
4fbed79847 add support of loki.dll
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@564 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-27 19:59:20 +00:00