Commit graph

35 commits

Author SHA1 Message Date
rich_sposato
ca6a94ac97 Back to revision 1109. Accidentally checked in more files than I intended.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1111 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 23:19:14 +00:00
rich_sposato
16094ffe39 A little cleanup. Moved class to SmartPtr.cpp and SmartPtr.h files.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1110 7ec92016-0320-0410-acc4-a06ded1c099a
2011-09-20 22:34:24 +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
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
a2e99a55dd Cosmetic: remove trailing spaces.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1008 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-13 12:07:15 +00:00
jfbastien
a251ebcc12 Bug 2665120: flex_string fatal error assigning big string to small
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1007 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-13 11:39:47 +00:00
jfbastien
0174e55298 Bug 2684989: flex_string insert char fails with SmallStringOpt
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1006 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-12 12:28:58 +00:00
jfbastien
208bbae624 Bug 2679853: flex_string cannot insert from current string.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1005 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-11 17:58:49 +00:00
jfbastien
7b99eeed7b Add note on bug #2679853.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1004 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-10 19:58:26 +00:00
jfbastien
12a3a50e8e Bug #2666059: cap buffer size to 126.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1001 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-05 22:04:56 +00:00
jfbastien
a34780ce1e Cache call to size() in find(): it wasn't being optimized out.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1000 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-05 21:12:02 +00:00
jfbastien
f167b31cbb Typo.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@997 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-05 12:21:52 +00:00
jfbastien
da63cc999c Bug 2657248: take two, this time fix it properly!
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@993 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-03 16:29:14 +00:00
jfbastien
fc81b2a539 Bug 2657248: flex_string replace error when replacing from an empty range
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@992 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-03 13:32:21 +00:00
jfbastien
c776744629 Bug 2645770: Missing getline implementation for flex_string
Implement both getline overloads. The implementation is from the SGI STL (http://www.sgi.com/tech/stl/) and comes with the following copyright:

Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the below copyright notice appears in all copies and that both the copyright notice and this permission notice appear in supporting documentation. Silicon Graphics makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.

Copyright © 1997-1999
Silicon Graphics Computer Systems, Inc.

Copyright © 1994
Hewlett-Packard Company 

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@989 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-02 14:54:16 +00:00
jfbastien
56225861f7 Missing private after preprocessor condition.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@988 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-02 13:09:05 +00:00
jfbastien
a3c0926e23 Parenthesis around call to std::numeric_limits::max to prevent problems when Windows.h is included.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@987 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-02 13:08:03 +00:00
rich_sposato
7724ac7220 Fixed bug 2536490 by fixing find function.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@948 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-26 01:55:50 +00:00
aandrei
3179302021 Bug fixes to flex_string submitted by Harmut Kaiser, Jean-Francois Bastien, and Andrew Barnert
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@836 7ec92016-0320-0410-acc4-a06ded1c099a
2007-09-20 15:51:37 +00:00
syntheticpp
b831f56c1f subversion uses $ instead of $
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@754 7ec92016-0320-0410-acc4-a06ded1c099a
2006-10-17 19:59:11 +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
syntheticpp
30f4e933c1 replace tabs with 4 spaces
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@680 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-19 12:39:09 +00:00
syntheticpp
cdc9205e8e fix compare bug
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@639 7ec92016-0320-0410-acc4-a06ded1c099a
2006-04-18 09:27:35 +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
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
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
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
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
syntheticpp
327cf64701 gcc fixes: version 3.4.4 needs 'typename'
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@381 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-09 20:11:48 +00:00
syntheticpp
8790145611 fix compare bug by updating, thanks to Justin Matthews
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@380 7ec92016-0320-0410-acc4-a06ded1c099a
2005-12-09 19:59:49 +00:00
syntheticpp
0f678b97e2 small gcc and msvc8 corrections
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@219 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 12:47:16 +00:00
syntheticpp
f994398a51 -adding flex_string
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@214 7ec92016-0320-0410-acc4-a06ded1c099a
2005-08-27 10:20:46 +00:00