Commit graph

308 commits

Author SHA1 Message Date
rich_sposato
5a1e25a204 Changed DeleteSingle and DeleteArray policy to not allow use of incomplete
types.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@640 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-19 01:04:26 +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
e1493017a7 add to build process
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@636 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-16 14:07:30 +00:00
syntheticpp
2a9b1a7bcd remove warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@635 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-16 14:05:39 +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
d2470014cc Added Header keyword for CVS.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@630 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-15 00:41:45 +00:00
vizowl
5515cd1756 adding an XCode build project
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@627 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-07 16:27:11 +00:00
rich_sposato
f3a60e8c49 Added CVS Log keyword.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@626 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-06 18:19:58 +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
rich_sposato
08702ff400 Adding MinGW test project for SmartPtr.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@620 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-29 19:25:55 +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
syntheticpp
085c66fef9 fix include error
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@613 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-21 20:50:22 +00:00
rich_sposato
1138dc9878 Adding base.h to CVS.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@611 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-20 21:14:16 +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
2dd3452a84 gcc: specialization only in the correct namespace, thx to Sam Miller
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@608 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-15 08:47:19 +00:00
syntheticpp
d72b2ff1b3 replace tabs with 4 spaces in all files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@600 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-08 17:07:20 +00:00
syntheticpp
af2a37a777 add register test code
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@598 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-08 16:58:22 +00:00
syntheticpp
e4d7c445d8 add register test code
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@596 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-08 16:50:18 +00:00
syntheticpp
ab6e52b476 add mingw library names
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@590 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-03 16:30:53 +00:00
syntheticpp
ac263c0ca6 fix gcc link errors
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@589 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-03 16:17:38 +00:00
syntheticpp
1e6be9b640 remove wrong macro
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@588 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-03 15:26:54 +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
syntheticpp
6e908d51b3 Locking::Ptr has been removed
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@584 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-03 12:41:58 +00:00
syntheticpp
bc355b1b0a also compile with gcc
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@583 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-03 11:58:24 +00:00
syntheticpp
e320b0113d fix copy&paste error
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@582 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-03 11:49:28 +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
syntheticpp
f13e5f58ef add incomplete type tests
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@580 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-02 09:57:39 +00:00
syntheticpp
d1fa26e239 add ide pause
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@578 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-01 15:45:43 +00:00
syntheticpp
17de92e41f add documenation, correct cvs keyword
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@576 7ec92016-0320-0410-acc4-a06ded1c099a
2006-03-01 14:44:38 +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
e3ba946127 add SingletonDll to msvc build process
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@571 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-28 10:50:56 +00:00
syntheticpp
2b800d6146 add comment about macro generated code
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@570 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-28 10:48:16 +00:00
syntheticpp
a3b09b5bed add SingletonDll test do demonstrate the usage of singletons in a Dll
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@565 7ec92016-0320-0410-acc4-a06ded1c099a
2006-02-28 10:29:06 +00:00
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
syntheticpp
21262bcd3b disable warning
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@456 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 08:06:55 +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
dd83739b20 fix makefiles
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@453 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-09 07:36:34 +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
lfittl
3f7449d7bc Make it easier to add a new test subtarget
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@451 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-08 23:29:44 +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
lfittl
ec5c81cb93 Updated SmallObj test Makefile to fit renaming of SmallSingleton to SmallObjSingleton
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@445 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-07 03:09:05 +00:00
syntheticpp
7e3cf8faf4 no lib needed
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@440 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-06 09:49:25 +00:00
syntheticpp
21341bc317 independent from libloki, use namespace loki, remove warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@435 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 21:28:37 +00:00
syntheticpp
972ba9915b rename Small->SmallObj
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@434 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 21:05:19 +00:00
syntheticpp
70fdd98598 add msvc8 project files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@432 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 17:48:24 +00:00
syntheticpp
a53275bb8f swap names
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@431 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 17:40:29 +00:00
syntheticpp
7702fbfd00 renome project files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@429 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 17:31:55 +00:00
syntheticpp
019b01fe36 add msvc8 project files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@428 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 17:29:10 +00:00
syntheticpp
8814dc7790 add msvc8 project files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@427 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 17:21:13 +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
ddff4acea3 remove warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@423 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:31:14 +00:00
syntheticpp
ee494e1c57 add -DNDEBUG
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@422 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:20:11 +00:00
syntheticpp
56fe17d96e update msvc makefile
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@420 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:11:45 +00:00
syntheticpp
727b519348 replace tabs
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@419 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 13:03:44 +00:00
syntheticpp
c9fa59ada0 improve test program (gcc fails test 22 and 41)
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@418 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 12:55:42 +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
98d9388dfb test fails because snprintf does not support 64bit values, therefore tests on negative integer values is disabled
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@415 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 10:24:39 +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
d5a206bb96 always use #include <loki/...>, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@413 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-05 00:23:44 +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
syntheticpp
dd7235322b remove system(PAUSE) for gcc, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@409 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 23:54:30 +00:00
syntheticpp
5a9457da09 remove gcc 4.0 warnings, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@408 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 23:45:08 +00:00
syntheticpp
f24e121125 patch Makefiles, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@407 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 23:41:27 +00:00
syntheticpp
f717540760 patch Makefiles, Thanks to Lukas Fittl
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@406 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 23:35:09 +00:00
syntheticpp
7438aec6c3 SPrintf does not work for negativ integer values on 64 bit systems scp -C -i /home/cuser/.ssh/cf_id_dsa include/loki/SafeFormat.h syntheticpp@cf-shell.sourceforge.net:/home/users/s/sy/syntheticpp/loki/include/loki/!
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@405 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-04 22:58:58 +00:00
syntheticpp
94131d724c add ScopeGuard example
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@399 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-03 14:36:46 +00:00
syntheticpp
40cc0f1923 add Visitor example
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@395 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 10:54:13 +00:00
syntheticpp
b302ff3049 add visitor example to build process
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@394 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 10:51:27 +00:00
syntheticpp
0dd0c7089b add Visitor example
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@392 7ec92016-0320-0410-acc4-a06ded1c099a
2006-01-02 10:38:25 +00:00
syntheticpp
bf9071ebdb generate library also with the ms toolkit
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@383 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-19 07:54:40 +00:00
rich_sposato
6b6854d53e Added checks for whether loki's allocator is corrupted.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@379 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-08 22:23:33 +00:00
rich_sposato
fb0f712fde Changed template parameter values for SmallObject allocator.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@376 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-08 21:03:02 +00:00
syntheticpp
6b5d0e2629 add speed comparison
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@375 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 14:20:23 +00:00
syntheticpp
7eb9f2e6ae disable %p tests due to different snprintf implementations
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@374 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 13:46:20 +00:00
syntheticpp
fa05da94c0 astyle --style=ansi
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@373 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 13:20:54 +00:00
syntheticpp
3b596259ec make output code more readable
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@372 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-29 13:17:20 +00:00
syntheticpp
75722359cf point operator added
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@371 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-20 13:16:04 +00:00
syntheticpp
d26ecb6716 change documentation of function
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@365 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-16 13:36:38 +00:00
syntheticpp
f10f61534c add removed tests with NoDestroy plolicy
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@358 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-13 13:39:15 +00:00
syntheticpp
735cde8666 protect private data, add std::vector<IdType> RegisteredIds()
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@356 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-12 16:52:36 +00:00
syntheticpp
1c8bce4d43 remove warnings and adjust code to new default lifetimes of SmallObjects
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@354 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-12 15:13:36 +00:00
syntheticpp
0fc58a0e86 change lifetime policy DieOrder to a msvc7.1 compilable version. Make this the default lifetime for SmallObject
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@353 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-07 12:06:43 +00:00
syntheticpp
4e97accb6a disable FollowIntoDeath/DieOrder lifetime policies when using the msvc 7.1 compiler, bug article: 839821 'Microsoft has confirmed that this is a problem..'
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@352 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-05 17:43:55 +00:00
syntheticpp
cff0fad314 use new singleton lifetime policies
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@346 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 15:00:38 +00:00
syntheticpp
8d8988f5c0 use new singleton lifetime policies
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@345 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 14:15:44 +00:00
syntheticpp
5bbe746eee use new singleton lifetime policies
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@344 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 14:11:18 +00:00
syntheticpp
6c8b1660b4 use new singleton lifetime policies
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@343 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 13:58:18 +00:00
rich_sposato
6f647c1a21 Added explanatory comment about why class has no new [] and delete []
operators.  Removed other comment which is now useless.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@341 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-02 01:46:04 +00:00
syntheticpp
d805e8d90b apply new lifetime policy to avoid crash on exit in test/Factory
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@340 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:38:19 +00:00
syntheticpp
a17791f2c8 test program for lifetime policies FollowIntoDeath and DieOrder
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@339 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:15:22 +00:00
syntheticpp
a7687a05a1 add lifetime policies to manage singleton lifetime dependencies: FollowIntoDeath and DieOrder. Change SmallObject.h to avoid memory leaks by default
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@338 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:11:52 +00:00
syntheticpp
698ffbff54 disable mt classes when threading is disabled
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@337 7ec92016-0320-0410-acc4-a06ded1c099a
2005-11-01 11:03:31 +00:00
syntheticpp
a2d383198c test correct also when boost is disabled
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@336 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 14:33:33 +00:00
syntheticpp
41d2cb34f5 disable threading because the sdk (windows.h) is not detected automatically by the batch scripts
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@335 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 14:22:31 +00:00
syntheticpp
7fe4c81ff0 replace tabs space
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@334 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 14:03:23 +00:00
syntheticpp
570f0ed652 make disabling the TYPELIST macros possible
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@333 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-30 13:49:44 +00:00
syntheticpp
ba524baf5a replace with new implementation
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@332 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-29 12:38:22 +00:00
syntheticpp
de09eec49b find loki include files without a correct sreach pathand some small fixes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@331 7ec92016-0320-0410-acc4-a06ded1c099a
2005-10-29 10:21:46 +00:00