Commit graph

174 commits

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