Commit graph

54 commits

Author SHA1 Message Date
rich_sposato
e383589380 Added new configurations to differentiate between cygwin-gcc and gnu-gcc.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1033 7ec92016-0320-0410-acc4-a06ded1c099a
2009-10-10 23:45:58 +00:00
jfbastien
433534f136 Bug 2690414: flex_string missing swap implementation
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1011 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-17 18:21:12 +00:00
jfbastien
b1e0c16582 Copy/paste mistake.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1010 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-13 15:17:59 +00:00
jfbastien
b170379f32 Bug 2686155: flex_string is missing input_iterator methods
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1009 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-13 13:54:51 +00:00
jfbastien
8642f606d9 Simplify Num2String.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1003 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-10 19:55:59 +00:00
jfbastien
a27150df64 Refactor some more, and add a bunch of tests. These new tests led me to find bug #2679853.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1002 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-10 18:36:42 +00:00
jfbastien
2d56e06cff Add a small string optimization test with a buffer of 126.
Cache size() outside the loop for RandomString.
Modify Num2String so that npos is properly taken into account.
Add Tristate2String.
Modify seedForThisIteration so that its value is count + rand() instead of just rand(): using just rand meant that a lot of the initial seeds repeated because the pseudo-randomness of rand isn't good. Adding count should somewhat reduce the repetitions.
I'd consider using another random number generator, rand() is slow and has a bad distribution.


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@999 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-05 21:09:20 +00:00
jfbastien
8d792783e0 Use MaxString<String>::value instead of 1000.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@998 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-05 16:13:57 +00:00
jfbastien
8d19f398f4 There were test failures in release (MSVC 9 with Multi-threaded DLL runtime library) because random and RandomString were called directly as arguments to functions. When this happened more than once in the same function there would sometimes be different results because the order of evaluation of function arguments isn't guaranteed.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@996 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-04 16:04:41 +00:00
jfbastien
dc9c2b0ed9 Refactor some more. Add tests.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@994 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-03 22:14:49 +00:00
jfbastien
0e615e0932 Refactor.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@991 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-02 19:43:49 +00:00
jfbastien
272dc6a91b Fix function selector, some tests weren't being run.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@990 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-02 16:02:51 +00:00
rich_sposato
8f91f0bfb3 Added OutputFile path.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@980 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:34:35 +00:00
syntheticpp
9103a647c4 fix line endings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@958 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-29 17:38:55 +00:00
rich_sposato
6968fcd422 Added fix for bug.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@949 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-26 02:04:40 +00:00
rich_sposato
4deb3384d0 Added MSVC9 project file.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@928 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-21 07:20:21 +00:00
rich_sposato
8ebd3cce67 Upgraded project file to MSVC 9.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@890 7ec92016-0320-0410-acc4-a06ded1c099a
2008-07-23 07:54:02 +00:00
rich_sposato
ee05791b21 Adding MSVC 8 files to Loki.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@870 7ec92016-0320-0410-acc4-a06ded1c099a
2008-07-23 02:12:05 +00:00
rich_sposato
259fc64e32 Adding Code::Blocks project file to Loki.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@853 7ec92016-0320-0410-acc4-a06ded1c099a
2008-06-26 06:31:25 +00:00
syntheticpp
a35442b5d1 subversion uses Id instead of Header
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@760 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 20:36:13 +00:00
syntheticpp
092052ee93 svn propdel svn:executable -R *
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@739 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 18:16:19 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
syntheticpp
dee53adb01 update msvc build process
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@277 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-29 08:09:17 +00:00
syntheticpp
c6e143aba7 add general gcc makefiles
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@257 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-24 23:08:48 +00:00
syntheticpp
4043617da0 remove mingw specific makefiles
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@256 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-24 23:08:20 +00:00
syntheticpp
9429d59bd4 update include path
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@255 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-24 16:50:33 +00:00
syntheticpp
36a07386f0 update include path
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@254 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-24 16:39:00 +00:00
syntheticpp
7dac470d9f add mingw make files
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@235 7ec92016-0320-0410-acc4-a06ded1c099a
2005-09-15 14:33:27 +00:00