Debian Codegraph @

mingw-w64-headers/crt/ChangeLog.2010

raw
1 2010-12-31 Kai Tietz <[email protected]>
2
3 * float.h: New year's eve present.
4
5 2010-11-16 Kai Tietz <[email protected]>
6
7 * tchar.h (_tWinMain): Define as wWinMain for UNICODE case.
8
9 2010-10-10 Ozkan Sezer <[email protected]>
10
11 * assert.h: Always undefine and redefine assert() based on NDEBUG.
12
13 2010-09-20 Pawel Sikora <[email protected]>
14
15 * eh.h (_is_exception_typeof): Use std::type_info.
16
17 2010-09-16 Jonathan Yong <[email protected]>
18
19 * malloc.h (__mingw_aligned_malloc): Declare prototype.
20 (__mingw_aligned_free): Likewise.
21 (__mingw_aligned_offset_realloc): Likewise.
22 (__mingw_aligned_realloc): Likewise.
23
24 2010-09-07 Ozkan Sezer <[email protected]>
25
26 * tchar.h (_tcsnlen): Remove the #if0 comment-out from the macro.
27
28 2010-09-06 Ozkan Sezer <[email protected]>
29
30 * string.h (strnlen): Remove the #if0 comment-out from the prototype.
31
32 2010-08-30 Ozkan Sezer <[email protected]>
33
34 * _mingw.h (__MINGW_MSC_PREREQ): Fix inverted logic.
35
36 * dirent.h: Move the _mingw.h include after the header's include
37 guard, move the packing pragmas after the RC_INVOKED guard. Reformat
38 for smaller diff output against mingw version.
39
40 2010-08-19 Mook <[email protected]>
41
42 * _mingw.h (__MINGW_PRAGMA_PARAM): Define for MSVC.
43
44 2010-08-18 Ozkan Sezer <[email protected]>
45
46 From cygwin CVS 2010-08-17 by Keith Marshall:
47 * limits.h (PATH_MAX): Make it agree with Microsoft's semantically
48 identical MAX_PATH; correct value is 260.
49
50 2010-08-15 Ozkan Sezer <[email protected]>
51
52 * stdio.h (_vsnwprintf_l): Fix multiple declaration from rev. 1596.
53 * wchar.h (_vsnwprintf_l): Likewise.
54 (_swscanf_l): Likewise.
55
56 2010-08-14 Kai Tietz <[email protected]>
57
58 * time.h: Adjust prototypes for c99.
59 * intrin.h: Likewise.
60 * conio.h: Likewise.
61 * memory.h: Likewise.
62 * string.h: Likewise.
63 * stdlib.h: Likewise.
64 * stdio.h: Likewise.
65 * wchar.h: Likewise.
66
67 2010-08-12 Kai Tietz <[email protected]>
68
69 * _mingw.h (__PRAGMA_PARAM): Renamed to __MINGW_PRAGMA_PARAM.
70 (__BROKEN_INTERFACE): Renamed to __MINGW_BROKEN_INTERFACE.
71
72 2010-08-12 Jonathan Yong <[email protected]>
73
74 * _mingw.h (__PRAGMA_PARAM): Define.
75 (__BROKEN_INTERFACE): Likewise.
76
77 2010-08-02 Ozkan Sezer <[email protected]>
78
79 * _mingw.h (NONAMELESSUNION): If the compiler is MSVC and the MS
80 extensions are disabled, define it.
81 (DUMMYUNIONNAMEX): Remove, not used or needed.
82 (DUMMYSTRUCTNAMEX): Likewise.
83 (DUMMYUNIONNAME1): Add a note that only Wine uses this variant.
84 (DUMMYSTRUCTNAME1): Likewise.
85 (DUMMYUNIONNAME6): Define.
86 (DUMMYUNIONNAME7): Define.
87 (DUMMYUNIONNAME8): Define.
88 (DUMMYUNIONNAME9): Define.
89
90 2010-07-31 Kai Tietz <[email protected]>
91
92 * math.h (__mingw_raise_matherr): New prototype.
93
94 2010-07-30 Ozkan Sezer <[email protected]>
95
96 * errno.h (ENOFILE): New, define as ENOENT.
97
98 * _mingw.h (NONAMELESSSTRUCT, NONAMELESSUNION): If one is defined
99 make sure the other is defined, too. Fixes the mess caused by
100 NONAMELESSSTRUCT which isn't used by any others, so just rely on
101 NONAMELESSUNION.
102
103 2010-07-29 Ozkan Sezer <[email protected]>
104
105 Add mingw.org compatibility macros for anonymous unions:
106 * _mingw.h (_ANONYMOUS_UNION): New.
107 (_ANONYMOUS_STRUCT): New.
108 (_UNION_NAME): New.
109 (_STRUCT_NAME): New.
110 (__ANONYMOUS_DEFINED): New, guarding the above.
111
112 2010-07-29 Kai Tietz <[email protected]>
113
114 * sys/types.h (_sigset_t): New.
115
116 * math.h (fabs): Provide inline version.
117 (__fpclassify): Likewise.
118 (__fpclassifyf): Likewise.
119
120 2010-07-27 Ozkan Sezer <[email protected]>
121
122 * _mingw.h (__CRT_UNALIGNED): Remove.
123 (UNALIGNED): Define properly against __unaligned for better
124 compatibility with r/os.
125
126 2010-07-27 Ozkan Sezer <[email protected]>
127
128 * _mingw.h (_CRT_ALIGN): Add an MSVC version.
129 (__unaligned): Remove irrelevant comments. See the documentation
130 at http://msdn.microsoft.com/en-us/library/ms253978(VS.80).aspx
131
132 2010-07-23 Kai Tietz <[email protected]>
133
134 * _mingw_float.h: Removed.
135 * float.h: Old copy of _mingw_float.h.
136
137 2010-07-23 Ozkan Sezer <[email protected]>
138
139 * _mingw_stdarg.h (va_copy): Add missing parens.
140 * _mingw.h: Add extern to __forceinline definition.
141
142 2010-07-22 Ozkan Sezer <[email protected]>
143
144 Varargs & related cleanups and updates:
145
146 * stdio.h: Remove the vadefs.h include, it is already included
147 through _mingw.h.
148 * wchar.h: Remove the vadefs.h include, it is already included
149 through _mingw.h. Remove the __gnuc_va_list and va_list type
150 definitions, already done in vadefs.h (included via _mingw.h.)
151 * stdarg.h: Guard the whole header with __GNUC__ ifdefs.
152 * _mingw_stdarg.h: Use _crt_va_copy invented in vadefs.h (see
153 below) for the __va_copy definition. Move va_copy definition with
154 ifdefs from vadefs.h to here.
155 * _mingw.h: Move the #pragma pack(push,_CRT_PACKING) below vadefs.h
156 inclusion and remove the comment about duplication. Remove the
157 __gnuc_va_list and va_list type definitions, already done in the
158 included vadefs.h.
159 * vadefs.h: Remove _CRT_PACKING definition, already defined in
160 _mingw.h. Remove _UINTPTR_T_DEFINED & co, already defined in _mingw.h.
161 Guard __gnuc_va_list type definition with __GNUC__ ifdefs. Add
162 MSVC version of va_list type definition and guard the gcc version
163 properly. Restrict some of the macros to MSVC only, apparently
164 used only by that compiler. Guard the gcc versions of _crt_va_*
165 macros properly, add MSVC-x86 versions of them from r/os, add
166 MSVC-AMD64 defs from r/os svn repo ros-amd64-bringup branch and
167 #error for other cpus and compilers. Invent _crt_va_copy by analogy
168 to other _crt_va_* macros for use in stdarg.h.
169
170 2010-07-22 Amine Khaldi <[email protected]>
171
172 Several patches for MSC/non-GCC:
173 * _mingw.h (__MINGW_MSC_PREREQ): Define for MSC by analogy to the
174 existing __MINGW_GNUC_PREREQ.
175 (__CRT_INLINE): Define as __inline for MSC.
176 (__restrict__): Define as __restrict for MSC, or as empty for anything
177 other than GCC.
178 (__MINGW_ATTRIB_NORETURN): Define as __declspec(noreturn) for MSC.
179 (__MINGW_ATTRIB_MALLOC): Define as __declspec(noalias) __declspec(restrict)
180 for MSC.
181 (__MINGW_ATTRIB_PURE): Define as empty for MSC.
182 (__MINGW_ATTRIB_USED): Ditto.
183 (__MINGW_ATTRIB_CONST): Ditto.
184 (__MINGW_ATTRIB_DEPRECATE): Define as __declspec(deprecated) for MSC.
185 (__MINGW_NOTHROW): Define as __declspec(nothrow) for MSC && __cplusplus.
186 * setjmp.h: Include crtdefs.h instead of _mingw.h which will be included
187 as a result.
188
189 2010-07-21 Ozkan Sezer <[email protected]>
190
191 * _mingw.h (__MINGW_ATTRIB_UNUSED): Define as __attribute__((unused))
192 for gcc.
193 (__MINGW_ATTRIB_USED): Define as __attribute__((used)) for gcc, or as
194 __MINGW_ATTRIB_UNUSED where it is not supported ie. gcc < 3.1 or !gcc.
195
196 2010-07-18 Ozkan Sezer <[email protected]>
197
198 * assert.h (assert): Check against both _UNICODE and UNICODE.
199 Reword and reformat a few places.
200
201 2010-07-18 Kai Tietz <[email protected]>
202
203 PR/3031224
204 * assert.h (assert): Allow for ISO-C99 that assert gets
205 redefined according state of NDEBUG.
206
207 2010-07-18 Ozkan Sezer <[email protected]>
208
209 * _mingw_mac.h (__GNU_EXTENSION): Define as __MINGW_EXTENSION
210
211 2010-07-17 Ozkan Sezer <[email protected]>
212
213 * _mingw_unicode.h (__MINGW_TYPEDEF_UAW): New helper macro.
214
215 2010-07-15 Kai Tietz <[email protected]>
216
217 * process.h (_Exit): Fix missing declaration.
218 * stdlib.h (_Exit): Unify code block.
219 * assert.h (_Exit): Likewise.
220
221 2010-07-13 Kai Tietz <[email protected]>
222
223 PR/3028674
224 * intrin.h (_m_pextrw): Make sure gcc's intrinsic do not
225 do havoc.
226
227 2010-07-10 Ramiro Polla <[email protected]>
228
229 * stdlib.h (strtod): For ISO-C99 use posix version __strtod.
230
231 2010-06-26 Doug Semler <[email protected]>
232
233 * complex.h (cabs, cabsf, cabsl): New inlines to match new complex.
234 (carg, cargl, cargf): Make the inlines match the new complex library.
235
236 2010-06-18 Doug Semler <[email protected]>
237
238 * _mingw_mac.h: Move Unicode macro definitions to _mingw_unicode.h
239 * _mingw_unicode.h: New file.
240
241 2010-06-17 Kai Tietz <[email protected]>
242
243 * _mingw_mac (__MINGW_PROCNAMEEXT_AW): New define.
244
245 2010-06-15 Ozkan Sezer <[email protected]>
246
247 * _bsd_types.h: Moved from include/mingw_inc/_bsd_types.h.
248 Changed its include guard to _BSDTYPES_DEFINED.
249
250 2010-06-12 Kai Tietz <[email protected]>
251
252 * _mingw_mac.h (__MINGW_STRING_AW): New helper macro.
253
254 2010-06-12 Ozkan Sezer <[email protected]>
255
256 Kill definitions of I_X86_ macro and adjust places it was used:
257 * sec_api/stralign_s.h: Replace checks against I_X86_ by checks
258 against _X86_.
259
260 2010-05-24 Ozkan Sezer <[email protected]>
261
262 * mem.h: A little syncing with mingw32 (remove the unnecessary
263 __STRICT_ANSI__ guards.)
264 * sys/fcntl.h: Likewise.
265 * sys/file.h: Likewise.
266 * sys/param.h: Likewise.
267 * sys/time.h: Likewise.
268 * sys/unistd.h: Likewise.
269 * time.h: Likewise.
270 * unistd.h: A little syncing with mingw32 (remove the no longer
271 used __UNISTD_GETOPT__ macro.) Whitespace tidy-up.
272
273 2010-05-22 Ozkan Sezer <[email protected]>
274
275 * _timeval.h: New.
276 * time.h: Include _timeval.h. Move struct timeval, timerisset,
277 timercmp and timerclear to _timeval.h.
278 * sys/time.h: Likewise.
279
280 2010-05-21 Doug Semler <[email protected]>
281
282 * process.h (_endthread): Add noreturn attribute.
283 (_endthreadex): Likewise.
284
285 2010-05-13 Ozkan Sezer <[email protected]>
286
287 * time.h (asctime_r): Do not bother zeroing the result buffer upon
288 failure.
289 (ctime_r): Likewise.
290 (gmtime_r): Likewise.
291 (localtime_r): Likewise.
292
293 2010-05-12 Ozkan Sezer <[email protected]>
294
295 * time.h (asctime_r): New macro.
296 (ctime_r): Fix the gcc extension macro to return the correct pointer.
297 (gmtime_r): Likewise.
298 (localtime_r): Likewise.
299
300 2010-04-27 Ozkan Sezer <[email protected]>
301
302 * dirent.h (DIR): Change dd_handle from long to intptr_t type for win64
303 compatibility.
304 (_WDIR): Likewise.
305
306 2010-04-18 Ozkan Sezer <[email protected]>
307
308 * stdio.h: push/pop possible [v]snprintf and [v]snwprintf macros.
309 For the problem report about these macros in libxml2, see:
310 http://sourceforge.net/projects/mingw-w64/forums/forum/723797/topic/3482477/
311
312 2010-04-17 Kai Tietz <[email protected]>
313
314 * malloc.h, stdlib.h: Improve declaration of _aligned_malloc
315 and _aligned_free for not collide by xmmintrin.h/mm_malloc.h
316 provided by gcc.
317
318 2010-04-08 Kai Tietz <[email protected]>
319
320 * wchar.h (iswblank): Add missing prototype.
321
322 2010-03-31 Kai Tietz <[email protected]>
323
324 * assert.h (assert): Add default ASCII version.
325
326 2010-03-14 Jonathan Yong <[email protected]>
327
328 * math.h (frexp): Remove pure attribute.
329 (modf): ditto.
330 (sincos): ditto.
331 (sincosl): ditto.
332 (sincosf): ditto.
333 (frexpf): ditto.
334 (frexpl): ditto.
335
336 2010-02-02 Ozkan Sezer <[email protected]>
337
338 * profile.h: Remove advertising clause of copyright. For reference, see:
339 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
340 Closes our bug #2939623.
341
342 2010-02-01 Ozkan Sezer <[email protected]>
343
344 * _mingw_print_pop.h: Don't undefine/redifine the inttypes.h
345 SCN* macros, because we don't have a __mingw_scanf() family
346 implementation yet. Ifdef'ed the relevant portions by the yet
347 non-defined HAVE_MINGW_SCANF_IMPL macro.
348 * _mingw_print_push.h: Likewise.
349
350 2010-01-29 Ozkan Sezer <[email protected]>
351
352 * stdarg.h: Separate our stdarg.h into two, one which is the gcc-
353 provided header and the other as _mingw_stdarg.h. Make stdarg.h include
354 _mingw_stdarg.h.
355 * float.h: Separate our float.h into two, one which is the gcc-
356 provided header and the other as _mingw_float.h. Make float.h include
357 _mingw_float.h. Fix confused license.
358 * _mingw_float.h: New.
359 * _mingw_stdarg.h: New.
360
361 2010-01-29 Ozkan Sezer <[email protected]>
362
363 * stdarg.h: Sync with the gcc PR c++/36799 fix from
364 gcc trunk 2009-03-27/r145106.
365
366 2010-01-26 Jonathan Yong <[email protected]>
367
368 * getopt.h: Sync with mingw.org, it is also now PD
369 instead of BSD 4 clause.
370
371 2010-01-23 Kai Tietz <[email protected]>
372
373 * crt/_mingw.h: Add SDK include of sdks/_mingw_ddk.h.
374
375 2010-01-14 Kai Tietz <[email protected]>
376
377 * tchar.h (PTCHAR, TBYTE, PTBYTE): Added.
378
379 2010-01-07 Jonathan Yong <[email protected]>
380
381 * math.h (sin): Add GCC pure attribute.
382 (cos): Ditto.
383 (tan): Ditto.
384 (sinh): Ditto.
385 (cosh): Ditto.
386 (tanh): Ditto.
387 (asin): Ditto.
388 (acos): Ditto.
389 (atan): Ditto.
390 (atan2): Ditto.
391 (exp): Ditto.
392 (log): Ditto.
393 (log2): Ditto.
394 (pow): Ditto.
395 (sqrt): Ditto.
396 (ceil): Ditto.
397 (floor): Ditto.
398 (fabs): Ditto.
399 (ldexp): Ditto.
400 (frexp): Ditto.
401 (modf): Ditto.
402 (fmod): Ditto.
403 (_cabs): Ditto.
404 (_hypot): Ditto.
405 (_j0): Ditto.
406 (_j1): Ditto.
407 (_jn): Ditto.
408 (_y0): Ditto.
409 (_y1): Ditto.
410 (_yn): Ditto.
411 (j0): Ditto.
412 (j1): Ditto.
413 (jn): Ditto.
414 (y1): Ditto.
415 (y2): Ditto.
416 (yn): Ditto.
417 (finite): Ditto.
418 (fpclass): Ditto.
419 (__fpclassifyl): Ditto.
420 (__fpclassifyf): Ditto.
421 (__fpclassify): Ditto.
422 (__isnan): Ditto.
423 (__isnanf): Ditto.
424 (__isnanl): Ditto.
425 (__signbit): Ditto.
426 (__signbitf): Ditto.
427 (__signbitl): Ditto.
428 (sinf): Ditto.
429 (sinl): Ditto.
430 (cosf): Ditto.
431 (cosl): Ditto.
432 (tanf): Ditto.
433 (tanl): Ditto.
434 (asinf): Ditto.
435 (asinl): Ditto.
436 (acosf): Ditto.
437 (acosl): Ditto.
438 (atanf): Ditto.
439 (atanl): Ditto.
440 (atan2f): Ditto.
441 (atan2l): Ditto.
442 (sinhf): Ditto.
443 (sinhl): Ditto.
444 (coshf): Ditto.
445 (coshl): Ditto.
446 (tanhf): Ditto.
447 (tanhl): Ditto.
448 (acosh): Ditto.
449 (acoshf): Ditto.
450 (acoshl): Ditto.
451 (asinh): Ditto.
452 (asinhf): Ditto.
453 (asinhl): Ditto.
454 (atanh): Ditto.
455 (atanhf): Ditto.
456 (atanhl): Ditto.
457 (expf): Ditto.
458 (expl): Ditto.
459 (exp2): Ditto.
460 (exp2f): Ditto.
461 (exp2l): Ditto.
462 (expm1): Ditto.
463 (expm1f): Ditto.
464 (expm1l): Ditto.
465 (frexpf): Ditto.
466 (frexpl): Ditto.
467 (ilogb): Ditto.
468 (ilogbf): Ditto.
469 (ilogbl): Ditto.
470 (ldexpf): Ditto.
471 (ldexpl): Ditto.
472 (logf): Ditto.
473 (logl): Ditto.
474 (log10f): Ditto.
475 (log10l): Ditto.
476 (log1p): Ditto.
477 (log1pf): Ditto.
478 (log1pl): Ditto.
479 (log2): Ditto.
480 (log2f): Ditto.
481 (log2l): Ditto.
482 (logb): Ditto.
483 (logbf): Ditto.
484 (logbl): Ditto.
485 (hypot): Ditto.
486 (hypotf): Ditto.
487 (hypotl): Ditto.
488 (powf): Ditto.
489 (powl): Ditto.
490 (sqrtf): Ditto.
491 (sqrtl): Ditto.
492 (erf): Ditto.
493 (erff): Ditto.
494 (erfl): Ditto.
495 (erfc): Ditto.
496 (erfcf): Ditto.
497 (erfcl): Ditto.
498 (lgamma): Ditto.
499 (lgammaf): Ditto.
500 (lgammal): Ditto.
501 (lgamma): Ditto.
502 (lgammaf): Ditto.
503 (lgammal): Ditto.
504 (ceilf): Ditto.
505 (ceill): Ditto.
506 (floorf): Ditto.
507 (floorl): Ditto.
508 (nearbyint): Ditto.
509 (nearbyintf): Ditto.
510 (nearbyintl): Ditto.
511 (round): Ditto.
512 (roundf): Ditto.
513 (roundl): Ditto.
514 (lround): Ditto.
515 (lroundf): Ditto.
516 (lroundl): Ditto.
517 (llround): Ditto.
518 (llroundf): Ditto.
519 (llroundl): Ditto.
520 (trunc): Ditto.
521 (truncf): Ditto.
522 (truncl): Ditto.
523 (fmodf): Ditto.
524 (fmodl): Ditto.
525 (remainder): Ditto.
526 (remainderf): Ditto.
527 (remainderl): Ditto.
528 (remquo): Ditto.
529 (remquof): Ditto.
530 (remquol): Ditto.
531 (copysign): Ditto.
532 (copysignf): Ditto.
533 (copysignl): Ditto.
534 (fdim): Ditto.
535 (fdimf): Ditto.
536 (fdiml): Ditto.
537 (fmax): Ditto.
538 (fmaxf): Ditto.
539 (fmaxl): Ditto.
540 (fmin): Ditto.
541 (fminf): Ditto.
542 (fminl): Ditto.
543 (fma): Ditto.
544 (fmaf): Ditto.
545 (fmal): Ditto.
546 (_hypotf): Ditto.
547 (_copysignf): Ditto.
548 (_chgsignf): Ditto.
549 (_logbf): Ditto.
550 (_nextafterf): Ditto.
551 (_finitef): Ditto.
552 (_isnanf): Ditto.
553 (_fpclassf): Ditto.