Commit graph

508 commits

Author SHA1 Message Date
syntheticpp
02709b67ec a -pedantic fix
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@515 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-22 15:33:41 +00:00
syntheticpp
2dc4c649e0 use macro LOKI_DEFAULT_MUTEX for Mutex default value, defined in Threads.h
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@514 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-22 13:37:33 +00:00
syntheticpp
e3dc79f363 add additional template parameter for the changed threading classes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@513 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-22 13:31:45 +00:00
syntheticpp
7dc0df52d0 add additional template parameter for the changed threading classes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@512 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-22 00:44:17 +00:00
syntheticpp
69c31ce7f3 add dummy Mutex for single threading and additional template parameter
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@511 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-22 00:32:29 +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
syntheticpp
6a86ae304a complete usage of Loki::Mutex, gcc can't compile without these corrections
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@506 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-21 14:11:09 +00:00
syntheticpp
d032ef4528 don't compile Mutex when multi threading is disabled
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@505 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-21 13:09:45 +00:00
rich_sposato
48ec640065 Removed volatile keyword from 2 data members.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@504 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-21 01:05:44 +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
rich_sposato
713d41a7b2 Added Mutex class to Loki. Made it the default policy class for locking.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@502 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-21 01:02:12 +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
ad8e63cae5 disable usage with auto_ptr: don't compile with std::auto_ptr
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@496 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-19 18:16:39 +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
lfittl
39ea27e017 - Compile library with -Weffc++ and -pedantic (gcc)
- Fix most issues raised by using -Weffc++ (initialization lists)


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@494 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-18 17:21:31 +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
385f6b06d4 add comment about auto_ptr
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@492 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-17 12:03:36 +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
00bb8d6ba8 AutoPtrHolderChecked inherits from AutoPtrHolder
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@490 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-17 11:07:34 +00:00
rich_sposato
d37172eddd Added cvs keywords.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@489 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 20:59:53 +00:00
syntheticpp
072c1e2cdf another fight against tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@488 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 20:10:51 +00:00
syntheticpp
3af51450a6 update CHANGES
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@487 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 20:08:41 +00:00
syntheticpp
d2e3bf1855 add support of allocators with a standard interface, thanks to Miguel A. Figueroa-Villanueva
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@486 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 19:56:30 +00:00
syntheticpp
081c3fb31f add error policy
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@485 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 19:48:23 +00:00
rich_sposato
4703b740b7 Added cvs keywords.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@484 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 19:05:09 +00:00
rich_sposato
163a23bda0 Changed return type from LockingPtr to SharedObject.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@483 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 18:34:37 +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
d33f2e6585 remove virtual destructor: inherit private only, clean up
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@478 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 13:27:49 +00:00
syntheticpp
71448918a7 remove virtual destructor: inherit private only
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@477 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-16 12:49:14 +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
264e205030 add pimple/rimpl idiom
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@471 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-15 22:03:10 +00:00
syntheticpp
4acc1f5923 remove c&p error
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@470 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-14 00:20:10 +00:00
lfittl
a08d3ae5c0 - Added clean-tmp target that only removes the object files, but leaves the static lib
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@469 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-11 00:02:57 +00:00
syntheticpp
15edde135c undo: don't build lib on every make
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@468 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-10 23:50:28 +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