Commit graph

170 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
syntheticpp
2f9d9a21d0 make SafeFormat linkable
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@465 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-10 23:11:49 +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
1da01ad7be remove msvc warning
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@458 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 08:12:12 +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
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
syntheticpp
b3c54696f8 fix printing pointers
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@450 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-08 15:41:56 +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
syntheticpp
41217e0c69 replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@444 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-06 23:03:15 +00:00
syntheticpp
513b1eab3f add some std::string convenience overloads
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@443 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-06 22:59:18 +00:00
syntheticpp
4d99cdb205 add formated printing of std::strings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@442 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-06 14:06:26 +00:00
syntheticpp
e647b7ac3e replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@439 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-06 09:36:12 +00:00
syntheticpp
81aa37aa37 don't drop support for sizeof(int) < sizeof(long) 32-bit systems
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@438 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-06 09:32:12 +00:00
syntheticpp
7caff05d74 complete 64bit port for windows, someone should test it
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@437 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 22:26:50 +00:00
syntheticpp
9b27ec858e remove warnings, prepare windows 64 bit port
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@436 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 21:29:30 +00:00
syntheticpp
90f1278043 move Printf/SPrintf into the Loki namespace
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@433 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 20:41:47 +00:00
syntheticpp
29e7199a27 msvc8 + toolkit fixes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@426 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 14:07:49 +00:00
syntheticpp
9087a105b3 remove warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@421 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:17:47 +00:00
syntheticpp
f00a0e6e47 fix msvc seg fault in fex_string
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@417 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 11:09:12 +00:00
syntheticpp
62be08b797 remove msvc warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@416 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 10:38:07 +00:00
syntheticpp
c65487fd89 assert, include path, and virtual ~ patches by Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@414 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 09:55:09 +00:00
syntheticpp
58de2e0948 remove gcc 4.0 warnings, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@411 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 00:06:37 +00:00
syntheticpp
4a676debee remove gcc 4.0 warnings, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@410 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 00:01:23 +00:00