]>
Commit | Line | Data |
---|---|---|
af0e0fa0 JW |
1 | 2014-01-22 Jonathan Wakely <jwakely@redhat.com> |
2 | ||
3 | * include/bits/stl_deque.h (_Deque_impl): Move comment. | |
4 | ||
8f7082f5 TS |
5 | 2014-01-21 Tim Shen <timshen91@gmail.com> |
6 | ||
7 | * include/bits/regex.tcc: Remove incorrect `nosubs` handling. | |
8 | * include/bits/regex_scanner.tcc: Handle `nosubs` correctly. | |
9 | * testsuite/28_regex/constants/syntax_option_type.cc: Add a test case. | |
10 | ||
6ff956e3 JW |
11 | 2014-01-21 Jonathan Wakely <jwakely@redhat.com> |
12 | ||
13 | PR libstdc++/56267 | |
14 | * include/bits/hashtable.h (__cache_default): Do not depend on | |
15 | whether the hash function is DefaultConstructible or CopyAssignable. | |
16 | (_Hashtable): Adjust static assertions. | |
17 | * doc/xml/manual/containers.xml (containers.unordered.cache): Update. | |
18 | * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust | |
19 | dg-error line number. | |
20 | * testsuite/23_containers/unordered_set/ | |
21 | not_default_constructible_hash_neg.cc: Remove. | |
22 | ||
9d0bb2ea FD |
23 | 2014-01-20 François Dumont <fdumont@gcc.gnu.org> |
24 | ||
25 | * scripts/create_testsuite_files: Add testsuite/experimental in | |
26 | the list of folders to search for tests. | |
27 | * include/experimental/string_view | |
28 | (basic_string_view<>::operator[]): Comment _GLIBCXX_DEBUG_ASSERT, | |
29 | incompatible with constexpr qualifier. | |
30 | (basic_string_view<>::front()): Likewise. | |
31 | (basic_string_view<>::back()): Likewise. | |
32 | * testsuite/experimental/string_view/element_access/wchar_t/2.cc: | |
33 | Merge dg-options directives into one. | |
34 | * testsuite/experimental/string_view/element_access/char/2.cc: | |
35 | Likewise. Remove invalid experimental namespace scope on | |
36 | string_view_type. | |
37 | ||
92e16228 JW |
38 | 2014-01-20 Jonathan Wakely <jwakely@redhat.com> |
39 | ||
40 | PR libstdc++/56267 | |
41 | * include/bits/hashtable_policy.h (_Hash_code_base<... false>): Grant | |
42 | friendship to _Local_iterator_base<..., false>. | |
43 | (_Local_iterator_base): Give protected access to all existing members. | |
44 | (_Local_iterator_base::_M_curr()): New public accessor. | |
45 | (_Local_iterator_base::_M_get_bucket()): New public accessor. | |
46 | (_Local_iterator_base<..., false>::_M_init()): New function to manage | |
47 | the lifetime of the _Hash_code_base explicitly. | |
48 | (_Local_iterator_base<..., false>::_M_destroy()): Likewise. | |
49 | (_Local_iterator_base<..., false>): Define copy constructor and copy | |
50 | assignment operator that use new functions to manage _Hash_code_base. | |
51 | (operator==(const _Local_iterator_base&, const _Local_iterator_base&), | |
52 | operator==(const _Local_iterator_base&, const _Local_iterator_base&)): | |
53 | Use public API for _Local_iterator_base. | |
54 | * include/debug/safe_local_iterator.h (_Safe_local_iterator): Likewise. | |
55 | * include/debug/unordered_map (__debug::unordered_map::erase(), | |
56 | __debug::unordered_multimap::erase()): Likewise. | |
57 | * include/debug/unordered_set (__debug::unordered_set::erase(), | |
58 | __debug::unordered_multiset::erase()): Likewise. | |
59 | * testsuite/23_containers/unordered_set/56267-2.cc: New test. | |
60 | ||
053eb1f3 TS |
61 | 2014-01-19 Tim Shen <timshen91@gmail.com> |
62 | ||
63 | * include/bits/regex_compiler.h (_Comipler<>::_M_quantifier()): | |
64 | Fix parse error of multiple consecutive quantifiers like "a**". | |
65 | * include/bits/regex_compiler.tcc (_Comipler<>::_M_quantifier()): | |
66 | Likewise. | |
67 | * testsuite/28_regex/basic_regex/multiple_quantifiers.cc: New. | |
68 | ||
1217ee06 FD |
69 | 2014-01-17 François Dumont <fdumont@gcc.gnu.org> |
70 | ||
71 | * include/profile/set.h (set): Implement C++11 allocator-aware | |
72 | container requirements. | |
73 | * include/profile/map.h (map): Likewise. | |
74 | * include/profile/multiset.h (multiset): Likewise. | |
75 | * include/profile/multimap.h (multimap): Likewise. | |
76 | * include/profile/set.h | |
77 | (set::operator=(const set&)): Define as default in C++11 mode. | |
78 | (set::operator=(set&&)): Likewise. | |
79 | * include/profile/map.h | |
80 | (map::operator=(const map&)): Likewise. | |
81 | (map::operator=(map&&)): Likewise. | |
82 | * include/profile/multiset.h | |
83 | (multiset::operator=(const multiset&)): Likewise. | |
84 | (multiset::operator=(multiset&&)): Likewise. | |
85 | * include/profile/multimap.h | |
86 | (multimap::operator=(const multimap&)): Likewise. | |
87 | (multimap::operator=(multimap&&)): Likewise. | |
88 | * include/profile/set.h (set::operator=(std::initializer_list<>)): | |
89 | Rely on the same operator from normal mode. | |
90 | * include/profile/map.h (map::operator=(std::initializer_list<>)): | |
91 | Likewise. | |
92 | * include/profile/multiset.h | |
93 | (multiset::operator=(std::initializer_list<>)): Likewise. | |
94 | * include/profile/multimap.h | |
95 | (multimap::operator=(std::initializer_list<>)): Likewise. | |
96 | * include/profile/set.h (set::swap(set&)): Add noexcept | |
97 | specification. | |
98 | * include/profile/map.h (map::swap(map&)): Likewise. | |
99 | * include/profile/multiset.h (multiset::swap(multiset&)): Likewise. | |
100 | * include/profile/multimap.h (multimap::swap(multimap&)): Likewise. | |
101 | ||
ddf41e9d TS |
102 | 2014-01-17 Tim Shen <timshen91@gmail.com> |
103 | ||
104 | * include/bits/regex_automaton.tcc (_StateSeq<>::_M_clone()): Do not | |
105 | use std::map. | |
106 | * include/bits/regex_automaton.h: Do not use std::set. | |
107 | * include/bits/regex_compiler.h (_BracketMatcher<>::_M_add_char(), | |
108 | _BracketMatcher<>::_M_add_collating_element(), | |
109 | _BracketMatcher<>::_M_add_equivalence_class(), | |
110 | _BracketMatcher<>::_M_make_range()): Likewise. | |
111 | * include/bits/regex_compiler.tcc (_BracketMatcher<>::_M_apply()): | |
112 | Likewise. | |
113 | * include/bits/regex_executor.h: Do not use std::queue. | |
114 | * include/bits/regex_executor.tcc (_Executor<>::_M_main(), | |
115 | _Executor<>::_M_dfs()): Likewise. | |
116 | * include/std/regex: Remove <map>, <set> and <queue>. | |
117 | ||
118 | 2014-01-17 Tim Shen <timshen91@gmail.com> | |
119 | ||
120 | * include/bits/regex.h (__compile_nfa<>(), basic_regex<>::basic_regex(), | |
121 | basic_regex<>::assign()): Change __compile_nfa to accept | |
122 | const _CharT* only. | |
123 | * include/bits/regex_compiler.h: Change _Compiler's template | |
124 | argument from <_FwdIter, _TraitsT> to <_TraitsT>. | |
125 | * include/bits/regex_compiler.tcc: Likewise. | |
126 | ||
127 | 2014-01-17 Tim Shen <timshen91@gmail.com> | |
128 | ||
129 | * include/bits/regex_compiler.h: Change _ScannerT into char-type | |
130 | templated. | |
131 | * include/bits/regex_scanner.h (_Scanner<>::_Scanner()): Separate | |
132 | _ScannerBase from _Scanner; Change _Scanner's template argument from | |
133 | _FwdIter to _CharT. Avoid use of std::map and std::set by using arrays | |
134 | instead. | |
135 | * include/bits/regex_scanner.tcc (_Scanner<>::_Scanner(), | |
136 | _Scanner<>::_M_scan_normal(), _Scanner<>::_M_eat_escape_ecma(), | |
137 | _Scanner<>::_M_eat_escape_posix(), _Scanner<>::_M_eat_escape_awk()): | |
138 | Likewise. | |
139 | * include/std/regex: Add <cstring> for using strchr. | |
140 | ||
141 | 2014-01-17 Tim Shen <timshen91@gmail.com> | |
142 | ||
143 | * bits/regex_automaton.tcc: Indentation fix. | |
144 | * bits/regex_compiler.h (__compile_nfa<>(), _Compiler<>, | |
145 | _RegexTranslator<> _AnyMatcher<>, _CharMatcher<>, | |
146 | _BracketMatcher<>): Add bool option template parameters and | |
147 | specializations to make matching more efficient and space saving. | |
148 | * bits/regex_compiler.tcc: Likewise. | |
149 | ||
1bb59e05 FD |
150 | 2014-01-15 François Dumont <fdumont@gcc.gnu.org> |
151 | ||
9b7dc56e | 152 | PR libstdc++/59712 |
1bb59e05 FD |
153 | * include/bits/hashtable_policy.h: Fix some long lines. |
154 | * include/bits/hashtable.h (__hash_code_base_access): Define and | |
155 | use it to check its _M_bucket_index noexcept qualification. Use | |
156 | also in place of... | |
157 | (__access_protected_ctor): ...this. | |
158 | * testsuite/23_containers/unordered_set/instantiation_neg.cc: | |
159 | Adapt line number. | |
160 | * testsuite/23_containers/unordered_set/ | |
161 | not_default_constructible_hash_neg.cc: Likewise. | |
162 | ||
51835a80 FD |
163 | 2014-01-13 François Dumont <fdumont@gcc.gnu.org> |
164 | ||
165 | * include/debug/set.h (set): Implement C++11 allocator-aware | |
166 | container requirements. | |
167 | * include/debug/map.h (map): Likewise. | |
168 | * include/debug/multiset.h (multiset): Likewise. | |
169 | * include/debug/multimap.h (multimap): Likewise. | |
170 | * include/debug/set.h (set::operator=(set&&)): Add noexcept and | |
171 | fix implementation regarding management of safe iterators. | |
172 | * include/debug/map.h (map::operator=(map&&)): Likewise. | |
173 | * include/debug/multiset.h (multiset::operator=(multiset&&)): Likewise. | |
174 | * include/debug/multimap.h (multimap::operator=(multimap&&)): | |
175 | Likewise. | |
176 | * include/debug/set.h (set::operator=(std::initializer_list<>)): | |
177 | Rely on the same operator from normal mode. | |
178 | * include/debug/map.h (map::operator=(std::initializer_list<>)): | |
179 | Likewise. | |
180 | * include/debug/multiset.h | |
181 | (multiset::operator=(std::initializer_list<>)): Likewise. | |
182 | * include/debug/multimap.h | |
183 | (multimap::operator=(std::initializer_list<>)): Likewise. | |
184 | * include/debug/set.h (set::swap(set&)): Add noexcept | |
185 | specification, add allocator equality check. | |
186 | * include/debug/map.h (map::swap(map&)): Likewise. | |
187 | * include/debug/multiset.h (multiset::swap(multiset&)): Likewise. | |
188 | * include/debug/multimap.h (multimap::swap(multimap&)): Likewise. | |
189 | ||
92bf1382 JW |
190 | 2014-01-10 Jonathan Wakely <jwakely@redhat.com> |
191 | ||
192 | PR libstdc++/59698 | |
193 | * doc/xml/manual/status_cxx1998.xml (iso.1998.specific): Markup | |
194 | and stylistic improvements. | |
195 | * doc/xml/manual/codecvt.xml (std.localization.facet.codecvt): Likewise | |
196 | and update for C++11. | |
197 | * doc/xml/manual/ctype.xml (std.localization.facet.ctype): Likewise. | |
198 | ||
b1fb52ca JW |
199 | PR libstdc++/59687 |
200 | * doc/xml/manual/backwards_compatibility.xml | |
201 | (backwards.third.nocreate_noreplace): Correct and expand. | |
202 | ||
48c7451e JW |
203 | PR libstdc++/59699 |
204 | * doc/xml/manual/support.xml (std.support.types.null): Update links. | |
205 | ||
f0bc4aea JW |
206 | 2014-01-09 Jonathan Wakely <jwakely@redhat.com> |
207 | ||
208 | PR libstdc++/59738 | |
209 | * include/bits/stl_vector.h (vector<>::_M_move_assign): Restore | |
210 | support for non-Movable types. | |
211 | ||
4bc0ec32 JW |
212 | PR libstdc++/59680 |
213 | * src/c++11/thread.cc (__sleep_for): Fix call to ::sleep. | |
214 | ||
ace295af FD |
215 | 2014-01-08 François Dumont <fdumont@gcc.gnu.org> |
216 | ||
217 | * include/bits/stl_vector.h (std::vector<>::_M_move_assign): Pass | |
218 | *this allocator instance when building temporary vector instance | |
219 | so that *this allocator does not get moved. | |
220 | * include/debug/safe_base.h | |
221 | (_Safe_sequence_base(_Safe_sequence_base&&)): New. | |
222 | * include/debug/vector (__gnu_debug::vector<>(vector&&)): Use new | |
223 | move constructor from _Safe_sequence_base. | |
224 | (__gnu_debug::vector<>(vector&&, const allocator_type&)): Swap | |
225 | safe iterators if the instance is moved. | |
226 | (__gnu_debug::vector<>::operator=(vector&&)): Likewise. | |
227 | * testsuite/23_containers/vector/allocator/move.cc (test01): Add | |
228 | check on a vector iterator. | |
229 | * testsuite/23_containers/vector/allocator/move_assign.cc | |
230 | (test02): Likewise. | |
231 | (test03): New, test with a non-propagating allocator. | |
232 | * testsuite/23_containers/vector/debug/move_assign_neg.cc: New. | |
233 | ||
f43cc2a6 TS |
234 | 2014-01-07 Tim Shen <timshen91@gmail.com> |
235 | ||
236 | * include/bits/regex_compiler.h (_AnyMatcher<>::_AnyMatcher(), | |
237 | _AnyMatcher<>::operator(), _AnyMatcher<>::_M_apply(), | |
238 | _CharMatcher<>::_CharMatcher(), _CharMatcher<>::_M_translate(), | |
239 | _BracketMatcher<>::_BracketMatcher(), _BracketMatcher<>::operator(), | |
240 | _BracketMatcher<>::_M_add_char(), | |
241 | _BracketMatcher<>::_M_add_collating_element(), | |
242 | _BracketMatcher<>::_M_add_equivalence_class(), | |
243 | _BracketMatcher<>::_M_add_character_class(), | |
244 | _BracketMatcher<>::_M_make_range(), _BracketMatcher<>::_M_ready(), | |
245 | _BracketMatcher<>::_M_apply(), _BracketMatcher<>::_M_make_cache()): | |
246 | Fix _AnyMatcher behavior of POSIX style and move _M_flags | |
247 | to template parameter; Add cache for _BracketMatcher. Adjust | |
248 | declarations from here... | |
249 | * include/bits/regex.h (basic_regex<>::imbue()): ...to here. Also, | |
250 | imbuing a regex will trigger a recompilation to rebuild the cache. | |
251 | * include/bits/regex_compiler.tcc (_Compiler<>::_M_atom(), | |
252 | _Compiler<>::_M_bracket_expression()): Adjust matchers' caller for | |
253 | different template bool parameters. | |
254 | * include/bits/regex_executor.h: Remove unnecessary declarations. | |
255 | * include/std/regex: Adjust including orders. | |
256 | * testsuite/28_regex/traits/char/user_defined.cc: New. | |
257 | * testsuite/28_regex/traits/wchar_t/user_defined.cc: New. | |
258 | ||
14c12d0d RO |
259 | 2014-01-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
260 | ||
261 | * config/abi/post/solaris2.9/baseline_symbols.txt: Regenerate. | |
262 | * config/abi/post/solaris2.9/sparcv9/baseline_symbols.txt: Likewise. | |
263 | * config/abi/post/solaris2.10/baseline_symbols.txt: Likewise. | |
264 | * config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise. | |
265 | * config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise. | |
266 | ||
aa118a03 RS |
267 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
268 | ||
269 | Update copyright years | |
270 | ||
f9030485 RS |
271 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
272 | ||
273 | * testsuite/18_support/new_handler.cc, | |
274 | testsuite/18_support/terminate_handler.cc, | |
275 | testsuite/18_support/unexpected_handler.cc: Use the standard form for | |
276 | the copyright notice. | |
86a2db33 | 277 | \f |
94c13a09 | 278 | Copyright (C) 2014 Free Software Foundation, Inc. |
3cc6dd4d | 279 | |
86a2db33 JJ |
280 | Copying and distribution of this file, with or without modification, |
281 | are permitted in any medium without royalty provided the copyright | |
282 | notice and this notice are preserved. |