3 2013-10-02 Earnie Boyd <earnie@users.sourceforge.net>
5 [#2081] Neeed a __FORCEINLINE macro for better definition.
7 * include/_mingw.h (__FORCEINLINE): New macro.
9 [#2080] Restructure the GCC to MS architecture defines.
11 * include/_mingw.h: Implement GCC to MS architecture mapping based on
12 documentation listed in the [#2080] ticket.
14 [#2078] shlobj.h is missing defines.
16 * include/shlobj.h: Refactor existing defines to move to the proper
17 OS version filter before defining.
18 (BIF_UAHINT): New definition.
19 (BIF_NONEWFOLDERBUTTON): Ditto.
20 (BIF_NOTRANSLATETARGETS): Ditto.
21 (BIF_BROWSEFILEJUNCTIONS): Ditto.
23 [#2079] The kspin_lock_queue_number structure changed for _AMD64_.
25 * include/ddk/winddk.h (NTOSAPI): Refactor to use __MINGW_EXPORT and
26 __MINGW_IMPORT instead of DECL_EXPORT and DECL_IMPORT.
27 (KSPIN_LOCK_QUEUE_NUMBER): Add differences for _AMD64_ architecture.
29 2013-10-01 Earnie Boyd <earnie@users.sourceforge.net>
31 [#2077] mce.h is missing.
33 * ddk/mce.h: New file.
35 2013-09-28 Earnie Boyd <earnie@users.sourceforge.net>
37 Miscellaneous cleanup for compile errors.
39 * Makefile.in: Correct capitalization of $(srcdir) to $(SRCDIR).
40 * config.h.in: Autoheader added a generated from comment.
41 * include/_mingw.h (__CRT_STATIC_INLINE): New macro.
42 * include/stralign.h: Use __CRT_STATIC_INLINE in define for
44 (ua_wcscpy()): Add declaration.
45 * src/libcrt/wchar/swprintf.c: Remove code making swprintf non-ansi.
46 * src/libcrt/wchar/vswprintf.c: Ditto.
48 Timeval struct bitness issue [#2059]
50 * include/sys/time.h: Use time_t instead of long for timeval.tv_sec.
51 * include/winsock.h: Ditto.
52 * include/winsock2.h: Ditto.
54 MOD_NOREPEAT missing [#2017]
56 * include/winuser.h: Add MOD_NOREPEAT define for Windows 7.
57 Adjust some whitespace and add a few comments.
59 2013-09-27 Earnie Boyd <earnie@users.sourceforge.net>
61 Manage issue [#2018] and miscellaneous changes.
63 * include/stdio.h: Need to include io.h for _lseeki64().
64 (__SWPRINTF_DEFINED): New controlling macro for declarations.
65 (_NO_MINGWEX_): Ditto.
66 (swprintf, vswprintf): Declarations in ANSI format unless _NO_MINGWEX_
68 * include/wchar.h (__SWPRINTF_DEFINED, _NO_MINGWEX_, swprintf,
70 * src/libcrt/wchar/swprintf.c: New file.
71 * src/libcrt/wchar/vswprintf.c: Ditto.
72 * Makefile.in: Add swprintf.c and vswprintf.c compilation.
73 (libmingwex.a): Add swprintf and vswprintf objects.
74 * NEWS: Begin describing the changes for 4.1.
76 2013-09-19 Earnie Boyd <earnie@users.sourceforge.net>
78 * include/stdio.h (_fseeki64): Remove import and create alias [#2021].
80 (_fseeki64_nolock): Ditto.
81 (_ftelli64_nolock): Ditto.
82 (_fseek_nolock): Ditto.
83 (_ftell_nolock): Ditto.
84 * include/unistd.h: Guard entire file not just the functions w.r.t.
85 __STRICT_ANSI__ [#2046].
86 * include/_mingw.h (__MINGW_MSVCR_PREREQ()): New macro to determine
87 if we are using a versioned MSVCR## library.
88 * include/stdlib.h (_set_invalid_parameter_handler): Guard for MSVCR80
91 2013-09-18 Earnie Boyd <earnie@users.sourceforge.net>
93 * include/unistd.h (ftruncate()): Guard with no __STRICT_ANSI__ [#2046].
94 * include/winldap.h (ldap_start_tls_s[AW]()): Incorrect signature
96 (ldap_stop_tls_s()): Use PLDAP instead of LDAP * per MSDN documentation.
97 * include/io.h (lseek64): Use _off64_t instead of off64_t due to
98 __STRICT_ANSI__ [#2024].
100 2013-04-10 Earnie Boyd <earnie@users.sourceforge.net>
101 * include/windows.h (NOWH): Correct typo in macro name.
102 * include/excpt.h (_EXCEPTION_DISPOSITION): Adjust indentation.
103 (_exception_code): Add declaration.
104 (_exception_info): Ditto.
105 (_abnormal_termination): Ditto.
106 (_except_handler): Ditto.
107 (_EXCEPTION_RECORD): Ditto.
109 (_DISPATCHER_CONTEXT): Ditto.
110 (__C_specific_handler): Ditto.
111 (GetExceptionCode): Add definition.
112 (exception_code): Ditto.
113 (GetExceptionInformation): Ditto.
114 (exception_info): Ditto.
115 (AbnormalTermination): Ditto.
116 (abnormal_termination): Ditto.
117 (FIXME): Add FIXME notes in various places.
119 2012-10-15 Earnie Boyd <earnie@users.sourceforge.net>
121 Create a more modern windows.h
123 * include/windows.h (NOWINDRES): Use to filter inclusion of winresrc.h.
124 (NOATOM, NOCOMM, NOCRYPT, NOGDI, NOGDICAPMASKS, NOKANJI, NOMCX,
125 NOMETAFILE, NOMINMAX, NOMSG, NOOPENFILE, NOWN, NORASTEROPS, NOSCROLL,
126 NOSOUND, NOSYSMETRICS, NOTEXTMETRIC): Define if RC_INVOKED and
127 NOWINDRES is defined.
128 (excpt.h, stdarg.h): Include if not RC_INVOKED.
129 (wincon.h, winnetwk.h): Move location of inclusion.
130 (wingdi.h): Include regardless of NOGDI.
131 (imm.h): Move inclusion and guard with not defined NOIME.
132 (winsock.h): Move inclusion and remove guard.
133 (wincrypt.h, winefs.h, winscard.h): Add inclusion filtered by NOCRYPT.
134 (commdlg.h): Move location of inclusion.
135 (ole.h, ole2.h): Included filtered by INC_OLE1 inside
136 WIN32_LEAN_AND_MEAN filter. Include ole2.h outside WIN32_LEAN_AN_MEAN
137 filter but filtered by INC_OLE2.
138 (winsvc.h): Move location of inclusion filtered by NOSERVICE.
139 (mcx.h): Add inclusion filtered by NOMCX.
140 * include/_mingw.h (__MINGW_DEPRECATED): New macro.
141 (__MINGW_IMPORT): Ditto.
142 (__MINGW_EXPORT): Ditto.
143 * include/rpc.h (sdkddkver.h): Remove inclusion.
144 * include/rpcndr.h (error_status_t): Add type define.
145 * include/wtypes.h (rpc.h, rpcndr.h) Move inclusion to before file
147 * include/winefs.h: New file.
148 * include/winscard.h: Ditto.
149 * include/winsmcrd.h: Ditto.
150 * include/scarderr.h: Ditto.
151 * include/stralign.h: Ditto.
153 2012-10-15 Earnie Boyd <earnie@users.sourceforge.net>
155 Make rpc.h and friends more current.
157 * include/rpcasync.h: New file.
158 * include/_mingw.h (__PSHPACK1, __POPPACK1, __PSHPACK8, __POPPACK8):
159 New macros to avoid including files just for the #pragma.
160 (_M_IX86, _M_X64, _M_AMD64, _M_IX86_FP, _X86_, _ALPHA_, _PPC_, _MIPS_,
161 _68K_): Moved declarations from windows.h and winnt.h.
162 * include/commdlg.h (IID_IPrintDialogCallback): New for WIN2K.
163 (IID_IPrintDialogServices): Ditto.
164 (GUID_DEFS_ONLY): New filter guard.
165 (IUnknown, LPUNKNOWN): Temporary coded added to allow compilation.
166 It should be noted that unknwn.h used to be included but has been
168 (__PSHPACK1, __POPPACK1): Add ! _WIN64 guard.
169 (windef.h): Remove inclusion.
170 (EH_NONCONTINUABLE, EH_UNWINDING, EH_EXIT_UNWIND, EH_STACK_INVALID,
171 EH_NESTED_CALL): Remove. Cannot find references.
172 (RC_INVOKED): Removed guard.
173 * include/ole2.h (olectlid.h): Remov inclusion.
174 (__PSHPACK8, __POPPACK8): Use instead of direct use to be consistent.
175 * include/rpc.h (windows.h, sdkddkver.h): Move before file include guard
176 due to circular dependency.
177 (basetsd.h): Include.
178 (__RPC_WIN64__, __RPC_WIN32__): Definitions based on _WIN64 defined.
179 (DECLSPEC_IMPORT, DECLSPEC_EXPORT): Define based on MIDL_PASS.
180 (RPCRTAPI): Define based on _RPCRT4_.
182 (FIXME): Added for SEH support.
183 (RpcImpersonateClient): Move to rpcdce.h.
184 (RpcRevertToSelf): Ditto.
185 (I_RpcMapWin32Status): Remove.
186 (rpcasync.h): Include based on ! RPC_NO_WINDOWS_H or
188 * include/rpcdce.h (RPCRTAPI): Define based on _RPCRT4_.
189 (___RPC_ENTRY__, ___RPC_VOID__, ___RPC_INT__, ___RPC_USHORT__,
190 ___RPC_LONG__, ___RPC_ULONG__): Private macros for used for code
192 (IN, OUT): Add guards.
193 (uuid_t): Move define.
195 (DECLSPEC_NORETURN): Define based on MIDL_PASS.
196 (specstrings.h): Include.
197 (RPC_CSTR, RPC_WSTR): Type define based on RPC_USE_NATIVE_WCHAR and
198 _NATIVE_WCHAR_T_DEFINED.
199 (guiddef.h): Include if ! GUID_DEFINED.
200 (RPC_BINDING_HANDLE, handle_t, RPC_BINDING_VECTOR, UUID_VECTOR,
201 RPC_IF_ID): Move code location.
202 (RPC_C_USE_INTERNET_PORT, RPC_C_USE_INTRANET_PORT): Redefine as hex.
203 (RPC_C_DONT_FAIL, RPC_C_RPCHTTP_USE_LOAD_BALANCE): New defines.
204 (RPC_C_MQ_TEMPORARY, RPC_C_MQ_PERMANENT, RPC_C_MQ_CLEAR_ON_OPEN,
205 RPC_C_MQ_USE_EXISTING_SECURITY, RPC_C_MQ_AUTHN_LEVEL_NONE,
206 RPC_C_MQ_AUTHN_LEVEL_PKT_INTEGRITY, RPC_C_MQ_AUTHN_LEVEL_PKT_PRIVACY,
207 RPC_C_MQ_EXPRESS, RPC_C_MQ_RECOVERABLE, RPC_C_MQ_JOURNAL_NONE,
208 RPC_C_MQ_JOURNAL_DEADLETTER, RPC_C_MQ_JOURNAL_ALWAYS,
209 RPC_C_OPT_MQ_DELIVERY, RPC_C_OPT_MQ_PRIORITY, RPC_C_OPT_MQ_JOURNAL,
210 RPC_C_OPT_MQ_ACKNOWLEDGE, RPC_C_OPT_MQ_AUTHN_SERVICE,
211 RPC_C_OPT_MQ_AUTHN_LEVEL, RPC_C_OPT_MQ_TIME_TO_REACH_QUEUE,
212 RPC_C_OPT_MQ_TIME_TO_BE_RECEIVED): New for less than VISTA.
213 (RPC_C_OPT_MAX_OPTIONS): Define based on OS version, 12 < WIN2K, 14 <
215 (RPC_C_OPT_CALL_TIMEOUT, RPC_C_OPT_DONT_LINGER): New for WIN2K.
216 (RPC_C_OPT_TRANS_SEND_BUFFER_SIZE, RPC_C_OPT_TRUST_PEER,
217 RPC_C_OPT_ASYNC_BLOCK, RPC_C_OPT_OPTIMIZE_TIME): New for WS03.
218 (RPC_C_FULL_CERT_CHAIN, RPC_C_PARAM_MAX_PACKET_LENGTH,
219 RPC_C_PARAM_BUFFER_LENGTH): New defines.
220 (RPC_IF_AUTOLISTEN, RPC_IF_OLE): Redefine with hex.
221 (RPC_IF_ALLOW_UNKNOWN_AUTHORITY, RPC_IF_ALLOW_SECURE_ONLY,
222 RPC_IF_ALLOW_CALLBACKS_WITH_NO_AUTH, RPC_IF_ALLOW_LOCAL_ONLY,
223 RPC_IF_SEC_NO_CACHE): New defines.
224 (RPC_C_NO_CREDENTIALS): Ditto.
225 (RpcImpersonateClient, RpcRevertToSelf): Moved from rpc.h.
226 (RpcRevertToSelfEx): New declaration.
227 (RPC_IF_CALLBACK_FN): Correct type define.
228 (RPC_SECURITY_CALLBACK_FN): New type define.
229 (SEC_WINNT_AUTH_IDENTITY_A, SEC_WINNT_AUTH_IDENTITY_W): Correct struct.
230 (RPC_C_SECUIRTY_QOS_VERSION_2, RPC_C_AUTH_INFO_TYPE_HTTP,
231 RPC_C_HTTP_AUTHN_TARGET_SERVER, RPC_C_HTTP_AUTHN_SCHEME_BASIC,
232 RPC_C_HTTP_AUTHN_SCHEME_NTLM, RPC_C_HTTP_AUTHN_SCHEME_DIGEST,
233 RPC_C_HTTP_AUTHN_SCHEME_NEGOTIATE, RPC_C_HTTP_FLAG_USE_SSL,
234 RPC_C_HTTP_FLAG_USE_FIRST_AUTH_SCHEME): New defines for WINXP.
235 (RPC_HTTP_TRANSPORT_CREDENTIALS_[AW]): New structs for WINXP.
236 (RPC_HTTP_TRANSPORT_CREDENTIALS, PRPC_HTTP_TRANSPORT_CREDENTIALS,
237 _RPC_HTTP_TRANSPORT_CREDENTIALS): New defines for WINXP based on
239 (RPC_SECURITY_QOS_V2_[AW]): New structs for WINXP.
240 (RPC_SECURITY_QOS_V2, PRPC_SECURITY_QOS_V2, _RPC_SECURITY_QOS_V2):
241 New defines for WINXP based on UNICODE.
242 (RPC_C_HTTP_AUTHN_SCHEME_CERT, RPC_HTTP_FLAG_IGNORE_CERT_CN_INVALID,
243 RPC_C_SECURITY_QOS_VERSION_3): New defines for WS03.
244 (RPC_SECURITY_QOS_V3_[AW]): New structure for WS03.
245 (RPC_SECURITY_QOS_V3, PRPC_SECURITY_QOS_V3, _RPC_SECURITY_QOS_V3):
246 New defines for WS03 based on UNICODE.
247 (RPC_HTTP_REDIRECTOR_STAGE): New enumeration for WS03.
248 (RPC_STATUS): Modified type define for WS03.
249 (RPC_C_HTTP_AUTHN_TARGET_PROXY,
250 RPC_C_HTTP_FLAG_ENABLE_CERT_REVOCATION_CHECK,
251 RPC_C_SECURITY_QOS_VERSION_4): New defines for VISTA.
252 (RPC_HTTP_TRANSPORT_CREDENTIALS_V2_[AW], RPC_SECURITY_QOS_V4_[AW]):
253 New structures for VISTA.
254 (RPC_HTTP_TRANSPORT_CREDENTIALS_V2, PRPC_HTTP_TRANSPORT_CREDENTIALS_V2,
255 _RPC_HTTP_TRANSPORT_CREDENTIALS_V2, RPC_SECURITY_QOS_V4,
256 PRPC_SECURITY_QOS_V4, _RPC_SECURITY_QOS_V4): New defins for VISTA based
258 (RPC_HTTP_TRANSPORT_CREDENTIALS_V3_[AW]): New structures for WIN7.
259 (RPC_HTTP_TRANSPORT_CREDENTIALS_V3, PRPC_HTTP_TRANSPORT_CREDENTIALS_V3,
260 _RPC_HTTP_TRANSPORT_CREDENTIALS_V3): New defines for WIN7 based on
262 (RPC_CLIENT_INFORMATION1): Filter for >= WINXP.
263 (RPC_STATUS RPC_ENTRY): Substitute with ___RPC_ENTRY__ to properly
264 declare functions throughout.
265 (void RPC_ENTRY): Substitute with ___RPC_VOID__ to properly declare
266 functions throughout.
267 (int RPC_ENTRY): Substitute with ___RPC_INT__ to properly declare
268 functions throughout.
269 (unsigned short RPC_ENTRY): Substitute with ___RPC_USHORT__ to properly
270 declare functions throughout.
271 (unsigned long RPC_ENTRY): Substitute with ___RPC_ULONG__ to properly
272 declare functions throughout.
273 (RPC_AUTH_KEY_RETRIEVAL_FN): New type define.
274 (RpcServerYield): New declaration.
275 (RPC_C_AUTHN_DIGEST_21): New define for WINXP.
276 (RPC_C_QOS_CAPABILITIES_IGNORE_DELEGATE_FAILURE,
277 RPC_C_QOS_CAPABILITIES_LOCAL_MA_HINT) New definse for WS03.
278 (RPC_C_QOS_CAPABILITIES_SCHANNEL_FULL_AUTH_IDENTITY, RPC_PROTSEQ_TCP,
279 RPC_PROTSEQ_NMP, RPC_PROTSEQ_LRPC, RPC_PROTSEQ_HTTP,
280 RPC_BHT_OBJECT_UUID_VALID, RPC_BHO_NONCAUSAL, RPC_BHO_DONTLINGER,
281 RPC_BHO_EXCLUSIVE_AND_GUARANTEED, RPC_IF_SEC_CACHE_PER_PROC,
282 RPC_IF_ASYNC_CALLBACK, RPC_FW_IF_FLAG_DCOM): New defines for VISTA.
283 (RPC_BINDING_HANDLE_TEMPLATE_V1_[AW]): New structures for VISTA.
284 (RPC_BINDING_HANDLE_TEMPLATE_V1, PRPC_BINDING_HANDLE_TEMPLATE_V1,
285 _RPC_BINDING_HANDLE_TEMPLATE_V1): New defines for VISTA based on
287 (RPC_BINDING_HANDLE_SECURITY_V1_[AW]): New structures for VISTA.
288 (RPC_BINDING_HANDLE_SECURITY_V1, PRPC_BINDING_HANDLE_SECURITY_V1,
289 _RPC_BINDING_HANDLE_SECURITY_V1): New defines for VISTA based on
291 (RpcBindingCreate[AW]): New declaration for VISTA.
292 (RpcBindingCreate): New define for VISTA based on UNICODE.
293 (RpcBindingGetTraningContextHandle, RpcServerInqBindingHandle,
294 RpcExceptionFilter): New declarations for Vista.
295 (RPC_C_AUTHN_KERNLE): New define for WIN7.
296 * include/rpcdcep.h (I_RpcMapWin32Status): Correct declaration.
297 * include/rpcndr.h (__PSHPACK8): Add pack push pragma.
298 (basetsd.h): Include.
299 (objfwd.h): Remove include.
300 (__POPPACK8): Add pack pop pragma.
301 * include/unknwn.h (rpc.h, rpcndr.h, ole2.h): Add includes.
302 * include/windows.h (_M_IX86, _X86_, _ALHPA_, _PPC_, _MIPS_, _68K_):
303 Moved definitions to _mingw.h.
304 * include/winnt.h: Ditto.
305 * .gitignore (obscure/*, junk/*, temp/*): Add items to ignore.
309 2013-09-18 Earnie Boyd <earnie@users.sourceforge.net>
311 Ticket [#2050] Missing definition of FILE_FLAG_FIRST_PIPE_INSTANCE.
313 * include/winbase.h: Correct type in filter from NTDDK_VERSION to
316 2013-09-15 Earnie Boyd <earnie@users.sourceforge.net>
318 Ticket [#2045] for wtsapi32.h errors, thanks to
319 Janne Rönkkö <jroo@iki.fi>.
321 * include/wtsapi32.h: Remove use of __in and __out throughout.
322 (WTS_SESSION_INFOA, WTS_SESSION_INFOW): Move to the _WIN32_WINNT_WINXP
323 filter after the WTS_CONNECTSTATE_CLASS structure.
324 (WTSQuerySessionInformation[AW]): Move to the _WIN32_WINNT_WINXP filter.
325 (WTSEnumerateSessions[AW]): Ditto.
326 (WTS_VIRTUAL_CLASS): Add enumeration to _WIN32_WINNT_WINXP filter.
328 2013-09-14 Earnie Boyd <earnie@users.sourceforge.net>
330 The winspool DLL name is actually winspool.drv.
332 * Makefile.in: Conditionalize the DLL name specification for
335 2013-08-01 Earnie Boyd <earnie@users.sourceforge.net>
337 Correct typo causing errors under some conditions.
339 * include/sdkddkver.h: Change OSDIR to OSVER.
341 2013-07-28 Earnie Boyd <earnie@users.sourceforge.net>
343 Correction for issue #2007.
345 * Makefile.in: Corrected for missing libgmon.a objects and headers.
346 * misc/gpl/profile/profil.h: Move to ...
347 * misc/gpl/include/profil.h: Here.
348 * misc/src/libcrt/profile/gmon.h: Move to ...
349 * misc/src/include/gmon.h: Here.
351 2013-06-28 Earnie Boyd <earnie@users.sourceforge.net>
353 * include/tchar.h (_tcsclen): Add missing define.
355 2013-06-27 Earnie Boyd <earnie@users.sourceforge.net>
357 * include/wchar.h: Resolve issue to define all components of
359 * Makefile.in (mingw.org-wsl): Change string to mingw_org_wsl for
360 package name consistency and to be repository name nescient.
361 * README (mingw.org-wsl): Ditto
363 2013-06-25 Keith Marshall <keithmarshall@users.sourceforge.net>
365 Correct ill advised use of non-standard shell syntax.
367 * Makefile.in (lib%.a): Remove bash/ksh/csh style logic construct;
368 replace it using standard Bourne shell "test" command syntax.
370 2013-06-21 Mark Brand <mabrand@mabrand.nl>
372 * include/time.h: Correct typecasts throughout.
374 2013-06-18 Earnie Boyd <earnie@users.sourceforge.net>
376 * include/io.h (_findfirst*, _findnext*): Remove the __NO_INLINE__
377 filter and change the signature to __CRT_MAYBE_INLINE.
378 * include/wchar.h (time_t): Remove definition.
379 * include/sys/types.h: Add comment for time_t indicating other files
380 where time_t is defined.
382 2013-06-17 Earnie Boyd <earnie@users.sourceforge.net>
384 * include/_mingw.h (__CRT_MAYBE_INLINE): When __NO_INLINE__ defined we
385 need to make it _CRTALIAS to avoid auto export issues.
386 * include/io.h (_wfindfirst*, _wfindnext*): Remove the __NO_INLINE__
387 filter and use __CRT_MAYBE_INLINE definitions.
388 * include/wchar.h (_wfindfirst*, _wfindnext*): Correct the declarations.
389 (_wfindfirst32i64, _wfindfirst64i32, _wfindnext32i64, _wfindnext64i32):
390 Define as __CRT_MAYBE_INLINE.
392 2013-06-16 Earnie Boyd <earnie@users.sourceforge.net>
394 * NEWS: Add text for MSVCRT_VERSION and for the _CRTALIAS 32bit time_t
396 * include/_mingw.h (GCC system_header): Add a __CRT_TESTING__ filter.
397 * include/string.h (GCC system_header): Ditto.
398 * include/sys/stat.h (GCC system_header): Ditto.
399 (string.h): Move the include toward the top of the file.
400 (extern "C" {): Move above the filters so that it is not incorrectly
402 Correct some comments and move the opening brace to the function
403 definition line throughout.
404 * include/sys/utime.h (utime): Move declaration to after the declaration
405 of _utime64(). Create a _CRTALIAS when _USE_32BIT_TIME_T is undefined.
406 Add datatype specifiers within the _CRTALIAS definitions throughout.
407 * include/wchar.h (GCC system_header): Add a __CRT_TESTING__ filter.
408 (FILENAME_MAX): Define macro if not already defined.
409 Correct comments throughout.
410 Correct #if...#endif misaligned pair.
411 (wcsicmp): Use _CRTALIAS instead of __CRT_INLINE since it is a one line
413 (*wfinddata*): Use FILENAME_MAX throughout.
414 (_wstat32): Make a _CRTALIAS rather than a _CRTIMP.
415 (_wstat64i32): Use __CRT_MAYBE_INLINE instead of __CRT_INLINE.
416 (_wstat32i64): Define.
417 (_wstat, _wstati64): Remove the MSVCRT_VERSION >= 800 filter.
419 2013-06-07 Earnie Boyd <earnie@users.sourceforge.net>
421 * include/_mingw.h (_CRTALIAS): Add comments explaining its purpose.
422 (__CRT_MAYBE_INLINE): New macro that may be defined as __CRT_INLINE or
423 empty depending on __NO_INLINE__.
424 * include/stat.h (_fstat64i32(), _fstat32i64(), _stat64i32(),
425 _stat32i64(), _wstat64i32(), _wstat32i64()): Use __CRT_MAYBE_INLINE
426 instead of guarding with __NO_INLINE__ since the functions need to be
428 * include/wchar.h (_utimbuf, _utimbuf32, _utimbuf64, _wutime(),
429 _wutime32(), _wutime64()): MSDN declares these can be declared/defined
430 by including wchar.h.
431 * include/utime.h: Care for _USE_32BIT_TIME_T in same fashion as time.h.
434 2013-06-07 Jan Nijtmans <nijtmans@users.sourceforge.net>
436 * include/time.h: Correct typos. Add MSVCRT_VERSION >= 800 guard for
437 _CRTALIAS of _wctime.
439 2013-06-05 Keith Marshall <keithmarshall@users.sourceforge.net>
441 Provide more robust inverse hyperbolic sine functions.
443 * src/libcrt/math/asinh.c: Rewritten; it now provides a generic
444 implementation for asinh(), asinhf(), and asinhl() functions; thus...
445 * src/libcrt/math/asinhf.c src/libcrt/math/asinhl.c: ...are obsolete;
448 * Makefile.in (math_SOURCES): Remove references for asinh[fl].c
449 (libmingwex_a_OBJECTS): Add explicit references to create associated
450 object files, from the common generic source, together with build
451 rules to compile them.
453 2013-06-05 Mark <mabrand@users.sourceforge.net>
455 * include/shlobj.h (SHGetFolderPath): Correct typo for UNICODE define.
457 2013-06-05 Earnie Boyd <earnie@users.sourceforge.net>
459 * Makefile.in (libshell32.a): We needed to add src/libshell32/shell32.o
460 object to the library.
461 (lib/libshell32/shell32.o): Added a target to create this file.
463 2013-06-04 Earnie Boyd <earnie@users.sourceforge.net>
465 * include/_mingw.h (MSVCRT_VERSION): Determine a value based on the
466 _WIN32_WINNT value. Add a TODO for check to see if the older
467 __MSVCRT_VERSION__ macro is defined and use it as the value for
468 MSVCRT_VERSION. Give an error if both MSVCRT_VERSION and
469 __MSVCRT_VERSION__ are defined and the values do not match.
470 Remove warnings for value when _USE_32BIT_TIME_T is defined.
471 * include/io.h (_wfindfirst32, _wfindfirst64): Correct declaration of
472 parameter data type. Create _CRTALIAS rather than declaring _CRTIMP.
473 (_findfirst32(), _findnext32()): Create _CRTALIAS rather than declaring
475 (_findfirst64i32, _findfirst32i64, _findnext64i32, _findnext32i64):
476 Remove the _CRTIMP from the declaration, these become inline functions.
477 Also guard for __NO_INLINE__ and make appropriate defined alternatives.
478 (_wfindfirst64i32, _wfindfirst32i64, _wfindnext64i32, _wfindnext32i64):
480 * include/sdkddkver.h (_WIN32_WINNT_WIN8): Add definition.
481 * include/sys/stat.h (_stat32, _fstat32, _wstat32): Define as a
483 (_fstat32i64, _stat32i64, _wstat32i64): Add as __CRT_INLINE functions
484 and make appropriate alternative macros for __NO_INLINE__ use.
485 * include/sys/timeb.h (_time32): Create _CRTALIAS when MSVCRT_VERSION
487 * include/sys/types.h (MSVCRT_VERSION): Remove guard for >= 800 with
489 * include/time.h (_time32, _difftime32, _mktime32, _ctime32, _gmtime32,
490 _localtime32, _wctime32): Create _CRTALIAS when MSVCRT_VERSION < 800.
491 (_difftime64, _mkgtime64): Guard declaration for MSVCRT_VERSION > 800.
492 These functions do not exist in MSVCRT.DLL before Vista.
493 * include/wchar.h (_wctime32): Create _CRTALIAS when MSVCRT_VERSION
495 (_wfindfirst32, _wfindnext32): Create _CRTALIAS.
496 * include/objdump.h: Move include of rpc.h and rpcndr.h due to
498 * include/rpc.h: Move include of windows.h due to dependencies.
500 2013-05-28 Earnie Boyd <earnie@users.sourceforge.net>
502 * include/time.h: Correct use of MSVCRT_VERSION.
503 Correct mistyped __MINGW_NOTHROW macro.
505 2013-05-27 Earnie Boyd <earnie@users.sourceforge.net>
507 * include/sys/types.h (_USE_32BIT_TIME_T): Rework the definitions
508 controlled by _USE_32BIT_TIME_T in light of MSVCRT_VERSION being
509 different with differing OS versions.
510 * include/time.h (_USE_32BIT_TIME_T): Ditto.
511 * include/sys/stat.h (_USE_32BIT_TIME_T): Ditto.
512 * include/wchar.h (_USE_32BIT_TIME_T): Ditto.
513 * include/_mingw.h (_USE_32BIT_TIME_T): Issue a warning when
514 _USE_32BIT_TIME_T is enabled and MSVCRT_VERSION value does not
516 * lib/lib32/msvcrt.def.in: Always define all definitions in light of
518 being different versions on differing OS.
519 * TODO: Add a note about needing a warning when a function is being
520 used but not defined within the MSVCRT_VERSION value.
522 2013-05-21 Earnie Boyd <earnie@users.sourceforge.net>
524 * Makefile.in (clean-dist, clean-dist-mingwrt, clean-dist-w32api,
525 clean-dist-wsl): New targets.
527 2013-05-15 Niels Kristian Bech Jensen <nkbj@users.sourceforge.net>
529 * include/control.h: Correct inclusion of _mingw.h. Issue: #1956.
530 * include/sys/stat.h: Include string.h as appropriate for memset
531 declaration. Issue: #1956.
532 * include/wchar.h: Ditto.
534 2013-05-15 Earnie Boyd <earnie@users.sourceforge.net>
536 * .gitignore: Add nbproject folder.
537 * NEWS: Add note about the globbing change.
538 * include/_mingw.h: Correct check for GCC version >= 3.4.5. Issue: #1958.
540 2013-05-11 Keith Marshall <keithmarshall@users.sourceforge.net>
542 Avoid a potential SIGSEGV crash on CRT start-up.
544 * src/libcrt/misc/glob.c (glob_signed): Check only for pointer
545 aliasing, when validating a glob_t signature; checking signature
546 content via an uninitialised pointer may segfault.
548 * src/libcrt/crt/init.c (__mingw_setargv): Call __mingw_glob()
549 directly, then set GLOB_APPEND for later calls; do not delegate to...
550 (do_glob): ...this; it uselessly attempted to set GLOB_APPEND on the
551 basis of an uninitialised counter. Function now unused; delete it.
553 2013-05-11 Keith Marshall <keithmarshall@users.sourceforge.net>
555 Install non-executable files with proper attributes.
557 * Makefile.in (INSTALL_DATA): New macro; define it per AC_SUBST;
558 substitute it at point of use, as appropriate, in place of...
561 2013-05-07 Keith Marshall <keithmarshall@users.sourceforge.net>
563 Update build-aux submodule reference for SF host migration.
565 * .gitmodules (url): Relocate to git://git.code.sourceforge.net/p/
567 2013-04-10 Earnie Boyd <earnie@users.sourceforge.net>
569 * Makefile.in: Add installation and delivery of library object files.
571 2013-04-09 Earnie Boyd <earnie@users.sourceforge.net>
573 * Makefile.in: Adjust distributed package names when RELEASE_STATUS is
576 2013-03-13 Earnie Boyd <earnie@users.sourceforge.net>
578 * LICENSE: Update copyright notice adding year 2013.
579 * README: Update copyright notice adding year 2013.
580 Add text to explain where release notes can be found.
581 * Makefile.in: Update copyright notice adding year 2013.
582 (mingwrtdocdir): New variable used in dist-mingwrt target.
583 (w32apidocdir): New variable used in dist-w32api target.
584 (doc_DOCUMENTS): Add ChangeLog, NEWS, TODO, and NOTES.
585 (install-mingwrt-dirs, install-w32api-dirs): Correct creation of doc
586 directory using mingwrtdocdir or w32apidocdir respectfully.
587 (install-mingwrt, install-w32api): Correct copy of historical
589 (dist-mingwrt*, dist-w32api*): For RELEASE_STATUS != prod modify the
590 package name to include the RELEASE_STATUS to satisfy the rules of
593 2013-02-27 Earnie Boyd <earnie@users.sourceforge.net>
595 * Makefile.in: Add variables for RELEASE_STATUS and RELEASE_REFERENCE.
596 Add conditionals for RELEASE_STATUS not equal "prod" for dist-mingwrt,
597 dist-w32api and dist-wsl targets.
598 * configure.ac: Add declaration of RELEASE_STATUS and RELEASE_REFERENCE
601 2013-02-25 Earnie Boyd <earnie@users.sourceforge.net>
603 * NEWS: Add and adjust release notes for 4.0.
604 * tests/Makefile.in: Correct order of libraries in LIBS.
605 * include/io.h: Correct declarations for _findfirst/_findnext when
606 not _HAVE_32BIT_TIME_T.
608 2013-02-24 Earnie Boyd <earnie@users.sourceforge.net>
610 * lib/lib32/ddk/ntoskrnl.def (KeQueryActiveProcessorCount): Correct
612 (KeQueryActiveProcessors): Add import.
613 * NEWS: Add and adjust release notes for 4.0.
615 2013-02-23 Earnie Boyd <earnie@users.sourceforge.net>
617 * README: Add references for reporting bugs and submitting patches.
618 Correct the @FILENAME@ cut/paste issue.
619 * NEWS: Add and adjust release notes for 4.0.
621 2013-02-23 Johann Hanne <jonnyh33@users.sourceforge.net>
623 Add missing UUID Interface Definitions.
625 * src/libuuid/cguid-uuid.c (CLSID_StdGlobalInterfaceTable): Define.
626 * src/libuuid/objidl-uuid.c (IID_IGlobalInterfaceTable): Define.
627 (FMTID_DocSummaryInformation): Ditto.
628 (FMTID_SummaryInformation): Ditto.
629 (FMTID_UserDefinedProperties): Ditto.
631 2013-02-22 Earnie Boyd <earnie@users.sourceforge.net>
633 * include/float.h (_MCW_DN, _DN_SAVE, _DN_FLUSH): Add definitions.
634 * include/winuser.h (POINTTOPOINTS, POINTSTOPOINT): Adjust parameters
635 with type specificity.
636 * include/windef.h(MAKEWORD, MAKELONG, LOWORD, HIWORD, LOBYTE, HIBYTE):
637 Ditto. Also use DWORD_PTR instead of DWORD.
638 * include/winuser.h (POINTTOPOINTS): Remove the cast to POINTS struct.
639 * include/winreg.h (reason.h): Include.
640 * include/oaidl.h (ICreateTypeInfo, ICreateTypeInfo2): Declare
642 (ICreateTypeLib, ICreateTypeLib2): Ditto.
644 2013-02-21 Earnie Boyd <earnie@users.sourceforge.net>
646 * include/oleauto.h (RegisterTypeLibForUser, UnRegisterTypeLibForUser):
648 * lib/lib32/oleaut32.def: Ditto.
649 * include/fcntl.h (O_RAW): Add definition within ndef NO_MOLDAMES path.
651 2013-02-20 F. Mensik <pepezdepa@users.sourceforge.net>
653 * include/winnls.h (LONG_PTR): Add _WIN64 typedef.
655 2013-02-16 Earnie Boyd <earnie@users.sourceforge.net>
657 * include/stdlib.h (_MAX_ENV): Define if not __STRICT_ANSI__.
659 2013-01-08 Earnie Boyd <earnie@users.sourceforge.net>
661 * config.h.in, configure.ac, README, include/*, src/*, tests/*:
662 Modify "@copy 2012" to read "Copyright 2012, 2013".
664 2013-01-07 Earnie Boyd <earnie@users.sourceforge.net>
666 * include/complex.h, include/ddk/*.h, include/dir.h,
667 include/directx/*.h, include/gdiplus/*.h, include/getopt.h,
668 include/imagehlp.h, include/ntldap.h, include/psapi.h,
669 include/scrnsave.h, include/search.h, include/snmp.h,
670 include/tlhelp32.h, include/wctype.h, include/winber.h,
671 include/windows.h, include/winldap.h, include/winsnmp.h,
672 include/winsock2.h, src/libcrt/crt/crtmt.c, src/libcrt/crt/crtst.c,
673 src/libcrt/crt/mthr.c, src/libcrt/crt/mthr_init.c,
674 src/libcrt/crt/pseudo-reloc.c, src/libcrt/crt/tlsmcrt.c,
675 src/libcrt/crt/tlsmthread.c, src/libcrt/crt/tlssup.c,
676 src/libcrt/crt/tlsthrd.c, src/liblargeint/largeint.c,
677 src/libscrnsave/scrnsave.c: Insert removed author attribution.
679 2012-11-10 Earnie Boyd <earnie@users.sourceforge.net>
681 https://sourceforge.net/tracker/?func=detail&aid=3572971&group_id=2435&atid=102435
683 * include/wchar.h (_vscwprintf): Add declaration.
685 2012-11-09 Earnie Boyd <earnie@users.sourceforge.net>
687 https://sourceforge.net/tracker/?func=detail&aid=3559134&group_id=2435&atid=102435
689 * include/wincrypt.h (CertEnumCRLsInStore): Add declaration.
690 * lib/lib32/crypt32.def (CertEnumCRLsInStore): Add import definition.
692 2012-11-09 Keith Marshall <keithmarshall@users.sourceforge.net>
694 * include/_mingw.h (_MINGW_H): Revert to consistent use of...
695 (__MINGW_H): ...this, as multiple inclusion guard macro.
697 2012-10-31 Earnie Boyd <earnie@users.sourceforge.net>
699 https://sourceforge.net/tracker/?func=detail&aid=3408074&group_id=2435&atid=102435
701 * Makefile.in (mingwrt_lib_LIBRARIES): Remove incorrect variable
703 * src/libcrt/search/tdelete.c: Remove incorrect assertion about vkey.
705 2012-10-31 Earnie Boyd <earnie@users.sourceforge.net>
707 Correct DllMain() declarations and definitions.
709 * src/libcrt/crt/dllcrt1.c: Correct DllMain declaration.
710 * src/libcrt/crt/dllmain.c: Correct DllMain definition.
711 * src/libcrt/crt/mthr_init.c: Remove DllMain declaration.
712 Correct DllMain definition.
714 2012-10-31 Keith Marshall <keithmarshall@users.sourceforge.net>
716 Work around Microsoft breakage of command line globbing.
718 * include/glob.h: New file; it declares the API for a (mostly) POSIX
719 compatible path name globbing facility for use in MinGW applications.
721 * src/libcrt/misc/glob.c: New file; it implements the glob API...
722 (__mingw_glob, __mingw_globfree): ...through this pair of functions.
724 * Makefile.in (misc_SOURCES): Add glob.c
725 (mingwrt_lib_INCLUDES): Add glob.h
727 * include/_mingw.h (BEGIN_C_DECLS, END_C_DECLS): New macros;
729 [__cplusplus]: ...demarcation of 'extern "C"' declarations for this.
730 (__CRT_GLOB_ESCAPE_CHAR__): New manifest constant; define it.
731 (__CRT_GLOB_USE_MSVCRT__, __CRT_GLOB_USE_MINGW__): Likewise; these act
732 as mutually exclusive feature selectors for assignment in CRTglob.c
733 (__CRT_GLOB_USE_SINGLE_QUOTE__, __CRT_GLOB_BRACKET_GROUPS__):
734 (__CRT_GLOB_CASE_SENSITIVE__): New bit-flag definitions; with...
735 [_CRT_glob & __CRT_GLOB_USE_MINGW__]: ...they enable additional
736 command line globbing capabilities.
738 * src/libcrt/crt/CRTglob.c (_CRT_glob): New default value; enable...
739 [_CRT_glob & __CRT_GLOB_USE_MINGW__]: ...this feature preference.
741 * src/libcrt/crt/init.c (_CRT_GLOB_OPT, ARGV_INLINE): New macros.
742 (ARGV_ESCAPE, ARGV_SQUOTE, ARGV_NOGROUP): New manifest constants;
743 define them as aliases for the new bit-flags from _mingw.h
744 (do_glob, backslash, unquote, __mingw_setargv): New static functions.
745 (_mingw32_init_mainargs): Use them to implement globbing, when...
746 [_CRT_glob & __CRT_GLOB_USE_MINGW__]: ...this is enabled.
748 2012-10-30 Keith Marshall <keithmarshall@users.sourceforge.net>
750 Use C compiler selected by running configure script.
752 * Makefile.in (CC): Missing AC_SUBST definition; add it.
753 Adjust spacing within adjacent defines, for improved readability.
754 (DLLTOOL_FLAGS): Avoid unnecessary use of := operator.
756 2012-10-30 Keith Marshall <keithmarshall@users.sourceforge.net>
758 Rationalise .gitignore entries.
760 * .gitignore (build): Ignore local build directory.
761 (config.status): Ignore this; it is a build-time generated file.
762 (aclocal.m4): Do not ignore this; as a user maintained file, which
763 requires manual editing, (we do not use automake), it must be tracked.
764 (missing depcomp install-sh): Do not ignore; these should be tracked
765 as build-aux component files, within the scope of the appropriate
766 submodule; they do not appear as normal package component files.
768 2012-10-30 Keith Marshall <keithmarshall@users.sourceforge.net>
770 Add configuration files for Mercurial support.
772 * .hgsub: New file; it represents the equivalent of .gitmodules
773 * .hgignore: New file; it is the equivalent of .gitignore
775 2012-10-30 Earnie Boyd <earnie@users.sourceforge.net>
777 https://sourceforge.net/tracker/?func=detail&aid=3567092&group_id=2435&atid=102435
779 * include/winbase.h (DllMain): Add declaration.
781 2012-10-25 Frank Fesevur <ffes@users.sourceforge.net>
783 https://sourceforge.net/tracker/?func=detail&aid=3367548&group_id=2435&atid=102435
785 * lib/scnsave.c: Multi-monitor support for Win95 and NT4.
787 2012-10-23 Earnie Boyd <earnie@users.sourceforge.net>
789 https://sourceforge.net/tracker/?func=detail&aid=3166132&group_id=2435&atid=102435
791 * include/search.h (tdelete, tfind, tsearch): Correct declaration.
793 2012-10-23 Earnie Boyd <earnie@users.sourceforge.net>
795 https://sourceforge.net/tracker/?func=detail&aid=3437558&group_id=2435&atid=102435
797 * include/amvideo.h (VIDEOINFO): Correct structure coding.
799 2012-10-23 Earnie Boyd <earnie@users.sourceforge.net>
801 https://sourceforge.net/tracker/?func=detail&aid=3437216&group_id=2435&atid=102435
803 * include/objfwd.h (LPENUMSTATPROPSTG): Properly type define with as a
806 2012-10-22 Earnie Boyd <earnie@users.sourceforge.net>
808 https://sourceforge.net/tracker/?func=detail&aid=2567153&group_id=2435&atid=102435
810 * include/sys/types.h (off_t): Type define regardless of _NO_OLDNAMES.
812 2012-10-21 Earnie Boyd <earnie@users.sourceforge.net>
814 https://sourceforge.net/tracker/?func=detail&aid=2004630&group_id=2435&atid=102435
816 * include/ddk/ntddk.h (KeQueryActiveProcessors): New VISTA declaration.
817 * lib/lib32/ddk/ntoskrnl.def: New VISTA import.
819 2012-10-19 Earnie Boyd <earnie@users.sourceforge.net>
821 https://sourceforge.net/tracker/?func=detail&aid=3554826&group_id=2435&atid=102435
823 * include/mswsock.h (WSAPoll): New declaration.
824 * lib/lib32/ws2_32.def (WSAPoll@12): New import.
826 2012-10-17 Earnie Boyd <earnie@users.sourceforge.net>
828 * tests/Makefile.in (libcrt-test-asinh): Add test.
830 2012-10-17 Keith Marshall <keithmarshall@users.sourceforge.net>
832 https://sourceforge.net/tracker/index.php?func=detail&aid=2117590&group_id=2435&atid=102435
834 * tests/libcrt/test-asinh.c: New file.
836 2012-10-16 Earnie Boyd <earnie@users.sourceforge.net>
838 * include/sdkddkver.h (WINNTVER): New macro.
839 (_WIN32_WINNT): Correct default value based on NTDDI_VERSION.
840 * include/stdio.h (_get_output_format): Base declaration or define on
842 (_set_output_format): Ditto.
843 (_get_printf_count_output): Ditto.
844 (_set_printf_count_output): Ditto.
845 * misc/src/libcrt/stdio/pformat.c: Remove needless code since we only
848 2012-10-08 Earnie Boyd <earnie@users.sourceforge.net>
850 * Makefile.in (dist-mingwrt-src, dist-mingw32-src, dist-wsl-src):
851 Copy top_srcdir to a specific mingw.org-wsl directory.
853 2012-09-27 Earnie Boyd <earnie@users.sourceforge.net>
855 _USE_32BIT_TIME_T resolution and prepare for release.
857 * include/io.h: Add _HAVE_32BIT_TIME_T to filters.
858 * include/sys/stat.h: Ditto.
859 * include/sys/timeb.h: Ditto.
860 * include/sys/types.h: Ditto.
861 * include/wchar.h: Ditto.
862 * include/time.h: Rework _HAVE_32BIT_TIME_T to always use 64bit time_t
864 * Makefile.in (extra_OBJECTS): Move to the front of the dependency list.
865 (%.o : %.s): Create rules.
866 * lib/lib32/msvcrt.def.in: Remove needless __MSVCRT_VERSION__ filter
867 and previous endif to continue the previous filter.
870 2012-09-26 Earnie Boyd <earnie@users.sourceforge.net>
872 Make the changes work.
874 * include/sys/stat.h (stat, fstat): Change __NO_INLINE__ filter to
876 (_fstat64i32, _stat64i32): Define to be equal to _fstat64 and _stat64
877 respectively when __NO_INLINE__ is defined.
878 Remove _CRTIMP from declaration due to inline function.
879 (_wstat64i32): Define an inline function or define to _wstat64 since it
880 is missing from libmsvcrt.a.
881 Remove _CRTIMP from declaration due to inline function.
883 * include/commctrl.h (tagTVINSERTSTRUCTA, tagTVINSERTSTRUCTW): Move to
884 after the definition of TVITEMXA and TVITEMXW.
885 (TVINSERTSTRUCT, TV_INSERTSTRUCT): Move UNICODE amp to after the
886 definition of TVINSERTSTRUCTA and TVINSERTSTRUCTW.
887 * include/winuser.h (INPUT_MOUSE, INPUT_KEYBOARD, INPUT_HARDWARE):
888 Move to always define based on assumption of lowest supported OS.
889 These appeared in NT version 4 service pack 3.
890 (tagMOUSEINPUT, tagKEYBDINPUT, tagHARDWAREINPUT, tagINPUT): Ditto.
892 * include/time.h (_HAVE_32BIT_TIME_T): New macro stating that
893 msvcrt.dll contains the 32bit time functions.
894 (_USE_32BIT_TIME_T): If set then determine if _HAVE_32BIT_TIME_T is set
895 and use the 32bit time functions else use the 64bit time functions and
896 force datatype conversions.
897 * include/wchar.h: Match stat components to sys/stat.h.
898 * include/string.h (strcasecmp, strncasecmp): When __NO_INLINE__ defined
899 map functions to _stricmp and _strincmp respectfully.
900 * Makefile.in (libws2_32.a): Add src/libws2_32/ws2_32.o symbols to the
901 library. Override global target with a specific one.
902 (libscrnsavw_a_OBJECTS): Correct typo.
903 (extra_OBJECTS): New variable containing extra objects to build.
904 (libdinput_a_OBJECTS, libdmoguids_a_OBJECTS, libdxguid_a_OBJECTS,
905 libstrmiids_a_OBJECTS, libws2_32_a_OBJECTS): Correctly define targets.
907 2012-09-21 Earnie Boyd <earnie@users.sourceforge.net>
909 Make the changes work.
911 * Makefile.in (ofmt_stub.o): Add stub to libmsvcrt.a through
913 (libmoldname*.a): Change the DLLNAME to msvcr*.dll as appropriate.
914 * include/sdkddkver.h (_WARN_DEFAULTS): New macro filter for warning
915 about defaults to enable building binutils.
916 * include/sys/stat.h: Rework structure definitions and declarations to
917 allow building binutils.
918 (_fstat64i32): New inline function.
920 * include/winsock.h (_WARN_WINSOCK_H): New macro filter for warning
921 about inclusion of winsock.h to allow building binutils.
923 2012-09-20 Earnie Boyd <earnie@users.sourceforge.net>
925 Redo the filters based on assumptions discussed in mingw-dvlpr list.
927 * include/_mingw.h: Remove default setting of __MSVCRT_VERSION__ since
928 it is no longer used.
929 * include/commdlg.h (PRINTDLGEX): Move to below definition of struct.
930 (PrintDlgEx): Move to below function declaration.
931 * include/ctype.h: Add FIXME.
932 * include/lmcons.h: Correct filter syntax.
933 * include/ras.h: Move definitions and declarations based on dependencies
935 * include/rpcdce.h: Add comments and remove unintentional filter for
937 * include/sys/stat.h: Remove __MSVCRT_VERSION__ filters.
938 * include/sys/timeb.h: Remove FIXME.
939 * include/sys/utime.h: Ditto.
940 * include/sys/types.h: Clean code for defining time_t and
942 * include/winbase.h: Correct comment from RC_DEFINED to RC_INVOKED.
943 Add RC_INVOKED guards for SetThreadExecutionState and OpenThread.
944 (EXECUTION_STATE): Move definition to the _WIN32_WINNT_WIN98 guard.
945 * tests/Makefile.in (CFLAGS): Add -DNTDDI_VERSION=0x06010000 to get rid
946 of warnings and for maximum coverage of tests.
948 2012-09-19 Earnie Boyd <earnie@users.sourceforge.net>
950 Redo the filters based on assumptions discussed in mingw-dvlpr list.
952 * include/ddk/atm.h (_mingw.h): Include.
953 * include/ddk/batclass.h: Ditto.
954 * include/ddk/cfg.h: Ditto.
955 * include/ddk/cfgmgr32.h: Ditto.
956 * include/ddk/d4drvif.h: Ditto.
957 * include/ddk/d4iface.h: Ditto.
958 * include/ddk/ddkmapi.h: Ditto.
959 * include/ddk/hidclass.h: Ditto.
960 * include/ddk/hidpi.h: Ditto.
961 * include/ddk/hidsdi.h: Ditto.
962 * include/ddk/hidusage.h: Ditto.
963 * include/ddk/kbdmou.h: Ditto.
964 * include/ddk/mcd.h: Ditto.
965 * include/ddk/miniport.h: Ditto.
966 * include/ddk/minitape.h: Ditto.
967 * include/ddk/mountdev.h: Ditto.
968 * include/ddk/mountmgr.h: Ditto.
969 * include/ddk/ndis.h: Ditto.
970 * include/ddk/ndisguid.h: Ditto.
971 * include/ddk/ndistapi.h: Ditto.
972 * include/ddk/ndiswan.h: Ditto.
973 * include/ddk/netevent.h: Ditto.
974 * include/ddk/netpnp.h: Ditto.
975 * include/ddk/newdev.h: Ditto.
976 * include/ddk/ntapi.h: Ditto.
977 * include/ddk/ntdd8042.h: Ditto.
978 * include/ddk/ntddbeep.h: Ditto.
979 * include/ddk/ntddcdrm.h: Ditto.
980 * include/ddk/ntddcdvd.h: Ditto.
981 * include/ddk/ntddchgr.h: Ditto.
982 * include/ddk/ntdddisk.h: Ditto.
983 * include/ddk/ntddk.h: Ditto.
984 * include/ddk/ntddkbd.h: Ditto.
985 * include/ddk/ntddmou.h: Ditto.
986 * include/ddk/ntddndis.h: Ditto.
987 * include/ddk/ntddpar.h: Ditto.
988 * include/ddk/ntddpcm.h: Ditto.
989 * include/ddk/ntddscsi.h: Ditto.
990 * include/ddk/ntddser.h: Ditto.
991 * include/ddk/ntddstor.h: Ditto.
992 * include/ddk/ntddtape.h: Ditto.
993 * include/ddk/ntddtdi.h: Ditto.
994 * include/ddk/ntddvdeo.h: Ditto.
995 * include/ddk/ntddvol.h: Ditto.
996 * include/ddk/ntifs.h: Ditto.
997 * include/ddk/ntpoapi.h: Ditto.
998 * include/ddk/ntstatus.h: Ditto.
999 * include/ddk/parallel.h: Ditto.
1000 * include/ddk/pfhook.h: Ditto.
1001 * include/ddk/poclass.h: Ditto.
1002 * include/ddk/scsi.h: Ditto.
1003 * include/ddk/scsiscan.h: Ditto.
1004 * include/ddk/scsiwmi.h: Ditto.
1005 * include/ddk/smbus.h: Ditto.
1006 * include/ddk/srb.h: Ditto.
1007 * include/ddk/storport.h: Ditto.
1008 * include/ddk/tdi.h: Ditto.
1009 * include/ddk/tdiinfo.h: Ditto.
1010 * include/ddk/tdikrnl.h: Ditto.
1011 * include/ddk/tdistat.h: Ditto.
1012 * include/ddk/tvout.h: Ditto.
1013 * include/ddk/upssvc.h: Ditto.
1014 * include/ddk/usb.h: Ditto.
1015 * include/ddk/usb100.h: Ditto.
1016 * include/ddk/usbcamdi.h: Ditto.
1017 * include/ddk/usbdi.h: Ditto.
1018 * include/ddk/usbioctl.h: Ditto.
1019 * include/ddk/usbiodef.h: Ditto.
1020 * include/ddk/usbscan.h: Ditto.
1021 * include/ddk/usbuser.h: Ditto.
1022 * include/ddk/video.h: Ditto.
1023 * include/ddk/videoagp.h: Ditto.
1024 * include/ddk/win2k.h: Ditto.
1025 * include/ddk/winddi.h: Ditto.
1026 * include/ddk/winddk.h: Ditto.
1027 * include/ddk/winnt4.h: Ditto.
1028 * include/ddk/winxp.h: Ditto.
1029 * include/ddk/ws2san.h: Ditto.
1030 * include/ddk/xfilter.h: Ditto.
1032 * include/ddk/cfgmgr32.h (UNICODE): Use __AW() macro for mapping
1033 non-specific symbols.
1034 * include/ddk/newdev.h: Ditto.
1036 * include/ddk/kbdmou.h (GCC system_header): Add pragma.
1038 * TODO: Add entries.
1040 2012-09-19 Earnie Boyd <earnie@users.sourceforge.net>
1042 Redo the filters based on assumptions discussed in mingw-dvlpr list.
1044 * include/sys/fcntl.h (_mingw.h): Include.
1045 * include/sys/file.h: Ditto.
1046 * include/sys/param.h: Ditto.
1047 * include/sys/time.h: Ditto.
1048 * include/sys/unistd.h: Ditto.
1049 * include/directx/d3d9.h: Ditto.
1050 * include/directx/d3d9caps.h: Ditto.
1051 * include/directx/d3d9types.h: Ditto.
1052 * include/directx/dxerr8.h: Ditto.
1053 * include/directx/dxerr9.h: Ditto.
1054 * include/gdiplus/gdiplus.h: Ditto.
1055 * include/gdiplus/gdiplusbase.h: Ditto.
1056 * include/gdiplus/gdiplusbrush.h: Ditto.
1057 * include/gdiplus/gdipluscolor.h: Ditto.
1058 * include/gdiplus/gdipluscolormatrix.h: Ditto.
1059 * include/gdiplus/gdipluseffects.h: Ditto.
1060 * include/gdiplus/gdiplusenums.h: Ditto.
1061 * include/gdiplus/gdiplusflat.h: Ditto.
1062 * include/gdiplus/gdiplusgpstubs.h: Ditto.
1063 * include/gdiplus/gdiplusgraphics.h: Ditto.
1064 * include/gdiplus/gdiplusheaders.h: Ditto.
1065 * include/gdiplus/gdiplusimageattributes.h: Ditto.
1066 * include/gdiplus/gdiplusimagecodec.h: Ditto.
1067 * include/gdiplus/gdiplusimaging.h: Ditto.
1068 * include/gdiplus/gdiplusimpl.h: Ditto.
1069 * include/gdiplus/gdiplusinit.h: Ditto.
1070 * include/gdiplus/gdipluslinecaps.h: Ditto.
1071 * include/gdiplus/gdiplusmatrix.h: Ditto.
1072 * include/gdiplus/gdiplusmem.h: Ditto.
1073 * include/gdiplus/gdiplusmetafile.h: Ditto.
1074 * include/gdiplus/gdiplusmetaheader.h: Ditto.
1075 * include/gdiplus/gdipluspath.h: Ditto.
1076 * include/gdiplus/gdipluspen.h: Ditto.
1077 * include/gdiplus/gdipluspixelformats.h: Ditto.
1078 * include/gdiplus/gdiplusstringformat.h: Ditto.
1079 * include/gdiplus/gdiplustypes.h: Ditto.
1081 * include/sys/locking.h (_mingw.h): Remove comment and move to top of
1083 * include/sys/stat.h: Ditto.
1084 * include/sys/timeb.h: Ditto.
1085 * include/sys/types.h: Ditto.
1086 * include/sys/utime.h: Ditto.
1088 * include/sys/locking.h (GCC system_header): Add pragma.
1089 * include/sys/param.h: Ditto.
1090 * include/sys/stat.h: Ditto.
1091 * include/sys/time.h: Ditto.
1092 * include/sys/timeb.h: Ditto.
1093 * include/sys/types.h: Ditto.
1094 * include/sys/unistd.h: Ditto.
1095 * include/sys/utime.h: Ditto.
1097 * include/directx/dxerr8.h (UNICODE): Use __AW() macro for mapping
1098 non-specific symbols.
1099 * include/directx/dxerr9.h: Ditto.
1101 * include/sys/timeb.h (__MSVCRT_VERSION__): Remove needless filter.
1102 * include/sys/types.h: Ditto.
1103 * include/sys/utime.h: Ditto.
1105 * include/sys/unistd.h (io.h): Replace with include next unistd.h.
1107 * TODO: Add entries.
1109 2012-09-18 Earnie Boyd <earnie@users.sourceforge.net>
1111 Redo the filters based on assumptions discussed in mingw-dvlpr list.
1113 * include/shobjidl.h (_mingw.h): Include.
1114 * include/shlwapi.h: Ditto.
1115 * include/snmp.h: Ditto.
1116 * include/specstrings.h: Ditto.
1117 * include/sql.h: Ditto.
1118 * include/sqlext.h: Ditto.
1119 * include/sqltypes.h: Ditto.
1120 * include/sqlucode.h: Ditto.
1121 * include/sspi.h: Ditto.
1122 * include/stm.h: Ditto.
1123 * include/strings.h: Ditto.
1124 * include/strmif.h: Ditto.
1125 * include/subauth.h: Ditto.
1126 * include/svcguid.h: Ditto.
1127 * include/tchar.h: Ditto.
1128 * include/tlhelp32.h: Ditto.
1129 * include/tmschema.h: Ditto.
1130 * include/unistd.h: Ditto.
1131 * include/unknwn.h: Ditto.
1132 * include/userenv.h: Ditto.
1133 * include/usp10.h: Ditto.
1134 * include/utime.h: Ditto.
1135 * include/uxtheme.h: Ditto.
1136 * include/values.h: Ditto.
1137 * include/vfw.h: Ditto.
1138 * include/vidcap.h: Ditto.
1139 * include/vmr9.h: Ditto.
1140 * include/vptype.h: Ditto.
1141 * include/wtypes.h: Ditto.
1142 * include/winable.h: Ditto.
1143 * include/winbase.h: Ditto.
1144 * include/winber.h: Ditto.
1145 * include/wincon.h: Ditto.
1146 * include/wincrypt.h: Ditto.
1147 * include/windef.h: Ditto.
1148 * include/windns.h: Ditto.
1149 * include/windows.h: Ditto.
1150 * include/windowsx.h: Ditto.
1151 * include/winerror.h: Ditto.
1152 * include/wingdi.h: Ditto.
1153 * include/wininet.h: Ditto.
1154 * include/winioctl.h: Ditto.
1155 * include/winldap.h: Ditto.
1156 * include/winnetwk.h: Ditto.
1157 * include/winnls.h: Ditto.
1158 * include/winnt.h: Ditto.
1159 * include/winperf.h: Ditto.
1160 * include/winreg.h: Ditto.
1161 * include/winresrc.h: Ditto.
1162 * include/winsnmp.h: Ditto.
1163 * include/winsock.h: Ditto.
1164 * include/winsock2.h: Ditto.
1165 * include/winspool.h: Ditto.
1166 * include/winsvc.h: Ditto.
1167 * include/winuser.h: Ditto.
1168 * include/winver.h: Ditto.
1169 * include/ws2spi.h: Ditto.
1170 * include/ws2tcpip.h: Ditto.
1171 * include/wsahelp.h: Ditto.
1172 * include/wsipx.h: Ditto.
1173 * include/wsnetbs.h: Ditto.
1174 * include/wtsapi32.h: Ditto.
1175 * include/xprtdefs.h: Ditto.
1176 * include/zmouse.h: Ditto.
1178 * include/signal.h (_mingw.h): Remove comment and move to top of file.
1179 * include/stdint.h: Ditto.
1180 * include/stdio.h: Ditto.
1181 * include/stdlib.h: Ditto.
1182 * include/string.h: Ditto.
1183 * include/time.h: Ditto.
1184 * include/wchar.h: Ditto.
1185 * include/wctype.h: Ditto.
1187 * include/shlwapi.h (UNICODE): Use __AW() macro for mapping
1188 non-specific symbols.
1189 * include/sspi.h: Ditto.
1190 * include/userenv.h: Ditto.
1191 * include/vfw.h: Ditto.
1192 * include/winbase.h: Ditto.
1193 * include/wincon.h: Ditto.
1194 * include/wincrypt.h: Ditto.
1195 * include/windns.h: Ditto.
1196 * include/wingdi.h: Ditto.
1197 * include/wininet.h: Ditto.
1198 * include/winldap.h: Ditto.
1199 * include/winnetwk.h: Ditto.
1200 * include/winnls.h: Ditto.
1201 * include/winreg.h: Ditto.
1202 * include/winsock2.h: Ditto.
1203 * include/winspool.h: Ditto.
1204 * include/winsvc.h: Ditto.
1205 * include/winuser.h: Ditto.
1206 * include/winver.h: Ditto.
1207 * include/ws2tcpip.h: Ditto.
1209 * include/stm.h (_WIN32_WINNT): Use MACRO constant for comparison
1210 instead of integer and move filters to the end of the file.
1211 * include/userenv.h: Ditto.
1212 * include/winbase.h: Ditto.
1213 * include/wincon.h: Ditto.
1214 * include/wincrypt.h: Ditto.
1215 * include/wingdi.h: Ditto.
1216 * include/winnls.h: Ditto.
1217 * include/winnt.h: Ditto.
1218 * include/winreg.h: Ditto.
1219 * include/winspool.h: Ditto.
1220 * include/winuser.h: Ditto.
1221 * include/ws2tcpip.h: Ditto.
1223 * include/shlwapi.h (_OBJC_NO_COM): Move filters to the end of the file.
1225 * include/stdlib.h (_UWIN): Remove filter since we assume only GCC.
1226 * include/string.h: Ditto.
1228 * include/stdio.h (__GNUC__): Remove filter since we assume only GCC.
1230 * include/stdio.h (__MSVCRT_VERSION__): Remove needless filter.
1231 * include/stdlib.h: Ditto.
1232 * include/string.h: Ditto.
1233 * include/tchar.h: Ditto.
1234 * include/time.h: Ditto.
1235 * include/wchar.h: Ditto.
1236 * include/wctype.h: Ditto.
1238 * include/winbase.h (_WIN32_WINDOWS): Use _WIN32_WINNT instead.
1239 * include/wingdi.h: Ditto.
1240 * include/winuser.h: Ditto.
1242 * include/wincrypt.h (WINVER): Use _WIN32_WINNT instead.
1243 * include/wingdi.h: Ditto.
1244 * include/winnls.h: Ditto.
1245 * include/winreg.h: Ditto.
1246 * include/winuser.h: Dittol
1248 * include/_mingw.h (__TEST_SQL_NOUNICODEMAP): Use to determine if
1249 UNICODE should be considered.
1250 (_ODBCINST_H): Changed to use __TEST_SQL_NOUNICODEMAP.
1251 * include/odbcinst.h (__TEST_SQL_NOUNICODEMAP): Define before including
1253 * include/sqlucode.h: Ditto.
1255 * include/time.h (time_t): Logic fix for filters.
1256 * (__time64_t): Remove the __STRICT_ANSI__ guard.
1258 * include/winable.h: This file is deprecated by Microsoft due to
1259 winuser.h containing all of the functionality of winable.h; therefore
1260 issue a warning and include winuser.h.
1262 * include/windows.h (Win32_Winsock): Remove filter logic and warning.
1263 (winsock2.h): Do not include as doing so is not Microsoft compatible.
1264 To use winsock2.h you need to include it instead of windows.h.
1265 (__USE_W32_SOCKETS): Add a comment that it is __CYGWIN__ specific.
1267 * include/winsock.h (_WIN32_WINNT_WIN95): Give a warning if winsock.h
1268 is included for Windows versions greater than WIN95.
1270 * include/winuser.h (MB_SERVICE_NOTIFICATION): We assume WIN95 or
1271 greater so define based on this assumption.
1272 (MB_SERVICE_NOTIFICATION_NT3X): Ditto.
1273 (SM_CMETRICS): Ditto.
1274 (MOUSEEVENTF_WHEEL): Ditto.
1275 (ENDSESSION_LOGOFF): Ditto.
1277 * TODO: Add entries.
1279 2012-09-13 Earnie Boyd <earnie@users.sourceforge.net>
1281 Redo the filters based on assumptions discussed in mingw-dvlpr list.
1283 * include/rapi.h (_mingw.h): Include.
1284 * include/raserror.h: Ditto.
1285 * include/rassapi.h: Ditto.
1286 * include/regstr.h: Ditto.
1287 * include/richole.h: Ditto.
1288 * include/rpc.h: Ditto.
1289 * include/rpcndr.h: Ditto.
1290 * include/rpcnsip.h: Ditto.
1291 * include/rpcnterr.h: Ditto.
1292 * include/rpcproxy.h: Ditto.
1293 * include/schannel.h: Ditto.
1294 * include/schnlsp.h: Ditto.
1295 * include/scrnsave.h: Ditto.
1296 * include/security.h: Ditto.
1297 * include/servprov.h: Ditto.
1298 * include/rasdlg.h: Ditto.
1299 * include/richedit.h: Ditto.
1300 * include/rpcdce2.h: Ditto.
1301 * include/rpcdcep.h: Ditto.
1302 * include/rpcnsi.h: Ditto.
1303 * include/setupapi.h: Ditto.
1304 * include/reason.h: Ditto.
1305 * include/routprot.h: Ditto.
1306 * include/shellapi.h: Ditto.
1307 * include/shldisp.h: Ditto.
1308 * include/rpcdce.h: Ditto.
1309 * include/shlobj.h: Ditto.
1311 * include/search.h (_mingw.h): Remove comment and move to top of file.
1312 * include/setjmp.h: Ditto.
1313 * include/share.h: Ditto.
1315 * include/rasdlg.h (UNICODE): Use __AW() macro for mapping
1316 non-specific symbols.
1317 * include/richedit.h: Ditto.
1318 * include/rpcdce2.h: Ditto.
1319 * include/rpcdcep.h: Ditto.
1320 * include/rpcnsi.h: Ditto.
1321 * include/setupapi.h: Ditto.
1322 * include/shellapi.h: Ditto.
1323 * include/rpcdce.h: Ditto.
1324 * include/rtutils.h: Ditto.
1325 * include/sddl.h: Ditto.
1326 * include/secext.h: Ditto.
1327 * include/shlguid.h: Ditto.
1328 * include/ras.h: Ditto.
1329 * include/shlobj.h: Ditto.
1331 * include/reason.h (_WIN32_WINNT): Use MACRO constant for comparison
1332 instead of integer and move filters to the end of the file.
1333 * include/routprot.h: Ditto.
1334 * include/shellapi.h: Ditto.
1335 * include/shldisp.h: Ditto.
1336 * include/rpcdce.h: Ditto.
1337 * include/rtutils.h: Ditto.
1338 * include/sddl.h: Ditto.
1339 * include/secext.h: Ditto.
1340 * include/shlguid.h: Ditto.
1341 * include/ras.h: Ditto.
1342 * include/shlobj.h: Ditto.
1344 * include/ras.h (WINVER): Use _WIN32_WINNT instead.
1346 * include/shlobj.h (_WIN32_IE): Move filters to the end of the file.
1348 * include/sdkddkver.h (_WIN32_WINNT_WIN4E): Add new symbol.
1349 (_mingw.h): Document to not include the file since _mingw.h includes
1352 * TODO: Add entries.
1356 2012-09-12 Earnie Boyd <earnie@users.sourceforge.net>
1358 Redo the filters based on assumptions discussed in mingw-dvlpr list.
1360 * include/mshtml.h (_mingw.h): Include.
1361 * include/mswsock.h: Ditto.
1362 * include/mb30.h: Ditto.
1363 * include/ntdef.h: Ditto.
1364 * include/ntdll.h: Ditto.
1365 * include/ntldap.h: Ditto.
1366 * include/ntsecapi.h: Ditto.
1367 * include/ntsecpkg.h: Ditto.
1368 * include/oaidl.h: Ditto.
1369 * include/objbase.h: Ditto.
1370 * include/objfwd.h: Ditto.
1371 * include/objidl.h: Ditto.
1372 * include/objsafe.h: Ditto.
1373 * include/ocidlh.: Ditto.
1374 * include/odbcinst.h: Ditto.
1375 * include/ole.h: Ditto.
1376 * include/ole2.h: Ditto.
1377 * include/ole2ver.h: Ditto.
1378 * include/oleauto.h: Ditto.
1379 * include/olectl.h: Ditto.
1380 * include/olectlid.h: Ditto.
1381 * include/oleidl.h: Ditto.
1382 * include/pbt.h: Ditto.
1383 * include/powrprof.h: Ditto.
1384 * include/qedit.h: Ditto.
1385 * include/mq.h: Ditto.
1386 * include/ntdsapi.h: Ditto.
1387 * include/ntdsbcli.h: Ditto.
1388 * include/objsel.h: Ditto.
1389 * include/msacm.h: Ditto.
1390 * include/nddeapi.h: Ditto.
1391 * include/nspapi.h: Ditto.
1392 * include/oleacc.h: Ditto.
1393 * include/oledlg.h: Ditto.
1394 * include/prsht.h: Ditto.
1396 * include/process.h (_mingw.h): Remove comment and move to top of file.
1398 * include/mq.h (_WIN32_WINNT): Use MACRO constant for comparison
1399 instead of integer and move filters to the end of the file.
1400 * include/ntdsapi.h: Ditto.
1401 * include/ntdsbcli.h: Ditto.
1402 * include/objsel.h: Ditto.
1404 * include/msacm.h (UNICODE): Use __AW() macro for mapping
1405 non-specific symbols.
1406 * include/nddeapi.h: Ditto.
1407 * include/nspapi.h: Ditto.
1408 * include/oleacc.h: Ditto.
1409 * include/oledlg.h: Ditto.
1410 * include/prsht.h: Ditto.
1412 * include/_mingw.h (__AW): Add filters for SQL_NOUNICODEMAP.
1414 * TODO: Add items to the list as needed.
1416 2012-09-11 Earnie Boyd <earnie@users.sourceforge.net>
1418 Redo the filters based on assumptions discussed in mingw-dvlpr list.
1420 * include/lm.h (_mingw.h): Include.
1421 * include/lmaccess.h: Ditto.
1422 * include/lmalert.h: Ditto.
1423 * include/lmapibuf.h: Ditto.
1424 * include/lmat.h: Ditto.
1425 * include/lmaudit.h: Ditto.
1426 * include/lmbrowsr.h: Ditto.
1427 * include/lmchdev.h: Ditto.
1428 * include/lmconfig.h: Ditto.
1429 * include/lmerr.h: Ditto.
1430 * include/lmerrlog.h: Ditto.
1431 * include/lmmsg.h: Ditto.
1432 * include/lmremutl.h: Ditto.
1433 * include/lmrepl.h: Ditto.
1434 * include/lmserver.h: Ditto.
1435 * include/lmshare.h: Ditto.
1436 * include/lmsname.h: Ditto.
1437 * include/lmstats.h: Ditto.
1438 * include/lmsvc.h: Ditto.
1439 * include/lmuse.h: Ditto.
1440 * include/lmuseflg.h: Ditto.
1441 * include/lmwksta.h: Ditto.
1442 * include/mapi.h: Ditto.
1443 * include/mbctype.h: Ditto.
1444 * include/mbstring.h: Ditto.
1445 * include/mciavi.h: Ditto.
1446 * include/mcx.h: Ditto.
1447 * include/mem.h: Ditto.
1448 * include/memory.h: Ditto.
1449 * include/mgmtapi.h: Ditto.
1450 * include/mlang.h: Ditto.
1451 * include/mmreg.h: Ditto.
1452 * include/mpegtype.h: Ditto.
1453 * include/mgm.h: Ditto.
1454 * include/mprapi.h: Ditto.
1455 * include/lzexpand.h: Ditto.
1456 * include/mmsystem.h: Ditto.
1458 * include/locale.h (_mingw.h): Remove comment and move to top of file.
1459 * include/malloc.h: Ditto.
1460 * include/math.h: Ditto.
1462 * include/mgm.h (_WIN32_WINNT): Use MACRO constant for comparison
1463 instead of integer and move filters to the end of the file.
1464 * include/mprapi.h: Ditto.
1465 * include/mmsystem.h: Ditto.
1467 * include/malloc.h (__MSVCRT_VERSION__): Remove as unneeded.
1468 * include/math.h: Ditto.
1470 * include/math.h (__GNUC__): Assume we are using a version >= 3.4.5
1472 * include/lzexpand.h (UNICODE): Use __AW() macro for mapping
1473 non-specific symbols.
1474 * include/mmsystem.h: Ditto.
1476 * include/lmcons.h (_mingw.h): Include.
1477 (LMSTR): Correct filter for definition determination.
1480 * include/mmsystem.h (WINVER): Use _WIN32_WINNT instead.
1482 * include/_mingw.h (FORCE_UNICODE): Another filter for determining
1483 UNICODE for __AW and __STR.
1487 2012-09-11 Earnie Boyd <earnie@users.sourceforge.net>
1489 Redo the filters based on assumptions discussed in mingw-dvlpr list.
1491 * include/icm.h (_mingw.h): Include.
1492 * include/iphlpapi.h (_mingw.h): Include.
1493 * include/imagehlp.h (_mingw.h): Include.
1494 * include/idispids.h (_mingw.h): Include.
1495 * include/il21dec.h: Ditto.
1496 * include/initguid.h: Ditto.
1497 * include/ipexport.h: Ditto.
1498 * include/ipifcons.h: Ditto.
1499 * include/ipinfoid.h: Ditto.
1500 * include/iprtrmib.h: Ditto.
1501 * include/isguids.h: Ditto.
1502 * include/ks.h: Ditto.
1503 * include/ksmedia.h: Ditto.
1504 * include/largeint.h: Ditto.
1505 * include/ipxtfflt.h: Ditto.
1506 * include/intshcut.h: Ditto.
1508 * include/inttypes.h (_mingw.h): Remove comment and move to top of file.
1509 * include/libgen.h: Ditto.
1510 * include/io.h: Ditto.
1511 * include/limits.h: Ditto.
1513 * include/iphlpapi.h (_WIN32_WINNT): Use MACRO constant for comparison
1514 instead of integer and move filters to the end of the file.
1515 * include/icm.h: Ditto.
1516 * include/iptypes.h: Ditto.
1517 * include/ipxconst.h: Ditto.
1518 * include/ipxrtdef.h: Ditto.
1520 * include/imagehlp.h (UNICODE): Use __AW() macro for mapping
1521 non-specific symbols.
1522 * include/intshcut.h: Ditto.
1523 * include/icm.h: Ditto.
1525 * include/io.h (__MSVCRT_VERSION__): Removed throughout.
1527 * include/io.h (_findfirst*): What a mess. Reworked.
1528 (_wfindfirst*): Ditto.
1529 (_findnext*): Ditto.
1530 (_wfindnext*): Ditto.
1531 (_finddata*_t): Ditto.
1532 (_wfinddata*_t): Ditto.
1533 (_FINDDATA_T_DEFINED): Add filter.
1535 * include/ipxtfflt.h (_IPX_TRAFFIC_FILTER_INFO): Add structure.
1536 (_IPX_TRAFFIC_FILTER_GLOBAL_INFO): Ditto.
1538 * include/limits.h (__STRICT_ANSI__): Remove filters as unneeded.
1539 (_CHAR_UNSIGNED): Add as a user defined filter for unsigned char.
1541 * include/sdkddkver.h (_WIN32_WINNT_WIN98): Correct value.
1542 (_WIN32_WINNT_WINME): Ditto.
1544 2012-09-10 Earnie Boyd <earnie@users.sourceforge.net>
1546 Redo the filters based on assumptions discussed in mingw-dvlpr list.
1548 * include/commdlg.h (_mingw.h): Include.
1549 (_WIN32_WINNT): Use MACRO constant for comparison instead of integer
1550 and move filters to the end of the file.
1551 (UNICODE): Use __AW() macro for mapping non-specific symbols.
1552 * include/dbt.h: Ditto.
1553 * include/dsclient.h: Ditto.
1554 * include/dsgetdc.h: Ditto.
1555 * include/errorrep.h: Ditto.
1557 * include/complex.h (_mingw.h): Remove comment and move to top of file.
1558 (__GNUC__): Remove filter since only GCC is used.
1560 * include/conio.h (_mingw.h): Remove comment and move to top of file.
1561 * include/ctype.h: Ditto.
1562 * include/direct.h: Ditto.
1563 * include/dirent.h: Ditto.
1564 * include/dos.h: Ditto.
1565 * include/errno.h: Ditto.
1566 * include/excpt.h: Ditto.
1567 * include/float.h: Ditto.
1568 * include/getopt.h: Ditto.
1570 * include/control.h (_mingw.h): Include.
1571 * include/cplext.h: Ditto.
1572 * include/dde.h: Ditto.
1573 * include/devguid.h: Ditto.
1574 * include/dlgs.h: Ditto.
1575 * include/docobj.h: Ditto.
1576 * include/dshow.h: Ditto.
1577 * include/dvdevcod.h: Ditto.
1578 * include/dvdmedia.h: Ditto.
1579 * include/edevdefs.h: Ditto.
1580 * include/evcode.h: Ditto.
1581 * include/exdisp.h: Ditto.
1582 * include/exdispid.h: Ditto.
1583 * include/httpext.h: Ditto.
1585 * include/cpl.h (_mingw.h): Include.
1586 (UNICODE): Use __AW() macro for mapping non-specific symbols.
1587 * include/custcntl.h: Ditto.
1588 * include/ddeml.h: Ditto.
1589 * include/errors.h: Ditto.
1591 * include/dsadmin.h (_mingw.h): Include.
1592 (_WIN32_WINNT): Use MACRO constant for comparison instead of integer
1593 and move filters to the end of the file.
1594 * include/dhcpcsdk.h: Ditto.
1595 * include/dsquery.h: Ditto.
1596 * include/dsrole.h: Ditto.
1597 * include/fltdefs.h: Ditto.
1599 * incldue/fcntl.h (_mingw.h): Include.
1600 (__MSVCRT_VERSION__): Rename to _WIN32_WINNT and compare to
1602 (_WIN32_WINNT): Use MACRO constant for comparison instead of integer
1603 and move filters to the end of the file.
1605 * include/_mingw.h (__STR): Add macro for L"string" or "string".
1607 * include/sdkddkver.h (_WIN32_WINNT_WIN95): Add constant definition.
1608 (_WIN32_WINNT_WIN98): Ditto.
1609 (_WIN32_WINNT_WINME): Ditto.
1611 2012-09-08 Earnie Boyd <earnie@users.sourceforge.net>
1613 Redo the filters based on assumptions discussed in mingw-dvlpr list.
1615 * include/_mingw.h: Add include of sdkddkver.h.
1616 * include/accctrl.h (_WIN32_WINNT): Use MACRO constant for comparison
1618 * include/cmnquery.h (_WIN32_WINNT): Ditto.
1619 * include/aclapi.h: Include _mingw.h.
1620 (_WIN32_WINNT): Use MACRO constant for comparison instead of integer
1621 and move filters to the end of the file.
1622 (UNICODE): Use __AW() macro for mapping non-specific symbols.
1623 * include/adsprop.h: Ditto.
1624 * include/aclui.h: Include _mingw.h.
1625 * include/afxres.h: Ditto.
1626 * include/amaudio.h: Ditto.
1627 * include/amvideo.h: Ditto.
1628 * include/amdevcod.h: Ditto.
1629 * include/aviriff.h: Ditto.
1630 * include/aygshell.h: Ditto.
1631 * include/basetsd.h: Ditto.
1632 * include/basetyps.h: Ditto.
1633 * include/bdatypes.h: Ditto.
1634 * include cderr.h: Ditto.
1635 * include/cguid.h: Ditto.
1636 * include/comcat.h: Ditto.
1637 * include/commctrl.h (_WIN32_IE): Remove commented out definition.
1638 (_WIN32_IE): Move filters to the end of the file.
1639 (UNICODE): Use __AW() macro for mapping non-specific symbols.
1640 (_WIN32_WINNT): Use MACRO constant for comparison instead of integer.
1642 2012-09-07 Earnie Boyd <earnie@users.sourceforge.net>
1644 Redo the filters based on assumptions discussed in mingw-dvlpr list.
1646 * include/_mingw.h: Remove #ifdef __declspec filter since it will always
1648 (__DECLSPEC_SUPPORTED): Remove definition and documentation.
1649 * include/windef.h (__declspec): No need to define it since it will
1651 (_declspec): Modify the definition.
1652 * include/ctype.h (__DECLSPEC_SUPPORTED): Remove filters since
1653 __declspec is always supported.
1654 * include/mbctype.h (__DECLSPEC_SUPPORTED): Ditto.
1655 * include/stdio.h (__DECLSPEC_SUPPORTED): Ditto.
1656 * include/stdlib.h (__DECLSPEC_SUPPORTED): Ditto.
1657 * include/wctype.h (__DECLSPEC_SUPPORTED): Ditto.
1658 * include/math.h (__DECLSPEC_SUPPORTED): Ditto.
1659 (HUGE_VAL): Always use GCC's builin value.
1660 * include/stdlib.h: Modify whitespace.
1661 * include/_mingw.h: Remove __cdecl and __stdcall defines since they will
1663 * include/windef.h: Remove definitions for _cdecl, __cdecl, _stdcall,
1664 __stdcall, _fastcall, __fastcall, WIN32, _WIN32 since they will always
1666 * include/_mingw.h (__AW): New macro.
1668 * include/accctrl.h: Include _mingw.h.
1669 Move #if _WIN32_WINNT filters to the end.
1670 Rework the UNICODE definition mappings to the non-specific types.
1672 2012-09-07 Earnie Boyd <earnie@users.sourceforge.net>
1674 Remove filters for CRTDLL and __MSVCRT__.
1676 * Makefile.in: Remove -[DU]__MSVCRT__ and -[DU]__CRTDLL__.
1677 * crt1.o: Remove CRTDLL specific target.
1680 * include/assert.h: Modify documentation to remove the use of CRTDLL.
1681 * include/setjmp.h: Ditto.
1682 * src/libcrt/crt/ofmt_stub.s: Ditto.
1683 * include/ctype.h: Ditto.
1684 Remove filters for __MSVCRT__ and unneeded #else coding.
1685 * include/dirent.h: Ditto.
1686 * include/dos.h: Ditto.
1687 * include/io.h: Ditto.
1688 * include/math.h: Ditto.
1689 * include/process.h: Ditto.
1690 * include/stdio.h: Ditto.
1691 * include/stdlib.h: Ditto.
1692 * include/string.h: Ditto.
1693 * include/sys/stat.h: Ditto.
1694 * include/sys/types.h: Ditto.
1695 * include/sys/utime.h: Ditto.
1696 * include/tchar.h: Ditto.
1697 * include/time.h: Ditto.
1698 * include/wchar.h: Ditto.
1699 * include/wctype.h: Ditto.
1700 * src/libcrt/crt/crt1.c: Ditto.
1701 * src/libcrt/crt/init.c: Ditto.
1702 * lib/lib32/moldname.def.in: Remove filters for __CRTDLL__.
1703 * src/libcrt/tlssup.c: Remove filter for CRTDLL.
1705 2012-09-07 Earnie Boyd <earnie@users.sourceforge.net>
1707 Apply LICENSE to all files as appropriate.
1709 * tests/Makefile.in: Add file preamble.
1710 * tests/headers/directx.c: Ditto.
1711 * tests/headers/test.c: Ditto.
1712 * tests/libcrt/sitest.c: Ditto.
1713 * tests/libcrt/testwmem.c: Ditto.
1714 * tests/libcrt/tst-aligned-malloc.c: Ditto.
1716 2012-09-07 Earnie Boyd <earnie@users.sourceforge.net>
1718 Manual resolution for LICENSE for files already containing a file
1719 preamble as appropriate.
1721 * src/libcrt/complex/cacos.c: Remove or modify the existing file
1723 * src/libcrt/complex/cacosf.c: Ditto.
1724 * src/libcrt/complex/cacosh.c: Ditto.
1725 * src/libcrt/complex/cacoshf.c: Ditto.
1726 * src/libcrt/complex/cacoshl.c: Ditto.
1727 * src/libcrt/complex/casin.c: Ditto.
1728 * src/libcrt/complex/casinf.c: Ditto.
1729 * src/libcrt/complex/casinh.c: Ditto.
1730 * src/libcrt/complex/casinhf.c: Ditto.
1731 * src/libcrt/complex/casinhl.c: Ditto.
1732 * src/libcrt/complex/casinl.c: Ditto.
1733 * src/libcrt/complex/catan.c: Ditto.
1734 * src/libcrt/complex/catanf.c: Ditto.
1735 * src/libcrt/complex/catanh.c: Ditto.
1736 * src/libcrt/complex/catanhf.c: Ditto.
1737 * src/libcrt/complex/catanhl.c: Ditto.
1738 * src/libcrt/complex/catanl.c: Ditto.
1739 * src/libcrt/complex/ccos.c: Ditto.
1740 * src/libcrt/complex/ccosh.c: Ditto.
1741 * src/libcrt/complex/ccoshf.c: Ditto.
1742 * src/libcrt/complex/ccoshl.c: Ditto.
1743 * src/libcrt/complex/ccosl.c: Ditto.
1744 * src/libcrt/complex/cexp.c: Ditto.
1745 * src/libcrt/complex/cexpf.c: Ditto.
1746 * src/libcrt/complex/cexpl.c: Ditto.
1747 * src/libcrt/complex/clog.c: Ditto.
1748 * src/libcrt/complex/clogf.c: Ditto.
1749 * src/libcrt/complex/clogl.c: Ditto.
1750 * src/libcrt/complex/cpow.c: Ditto.
1751 * src/libcrt/complex/cpowf.c: Ditto.
1752 * src/libcrt/complex/cpowl.c: Ditto.
1753 * src/libcrt/complex/cproj.c: Ditto.
1754 * src/libcrt/complex/cprojf.c: Ditto.
1755 * src/libcrt/complex/cprojl.c: Ditto.
1756 * src/libcrt/complex/csin.c: Ditto.
1757 * src/libcrt/complex/csinf.c: Ditto.
1758 * src/libcrt/complex/csinh.c: Ditto.
1759 * src/libcrt/complex/csinhf.c: Ditto.
1760 * src/libcrt/complex/csinhl.c: Ditto.
1761 * src/libcrt/complex/csinl.c: Ditto.
1762 * src/libcrt/complex/csqrt.c: Ditto.
1763 * src/libcrt/complex/csqrtl.c: Ditto.
1764 * src/libcrt/complex/ctan.c: Ditto.
1765 * src/libcrt/complex/ctanf.c: Ditto.
1766 * src/libcrt/complex/ctanh.c: Ditto.
1767 * src/libcrt/complex/ctanhf.c: Ditto.
1768 * src/libcrt/complex/ctanhl.c: Ditto.
1769 * src/libcrt/complex/ctanl.c: Ditto.
1770 * src/libcrt/crt/CRT_fp10.c: Ditto.
1771 * src/libcrt/crt/CRT_fp8.c: Ditto.
1772 * src/libcrt/crt/CRT_noglob.c: Ditto.
1773 * src/libcrt/crt/CRTfmode.c: Ditto.
1774 * src/libcrt/crt/CRTglob.c: Ditto.
1775 * src/libcrt/crt/CRTinit.c: Ditto.
1776 * src/libcrt/crt/crt1.c: Ditto.
1777 * src/libcrt/crt/crtmt.c: Ditto.
1778 * src/libcrt/crt/crtst.c: Ditto.
1779 * src/libcrt/crt/dllcrt1.c: Ditto.
1780 * src/libcrt/crt/dllmain.c: Ditto.
1781 * src/libcrt/crt/gccmain.c: Ditto.
1782 * src/libcrt/crt/init.c: Ditto.
1783 * src/libcrt/crt/isascii.c: Ditto.
1784 * src/libcrt/crt/iscsym.c: Ditto.
1785 * src/libcrt/crt/iscsymf.c: Ditto.
1786 * src/libcrt/crt/main.c: Ditto.
1787 * src/libcrt/crt/mthr.c: Ditto.
1788 * src/libcrt/crt/mthr_init.c: Ditto.
1789 * src/libcrt/crt/ofmt_stub.s: Ditto.
1790 * src/libcrt/crt/pseudo-reloc-list.c: Ditto.
1791 * src/libcrt/crt/pseudo-reloc.c: Ditto.
1792 * src/libcrt/crt/strcasecmp.c: Ditto.
1793 * src/libcrt/crt/strncasecmp.c: Ditto.
1794 * src/libcrt/crt/tlsmcrt.c: Ditto.
1795 * src/libcrt/crt/tlsmthread.c: Ditto.
1796 * src/libcrt/crt/tlssup.c: Ditto.
1797 * src/libcrt/crt/tlsthrd.c: Ditto.
1798 * src/libcrt/crt/toascii.c: Ditto.
1799 * src/libcrt/crt/wcscmpi.c: Ditto.
1800 * src/libcrt/inttypes/imaxabs.c: Ditto.
1801 * src/libcrt/inttypes/imaxdiv.c: Ditto.
1802 * src/libcrt/inttypes/strtoimax.c: Ditto.
1803 * src/libcrt/inttypes/strtoumax.c: Ditto.
1804 * src/libcrt/inttypes/wcstoimax.c: Ditto.
1805 * src/libcrt/inttypes/wcstoumax.c: Ditto.
1806 * src/libcrt/math/acosf.c: Ditto.
1807 * src/libcrt/math/acosl.c: Ditto.
1808 * src/libcrt/math/asinl.c: Ditto.
1809 * src/libcrt/math/atan2f.c: Ditto.
1810 * src/libcrt/math/atan2l.c: Ditto.
1811 * src/libcrt/math/atanf.c: Ditto.
1812 * src/libcrt/math/atanl.c: Ditto.
1813 * src/libcrt/math/ceilf.S: Ditto.
1814 * src/libcrt/math/ceill.S: Ditto.
1815 * src/libcrt/math/copysign.S: Ditto.
1816 * src/libcrt/math/copysignf.S: Ditto.
1817 * src/libcrt/math/copysignl.S: Ditto.
1818 * src/libcrt/math/cosf.S: Ditto.
1819 * src/libcrt/math/cosl.S: Ditto.
1820 * src/libcrt/math/exp2.S: Ditto.
1821 * src/libcrt/math/exp2f.S: Ditto.
1822 * src/libcrt/math/exp2l.S: Ditto.
1823 * src/libcrt/math/expl.c: Ditto.
1824 * src/libcrt/math/expm1.c: Ditto.
1825 * src/libcrt/math/expm1f.c: Ditto.
1826 * src/libcrt/math/expm1l.c: Ditto.
1827 * src/libcrt/math/floorf.S: Ditto.
1828 * src/libcrt/math/floorl.S: Ditto.
1829 * src/libcrt/math/fmodf.c: Ditto.
1830 * src/libcrt/math/fmodl.c: Ditto.
1831 * src/libcrt/math/ilogb.S: Ditto.
1832 * src/libcrt/math/ilogbf.S: Ditto.
1833 * src/libcrt/math/ilogbl.S: Ditto.
1834 * src/libcrt/math/log10f.S: Ditto.
1835 * src/libcrt/math/log10l.S: Ditto.
1836 * src/libcrt/math/log1p.S: Ditto.
1837 * src/libcrt/math/log1pf.S: Ditto.
1838 * src/libcrt/math/log1pl.S: Ditto.
1839 * src/libcrt/math/log2.S: Ditto.
1840 * src/libcrt/math/log2f.S: Ditto.
1841 * src/libcrt/math/log2l.S: Ditto.
1842 * src/libcrt/math/logb.c: Ditto.
1843 * src/libcrt/math/logbf.c: Ditto.
1844 * src/libcrt/math/logbl.c: Ditto.
1845 * src/libcrt/math/logf.S: Ditto.
1846 * src/libcrt/math/logl.S: Ditto.
1847 * src/libcrt/math/lround_generic.c: Ditto.
1848 * src/libcrt/math/nearbyint.S: Ditto.
1849 * src/libcrt/math/nearbyintf.S: Ditto.
1850 * src/libcrt/math/nearbyintl.S: Ditto.
1851 * src/libcrt/math/nextafterl.c: Ditto.
1852 * src/libcrt/math/nexttoward.c: Ditto.
1853 * src/libcrt/math/nexttowardf.c: Ditto.
1854 * src/libcrt/math/remainder.S: Ditto.
1855 * src/libcrt/math/remainderf.S: Ditto.
1856 * src/libcrt/math/remainderl.S: Ditto.
1857 * src/libcrt/math/remquo.S: Ditto.
1858 * src/libcrt/math/remquof.S: Ditto.
1859 * src/libcrt/math/remquol.S: Ditto.
1860 * src/libcrt/math/round_generic.c: Ditto.
1861 * src/libcrt/math/scalbn.S: Ditto.
1862 * src/libcrt/math/scalbnf.S: Ditto.
1863 * src/libcrt/math/scalbnl.S: Ditto.
1864 * src/libcrt/math/sinf.S: Ditto.
1865 * src/libcrt/math/sinl.S: Ditto.
1866 * src/libcrt/math/tanf.S: Ditto.
1867 * src/libcrt/math/tanl.S: Ditto.
1868 * src/libcrt/misc/getopt.c: Ditto.
1869 * src/libcrt/misc/membarrier.c: Ditto.
1870 * src/libcrt/misc/mingw-aligned-malloc.c: Ditto.
1871 * src/libcrt/misc/mingw-fseek.c: Ditto.
1872 * src/libcrt/posix/libgen/basename.c: Ditto.
1873 * src/libcrt/posix/libgen/dirname.c: Ditto.
1874 * src/libcrt/posix/unistd/usleep.c: Ditto.
1875 * src/libcrt/search/tdelete.c: Ditto.
1876 * src/libcrt/search/tfind.c: Ditto.
1877 * src/libcrt/search/tsearch.c: Ditto.
1878 * src/libcrt/search/twalk.c: Ditto.
1879 * src/libcrt/stdio/fprintf.c: Ditto.
1880 * src/libcrt/stdio/printf.c: Ditto.
1881 * src/libcrt/stdio/snprintf.c: Ditto.
1882 * src/libcrt/stdio/sprintf.c: Ditto.
1883 * src/libcrt/stdio/vfprintf.c: Ditto.
1884 * src/libcrt/stdio/vfscanf.c: Ditto.
1885 * src/libcrt/stdio/vfwscanf.c: Ditto.
1886 * src/libcrt/stdio/vprintf.c: Ditto.
1887 * src/libcrt/stdio/vscanf.c: Ditto.
1888 * src/libcrt/stdio/vsnprintf.c: Ditto.
1889 * src/libcrt/stdio/vsprintf.c: Ditto.
1890 * src/libcrt/stdio/vsscanf.c: Ditto.
1891 * src/libcrt/stdio/vswscanf.c: Ditto.
1892 * src/libcrt/stdio/vwscanf.c: Ditto.
1893 * src/libcrt/sys/time/gettimeofday.c: Ditto.
1894 * src/libcrt/tchar/dirent.c: Ditto.
1895 * src/libcrt/wchar/mbsinit.c: Ditto.
1896 * src/libcrt/wchar/wcstof.c: Ditto.
1897 * src/libcrt/wchar/wcstold.c: Ditto.
1898 * src/libcrt/wchar/wmemchr.c: Ditto.
1899 * src/libcrt/wchar/wmemcmp.c: Ditto.
1900 * src/libcrt/wchar/wmemcpy.c: Ditto.
1901 * src/libcrt/wchar/wmemmove.c: Ditto.
1902 * src/libcrt/wchar/wmemset.c: Ditto.
1903 * src/libcrt/wctype/wctrans.c: Ditto.
1904 * src/libcrt/wctype/wctype.c: Ditto.
1905 * src/libgdiplus/gdiplus.c: Ditto.
1906 * src/liblargeint/largeint.c: Ditto.
1907 * src/libscrnsave/scrnsave.c: Ditto.
1908 * src/libuuid/ativscp-uuid.c: Ditto.
1909 * src/libuuid/cguid-uuid.c: Ditto.
1910 * src/libuuid/comcat-uuid.c: Ditto.
1911 * src/libuuid/devguid.c: Ditto.
1912 * src/libuuid/docobj-uuid.c: Ditto.
1913 * src/libuuid/exdisp-uuid.c: Ditto.
1914 * src/libuuid/extras-uuid.c: Ditto.
1915 * src/libuuid/hlguids-uuid.c: Ditto.
1916 * src/libuuid/hlink-uuid.c: Ditto.
1917 * src/libuuid/mlang-uuid.c: Ditto.
1918 * src/libuuid/mshtml-uuid.c: Ditto.
1919 * src/libuuid/msxml-uuid.c: Ditto.
1920 * src/libuuid/oaidl-uuid.c: Ditto.
1921 * src/libuuid/objidl-uuid.c: Ditto.
1922 * src/libuuid/objsafe-uuid.c: Ditto.
1923 * src/libuuid/ocidl-uuid.c: Ditto.
1924 * src/libuuid/oleacc-uuid.c: Ditto.
1925 * src/libuuid/olectlid-uuid.c: Ditto.
1926 * src/libuuid/oleidl-uuid.c: Ditto.
1927 * src/libuuid/power-uuid.c: Ditto.
1928 * src/libuuid/servprov-uuid.c: Ditto.
1929 * src/libuuid/shobjidl-uuid.c: Ditto.
1930 * src/libuuid/unknwn-uuid.c: Ditto.
1931 * src/libuuid/urlmon-uuid.c: Ditto.
1933 2012-09-06 Earnie Boyd <earnie@users.sourceforge.net>
1935 Miscellaneous changes discovered during manual audit.
1937 * src/libcrt/math/lgammal.c: Remove generated file preamble and move to
1938 misc/src/libcrt/math/.
1939 * src/libcrt/math/s_erf.c: Ditto.
1940 * src/libcrt/math/sf_erf.c: Ditto.
1941 * src/libcrt/math/tgammal.c: Ditto.
1942 * src/libcrt/stdio/pformat.c: Ditto.
1943 Define __MSVCRT_VERSION__ as 0x0800 before including headers.
1944 * src/libcrt/stdio/pformat.h: Move to src/libcrt/include.
1945 * src/libcrt/crt/test_headers.c: Move to tests/libcrt/.
1946 * src/libcrt/math/lround.c: New file.
1947 * src/libcrt/math/lroundf.c: Ditto.
1948 * src/libcrt/math/lroundl.c: Ditto.
1949 * src/libcrt/math/round.c: Ditto.
1950 * src/libcrt/math/roundf.c: Ditto.
1951 * src/libcrt/math/roundl.c: Ditto.
1952 * Makefile.in: Modify source directory for lgammal.c, s_erf.c, sf_erf.c
1954 Add lround.c, lroundf.c, lroundl.c, round.c, roundf.c and roundl.c.
1955 Remove lround_generic.c and round_generic.c.
1957 2012-09-06 Earnie Boyd <earnie@users.sourceforge.net>
1959 Manual resolution for LICENSE for files already containing a file
1960 preamble as appropriate.
1962 * include/adsprop.h: Remove the existing file preamble.
1963 * include/assert.h: Ditto.
1964 * include/cmnquery.h: Ditto.
1965 * include/complex.h: Ditto.
1966 * include/ddk/atm.h: Ditto.
1967 * include/ddk/batclass.h: Ditto.
1968 * include/ddk/d4iface.h: Ditto.
1969 * include/ddk/hidclass.h: Ditto.
1970 * include/ddk/hidsdi.h: Ditto.
1971 * include/ddk/hidusage.h: Ditto.
1972 * include/ddk/minitape.h: Ditto.
1973 * include/ddk/mountmgr.h: Ditto.
1974 * include/ddk/netevent.h: Ditto.
1975 * include/ddk/storport.h: Ditto.
1976 * include/ddk/usb.h: Ditto.
1977 * include/direct.h: Ditto.
1978 * include/directx/d3d9.h: Ditto.
1979 * include/directx/d3d9caps.h: Ditto.
1980 * include/directx/d3d9types.h: Ditto.
1981 * include/directx/dxerr8.h: Ditto.
1982 * include/directx/dxerr9.h: Ditto.
1983 * include/dirent.h: Ditto.
1984 * include/dsadmin.h: Ditto.
1985 * include/dsclient.h: Ditto.
1986 * include/dsgetdc.h: Ditto.
1987 * include/dsquery.h: Ditto.
1988 * include/dsrole.h: Ditto.
1989 * include/gdiplus.h: Ditto.
1990 * include/imagehlp.h: Ditto.
1991 * include/io.h: Ditto.
1992 * include/math.h: Ditto.
1993 * include/ntdsapi.h: Ditto.
1994 * include/ntdsbcli.h: Ditto.
1995 * include/objsel.h: Ditto.
1996 * include/psapi.h: Ditto.
1997 * include/rapi.h: Ditto.
1998 * include/routprot.h: Ditto.
1999 * include/rtutils.h: Ditto.
2000 * include/scrnsave.h: Ditto.
2001 * include/sdkddkver.h: Ditto.
2002 * include/setjmp.h: Ditto.
2003 * include/share.h: Ditto.
2004 * include/signal.h: Ditto.
2005 * include/snmp.h: Ditto.
2006 * include/stdio.h: Ditto.
2007 * include/stdlib.h: Ditto.
2008 * include/string.h: Ditto.
2009 * include/strings.h: Ditto.
2010 * include/sys/fcntl.h: Ditto.
2011 * include/sys/file.h: Ditto.
2012 * include/sys/locking.h: Ditto.
2013 * include/sys/param.h: Ditto.
2014 * include/sys/stat.h: Ditto.
2015 * include/sys/types.h: Ditto.
2016 * include/sys/utime.h: Ditto.
2017 * include/time.h: Ditto.
2018 * include/tlhelp32h: Ditto.
2019 * include/wchar.h: Ditto.
2020 * include/wctype.h: Ditto.
2021 * include/windows.h: Ditto.
2022 * include/ws2spi.h: Ditto.
2023 * include/wsipx.h: Ditto.
2024 * include/_mingw.h: Modify the existing file preamble for documentation.
2025 * include/conio.h: Ditto.
2026 * include/ctype.h: Ditto.
2027 * include/ddk/cfg.h: Ditto.
2028 * include/ddk/cfgmgr32.h: Ditto.
2029 * include/ddk/d4drvif.h: Ditto.
2030 * include/ddk/ddkmapi.h: Ditto.
2031 * include/ddk/hidpi.h: Ditto.
2032 * include/ddk/kbdmou.h: Ditto.
2033 * include/ddk/mcd.h: Ditto.
2034 * include/ddk/miniport.h: Ditto.
2035 * include/ddk/mountdev.h: Ditto.
2036 * include/ddk/ndis.h: Ditto.
2037 * include/ddk/ndisguid.h: Ditto.
2038 * include/ddk/ndistapi.h: Ditto.
2039 * include/ddk/ndiswan.h: Ditto.
2040 * include/ddk/netpnp.h: Ditto.
2041 * include/ddk/newdev.h: Ditto.
2042 * include/ddk/ntapi.h: Ditto.
2043 * include/ddk/ntdd8042.h: Ditto.
2044 * include/ddk/ntddbeep.h: Ditto.
2045 * include/ddk/ntddcdrm.h: Ditto.
2046 * include/ddk/ntddcdvd.h: Ditto.
2047 * include/ddk/ntddchgr.h: Ditto.
2048 * include/ddk/ntdddisk.h: Ditto.
2049 * include/ddk/ntddk.h: Ditto.
2050 * include/ddk/ntddkbd.h: Ditto.
2051 * include/ddk/ntddmou.h: Ditto.
2052 * include/ddk/ntddndis.h: Ditto.
2053 * include/ddk/ntddpar.h: Ditto.
2054 * include/ddk/ntddpcm.h: Ditto.
2055 * include/ddk/ntddscsi.h: Ditto.
2056 * include/ddk/ntddser.h: Ditto.
2057 * include/ddk/ntddstor.h: Ditto.
2058 * include/ddk/ntddtape.h: Ditto.
2059 * include/ddk/ntddtdi.h: Ditto.
2060 * include/ddk/ntddvdeo.h: Ditto.
2061 * include/ddk/ntddvol.h: Ditto.
2062 * include/ddk/ntifs.h: Ditto.
2063 * include/ddk/ntpoapi.h: Ditto.
2064 * include/ddk/ntstatus.h: Ditto.
2065 * include/ddk/parallel.h: Ditto.
2066 * include/ddk/pfhook.h: Ditto.
2067 * include/ddk/poclass.h: Ditto.
2068 * include/ddk/scsi.h: Ditto.
2069 * include/ddk/scsiscan.h: Ditto.
2070 * include/ddk/scsiwmi.h: Ditto.
2071 * include/ddk/smbus.h: Ditto.
2072 * include/ddk/srb.h: Ditto.
2073 * include/ddk/tdi.h: Ditto.
2074 * include/ddk/tdiinfo.h: Ditto.
2075 * include/ddk/tdikrnl.h: Ditto.
2076 * include/ddk/tdistat.h: Ditto.
2077 * include/ddk/tvout.h: Ditto.
2078 * include/ddk/upssvc.h: Ditto.
2079 * include/ddk/usb100.h: Ditto.
2080 * include/ddk/usbcamdi.h: Ditto.
2081 * include/ddk/usbdi.h: Ditto.
2082 * include/ddk/usbioctl.h: Ditto.
2083 * include/ddk/usbiodef.h: Ditto.
2084 * include/ddk/usbscan.h: Ditto.
2085 * include/ddk/usbuser.h: Ditto.
2086 * include/ddk/video.h: Ditto.
2087 * include/ddk/videoagp.h: Ditto.
2088 * include/ddk/win2k.h: Ditto.
2089 * include/ddk/winddi.h: Ditto.
2090 * include/ddk/winddk.h: Ditto.
2091 * include/ddk/winnt4.h: Ditto.
2092 * include/ddk/winxp.h: Ditto.
2093 * include/ddk/ws2san.h: Ditto.
2094 * include/ddk/xfilter.h: Ditto.
2095 * include/dir.h: Ditto.
2096 * include/dos.h: Ditto.
2097 * include/errno.h: Ditto.
2098 * include/excpt.h: Ditto.
2099 * include/fcntl.h: Ditto.
2100 * include/float.h: Ditto.
2101 * include/fltdefs.h: Ditto.
2102 * include/gdiplus/gdiplusbase.h: Ditto.
2103 * include/gdiplus/gdiplusbrush.h: Ditto.
2104 * include/gdiplus/gdipluscolor.h: Ditto.
2105 * include/gdiplus/gdipluscolormatrix.h: Ditto.
2106 * include/gdiplus/gdiplusenums.h: Ditto.
2107 * include/gdiplus/gdiplusflat.h: Ditto.
2108 * include/gdiplus/gdiplusgpstubs.h: Ditto.
2109 * include/gdiplus/gdiplusgraphics.h: Ditto.
2110 * include/gdiplus/gdiplusheaders.h: Ditto.
2111 * include/gdiplus/gdiplusimageattributes.h: Ditto.
2112 * include/gdiplus/gdiplusimagecodec.h: Ditto.
2113 * include/gdiplus/gdiplusimaging.h: Ditto.
2114 * include/gdiplus/gdiplusimpl.h: Ditto.
2115 * include/gdiplus/gdiplusinit.h: Ditto.
2116 * include/gdiplus/gdipluslinecaps.h: Ditto.
2117 * include/gdiplus/gdiplusmatrix.h: Ditto.
2118 * include/gdiplus/gdiplusmem.h: Ditto.
2119 * include/gdiplus/gdiplusmetafile.h: Ditto.
2120 * include/gdiplus/gdiplusmetaheader.h: Ditto.
2121 * include/gdiplus/gdipluspath.h: Ditto.
2122 * include/gdiplus/gdipluspen.h: Ditto.
2123 * include/gdiplus/gdipluspixelformats.h: Ditto.
2124 * include/gdiplus/gdiplusstringformat.h: Ditto.
2125 * include/gdiplus/gdiplustypes.h: Ditto.
2126 * include/getopt.h: Ditto.
2127 * include/httpext.h: Ditto.
2128 * include/ipifcons.h: Ditto.
2129 * include/ipinfoid.h: Ditto.
2130 * include/ipxconst.h: Ditto.
2131 * include/ipxrtdef.h: Ditto.
2132 * include/ipxtfflt.h: Ditto.
2133 * include/largeint.h: Ditto.
2134 * include/libgen.h: Ditto.
2135 * include/limits.h: Ditto.
2136 * include/locale.h: Ditto.
2137 * include/malloc.h: Ditto.
2138 * include/mbctype.h: Ditto.
2139 * include/mbstring.h: Ditto.
2140 * include/mem.h: Ditto.
2141 * include/memory.h: Ditto.
2142 * include/mgmtapi.h: Ditto.
2143 * include/mprapi.h: Ditto.
2144 * include/msacm.h: Ditto.
2145 * include/mswsock.h: Ditto.
2146 * include/ntldap.h: Ditto.
2147 * include/objbase.h: Ditto.
2148 * include/process.h: Ditto.
2149 * include/rpcproxy.h: Ditto.
2150 * include/stdint.h: Ditto.
2151 * include/sys/timeb.h: Ditto.
2152 * include/sys/unistd.h: Ditto.
2153 * include/tchar.h: Ditto.
2154 * include/unistd.h: Ditto.
2155 * include/winber.h: Ditto.
2156 * include/winldap.h: Ditto.
2157 * include/winsnmp.h: Ditto.
2158 * include/winsock.h: Ditto.
2159 * include/winsock2.h: Ditto.
2160 * include/ws2tcpip.h: Ditto.
2161 * include/zmouse.h: Ditto.
2162 * include/dir.h: Add warning for using an obsolete file.
2163 * include/inttypes.h: Modify white space.
2164 * include/richole.h: Ditto.
2165 * include/*: Reorder lines for common look and feel with regard to the
2166 file included guards.
2168 2012-09-05 Earnie Boyd <earnie@users.sourceforge.net>
2170 Apply LICENSE to all files as appropriate.
2172 * Makefile.in: Add file preamble.
2174 * config.h.in: Ditto.
2175 * configure.ac: Ditto.
2176 * include/*.h: Ditto.
2177 * include/ddk/*: Ditto.
2178 * include/directx/*: Ditto.
2179 * include/gdiplus/*: Ditto
2180 * src/libcrt/complex/*: Ditto.
2181 * src/libcrt/crt/*: Ditto.
2182 * src/libcrt/ctype/*: Ditto.
2183 * src/libcrt/fenv/*: Ditto.
2184 * src/libcrt/include/*: Ditto.
2185 * src/libcrt/inttypes/*: Ditto.
2186 * src/libcrt/math/*: Ditto.
2187 * src/libcrt/misc/*: Ditto.
2188 * src/libcrt/posix/*: Ditto.
2189 * src/libcrt/search/*: Ditto.
2190 * src/libcrt/stdio/*: Ditto.
2191 * src/libcrt/sys/time/*: Ditto.
2192 * src/libcrt/tchar/*: Ditto.
2193 * src/libcrt/wchar/*: Ditto.
2194 * src/libgdiplus/*: Ditto.
2195 * src/liblargeint/*: Ditto.
2196 * src/libscrnsave/*: Ditto.
2197 * src/libshell32/*: Ditto.
2198 * src/libuuid/*: Ditto.
2199 * src/libws2_32/*: Ditto.
2200 * tests/TODO: Add an item to review the tests files for LICENSE
2203 2012-09-05 Earnie Boyd <earnie@users.sourceforge.net>
2205 Segregate source that cannot take on the MinGW.org LICENSE.
2207 * Makefile.in: Make changes based on moved files.
2208 * gpl/*: Move to misc/gpl/*.
2209 * include/GL/*: Move to misc/include/GL/*.
2210 * include/profile.h: Move to misc/include/profile.h.
2211 * src/libcrt/math/cephes_mconf.h: Move to
2212 misc/src/include/cephes_mconf.h.
2213 * src/libcrt/include/gdtoa.h: Move to misc/src/include/gdtoa.h.
2214 * src/libcrt/gdtoa/*: Move to misc/src/libcrt/gdtoa/*.
2215 * src/libcrt/math/cbrt.c: Move to misc/src/libcrt/math/cbrt.c.
2216 * src/libcrt/math/cbrtf.c: Move to misc/src/libcrt/math/cbrtf.c.
2217 * src/libcrt/math/cbrtl.c: Move to misc/src/libcrt/math/cbrtl.c.
2218 * src/libcrt/math/coshl.c: Move to misc/src/libcrt/math/coshl.c.
2219 * src/libcrt/math/erfl.c: Move to misc/src/libcrt/math/erfl.c.
2220 * src/libcrt/math/frexpl.S: Move to misc/src/libcrt/math/frexpl.S.
2221 * src/libcrt/math/hypotl.c: Move to misc/src/libcrt/math/hypotl.c.
2222 * src/libcrt/math/lgamma.c: Move to misc/src/libcrt/math/lgamma.c.
2223 * src/libcrt/math/lgammaf.c: Move to misc/src/libcrt/math/lgammaf.c.
2224 * src/libcrt/math/pow.c: Move to misc/src/libcrt/math/pow.c.
2225 * src/libcrt/math/powi.c: Move to misc/src/libcrt/math/powi.c.
2226 * src/libcrt/math/powif.c: Move to misc/src/libcrt/math/powif.c.
2227 * src/libcrt/math/powil.c: Move to misc/src/libcrt/math/powil.c.
2228 * src/libcrt/math/powl.c: Move to misc/src/libcrt/math/powl.c.
2229 * src/libcrt/math/sinhl.c: Move to misc/src/libcrt/math/sinhl.c.
2230 * src/libcrt/math/tanhl.c: Move to misc/src/libcrt/math/tanhl.c.
2231 * src/libcrt/math/tgamma.c: Move to misc/src/libcrt/math/tgamma.c.
2232 * src/libcrt/math/tgammaf.c: Move to misc/src/libcrt/math/tgammaf.c.
2233 * src/libcrt/profile/*: Move to misc/src/libcrt/profile/*.
2234 * src/libcrt/libdinput/*: Move to misc/src/libcrt/libdinput/*.
2235 * src/libcrt/libdmoguids/*: Move to misc/src/libcrt/libdmoguids/*.
2236 * src/libcrt/libdxerr8/*: Move to misc/src/libcrt/libdxerr8/*.
2237 * src/libcrt/libdxerr9/*: Move to misc/src/libcrt/libdxerr9/*.
2238 * src/libcrt/libdxguid/*: Move to misc/src/libcrt/libdxguid/*.
2239 * src/libcrt/libksuser/*: Move to misc/src/libcrt/libksuser/*.
2240 * src/libcrt/libstrmiids/*: Move to misc/src/libcrt/libstrmiids/*.
2242 2012-09-04 Earnie Boyd <earnie@users.sourceforge.net>
2244 More on assuming GCC is greater than or equal to version 3.5.4 and that
2245 GCC is the only compiler to be used for MinGW.org.
2247 * src/libcrt/math/cephes_mconf.h: Remove unneeded filters based on the
2249 * include/_mingw.h: Fix typo.
2251 2012-09-04 Earnie Boyd <earnie@users.sourceforge.net>
2253 More on assuming GCC is greater than or equal to version 3.5.4 and that
2254 GCC is the only compiler to be used for MinGW.org.
2256 * include/pbt.h: Remove unneeded filters based on the assumptions.
2257 * include/powrprof.h: Ditto.
2258 * include/prsht.h: Ditto.
2259 * include/psapi.h: Ditto.
2260 * include/qedit.h: Ditto.
2261 * include/rapi.h: Ditto.
2262 * include/ras.h: Ditto.
2263 * include/rasdlg.h: Ditto.
2264 * include/raserror.h: Ditto.
2265 * include/rassapi.h: Ditto.
2266 * include/reason.h: Ditto.
2267 * include/regstr.h: Ditto.
2268 * include/richedit.h: Ditto.
2269 * include/richole.h: Ditto.
2270 * include/oleidl.h: Ditto.
2271 * include/oledlg.h: Ditto.
2272 * include/olectlid.h: Ditto.
2273 * include/olectl.h: Ditto.
2274 * include/oleauto.h: Ditto.
2275 * include/oleacc.h: Ditto.
2276 * include/ole2ver.h: Ditto.
2277 * include/ole2.h: Ditto.
2278 * include/ole.h: Ditto.
2279 * include/odbcinst.h: Ditto.
2280 * include/ocidl.h: Ditto.
2281 * include/objsel.h: Ditto.
2282 * include/objsafe.h: Ditto.
2283 * include/objidl.h: Ditto.
2284 * include/objfwd.h: Ditto.
2285 * include/objbase.h: Ditto.
2286 * include/oaidl.h: Ditto.
2287 * include/ntsecpkg.h: Ditto.
2288 * include/ntsecapi.h: Ditto.
2289 * include/ntldap.h: Ditto.
2290 * include/ntdsbcli.h: Ditto.
2291 * include/ntdll.h: Ditto.
2292 * include/ntdef.h: Ditto.
2293 * include/nspapi.h: Ditto.
2294 * include/nddeapi.h: Ditto.
2295 * include/nb30.h: Ditto.
2296 * include/mswsock.h: Ditto.
2297 * include/mshtml.h: Ditto.
2298 * include/msacm.h: Ditto.
2299 * include/mq.h: Ditto.
2300 * include/mprapi.h: Ditto.
2301 * include/mpegtype.h: Ditto.
2302 * include/mmsystem.h: Ditto.
2303 * include/mmreg.h: Ditto.
2304 * include/mlang.h: Ditto.
2305 * include/mgmtapi.h: Ditto.
2306 * include/mgm.h: Ditto.
2307 * include/mcx.h: Ditto.
2308 * include/mciavi.h: Ditto.
2309 * include/math.h: Ditto.
2310 * include/mapi.h: Ditto.
2311 * include/lzexpand.h: Ditto.
2312 * include/lmwksta.h: Ditto.
2313 * include/lmuseflg.h: Ditto.
2314 * include/lmuse.h: Ditto.
2315 * include/lmsvc.h: Ditto.
2316 * include/lmstats.h: Ditto.
2317 * include/lmsname.h: Ditto.
2318 * include/lmshare.h: Ditto.
2319 * include/lmserver.h: Ditto.
2320 * include/lmrepl.h: Ditto.
2321 * include/lmremutl.h: Ditto.
2322 * include/lmmsg.h: Ditto.
2323 * include/lmerrlog.h: Ditto.
2324 * include/lmerr.h: Ditto.
2325 * include/lmcons.h: Ditto.
2326 * include/lmconfig.h: Ditto.
2327 * include/lmchdev.h: Ditto.
2328 * include/lmbrowsr.h: Ditto.
2329 * include/lmaudit.h: Ditto.
2330 * include/lmat.h: Ditto.
2331 * include/lmapibug.h: Ditto.
2332 * include/lmalert.h: Ditto.
2333 * include/lmaccess.h: Ditto.
2334 * include/lm.h: Ditto.
2335 * include/largeint.h: Ditto.
2336 * include/ksmedia.h: Ditto.
2337 * include/ks.h: Ditto.
2338 * include/isguids.h: Ditto.
2339 * include/ipxtfflt.h: Ditto.
2340 * include/ipxrtdef.h: Ditto.
2341 * include/ipxconst.h: Ditto.
2342 * include/iptypes.h: Ditto.
2343 * include/iprtrmib.h: Ditto.
2344 * include/ipinfoid.h: Ditto.
2345 * include/ipifcons.h: Ditto.
2346 * include/iphlpapi.h: Ditto.
2347 * include/ipexport.h: Ditto.
2348 * include/intshcut.h: Ditto.
2349 * include/initguid.h: Ditto.
2350 * include/imm.h: Ditto.
2351 * include/imagehlp.h: Ditto.
2352 * include/il21dec.h: Ditto.
2353 * include/idispids.h: Ditto.
2354 * include/icm.h: Ditto.
2355 * include/httpext.h: Ditto.
2356 * include/GL/glu.h: Ditto.
2357 * include/gdiplus/gdiplustypes.h: Ditto.
2358 * include/gdiplus/gdiplusstringformat.h: Ditto.
2359 * include/gdiplus/gdipluspixelformats.h: Ditto.
2360 * include/gdiplus/gdipluspen.h: Ditto.
2361 * include/gdiplus/gdipluspath.h: Ditto.
2362 * include/gdiplus/gdiplusmetaheader.h: Ditto.
2363 * include/gdiplus/gdiplusmetafile.h: Ditto.
2364 * include/gdiplus/gdiplusmem.h: Ditto.
2365 * include/gdiplus/gdiplusmatrix.h: Ditto.
2366 * include/gdiplus/gdipluslinecaps.h: Ditto.
2367 * include/gdiplus/gdiplusinit.h: Ditto.
2368 * include/gdiplus/gdiplusimpl.h: Ditto.
2369 * include/gdiplus/gdiplusimaging.h: Ditto.
2370 * include/gdiplus/gdiplusimagecodec.h: Ditto.
2371 * include/gdiplus/gdiplusimageattributes.h: Ditto.
2372 * include/gdiplus/gdiplusheaders.h: Ditto.
2373 * include/gdiplus/gdiplusgraphics.h: Ditto.
2374 * include/gdiplus/gdiplusgpstubs.h: Ditto.
2375 * include/gdiplus/gdiplusflat.h: Ditto.
2376 * include/gdiplus/gdiplusenums.h: Ditto.
2377 * include/gdiplus/gdipluseffects.h: Ditto.
2378 * include/gdiplus/gdipluscolormatrix.h: Ditto.
2379 * include/gdiplus/gdipluscolor.h: Ditto.
2380 * include/gdiplus/gdiplusbrush.h: Ditto.
2381 * include/gdiplus/gdiplusbase.h: Ditto.
2382 * include/gdiplus/gdiplus.h: Ditto.
2383 * include/fltdefs.h: Ditto.
2384 * include/exdispid.h: Ditto.
2385 * include/exdisp.h: Ditto.
2386 * include/evcode.h: Ditto.
2387 * include/errors.h: Ditto.
2388 * include/errorrep.h: Ditto.
2389 * include/edevdefs.h: Ditto.
2390 * include/dvdmedia.h: Ditto.
2391 * include/dvdevcod.h: Ditto.
2392 * include/dsrole.h: Ditto.
2393 * include/dsquery.h: Ditto.
2394 * include/dshow.h: Ditto.
2395 * include/dsgetdc.h: Ditto.
2396 * include/dsclient.h: Ditto.
2397 * include/dsadmin.h: Ditto.
2398 * include/docobj.h: Ditto.
2399 * include/dlgs.h: Ditto.
2400 * include/directx/dxerr9.h: Ditto.
2401 * include/directx/dxerr8.h: Ditto.
2402 * include/directx/d3d9types.h: Ditto.
2403 * include/directx/d3d9caps.h: Ditto.
2404 * include/directx/d3d9.h: Ditto.
2405 * include/dhcpcsdk.h: Ditto.
2406 * include/devguid.h: Ditto.
2407 * include/ddk/xfilter.h: Ditto.
2408 * include/ddk/ws2san.h: Ditto.
2409 * include/ddk/winnt4.h: Ditto.
2410 * include/ddk/winddk.h: Ditto.
2411 * include/ddk/winddi.h: Ditto.
2412 * include/ddk/win2k.h: Ditto.
2413 * include/ddk/videoagp.h: Ditto.
2414 * include/ddk/video.h: Ditto.
2415 * include/ddk/usbuser.h: Ditto.
2416 * include/ddk/usbscan.h: Ditto.
2417 * include/ddk/usbiodef.h: Ditto.
2418 * include/ddk/usbioctl.h: Ditto.
2419 * include/ddk/usbdi.h: Ditto.
2420 * include/ddk/usbcamdi.h: Ditto.
2421 * include/ddk/usb100.h: Ditto.
2422 * include/ddk/usb.h: Ditto.
2423 * include/ddk/upssvc.h: Ditto.
2424 * include/ddk/tvout.h: Ditto.
2425 * include/ddk/tdistat.h: Ditto.
2426 * include/ddk/tdikrnl.h: Ditto.
2427 * include/ddk/tdiinfo.h: Ditto.
2428 * include/ddk/tdi.h: Ditto.
2429 * include/ddk/storport.h: Ditto.
2430 * include/ddk/srb.h: Ditto.
2431 * include/ddk/smbus.h: Ditto.
2432 * include/ddk/scsiwmi.h: Ditto.
2433 * include/ddk/scsiscan.h: Ditto.
2434 * include/ddk/scsi.h: Ditto.
2435 * include/ddk/poclass.h: Ditto.
2436 * include/ddk/pfhook.h: Ditto.
2437 * include/ddk/parallel.h: Ditto.
2438 * include/ddk/ntstatus.h: Ditto.
2439 * include/ddk/ntpoapi.h: Ditto.
2440 * include/ddk/ntifs.h: Ditto.
2441 * include/ddk/ntddvol.h: Ditto.
2442 * include/ddk/ntddvideo.h: Ditto.
2443 * include/ddk/ntddtdi.h: Ditto.
2444 * include/ddk/ntddtape.h: Ditto.
2445 * include/ddk/ntddstor.h: Ditto.
2446 * include/ddk/ntddser.h: Ditto.
2447 * include/ddk/ntddscsi.h: Ditto.
2448 * include/ddk/ntddpcm.h: Ditto.
2449 * include/ddk/ntddpar.h: Ditto.
2450 * include/ddk/ntddndis.h: Ditto.
2451 * include/ddk/ntddmou.h: Ditto.
2452 * include/ddk/ntddkbd.h: Ditto.
2453 * include/ddk/ntdddk.h: Ditto.
2454 * include/ddk/ntdddisk.h: Ditto.
2455 * include/ddk/ntddchgr.h: Ditto.
2456 * include/ddk/ntddcdvd.h: Ditto.
2457 * include/ddk/ntddcdrm.h: Ditto.
2458 * include/ddk/ntddbeep.h: Ditto.
2459 * include/ddk/ntdd8042.h: Ditto.
2460 * include/ddk/ntapi.h: Ditto.
2461 * include/ddk/atm.h: Ditto.
2462 * include/ddk/batclass.h: Ditto.
2463 * include/ddk/cfg.h: Ditto.
2464 * include/ddk/cfgmgr32.h: Ditto.
2465 * include/ddk/d4drvif.h: Ditto.
2466 * include/ddk/d4iface.h: Ditto.
2467 * include/ddk/ddkmapi.h: Ditto.
2468 * include/ddk/hidclass.h: Ditto.
2469 * include/ddk/hidpi.h: Ditto.
2470 * include/ddk/hidsdi.h: Ditto.
2471 * include/ddk/hidusage.h: Ditto.
2472 * include/ddk/mcd.h: Ditto.
2473 * include/ddk/miniport.h: Ditto.
2474 * include/ddk/minitape.h: Ditto.
2475 * include/ddk/mountdev.h: Ditto.
2476 * include/ddk/mountmgr.h: Ditto.
2477 * include/ddk/ndis.h: Ditto.
2478 * include/ddk/ndisguid.h: Ditto.
2479 * include/ddk/ndistapi.h: Ditto.
2480 * include/ddk/ndiswan.h: Ditto.
2481 * include/ddk/netevent.h: Ditto.
2482 * include/ddk/netpnp.h: Ditto.
2483 * include/ddk/newdev.h: Ditto.
2484 * include/basetyps.h: Ditto.
2485 * include/bdatypes.h: Ditto.
2486 * include/cderr.h: Ditto.
2487 * include/cguid.h: Ditto.
2488 * include/cmnquery.h: Ditto.
2489 * include/comcat.h: Ditto.
2490 * include/commctrl.h: Ditto.
2491 * include/commdlg.h: Ditto.
2492 * include/control.h: Ditto.
2493 * include/cpl.h: Ditto.
2494 * include/cplext.h: Ditto.
2495 * include/custcntl.h: Ditto.
2496 * include/dbt.h: Ditto.
2497 * include/dde.h: Ditto.
2498 * include/ddeml.h: Ditto.
2499 * include/mq.h: Remove CTRL-M from line endings.
2500 * include/gdiplus/gdiplustypes.h: Ditto.
2501 * include/gdiplus/gdiplusstringformat.h: Ditto.
2502 * include/gdiplus/gdipluspen.h: Ditto.
2503 * include/gdiplus/gdipluspath.h: Ditto.
2504 * include/gdiplus/gdiplusmetaheader.h: Ditto.
2505 * include/gdiplus/gdiplusmetafile.h: Ditto.
2506 * include/gdiplus/gdiplusmem.h: Ditto.
2507 * include/gdiplus/gdiplusmatrix.h: Ditto.
2508 * include/gdiplus/gdipluslinecaps.h: Ditto.
2509 * include/gdiplus/gdiplusinit.h: Ditto.
2510 * include/gdiplus/gdiplusimpl.h: Ditto.
2511 * include/gdiplus/gdiplusimaging.h: Ditto.
2512 * include/gdiplus/gdiplusimagecodec.h: Ditto.
2513 * include/gdiplus/gdiplusimageattributes.h: Ditto.
2514 * include/gdiplus/gdiplusheaders.h: Ditto.
2515 * include/gdiplus/gdiplusgraphics.h: Ditto.
2516 * include/gdiplus/gdiplusgpstubs.h: Ditto.
2517 * include/gdiplus/gdiplusflat.h: Ditto.
2518 * include/gdiplus/gdiplusenums.h: Ditto.
2519 * include/gdiplus/gdipluseffects.h: Ditto.
2520 * include/gdiplus/gdipluscolormatrix.h: Ditto.
2521 * include/gdiplus/gdipluscolor.h: Ditto.
2522 * include/gdiplus/gdiplusbrush.h: Ditto.
2523 * include/gdiplus/gdiplusbase.h: Ditto.
2524 * include/gdiplus/gdiplus.h: Ditto.
2526 2012-09-01 Earnie Boyd <earnie@users.sourceforge.net>
2528 More on assuming GCC is greater than or equal to version 3.5.4 and that
2529 GCC is the only compiler to be used for MinGW.org.
2531 * include/routprot.h: Remove unneeded filters based on the assumptions.
2532 * include/rpc.h: Ditto.
2533 * include/rpcdce.h: Ditto.
2534 * include/rpcdce2.h: Ditto.
2535 * include/rpcdcep.h: Ditto.
2536 * include/rpcndr.h: Ditto.
2537 * include/rpcnsi.h: Ditto.
2538 * include/rpcnsip.h: Ditto.
2539 * include/rpcnterr.h: Ditto.
2540 * include/rpcproxy.h: Ditto.
2541 * include/rpcutils.h: Ditto.
2542 * include/schannel.h: Ditto.
2543 * include/schnlsp.h: Ditto.
2544 * include/scrnsave.h: Ditto.
2545 * include/sddl.h: Ditto.
2546 * include/secext.h: Ditto.
2547 * include/security.h: Ditto.
2548 * include/servprov.h: Ditto.
2549 * include/setupapi.h: Ditto.
2550 * include/shell.api.h: Ditto.
2551 * include/shldisp.h: Ditto.
2552 * include/shlguid.h: Ditto.
2553 * include/shlobj.h: Ditto.
2554 * include/shlwapi.h: Ditto.
2555 * include/shobjidl.h: Ditto.
2556 * include/snmp.h: Ditto.
2557 * include/specstrings.h: Ditto.
2558 * include/sql.h: Ditto.
2559 * include/sqlext.h: Ditto.
2560 * include/sqltypes.h: Ditto.
2561 * include/sqlucode.h: Ditto.
2562 * include/sspi.h: Ditto.
2563 * include/stm.h: Ditto.
2564 * include/strmif.h: Ditto.
2565 * include/subauth.h: Ditto.
2566 * include/svcguid.h: Ditto.
2567 * include/tlhelp32.h: Ditto.
2568 * include/tmschema.h: Ditto.
2569 * include/unknwn.h: Ditto.
2571 2012-08-31 Earnie Boyd <earnie@users.sourceforge.net>
2573 More on assuming GCC is greater than or equal to version 3.5.4 and that
2574 GCC is the only compiler to be used for MinGW.org.
2576 * include/winnt.h: Remove unneeded filters based on the assumptions.
2577 (_SYSTEM_POWER_INFORMATION): Introduce filter for _WIN32_WINNT >=
2579 * include/winperf.h: Remove unneeded filters based on the assumptions.
2580 * include/winreg.h: Ditto.
2581 * include/winresrc.h: Ditto.
2582 * include/winsnmp.h: Ditto.
2583 * include/winsock.h: Ditto.
2584 * include/winsock2.h: Ditto.
2585 * include/winspool.h: Ditto.
2586 * include/winsvc.h: Ditto.
2587 * include/winuser.h: Ditto.
2588 * include/winver.h: Ditto.
2589 * include/ws2spi.h: Ditto.
2590 * include/ws2tcpip.h: Ditto.
2591 * include/wsahelp.h: Ditto.
2592 * include/wsipx.h: Ditto.
2593 * include/wsnetbs.h: Ditto.
2594 * include/wingdi.h: Ditto.
2595 * include/wininet.h: Ditto.
2596 * include/winocotl.h: Ditto.
2597 * include/winldap.h:Ditto.
2598 * include/winnls.h: Ditto.
2599 * include/userenv.h: Ditto.
2600 * include/usp10.h: Ditto.
2601 * include/uxtheme.h: Ditto.
2602 * include/vidcap.h: Ditto.
2603 * include/vmr9.h: Ditto.
2604 * include/vptype.h: Ditto.
2605 * include/w32api.h: Ditto.
2606 * include/winable.h: Ditto.
2607 * include/winbase.h: Ditto.
2608 * include/winber.h: Ditto.
2609 * include/wincon.h: Ditto.
2610 * include/wincrypt.h: Ditto.
2611 * include/windef.h: Ditto.
2612 * include/windns.h: Ditto.
2613 * include/windows.h: Ditto.
2614 * include/windowsx.h: Ditto.
2615 * include/winerror.h: Ditto.
2616 * include/wchar.h: Ditto. Add GCC system_header pragma.
2617 * include/_mingw.h: Give an error if __GNUC__ isn't defined or isn't >=
2620 2012-08-28 Earnie Boyd <earnie@users.sourceforge.net>
2622 We are going to assume that MinGW is using GCC version greater than or
2623 equal to 3.5.4 and remove any filters related to earlier versions. We
2624 are also going to remove any possibility of using a compiler other than
2627 * include/_mingw.h: Remove filters for __GNUC__ >=3, remove the
2628 possibility of using a compiler other than GCC and remove any other
2630 * include/acccrtl.h: Ditto.
2631 * include/aclapi.h: Ditto.
2632 * include/aclui.h: Ditto.
2633 * include/adsprop.h: Ditto.
2634 * include/afxres.h: Ditto.
2635 * include/amaudio.h: Ditto.
2636 * include/amvideo.h: Ditto.
2637 * include/audevcod.h: Ditto.
2638 * include/aygshell.h: Ditto.
2639 * include/basetsd.h: Ditto.
2640 * include/wtsapi32.h: Ditto.
2641 * include/wtypes.h: Ditto.
2642 * include/xprtdefs.h: Ditto.
2643 * include/zmouse.h: Ditto.
2644 * include/aviriff.h: Ditto.
2645 * src/libcrt/crt/CRT_fp10.c: Ditto.
2646 * src/libcrt/crt/CRT_fp8.c: Ditto.
2647 * src/libcrt/crt/dllcrt1.c: Ditto.
2648 * src/libcrt/crt/pseudo-reloc.c: Ditto.
2650 2012-08-23 Earnie Boyd <earnie@users.sourceforge.net>
2652 * configure.ac: Set AC_CONFIG_AUX_DIR, AC_PREFIX_DEFAULT and call
2653 AC_CANONICAL_SYSTEM.
2654 * .gitmodules: New file.
2655 * build-aux: New submodule.
2657 2012-08-20 Earnie Boyd <earnie@users.sourceforge.net>
2659 * Makefile.in (check): Add target.
2660 (install-wsl-dirs): Ditto.
2661 (install-wsl): Ditto.
2663 (_dist-wsl-all_): Ditto.
2664 (dist-wsl-mkdir): Ditto.
2665 (dist-wsl-install): Ditto.
2666 (dist-wsl-dll): Ditto.
2667 (dist-wsl-dev): Ditto.
2668 (dist-wsl-lic): Ditto.
2669 (dist-wsl-doc): Ditto.
2670 (dist-wsl-src): Ditto.
2671 (dist-mingwrt-dll): Correct typo.
2672 (libmingwex_a_SOURCES): Ditto.
2673 (DLLTOOL_FLAGS): Remove -U.
2674 (libmoldname%.a): New target.
2675 (clean): Using find was not a good idea.
2676 Step into tests subdirectory and execute the same target.
2677 (distclean): Add removal of dist/ directory.
2678 Step into tests subdirectory and execute the same target.
2679 * configure.ac (tests/Makefile): Add to AC_CONFIG_FILES.
2682 * include/profile.h: Ditto.
2687 2012-08-19 Earnie Boyd <earnie@users.sourceforge.net>
2689 Needed to be able to make dist-mingwrt and dist-w32api to create these
2690 packages individually. Eventually we also need dist-wsl target to
2691 create a package named mingw.org-wsl.
2693 * include/_mingw.h (__MINGW_VERSION): Correct typo.
2694 (__MINGW_MAJOR_VERSION): Ditto.
2695 * include/w32api.h: Add deprecated file warning.
2696 * Makefile.in: Throughout, add and correct targets for building
2697 distributed mingwrt and w32api packages.
2698 (PACKAGE_VERSION): Add configured variable.
2699 (PACKAGE_RELEASE): Ditto.
2700 (winapi_DDK_DEF): New variable.
2701 (winapi_DIRECTX_DEF): Ditto.
2702 (winapi_DIRECTX_DINPUT_DEF): Ditto.
2703 (winapi_lib_DDK_LIBRARIES): Ditto.
2704 (winapi_lib_DIRECTX_LIBRARIES): Ditto.
2705 (winapi_lib_DIRECTX_INPUT_LIBRARIES): Ditto.
2706 (libdmoguids_a_SOURCES): Ditto.
2707 (libdmoguids_a_OBJECTS): Ditto.
2708 (libdxguid_a_SOURCES): Ditto.
2709 (libdxguid_a_OBJECTS): Ditto.
2710 (libstrmiids_a_SOURCES): Ditto.
2711 (libstrmiids_a_OBJECTS): Ditto.
2712 (complex_SOURCES): Ditto.
2713 (libdinput_a_SOURCES): Ditto.
2714 (libdinput_a_OBJECTS): Ditto.
2715 (libdxerr8_a_SOURCES): Ditto.
2716 (libdxerr8_a_OBJECTS): Ditto.
2717 (libdxerr9_a_SOURCES): Ditto.
2718 (libdxerr9_a_OBJECTS): Ditto.
2719 (mingwrt_bin_LIBRARIES): Ditto.
2720 (mingwrt_lib_LIBRARIES): Ditto.
2721 (mingwrt_lib_INCLUDES): Ditto.
2722 (mingwrt_lib_SYS_INCLUDES): Ditto.
2723 (w32api_lib_INCLUDES): Ditto.
2724 (w32api_lib_DDK_INCLUDES): Ditto.
2725 (w32api_lib_GDIPLUS_INCLUDES): Ditto.
2726 (w32api_lib_GL_INCLUDES): Ditto
2727 (w32api_lib_DIRECTX_INCLUDES): Ditto.
2728 (w32api_lib_LIBRARIES): Ditto.
2729 (winapi_lib_EXTRA_LIBRARIES): Add libdmoguids.a, libdxguid.a and
2731 (lib_LIBRARIES): Add winapi_lib_DDK_LIBRARIES,
2732 winapi_lib_DIRECTX_LIBRARIES and winapi_lib_DIRECTX_DINPUT_LIBRARIES.
2733 (ALL_SOURCES): Add libdinput_a_SOURCES, libdxerr8_a_SOURCES and
2734 libdxerr9_a_SOURCES.
2735 (winapi_lib_DDK_LIBRARIES): New target.
2736 (winapi_lib_DIRECTX_LIBRARIES): Ditto.
2742 (libdinput.a): Ditto.
2743 (libdinput8.a): Ditto.
2744 (libdinput_a_OBJECTS): Ditto.
2745 (libdmoguids_a_OBJECTS): Ditto.
2746 (libdxguid_a_OBJECTS): Ditto.
2747 (libstrmiids_a_OBJECTS): Ditto.
2748 (libdxerr8.a): Ditto.
2749 (libdxerr9.a): Ditto.
2750 (libmoguids.a): Ditto.
2751 (libdxguid.a): Ditto.
2752 (libstrmiids.a): Ditto.
2753 (install-mingwrt-dirs): Ditto.
2754 (install-mingwrt): Ditto.
2756 (dist-mingwrt): Ditto.
2757 (_dist-mingwrt-all_): Ditto.
2758 (dist-mingwrt-mkdir): Ditto.
2759 (dist-mingwrt-install): Ditto.
2760 (dist-mingwrt-dll): Ditto.
2761 (dist-mingwrt-dev): Ditto.
2762 ($(DESTDIR)$(prefix)/share/doc/mingwrt/DISCLAIMER): Ditto
2763 (dist-mingwrt-lic): Ditto.
2764 (dist-mingwrt-doc): Ditto.
2765 (dist-mingwrt-src): Ditto.
2766 (install-w32api-dirs): Ditto.
2767 (install-w32api): Ditto.
2768 (dist-w32api): Ditto.
2769 (_dist-w32api-all_): Ditto.
2770 (dist-w32api-mkdir): Ditto.
2771 (dist-w32api-install): Ditto.
2772 (dist-w32api-dev): Ditto.
2773 (dist-w32api-lic): Ditto.
2774 (dist-w32api-doc): Ditto.
2775 (dist-w32api-src): Ditto.
2776 (install-docs): Correct cp action.
2777 (libmingex.a): Correct dependencies.
2778 * configure.ac (AC_INIT): Correct the version.
2780 2012-08-14 Earnie Boyd <earnie@users.sourceforge.net>
2782 * Makefile.in: New file.
2783 * configure.ac: Ditto.
2784 * config.h.in: Ditto.
2785 * .gitignore: Add install-sh.
2787 2012-08-13 Earnie Boyd <earnie@users.sourceforge.net>
2789 * .gitignore (Makefile.in): Remove entry.
2792 2012-08-12 Earnie Boyd <earnie@users.sourceforge.net>
2794 * include/CVS/*: Remove accidentally added CVS directories.
2795 * .gitignore (*.log): Ignore all .log file types.
2797 2012-08-11 Earnie Boyd <earnie@users.sourceforge.net>
2799 * include/*: Add combined winsup/mingw and winsup/w32api include files.
2801 2012-08-08 Earnie Boyd <earnie@users.sourceforge.net>
2803 * ChangeLog: New file.
2806 * .gitignore: Ditto.