Commit graph

379 commits

Author SHA1 Message Date
rich_sposato
a1d74d7725 Fixed bug 2747377 by changing order of operands.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1013 7ec92016-0320-0410-acc4-a06ded1c099a
2009-04-11 06:01:06 +00:00
rich_sposato
e35ba7770e Added structs to declare typedefs for various exception policies.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1012 7ec92016-0320-0410-acc4-a06ded1c099a
2009-03-31 21:56:08 +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
4b43d68311 Fixed bug 1776032 by changing class to singleton.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@985 7ec92016-0320-0410-acc4-a06ded1c099a
2009-02-02 07:45:50 +00:00
rich_sposato
26d771c3a1 Changed pass-by-value to pass-by-reference.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@984 7ec92016-0320-0410-acc4-a06ded1c099a
2009-02-02 06:23:28 +00:00
rich_sposato
de86ba3dd4 Updated comment.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@982 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-31 07:51:27 +00:00
rich_sposato
fac31a70d6 Changed class names to match Loki naming style.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@956 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-29 08:27:39 +00:00
rich_sposato
fef3ad9a3b Added documentation comments. Added a policy.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@955 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-29 08:24:30 +00:00
syntheticpp
0ecd4269ce Add Rich's idea to pass the value into the policy
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@954 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-28 18:12:10 +00:00
rich_sposato
c6c68b8391 Added documentation comment.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@953 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-28 04:19:22 +00:00
syntheticpp
797f97f415 Cygwin fixes: build with mingw 3.4.4 and 4.3.2
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@950 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-26 19:45:54 +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
rich_sposato
592aa240b6 Adding SafeBits component to Loki.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@917 7ec92016-0320-0410-acc4-a06ded1c099a
2009-01-20 07:15:18 +00:00
rich_sposato
1651d21c5e Corrected inheritance for ownership policy.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@914 7ec92016-0320-0410-acc4-a06ded1c099a
2008-12-19 00:39:29 +00:00
syntheticpp
2d68004ddf fix GCC warning
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@911 7ec92016-0320-0410-acc4-a06ded1c099a
2008-12-15 20:55:24 +00:00
syntheticpp
e7d0d872f3 fix strange parenthesis
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@910 7ec92016-0320-0410-acc4-a06ded1c099a
2008-12-13 16:30:06 +00:00
syntheticpp
541c601909 add error policy to check return
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@908 7ec92016-0320-0410-acc4-a06ded1c099a
2008-12-10 20:22:40 +00:00
rich_sposato
c983337def Fixed variation of bug 2022935 by changing when functions check if strong-count is zero.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@904 7ec92016-0320-0410-acc4-a06ded1c099a
2008-11-10 05:59:59 +00:00
rich_sposato
464f643e19 Fixed bug 2082935 using overloaded version of AtomicDecrement.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@903 7ec92016-0320-0410-acc4-a06ded1c099a
2008-11-10 05:55:12 +00:00
rich_sposato
c661dfc348 Added several more atomic functions.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@902 7ec92016-0320-0410-acc4-a06ded1c099a
2008-11-10 05:47:06 +00:00
rich_sposato
19dd1dfe3d Added pre-conditions and post-conditions. Changed name of class.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@899 7ec92016-0320-0410-acc4-a06ded1c099a
2008-08-23 07:00:13 +00:00
syntheticpp
c6d6cada99 GCC 4.3 fixes, thanks to Tom Browder
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@898 7ec92016-0320-0410-acc4-a06ded1c099a
2008-08-09 15:35:12 +00:00
syntheticpp
1ca2df042d GCC 4.3 fixes: at least compile
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@897 7ec92016-0320-0410-acc4-a06ded1c099a
2008-08-08 22:53:19 +00:00
syntheticpp
683474eff9 fix line endings
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@896 7ec92016-0320-0410-acc4-a06ded1c099a
2008-08-08 22:20:05 +00:00
syntheticpp
0c4789ee11 GCC 4.2 fixes
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@895 7ec92016-0320-0410-acc4-a06ded1c099a
2008-08-08 22:06:26 +00:00
syntheticpp
7db6328cb2 add solaris patch 1839286
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@869 7ec92016-0320-0410-acc4-a06ded1c099a
2008-07-15 20:28:06 +00:00
rich_sposato
60effd7682 Adding LevelMutex to Loki.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@846 7ec92016-0320-0410-acc4-a06ded1c099a
2008-05-25 04:07:53 +00:00
rich_sposato
a7e94f86a5 Adding Checker to Loki.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@842 7ec92016-0320-0410-acc4-a06ded1c099a
2008-05-25 00:57:28 +00:00
rich_sposato
9bc7fac1bf Added include statement.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@841 7ec92016-0320-0410-acc4-a06ded1c099a
2008-03-24 23:58:28 +00:00
rich_sposato
25ce12a718 Added lines to comment header about license.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@840 7ec92016-0320-0410-acc4-a06ded1c099a
2008-03-19 19:44:38 +00:00
rich_sposato
7dd3646382 Added more comments.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@839 7ec92016-0320-0410-acc4-a06ded1c099a
2008-03-19 18:39:50 +00:00
rich_sposato
434ddf8198 Added to comment.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@838 7ec92016-0320-0410-acc4-a06ded1c099a
2008-03-19 18:17:05 +00:00
rich_sposato
b6d6abd191 Adding class to wrap small object allocator for STL containers.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@837 7ec92016-0320-0410-acc4-a06ded1c099a
2008-03-19 18:02:49 +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
b19393301f long long is not a standard type
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@835 7ec92016-0320-0410-acc4-a06ded1c099a
2007-08-02 19:39:02 +00:00
syntheticpp
a0268bf729 initialize static singleton data, thx to Peter Long
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@834 7ec92016-0320-0410-acc4-a06ded1c099a
2007-08-02 19:36:10 +00:00