Commit graph

337 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
syntheticpp
3b31e3dc78 Functor does not work with the new Functor::operator== ;add operator== to Functor, initiated by Eric Beyeler
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@664 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-01 12:40:24 +00:00
syntheticpp
2a5dc20f8a astyle --style=ansi
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@663 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-01 12:35:08 +00:00
syntheticpp
50d35c6196 add operator== to Functor, initiated by Eric Beyeler
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@662 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-01 12:33:05 +00:00
syntheticpp
2a1e54aec3 don't confuse with warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@659 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-30 14:17:05 +00:00
syntheticpp
d07f863578 remove gcc warnings, thanks to Stephan Beal
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@658 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-30 14:06:02 +00:00
syntheticpp
a708a57d94 enable all warnings for msvc: -W4
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@657 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-20 11:46:17 +00:00
syntheticpp
28ac0a23b2 add test/Function to build proress
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@651 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-20 09:32:16 +00:00
syntheticpp
a6b4587301 make independent of boost
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@650 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-20 09:30:34 +00:00
rich_sposato
a38d02bdd5 Added QueryInterface function to MimicCOM class.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@649 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-18 05:05:21 +00:00
syntheticpp
04b3944796 add new file to makefile
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@648 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-17 16:25:35 +00:00
syntheticpp
b1893764c6 remove gcc warnings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@647 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-17 16:23:39 +00:00
syntheticpp
a24160182c throw assert on failed test
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@644 7ec92016-0320-0410-acc4-a06ded1c099a
2006-05-12 10:24:50 +00:00
rich_sposato
4bc6a12222 Added test for thread-safe StrongPtr policy.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@643 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-28 00:34:21 +00:00
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