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
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
rich_sposato
584959ad1c
Added #ifdef sections around policy and implementation classes that only
...
work properly in multi-threaded model.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@713 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-14 00:01:05 +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
0ac52235b4
fix gcc>4.1 handling of injected friends
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@709 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-11 10:44:21 +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
f19606f935
add ctor with std::pair argument
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@706 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-11 08:59:41 +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
e8468b8291
update, prepare for the next release
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@704 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-11 08:47:57 +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
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
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
3e5f183a8d
use LOKI_* macros to check for the including of windows.h/pthread.h
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@700 7ec92016-0320-0410-acc4-a06ded1c099a
2006-09-08 17:52:58 +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
d5567eea60
remove msvc warning
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@698 7ec92016-0320-0410-acc4-a06ded1c099a
2006-09-08 10:50:18 +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
81c7b0d3db
also compile when std::string is not implicit included/typedefed by other headers; the SUN compiler needs the explicit include of <string>
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@694 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-07 09:50:30 +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
syntheticpp
289bc55ba0
fix wrong buffer size check
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@691 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-03 09:55:19 +00:00
syntheticpp
c6a110f676
add docu about missing recursive mutex support when using pthreads
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@690 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-03 08:43:35 +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
6bb64c5ff1
add reentrance support to the pthread mutex, thx to Shen Lei
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@688 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-01 10:30:03 +00:00
syntheticpp
e3277a903d
add reentrance support to the pthread mutex, thx to Shen Lei
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@687 7ec92016-0320-0410-acc4-a06ded1c099a
2006-07-01 10:26:25 +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
742ba0de48
add release date
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@684 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-19 13:25:32 +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
545cfb9a42
add Function project
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@682 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-19 12:55:51 +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
30f4e933c1
replace tabs with 4 spaces
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@680 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-19 12:39:09 +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
syntheticpp
9b30cc32a6
add hint to fix broken build
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@678 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-19 12:18:44 +00:00
syntheticpp
2014c5071b
update
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@677 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-17 09:02:07 +00:00
syntheticpp
ee00d7fb60
simplify Functor::operator== implementation. Thanks to Eric Beyeler
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@676 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-09 12:58:44 +00:00
syntheticpp
9233d249c9
fix wrong default value handling, gcc fix
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@675 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-09 12:57:15 +00:00
syntheticpp
ad77f8b3ef
fix wrong default value handling
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@674 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-09 12:04:40 +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
vizowl
7227fa0c4e
added a check for _POSIX_PTHREAD_H to detect pthread.h on OS X
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@672 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-04 20:18:39 +00:00
vizowl
42da697ab0
switching xcode build to loki.framework rather than Loki.framework for consistency with other platforms
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@671 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-04 20:14:49 +00:00
syntheticpp
e9f5aa8c76
fix spelling
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@670 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-01 19:09:15 +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
44834aafa2
prepare 0.1.5 release
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@667 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-01 12:52:23 +00:00
syntheticpp
2710a19ef5
update
...
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@666 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-01 12:51:03 +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