reactos.git
8 years ago* Sync to trunk HEAD (r53318).
Amine Khaldi [Fri, 19 Aug 2011 17:45:34 +0000 (17:45 +0000)]
* Sync to trunk HEAD (r53318).
* Fix PCH use in shell32.

svn path=/branches/shell32_new-bringup/; revision=53319

8 years ago[PNPMGR]
Cameron Gutman [Fri, 19 Aug 2011 03:56:28 +0000 (03:56 +0000)]
[PNPMGR]
- Fix multiple REG_MULTI_SZ termination issues
- HardwareID is a REG_MULTI_SZ entry not REG_SZ

svn path=/trunk/; revision=53312

8 years ago[NTDLL/LDR]
Aleksey Bragin [Thu, 18 Aug 2011 22:06:27 +0000 (22:06 +0000)]
[NTDLL/LDR]
- Initialize image-specific options.
- Close options key if it was opened in LdrpInitializeProcess().

svn path=/trunk/; revision=53311

8 years ago- Revert r53305 because Windows unprotects pages this way
Cameron Gutman [Thu, 18 Aug 2011 19:50:19 +0000 (19:50 +0000)]
- Revert r53305 because Windows unprotects pages this way

svn path=/trunk/; revision=53306

8 years ago[NTOSKRNL]
Cameron Gutman [Thu, 18 Aug 2011 19:36:40 +0000 (19:36 +0000)]
[NTOSKRNL]
- Specify a valid number of pages to unprotect

svn path=/trunk/; revision=53305

8 years ago[NTOSKRNL]
Cameron Gutman [Thu, 18 Aug 2011 18:35:03 +0000 (18:35 +0000)]
[NTOSKRNL]
- Implement a special case copy-in for IRP_MN_FILTER_RESOURCE_REQUIREMENTS to prevent NULL pointer access in function drivers

svn path=/trunk/; revision=53304

8 years ago- Swap the failure cases
Cameron Gutman [Thu, 18 Aug 2011 18:13:52 +0000 (18:13 +0000)]
- Swap the failure cases
- Missed change from r53301

svn path=/trunk/; revision=53303

8 years ago[NTOSKRNL]
Cameron Gutman [Thu, 18 Aug 2011 18:06:07 +0000 (18:06 +0000)]
[NTOSKRNL]
- Fix a typo in a remove lock timeout check
- Fixes breaking into kdbg randomly when a caller specifies no timeout on their remove lock

svn path=/trunk/; revision=53302

8 years ago[NTOSKRNL]
Cameron Gutman [Thu, 18 Aug 2011 17:32:26 +0000 (17:32 +0000)]
[NTOSKRNL]
- Return an informational success status if the device interface already exists

svn path=/trunk/; revision=53301

8 years ago[ACPI]
Cameron Gutman [Thu, 18 Aug 2011 17:13:38 +0000 (17:13 +0000)]
[ACPI]
- Don't try to start an interface that wasn't registered

svn path=/trunk/; revision=53300

8 years ago[NTOSKRNL]
Cameron Gutman [Thu, 18 Aug 2011 00:33:19 +0000 (00:33 +0000)]
[NTOSKRNL]
- Handle NULL device relations better

svn path=/trunk/; revision=53292

8 years ago[NTOSKRNL]
Cameron Gutman [Thu, 18 Aug 2011 00:25:38 +0000 (00:25 +0000)]
[NTOSKRNL]
- Print the status returned when an IRP_MN_START_DEVICE request fails

svn path=/trunk/; revision=53291

8 years ago[NTOSKRNL]
Cameron Gutman [Thu, 18 Aug 2011 00:04:49 +0000 (00:04 +0000)]
[NTOSKRNL]
- Uncomment a device node traversal check

svn path=/trunk/; revision=53290

8 years ago[NTOSKRNL]
Cameron Gutman [Wed, 17 Aug 2011 23:56:40 +0000 (23:56 +0000)]
[NTOSKRNL]
- Prevent duplicate processing of device objects when bus relations are invalidated multiple times for the bus PDO

svn path=/trunk/; revision=53289

8 years ago[CSRSRV]
Amine Khaldi [Wed, 17 Aug 2011 14:29:39 +0000 (14:29 +0000)]
[CSRSRV]
* Missed this. Sorry.

svn path=/trunk/; revision=53288

8 years ago[HAL]
Cameron Gutman [Wed, 17 Aug 2011 14:24:36 +0000 (14:24 +0000)]
[HAL]
- Don't use a hard-coded constant instead of PAGE_SHIFT

svn path=/trunk/; revision=53287

8 years ago[VFATLIB]
Amine Khaldi [Wed, 17 Aug 2011 14:06:16 +0000 (14:06 +0000)]
[VFATLIB]
* Include NDK headers on-demand.
* Improve the PCH use.

svn path=/trunk/; revision=53286

8 years ago[EXT2LIB]
Amine Khaldi [Wed, 17 Aug 2011 14:05:30 +0000 (14:05 +0000)]
[EXT2LIB]
* Include NDK headers on-demand.
* Set Mke2fs.h as a PCH.

svn path=/trunk/; revision=53285

8 years ago* Include NDK headers on-demand.
Amine Khaldi [Wed, 17 Aug 2011 14:04:33 +0000 (14:04 +0000)]
* Include NDK headers on-demand.

svn path=/trunk/; revision=53284

8 years ago[DXG]
Amine Khaldi [Wed, 17 Aug 2011 14:01:29 +0000 (14:01 +0000)]
[DXG]
* Include NDK headers on-demand.
* Set dxg_int.h as a PCH.

svn path=/trunk/; revision=53283

8 years ago[USETUP]
Amine Khaldi [Wed, 17 Aug 2011 13:59:47 +0000 (13:59 +0000)]
[USETUP]
* Include NDK headers on-demand.
* Set usetup.h as a PCH.

svn path=/trunk/; revision=53282

8 years ago[ACPI]
Cameron Gutman [Wed, 17 Aug 2011 07:23:55 +0000 (07:23 +0000)]
[ACPI]
- OS layer fixes
- Use our cache implementation

svn path=/trunk/; revision=53277

8 years ago- Fix build
Cameron Gutman [Wed, 17 Aug 2011 06:28:14 +0000 (06:28 +0000)]
- Fix build

svn path=/trunk/; revision=53276

8 years ago- Free memory using a valid tag
Cameron Gutman [Wed, 17 Aug 2011 05:55:43 +0000 (05:55 +0000)]
- Free memory using a valid tag
- Don't use a hardcoded constant for pointer size
- Don't access invalid memory when an SCI is absent (fixes ASSERT(Descriptor->u.Interrupt.MinimumVector == Descriptor->u.Interrupt.MaximumVector) failure)
- Remove unreachable code

svn path=/trunk/; revision=53275

8 years ago- Partially revert r53272 (I forgot that DEVICE_RELATIONS stores a pointer array)
Cameron Gutman [Wed, 17 Aug 2011 05:51:21 +0000 (05:51 +0000)]
- Partially revert r53272 (I forgot that DEVICE_RELATIONS stores a pointer array)

svn path=/trunk/; revision=53274

8 years ago[ACPI]
Cameron Gutman [Tue, 16 Aug 2011 20:48:18 +0000 (20:48 +0000)]
[ACPI]
- Fix massive memory corruption during FDO device relations handling

svn path=/trunk/; revision=53272

8 years ago[RPCRT4]
Jérôme Gardou [Tue, 16 Aug 2011 20:00:18 +0000 (20:00 +0000)]
[RPCRT4]
- do not wait for other threads in DLL_PROCESS_DETACH
- fix handle leak
- remove debug code

svn path=/trunk/; revision=53271

8 years ago[ADVAPI32]
Eric Kohl [Tue, 16 Aug 2011 19:16:16 +0000 (19:16 +0000)]
[ADVAPI32]
Fix QueryServiceStatusEx.

svn path=/trunk/; revision=53270

8 years ago[LWIP]
Amine Khaldi [Tue, 16 Aug 2011 18:16:23 +0000 (18:16 +0000)]
[LWIP]
* Add missing dependency on bugcodes.

svn path=/trunk/; revision=53269

8 years ago[RPCRT4]
Jérôme Gardou [Mon, 15 Aug 2011 21:45:12 +0000 (21:45 +0000)]
[RPCRT4]
- reduce difference with WINE : use their implementation of RpcMgmtStopServerListening

svn path=/trunk/; revision=53268

8 years ago[EVENTLOG]
Jérôme Gardou [Mon, 15 Aug 2011 20:55:07 +0000 (20:55 +0000)]
[EVENTLOG]
- Stop listening to RPC messages when receiving SERVICE_CONTROL_STOP

svn path=/trunk/; revision=53267

8 years ago* Include NDK headers on-demand.
Amine Khaldi [Mon, 15 Aug 2011 17:12:19 +0000 (17:12 +0000)]
* Include NDK headers on-demand.

svn path=/trunk/; revision=53265

8 years ago[HALACPI]
Amine Khaldi [Mon, 15 Aug 2011 15:36:25 +0000 (15:36 +0000)]
[HALACPI]
* Add to build. Dedicated to Cameron.
[SPEC2DEF]
* Add an option to set the name of the output def file.

svn path=/trunk/; revision=53264

8 years ago[NTOSKRNL]
Cameron Gutman [Mon, 15 Aug 2011 08:29:22 +0000 (08:29 +0000)]
[NTOSKRNL]
- Fix a bug in IopCreateResourceListFromRequirements which was triggering a sanity ASSERT because it forgot to skip conflicting entries

svn path=/trunk/; revision=53261

8 years ago[ACPI]
Cameron Gutman [Mon, 15 Aug 2011 07:46:02 +0000 (07:46 +0000)]
[ACPI]
- Don't assume that acpi_evaluate_reference will always complete successfully

svn path=/trunk/; revision=53260

8 years ago- Revert some unintended debugging changes
Cameron Gutman [Mon, 15 Aug 2011 07:36:58 +0000 (07:36 +0000)]
- Revert some unintended debugging changes

svn path=/trunk/; revision=53259

8 years ago[ACPI]
Cameron Gutman [Mon, 15 Aug 2011 07:35:04 +0000 (07:35 +0000)]
[ACPI]
- Fix a NULL free bug

svn path=/trunk/; revision=53258

8 years ago[USETUP]
Cameron Gutman [Mon, 15 Aug 2011 06:27:23 +0000 (06:27 +0000)]
[USETUP]
- Autodetect ACPI like we autodetect a multiprocessor configuration
- This will make the ACPI HAL the default on ACPI-compliant machines while the standard HAL will continue to be the default on older machines
- Please file bugs for any issues encountered when running in ACPI mode and assign them to me (I think it's very important to have working ACPI for 0.4.0 so I'd really like to get everything fixed now)
[TXTSETUP.SIF]
- Add a MP configuration for ACPI HAL
- Slightly modify the names of each HAL configuration

svn path=/trunk/; revision=53257

8 years ago[TXTSETUP.SIF]
Cameron Gutman [Mon, 15 Aug 2011 05:45:16 +0000 (05:45 +0000)]
[TXTSETUP.SIF]
- Add an option to install the ACPI HAL
- Feel free to try it out (you might be surprised)

svn path=/trunk/; revision=53256

8 years ago[NTOSKRNL]
Cameron Gutman [Mon, 15 Aug 2011 05:43:16 +0000 (05:43 +0000)]
[NTOSKRNL]
- Hack around a strange registry-related bug (we created the whole registry path previously but it won't let us open it without the correct volatile option) to fix devices enumerated via IoReportDetectedDevice

svn path=/trunk/; revision=53255

8 years ago[INF]
Cameron Gutman [Mon, 15 Aug 2011 05:39:53 +0000 (05:39 +0000)]
[INF]
- Add hal.inf

svn path=/trunk/; revision=53254

8 years ago[NTOSKRNL]
Cameron Gutman [Mon, 15 Aug 2011 05:03:53 +0000 (05:03 +0000)]
[NTOSKRNL]
- Also create the instance key when we create a new device object

svn path=/trunk/; revision=53253

8 years ago[HAL]
Cameron Gutman [Mon, 15 Aug 2011 04:07:40 +0000 (04:07 +0000)]
[HAL]
- Also report the *PNP style IDs
- Don't hang when a power IRP is received

svn path=/trunk/; revision=53252

8 years ago[HAL]
Cameron Gutman [Mon, 15 Aug 2011 03:44:10 +0000 (03:44 +0000)]
[HAL]
- Invalidate device relations so the child devices get enumerated

svn path=/trunk/; revision=53251

8 years ago[HAL]
Cameron Gutman [Mon, 15 Aug 2011 03:20:17 +0000 (03:20 +0000)]
[HAL]
- Fix string length calculation

svn path=/trunk/; revision=53250

8 years ago[NTOSKRNL]
Cameron Gutman [Mon, 15 Aug 2011 02:15:18 +0000 (02:15 +0000)]
[NTOSKRNL]
- Rewrite IopIsAcpiComputer (and rename to IopIsFirmwareMapperDisabled) to eliminate the need for the ENABLE_ACPI define
- IopIsFirmwareMapperDisabled now reads the registry entry that HAL sets to indicate that the firmware mapper should be disabled
- Partially rewrite IopUpdateRootKey so it does not interfere with HAL's PnP driver
- ACPI is automatically enabled when the ACPI HAL is loaded and disabled when the standard HAL is loaded

svn path=/trunk/; revision=53249

8 years ago[HAL]
Cameron Gutman [Mon, 15 Aug 2011 01:55:32 +0000 (01:55 +0000)]
[HAL]
- Fix a bug writing the DisableFirmwareMapper entry

svn path=/trunk/; revision=53248

8 years ago[HALACPI]
Cameron Gutman [Mon, 15 Aug 2011 01:19:20 +0000 (01:19 +0000)]
[HALACPI]
- Fix several bugs involving garbage data in a PHYSICAL_ADDRESS struct

svn path=/trunk/; revision=53247

8 years ago[PCI]
Cameron Gutman [Mon, 15 Aug 2011 00:28:33 +0000 (00:28 +0000)]
[PCI]
- Don't report bogus interrupt resources

svn path=/trunk/; revision=53246

8 years ago[NTOSKRNL]
Cameron Gutman [Mon, 15 Aug 2011 00:17:42 +0000 (00:17 +0000)]
[NTOSKRNL]
- Add a debug print when AddDevice fails
- Fix IopStopDevice
- Fix a typo
- Reduce code duplication

svn path=/trunk/; revision=53245

8 years ago[HAL]
Cameron Gutman [Mon, 15 Aug 2011 00:08:47 +0000 (00:08 +0000)]
[HAL]
- Fix incorrect modification of device object flags

svn path=/trunk/; revision=53244

8 years ago[ROSSYM_NEW]
Jérôme Gardou [Sun, 14 Aug 2011 21:39:37 +0000 (21:39 +0000)]
[ROSSYM_NEW]
- add missing debug.h include

svn path=/trunk/; revision=53243

8 years ago[ROSSYM_NEW]
Jérôme Gardou [Sun, 14 Aug 2011 21:25:25 +0000 (21:25 +0000)]
[ROSSYM_NEW]
- including debug.h once is enough
This time for real, sorry.

svn path=/trunk/; revision=53242

8 years ago[ROSSYM_NEW]
Jérôme Gardou [Sun, 14 Aug 2011 21:20:07 +0000 (21:20 +0000)]
[ROSSYM_NEW]
- including debug.h once is enough

svn path=/trunk/; revision=53241

8 years ago[ROSSYM_NEW]
Jérôme Gardou [Sun, 14 Aug 2011 21:17:14 +0000 (21:17 +0000)]
[ROSSYM_NEW]
- please, do not include debug.h from precompiled header :-/

svn path=/trunk/; revision=53240

8 years ago[CMAKE]
Jérôme Gardou [Sun, 14 Aug 2011 20:34:13 +0000 (20:34 +0000)]
[CMAKE]
- get back to DllMAinCRTStartup entry point

svn path=/trunk/; revision=53239

8 years ago[UNICOWS]
Jérôme Gardou [Sun, 14 Aug 2011 20:01:20 +0000 (20:01 +0000)]
[UNICOWS]
- doesn't have an entry point

svn path=/trunk/; revision=53237

8 years ago[ROSSYM_NEW]
Amine Khaldi [Sun, 14 Aug 2011 18:12:05 +0000 (18:12 +0000)]
[ROSSYM_NEW]
* Add a PCH.

svn path=/trunk/; revision=53236

8 years ago* Include NDK headers on-demand.
Amine Khaldi [Sun, 14 Aug 2011 17:31:30 +0000 (17:31 +0000)]
* Include NDK headers on-demand.

svn path=/trunk/; revision=53235

8 years ago[SMDLL]
Amine Khaldi [Sun, 14 Aug 2011 17:17:02 +0000 (17:17 +0000)]
[SMDLL]
* Include NDK headers on-demand.
* Introduce a PCH.

svn path=/trunk/; revision=53234

8 years ago[SAMLIB]
Amine Khaldi [Sun, 14 Aug 2011 16:59:43 +0000 (16:59 +0000)]
[SAMLIB]
* Include NDK headers on-demand.
* Introduce a PCH.

svn path=/trunk/; revision=53233

8 years ago[NTOSKRNL]
Cameron Gutman [Sun, 14 Aug 2011 14:44:34 +0000 (14:44 +0000)]
[NTOSKRNL]
- Fix NULL termination of strings in IoGetDeviceProperty
- Fixes garbage displayed in the Enumerator field of the device manager property page

svn path=/trunk/; revision=53232

8 years ago* Include NDK headers on-demand.
Amine Khaldi [Sun, 14 Aug 2011 12:59:05 +0000 (12:59 +0000)]
* Include NDK headers on-demand.

svn path=/trunk/; revision=53231

8 years ago[AUTOCHK][CMD][TASKMGR]
Amine Khaldi [Sun, 14 Aug 2011 12:56:59 +0000 (12:56 +0000)]
[AUTOCHK][CMD][TASKMGR]
* Exclude some indirectly included headers.

svn path=/trunk/; revision=53230

8 years ago[GDI32]
Amine Khaldi [Sun, 14 Aug 2011 12:32:15 +0000 (12:32 +0000)]
[GDI32]
* Include NDK headers on-demand.
* Improve the PCH use.

svn path=/trunk/; revision=53229

8 years ago[DHCPCSVC]
Amine Khaldi [Sun, 14 Aug 2011 12:06:23 +0000 (12:06 +0000)]
[DHCPCSVC]
* Include NDK headers on-demand.
* Improve the PCH use.

svn path=/trunk/; revision=53228

8 years ago[DBGHELP]
Amine Khaldi [Sun, 14 Aug 2011 11:48:00 +0000 (11:48 +0000)]
[DBGHELP]
* Reduce rosstubs.c dependency to nothing but the PCH.

svn path=/trunk/; revision=53227

8 years ago[ADVAPI32]
Eric Kohl [Sun, 14 Aug 2011 11:41:28 +0000 (11:41 +0000)]
[ADVAPI32]
Fix indentation. No code change.

svn path=/trunk/; revision=53226

8 years ago[ADVAPI32]
Amine Khaldi [Sun, 14 Aug 2011 11:31:23 +0000 (11:31 +0000)]
[ADVAPI32]
* Use consistent debugging macros (Wine's).
* Include NDK headers on-demand.
* Improve the PCH.

svn path=/trunk/; revision=53225

8 years ago[SERVICES]
Eric Kohl [Sun, 14 Aug 2011 08:54:01 +0000 (08:54 +0000)]
[SERVICES]
Fix the GENERIC_ALL access rights mapping for service handles.

svn path=/trunk/; revision=53220

8 years ago[AUTOCHK][CMD][TASKMGR]
Amine Khaldi [Sat, 13 Aug 2011 23:21:06 +0000 (23:21 +0000)]
[AUTOCHK][CMD][TASKMGR]
* Include NDK headers on-demand.

svn path=/trunk/; revision=53218

8 years ago[REGEDIT]
Amine Khaldi [Sat, 13 Aug 2011 22:06:42 +0000 (22:06 +0000)]
[REGEDIT]
* Don't include the whole NDK for just one header.
* This allows us to depend on 49 headers less, and it shrinks the PCH by 2MB.

svn path=/trunk/; revision=53217

8 years ago[WS2_32]
Amine Khaldi [Sat, 13 Aug 2011 21:39:37 +0000 (21:39 +0000)]
[WS2_32]
* Don't include the whole NDK for just one header.

svn path=/trunk/; revision=53216

8 years ago[ADVAPI32]
Eric Kohl [Sat, 13 Aug 2011 20:49:55 +0000 (20:49 +0000)]
[ADVAPI32]
Fix and EnumDependentServices[A/W]:
- If lpServices is NULL or cbBufSize is less than sizeof(ENUM_SERVICE_STATUS/W) pass a pointer to an internal status buffer to REnumDependentServicesA/W.

svn path=/trunk/; revision=53214

8 years ago[WIN32K]
Timo Kreuzer [Sat, 13 Aug 2011 20:40:41 +0000 (20:40 +0000)]
[WIN32K]
Fix return value of IntDesktopOkToClose, spotted by Cameron.

svn path=/trunk/; revision=53213

8 years ago[UMPNPMGR]
Cameron Gutman [Sat, 13 Aug 2011 20:26:44 +0000 (20:26 +0000)]
[UMPNPMGR]
- Store the correct buffer size for requests that aren't satisfied via the registry
- Fixes displaying the enumerator on the device manager property page

svn path=/trunk/; revision=53212

8 years ago[NTOSKRNL/WIN32K/NDK]
Timo Kreuzer [Sat, 13 Aug 2011 20:10:40 +0000 (20:10 +0000)]
[NTOSKRNL/WIN32K/NDK]
- OkToClose procedure (OB_OKAYTOCLOSE_METHOD) returns BOOLEAN, not NTSTATUS
- Check ppi for NULL before dereferencing it in IntWinstaOkToClose (it is NULL, if we do our job of cleaning up the win32 process properly)
- Set the win32 process info to NULL on process cleanup
- Free THREADINFO and PROCESSINFO instead of leaking them
- Set NULL cursor, when the last thread is cleaned up in win32k, so we don't call UserSetCursor() in the process cleanup, when we don't have a THREADINFO anymore. This should hopefully fix a crash of MSVC builds.
- Remove unused UserGetNextHandle function
- Fix some warnings

svn path=/trunk/; revision=53211

8 years ago[ADVAPI32]
Eric Kohl [Sat, 13 Aug 2011 19:57:32 +0000 (19:57 +0000)]
[ADVAPI32]
Fix EnumServiceGroupW and EnumServiceStatus[A/W]:
- If lpServices is NULL or cbBufSize is less than sizeof(ENUM_SERVICE_STATUS/W) pass a pointer to an internal status buffer to REnumServiceGrouW or REnumServiceStatusA/W.

svn path=/trunk/; revision=53210

8 years ago[SETUPAPI]
Jérôme Gardou [Sat, 13 Aug 2011 19:53:29 +0000 (19:53 +0000)]
[SETUPAPI]
- fix broken check
- fix potential NULL pointer dereference
- fix non critical parameter checks.

svn path=/trunk/; revision=53209

8 years agomove clean the screen to a later point
Matthias Kupfer [Sat, 13 Aug 2011 18:57:33 +0000 (18:57 +0000)]
move clean the screen to a later point

svn path=/trunk/; revision=53208

8 years ago[WIN32K]
Timo Kreuzer [Sat, 13 Aug 2011 16:44:49 +0000 (16:44 +0000)]
[WIN32K]
Simplify the loop to remove the THREADINFO from the PROCESSINFO's list when cleaning up

svn path=/trunk/; revision=53207

8 years ago[WIN32K]
Timo Kreuzer [Sat, 13 Aug 2011 16:27:30 +0000 (16:27 +0000)]
[WIN32K]
- use the correct pool tags for PROCESSINFO and THREADINFO
- get rid of RETURN macro usage
- misc code cleanup

svn path=/trunk/; revision=53206

8 years ago[SETUPAPI]
Jérôme Gardou [Sat, 13 Aug 2011 15:55:16 +0000 (15:55 +0000)]
[SETUPAPI]
- fix typo

svn path=/trunk/; revision=53205

8 years ago[USER32]
Timo Kreuzer [Sat, 13 Aug 2011 15:16:31 +0000 (15:16 +0000)]
[USER32]
Partly sync static.c with wine, reduce diff between ros and wine code. The leak fix is taken care of. Also go back from Get/SetWindowLongPtr to Get/SetWindowLong for LONG values. Using the *Ptr version is wrong for LONG values!

svn path=/trunk/; revision=53204

8 years ago[NTOSKRNL]
Cameron Gutman [Sat, 13 Aug 2011 14:28:45 +0000 (14:28 +0000)]
[NTOSKRNL]
- Display the loading message for drivers loaded by the PnP manager during boot
- Maybe now NDIS.SYS won't get all the blame for boot hangs ;)

svn path=/trunk/; revision=53203

8 years ago[ADVAPI32]
Eric Kohl [Sat, 13 Aug 2011 14:26:55 +0000 (14:26 +0000)]
[ADVAPI32]
Fix QueryServiceConfigEx[A/W]:
- If lpServiceConfig is NULL or cbBufSize is less than sizeof(QUERY_SERVICE_CONFIGA/W) pass a pointer to an internal status buffer to RQueryServiceConfigA/W.
- Revert r53153 and r53154. Adding 'in' and 'unique' attributes is NOT an option because this is not compatible with Windows.

svn path=/trunk/; revision=53202

8 years ago[ADVAPI32]
Eric Kohl [Sat, 13 Aug 2011 10:53:15 +0000 (10:53 +0000)]
[ADVAPI32]
Fix EnumServicesStatusEx[A/W]:
- If lpServices is NULL or cbBufSize is less than sizeof(ENUM_SERVICE_STATUS_PROCESS) pass a pointer to an internal status buffer to REnumServicesStatusExA/W. Adding 'in' and 'unique' attributes in the idl file is NOT an option because this is not compatible with Windows.
- Check the InfoLevel.

svn path=/trunk/; revision=53201

8 years ago[IP]
Cameron Gutman [Sat, 13 Aug 2011 04:03:26 +0000 (04:03 +0000)]
[IP]
- Zero the sin_zero member in the TDI_ADDRESS_IP struct

svn path=/trunk/; revision=53200

8 years ago[KS]
Timo Kreuzer [Fri, 12 Aug 2011 16:53:15 +0000 (16:53 +0000)]
[KS]
Fix MSVC build

svn path=/trunk/; revision=53199

8 years ago[CRT]
Timo Kreuzer [Fri, 12 Aug 2011 11:43:53 +0000 (11:43 +0000)]
[CRT]
Add assembly stubs and aliases for c++ symbols for MSVC

svn path=/trunk/; revision=53198

8 years ago[SPEC2DEF]
Timo Kreuzer [Fri, 12 Aug 2011 11:41:35 +0000 (11:41 +0000)]
[SPEC2DEF]
Ignore redirections for c++ symbols, since this doesn't work with link

svn path=/trunk/; revision=53197

8 years ago[USER32]
Cameron Gutman [Fri, 12 Aug 2011 10:07:16 +0000 (10:07 +0000)]
[USER32]
- Simplify finding the icon size in IntDrawState
- As a bonus, it now works for black and white icons too

svn path=/trunk/; revision=53193

8 years ago[USER32]
Cameron Gutman [Fri, 12 Aug 2011 09:54:50 +0000 (09:54 +0000)]
[USER32]
- Fix a bitmap leak in IntDrawState

svn path=/trunk/; revision=53192

8 years ago[USER32]
Cameron Gutman [Fri, 12 Aug 2011 09:39:05 +0000 (09:39 +0000)]
[USER32]
- Fix bitmap leaks in STATIC_SetIcon and get_icon_size

svn path=/trunk/; revision=53191

8 years ago[IPHLPAPI]
Cameron Gutman [Fri, 12 Aug 2011 08:12:47 +0000 (08:12 +0000)]
[IPHLPAPI]
- Fix a massive memory leak of our entire TDI entity ID database after each call to getInterfaceInfoSet
- Fix another massive leak of our entire TDI interface table after each call to getInterfaceInfoByIndex and getInterfaceInfoByName
- Fix some uninitialized variable warnings
- Explorer no longer leaks horrendous amounts of memory (about 1 MB per minute even without network activity) when the network status icon is in the system tray

svn path=/trunk/; revision=53190

8 years ago[LWIP]
Cameron Gutman [Thu, 11 Aug 2011 21:52:41 +0000 (21:52 +0000)]
[LWIP]
- Rewrite receive code to make it much simpler, handle some corner cases that weren't treated correctly, and fix the data corruption bug
- Downloaded successfully (no data corruption): OpenOffice 2.4, OpenOffice 3.3, BitTorrent 7.2.1, Firefox 5, Firefox 3.6, Firefox 3, Firefox 2, Abyss Web Server, Opera 9.64, and Opera 11.01

svn path=/trunk/; revision=53189

8 years ago[LWIP]
Cameron Gutman [Thu, 11 Aug 2011 21:22:00 +0000 (21:22 +0000)]
[LWIP]
- Fix a buffer overflow when the packet queue has more packets than the receive request can take
- Remove an extra variable

svn path=/trunk/; revision=53188

8 years ago[WIDL]
Eric Kohl [Thu, 11 Aug 2011 18:34:26 +0000 (18:34 +0000)]
[WIDL]
- Reapply the switchtype patch from widl-ros.diff. This patch should be sent upstream to wine.

See issue #6406 for more details.

svn path=/trunk/; revision=53187

8 years ago[NETCFGX]
Amine Khaldi [Thu, 11 Aug 2011 15:17:39 +0000 (15:17 +0000)]
[NETCFGX]
* Improve the PCH and activate it.

svn path=/trunk/; revision=53186

8 years ago[WIN32DLLS]
Amine Khaldi [Thu, 11 Aug 2011 15:16:48 +0000 (15:16 +0000)]
[WIN32DLLS]
* PCHify some modules when possible.

svn path=/trunk/; revision=53185