svn commit: r452379 - in /incubator/stdcxx/trunk/include: deque list map rw/_specialized.h set vector
Author: faridz Date: Tue Oct 3 02:46:13 2006 New Revision: 452379 URL: http://svn.apache.org/viewvc?view=revrev=452379 Log: 2006-10-03 Farid Zaripov [EMAIL PROTECTED] * _specialized.h: Restored HP copyright notice * vector: Ditto * set: Ditto * map: Ditto * list: Ditto * deque: Ditto Modified: incubator/stdcxx/trunk/include/deque (contents, props changed) incubator/stdcxx/trunk/include/list (contents, props changed) incubator/stdcxx/trunk/include/map (contents, props changed) incubator/stdcxx/trunk/include/rw/_specialized.h incubator/stdcxx/trunk/include/set (contents, props changed) incubator/stdcxx/trunk/include/vector (contents, props changed) Modified: incubator/stdcxx/trunk/include/deque URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/deque?view=diffrev=452379r1=452378r2=452379 == --- incubator/stdcxx/trunk/include/deque (original) +++ incubator/stdcxx/trunk/include/deque Tue Oct 3 02:46:13 2006 @@ -7,25 +7,36 @@ * *** * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the License); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - * implied. See the License for the specific language governing - * permissions and limitations under the License. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. * * Copyright 1994-2006 Rogue Wave Software. * - * Copyright (c) 1994 Hewlett-Packard Company + *** + * + * Copyright (c) 1994 + * Hewlett-Packard Company + * + * Permission to use, copy, modify, distribute and sell this software + * and its documentation for any purpose is hereby granted without fee, + * provided that the above copyright notice appear in all copies and + * that both that copyright notice and this permission notice appear + * in supporting documentation. Hewlett-Packard Company makes no + * representations about the suitability of this software for any + * purpose. It is provided as is without express or implied warranty. * **/ @@ -642,7 +653,7 @@ } #if defined (_RWSTD_NO_PART_SPEC_OVERLOAD) -friend void swap (deque __lhs, deque __rhs) { +friend void swap (deque __lhs, deque __rhs) { __lhs.swap (__rhs); } #endif @@ -980,7 +991,7 @@ } -#ifndef _RWSTD_NO_PART_SPEC_OVERLOAD +#ifndef _RWSTD_NO_PART_SPEC_OVERLOAD template class _TypeT, class _Allocator inline void Propchange: incubator/stdcxx/trunk/include/deque -- svn:eol-style = native Modified: incubator/stdcxx/trunk/include/list URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/list?view=diffrev=452379r1=452378r2=452379 == --- incubator/stdcxx/trunk/include/list (original) +++ incubator/stdcxx/trunk/include/list Tue Oct 3 02:46:13 2006 @@ -7,26 +7,37 @@ * *** * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - *
svn commit: r452382 - /incubator/stdcxx/trunk/include/sstream.cc
Author: faridz Date: Tue Oct 3 02:53:11 2006 New Revision: 452382 URL: http://svn.apache.org/viewvc?view=revrev=452382 Log: 2006-10-03 Farid Zaripov [EMAIL PROTECTED] * sstream.cc (basic_stringbuf::str): Added check before deallocate the old buffer Modified: incubator/stdcxx/trunk/include/sstream.cc (contents, props changed) Modified: incubator/stdcxx/trunk/include/sstream.cc URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/sstream.cc?view=diffrev=452382r1=452381r2=452382 == --- incubator/stdcxx/trunk/include/sstream.cc (original) +++ incubator/stdcxx/trunk/include/sstream.cc Tue Oct 3 02:53:11 2006 @@ -135,11 +135,13 @@ // copy the provided string to buffer traits_type::copy (__buf, __s, __slen); -if (this-_C_buffer this-_C_own_buf ()) -__alloc.deallocate (this-_C_buffer, this-_C_bufsize); +if (this-_C_buffer != __buf) { +if (this-_C_buffer this-_C_own_buf ()) +__alloc.deallocate (this-_C_buffer, this-_C_bufsize); -this-_C_buffer = __buf; -this-_C_bufsize = __bufsize; +this-_C_buffer = __buf; +this-_C_bufsize = __bufsize; +} } if (this-_C_is_in ()) Propchange: incubator/stdcxx/trunk/include/sstream.cc -- svn:eol-style = native
svn commit: r452509 - /incubator/stdcxx/trunk/include/rw/_defs.h
Author: faridz Date: Tue Oct 3 07:28:24 2006 New Revision: 452509 URL: http://svn.apache.org/viewvc?view=revrev=452509 Log: 2006-10-03 Farid Zaripov [EMAIL PROTECTED] * _defs.h: _RWBUILD_std replaced to _RWSTD_LIB_SRC Modified: incubator/stdcxx/trunk/include/rw/_defs.h Modified: incubator/stdcxx/trunk/include/rw/_defs.h URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/rw/_defs.h?view=diffrev=452509r1=452508r2=452509 == --- incubator/stdcxx/trunk/include/rw/_defs.h (original) +++ incubator/stdcxx/trunk/include/rw/_defs.h Tue Oct 3 07:28:24 2006 @@ -9,23 +9,24 @@ * *** * - * Copyright 2005-2006 The Apache Software Foundation or its licensors, - * as applicable. + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the License); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at * - * Copyright 1994-2006 Rogue Wave Software. + * http://www.apache.org/licenses/LICENSE-2.0 * - * Licensed under the Apache License, Version 2.0 (the License); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an AS IS BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing + * permissions and limitations under the License. * - * http://www.apache.org/licenses/LICENSE-2.0 + * Copyright 1994-2006 Rogue Wave Software. * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * **/ #ifndef _RWSTD_RW_DEFS_H_INCLUDED @@ -458,11 +459,11 @@ #if (defined (_WIN32) || defined (_WIN64)) \ (defined (RWDLL) || defined (_RWSHARED)) -# ifdef _RWBUILD_std +# ifdef _RWSTD_LIB_SRC #define _RWSTD_EXPORT__declspec (dllexport) # else #define _RWSTD_EXPORT__declspec (dllimport) -# endif // _RWBUILD_std +# endif // _RWSTD_LIB_SRC # if _MSC_VER = 1300 #define _RWSTD_CLASS_EXPORT_RWSTD_EXPORT
svn commit: r452510 - in /incubator/stdcxx/trunk/examples/manual/out: time_get.cpp time_get.out
Author: faridz Date: Tue Oct 3 07:30:34 2006 New Revision: 452510 URL: http://svn.apache.org/viewvc?view=revrev=452510 Log: 2006-10-03 Farid Zaripov [EMAIL PROTECTED] * time_get.cpp: File renamed ... * time_get.out: ... to this. Added: incubator/stdcxx/trunk/examples/manual/out/time_get.out - copied unchanged from r451939, incubator/stdcxx/trunk/examples/manual/out/time_get.cpp Removed: incubator/stdcxx/trunk/examples/manual/out/time_get.cpp
svn commit: r452680 - /incubator/stdcxx/trunk/include/limits
Author: sebor Date: Tue Oct 3 17:06:15 2006 New Revision: 452680 URL: http://svn.apache.org/viewvc?view=revrev=452680 Log: 2006-10-03 Martin Sebor [EMAIL PROTECTED] * limits (_RWSTD_FLT_HAS_DENORM, _RWSTD_DBL_HAS_DENORM, _RWSTD_LDBL_HAS_DENORM): Defined macros to false when not #defined at configuration time. Modified: incubator/stdcxx/trunk/include/limits Modified: incubator/stdcxx/trunk/include/limits URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/limits?view=diffrev=452680r1=452679r2=452680 == --- incubator/stdcxx/trunk/include/limits (original) +++ incubator/stdcxx/trunk/include/limits Tue Oct 3 17:06:15 2006 @@ -58,10 +58,21 @@ #endif // _RWSTD_NO_DBL_TRAPS +#ifndef _RWSTD_FLT_HAS_DENORM +# define _RWSTD_FLT_HAS_DENORM false +#endif // _RWSTD_FLT_HAS_DENORM + +#ifndef _RWSTD_DBL_HAS_DENORM +# define _RWSTD_DBL_HAS_DENORM false +#endif // _RWSTD_DBL_HAS_DENORM + +#ifndef _RWSTD_LDBL_HAS_DENORM +# define _RWSTD_LDBL_HAS_DENORM false +#endif // _RWSTD_LDBL_HAS_DENORM + #ifndef _RWSTD_HAS_DENORM_LOSS # define _RWSTD_HAS_DENORM_LOSS false #endif // _RWSTD_HAS_DENORM_LOSS - #ifndef _RWSTD_HAS_INFINITY # define _RWSTD_HAS_INFINITYtrue