Sir Richard [Mon, 18 Oct 2010 23:07:09 +0000 (23:07 +0000)]
[NTOS]: Clean up Mm initialization, there is now no-more RosMM stuff done in Phase 0 of MmInit, only ARM3 runs. The kernel address space and memory areas are only initialized in Phase 1, because that's where sections are started up, and they're the only thing other than VM which still use memory-areas.
svn path=/trunk/; revision=49200
Johannes Anderwald [Mon, 18 Oct 2010 22:21:00 +0000 (22:21 +0000)]
[KS]
- Fix KSPROPERTY_PIN_CATEGORY handler when no category is provided
- Fix KSPROPERTY_PIN_NAME handler when there is no name provided. Use fallback pin category. If there is no category provided, fail with correct error code
- Fix KSPROPERTY_TOPOLOGY_NAME handler by checking if there is a node name provided. If not use node type as fallback.
- Return correct error code when property request id is out of bounds
svn path=/trunk/; revision=49199
Johannes Anderwald [Mon, 18 Oct 2010 18:59:17 +0000 (18:59 +0000)]
[PORTCLS]
- Store Miniport object in the device descriptor
- Fixes assert in NVidia NForce Audio Driver
svn path=/trunk/; revision=49198
Sir Richard [Mon, 18 Oct 2010 14:34:35 +0000 (14:34 +0000)]
[NTOS]: Remove the "35314 sginsberg /* REACTOS Mm Hack of Doom */". Apocalypse averted?
svn path=/trunk/; revision=49196
Sir Richard [Mon, 18 Oct 2010 14:29:05 +0000 (14:29 +0000)]
[NTOS]: Remove the Bavarian hack, I no longer think it is needed.
svn path=/trunk/; revision=49195
Sir Richard [Mon, 18 Oct 2010 14:25:33 +0000 (14:25 +0000)]
[NTOS]: Store the protection mask in the Fake VADs as well, we can read/convert this from the MAREA protection value.
[NTOS]: Reimplement NtQueryVirtualMemory to use VAD information instead. Even though Alloc/Free are still MAREA-based, the fake VADs we build ought to be enough to make the query API work for certain limited scenarios. Only some paths are implemented and it's lacking SEH, but it's good enough for the install/boot requirements. If there are any regressions, please file bugs.
svn path=/trunk/; revision=49194
Sir Richard [Mon, 18 Oct 2010 13:10:54 +0000 (13:10 +0000)]
[NTOS]: Complete the VAD-to-MAREA Synchronization hack by removing fake MAREAs that were added when inserting real VADs. To do this, we have to track the fake MAREA associated with a VAD, so we overload the FirstProtoTypePte field in the VAD, if this is NOT a section VAD (which we don't use yet). We'll figure something out for section VADs later.
[NTOS]: Now that VAD and MAREA views are synchronized, remove the VAD limit and let VADs be created at any address. Also do not create an arbitrary 16MB VAD memory area anymore. This basically now allows for as many PEB/TEBs as can fit in the address space, fixing the recent known regression that limited the number of threads a process could have.
svn path=/trunk/; revision=49193
Johannes Anderwald [Sun, 17 Oct 2010 22:38:34 +0000 (22:38 +0000)]
[WDMAUD.DRV]
- Kernel streaming pins need to transit states from Run -> Pause -> Acquire -> Stop.
- Fixes SB Live playback hang on last tone when stopping playback
svn path=/trunk/; revision=49191
Johannes Anderwald [Sun, 17 Oct 2010 21:15:21 +0000 (21:15 +0000)]
[MMIXER]
- Apply a hack to filter out pins, which are not part of filter node processing path
- The hack filters out all pins which have a physical connection. Ideally the code should check if the pin is part of a different rendering path and in that case remove the pin.
- Revert 49167
svn path=/trunk/; revision=49189
Sir Richard [Sun, 17 Oct 2010 20:11:04 +0000 (20:11 +0000)]
[NTOS]: Fix brainfart (an interesting bug we would've never hit, but a bug nevertheless).
svn path=/trunk/; revision=49188
Sir Richard [Sun, 17 Oct 2010 20:02:17 +0000 (20:02 +0000)]
[NTOS]: Use MI_SET_PFN_DELETED where we missed it.
[NTOS]: Implement support for deleting user-mode pageable VM addresses. Now when cleaning up the process address space, MiDeleteVirtualAddresses is called for the VADs, so this will now actually free the PEB/TEB pages that were previously getting leaked for each thread/process (a known regression I introduced when moving to VADs for PEB/TEB).
svn path=/trunk/; revision=49187
Sir Richard [Sun, 17 Oct 2010 19:56:04 +0000 (19:56 +0000)]
[NTOS]: Handle faults on non-demand-zero PTEs (and/or demand-zero PTEs that are not READWRITE (such as EXECUTE_READWRITE)).
svn path=/trunk/; revision=49186
Daniel Reimer [Sun, 17 Oct 2010 17:04:39 +0000 (17:04 +0000)]
Sync the out of sync winemine to Wine 1.3.5 and fork it, because of the modified look, improved resources and different code structure.
Additionally call it winmine, as it is in windows, too.
svn path=/trunk/; revision=49185
Eric Kohl [Sun, 17 Oct 2010 15:01:46 +0000 (15:01 +0000)]
[ADVAPI32]
Move the Encrypted File System (EFS) functions into their own file.
svn path=/trunk/; revision=49184
Eric Kohl [Sun, 17 Oct 2010 14:54:59 +0000 (14:54 +0000)]
[PSDK]
Add DecryptFileA/W prototype.
svn path=/trunk/; revision=49183
Sylvain Petreolle [Sun, 17 Oct 2010 14:50:02 +0000 (14:50 +0000)]
[APITESTS]
Fix (R)TEST macros in gdi32_apitest,
ensures correct display and no crash report in testman.
svn path=/trunk/; revision=49182
Sylvain Petreolle [Sun, 17 Oct 2010 12:47:02 +0000 (12:47 +0000)]
Katayama Hirofumi:
Add / update Japanese translations.
Fix typos in calc en-US resource.
Bug #5673,5674,5675,5676.
svn path=/trunk/; revision=49181
Sylvain Petreolle [Sun, 17 Oct 2010 11:12:54 +0000 (11:12 +0000)]
Patch by Roel Messiant :
Initialise PPB to zero.
The change from NtAllocateVirtualMemory to RtlAllocateHeap causes the memory to
be not automatically initialised to zero anymore.
Not every field of the PPB (for which the memory is allocated) gets explicitly
initialised, meaning this results in them having bogus values.
One of the now uninitialised fields is DebugFlags, which results in
DbgBreakPoint being called in NtProcessStartup. Simply ensuring the memory is
zeroed makes it all better again.
svn path=/trunk/; revision=49180
Daniel Reimer [Sun, 17 Oct 2010 00:26:32 +0000 (00:26 +0000)]
Sync reg xcopy winhlp32 wordpad and msiexec with Wine 1.3.5
svn path=/trunk/; revision=49179
Sir Richard [Sat, 16 Oct 2010 21:04:50 +0000 (21:04 +0000)]
[CSRSS]: Should use MEM_COMMIT | MEM_RESERVE, not just MEM_COMMIT when requesting a range of adress space that wasn't already reserved. This works in ReactOS because, well, no reason to explain why, but it wouldn't work on Windows or with a VAD-based kernel.
svn path=/trunk/; revision=49178
Sir Richard [Sat, 16 Oct 2010 21:02:48 +0000 (21:02 +0000)]
[NTOS]: Add MmProtectToValue array to convert MM/PTE protection values to Win32 protection flags.
svn path=/trunk/; revision=49177
Aleksey Bragin [Sat, 16 Oct 2010 19:46:03 +0000 (19:46 +0000)]
[PSDK]
- Add NOMIRRORBITMAP definition.
svn path=/trunk/; revision=49176
Aleksey Bragin [Sat, 16 Oct 2010 17:23:40 +0000 (17:23 +0000)]
[PSDK]
- Add ICONINFOEX* definitions and GetIconInfoEx* declarations from Wine.
svn path=/trunk/; revision=49175
Eric Kohl [Sat, 16 Oct 2010 16:26:52 +0000 (16:26 +0000)]
[ADVAPI32]
Implement LsaAddPrivilegesToAccount(), LsaCreateTrustedDomain(), LsaDeleteTrustedDomain() and LsaOpenTrustedDomainByName().
svn path=/trunk/; revision=49174
Sir Richard [Sat, 16 Oct 2010 15:48:42 +0000 (15:48 +0000)]
!!! The previous commit message had a typo, these are the Windows XP DDK Samples, not the Server 2003 DDK samples !!!
[CLASSPNP/CDROM_NEW]: Remove useless files.
svn path=/trunk/; revision=49172
Sir Richard [Sat, 16 Oct 2010 15:24:08 +0000 (15:24 +0000)]
[CLASSPNP]: Add Windows Server 2003 DDK ClassPNP sample, under the license and terms of the Windows Server 2003 DDK.
[CDROM]: Add Windows Server 2003 DDK Cdrom Sample, under the license and terms of the Windows Server 2003 DDK.
They both build and run fine, but PCIIDE(x) must be completed/enabled, and atapi must be rewritten to be WDM-compliant.
svn path=/trunk/; revision=49171
Cameron Gutman [Sat, 16 Oct 2010 15:15:51 +0000 (15:15 +0000)]
[SCSIPORT]
- Fix a couple of typos in the DMA code from my last commit
svn path=/trunk/; revision=49170
Sir Richard [Sat, 16 Oct 2010 14:20:30 +0000 (14:20 +0000)]
[RTL]: Fix a bug introduced Mon Dec 6 00:25:14 1999 UTC (10 years, 10 months ago) in revision 828. NtFreeVirtualMemory takes a pointer to the address to free, not the address instead. For the last 11 years, freeing the process parameter block resulted in freeing whatever the first value in the structure is, which is MaximumLength and initialized to 0x1000. ReactOS would then free whatever random address was in that area. In real Windows, it is illegal to free an allocation in the middle of the base address, and this call failed with the new VAD code. ReactOS either leaked the memory or freed random data, who knows.
[RTL]: Make the PPB live in the Heap instead of having its own virtual allocation, fixing the issue above. Stop rounding it to a PAGE_SIZE, and just use the space required.
svn path=/trunk/; revision=49169
Kamil Hornicek [Sat, 16 Oct 2010 13:55:09 +0000 (13:55 +0000)]
[MMIXER]
Amendment to rev. 49167 requested by Caemyr.
svn path=/trunk/; revision=49168
Johannes Anderwald [Sat, 16 Oct 2010 12:39:49 +0000 (12:39 +0000)]
[MMIXER]
- Disable assert for now
svn path=/trunk/; revision=49167
Johannes Anderwald [Sat, 16 Oct 2010 12:36:21 +0000 (12:36 +0000)]
[MMIXER]
- Add support for topologies where pins directly connect to other pins without nodes in between
- Check if the topology contains node. Fixes assert hit in VmWare Player(sound is not working)
- Thanks to Caemyr for testing
svn path=/trunk/; revision=49166
Eric Kohl [Sat, 16 Oct 2010 12:34:04 +0000 (12:34 +0000)]
[LSASRV]
- Change the calling convention of all LSA-RPC function to stdcall.
- Export some of the LSA-RPC functions.
svn path=/trunk/; revision=49165
Eric Kohl [Sat, 16 Oct 2010 09:41:47 +0000 (09:41 +0000)]
[ADVAPI32]
Implement LsaCreateAccount(), LsaOpenAccount() and LsaSetInformationPolicy().
svn path=/trunk/; revision=49164
Eric Kohl [Sat, 16 Oct 2010 08:48:25 +0000 (08:48 +0000)]
[LSASRV]
Add ServiceInit() stub and call it from lsass.
svn path=/trunk/; revision=49163
Cameron Gutman [Fri, 15 Oct 2010 21:38:00 +0000 (21:38 +0000)]
[SCSIPORT]
- Implement support for 2 interrupts
- Halfplement support for 2 DMA channels
- Set/Read the CM_RESOURCE_DMA flags
- Remove a duplicate spin lock initialization
- Partially tested with 2 interrupts in use but UniATA seems to be broken because it registers both interrupts for each channel even though they are not sharable which causes it to fail when initializing the secondary IDE channel
svn path=/trunk/; revision=49162
Eric Kohl [Fri, 15 Oct 2010 21:28:42 +0000 (21:28 +0000)]
[ADVAPI32/LSASRV]
- Prepare LsapValidateDbHandle for access checks.
- Move the functionality of LsaQueryInformationPolicy (advapi32.dll) into the new function LsarQueryInformationPolicy (lsasrv.dll).
- Remove dead code from advapi32.dll.
svn path=/trunk/; revision=49161
Timo Kreuzer [Fri, 15 Oct 2010 20:13:10 +0000 (20:13 +0000)]
[WIN32K]
Renove some unneccessary casts
svn path=/trunk/; revision=49160
Timo Kreuzer [Fri, 15 Oct 2010 20:03:47 +0000 (20:03 +0000)]
Add apitests to reactos.dff
svn path=/trunk/; revision=49159
Cameron Gutman [Fri, 15 Oct 2010 19:25:07 +0000 (19:25 +0000)]
[SCSIPORT]
- Remove some code duplication and fix a bug of copying the same interrupt information twice for a device with 2 interrupts (instead of the info for interrupt 1 then the info for interrupt 2) effectively making initialization fail because the resource allocation code will detect a conflict with itself
svn path=/trunk/; revision=49158
Timo Kreuzer [Fri, 15 Oct 2010 16:56:13 +0000 (16:56 +0000)]
[WINED3D]
Our CRT causes duplicate definitions, when trying to use it as fallback for missing msvcrt imports. Work around this limitation by adding powf and sqrtf wrappers for amd64 builds
svn path=/trunk/; revision=49157
Aleksey Bragin [Fri, 15 Oct 2010 15:53:10 +0000 (15:53 +0000)]
[HEAP]
- Fix a typo which lead to incorrect flags being forced. Fixes last remaining major winetest failures (only 1 GlobalAlloc/Free implementation related one is left to be fixed).
svn path=/trunk/; revision=49156
Pierre Schweitzer [Fri, 15 Oct 2010 15:05:15 +0000 (15:05 +0000)]
[HEAP]
Hackfixed build by stubbing RtlpValidateHeapHeaders(), RtlpValidateHeapEntry() and hackplementing RtlpValidateHeap().
To be properly fixed.
svn path=/trunk/; revision=49155
Aleksey Bragin [Fri, 15 Oct 2010 13:16:48 +0000 (13:16 +0000)]
[HEAP]
- Implement parameters validation ("DebugHeap") in all used RTL heap APIs. Winetests failures down to 4.
svn path=/trunk/; revision=49154
Timo Kreuzer [Fri, 15 Oct 2010 12:33:08 +0000 (12:33 +0000)]
[CRT]
Add powf() wrapper
svn path=/trunk/; revision=49153
Giannis Adamopoulos [Fri, 15 Oct 2010 08:34:59 +0000 (08:34 +0000)]
[win32k]
- Clean up co_IntPeekMessage
svn path=/trunk/; revision=49152
Johannes Anderwald [Fri, 15 Oct 2010 02:24:35 +0000 (02:24 +0000)]
[WDMAUD_KERNEL]
- Implement registering event routine which gets called when a topology node (volume / mute node) changes
- Implement fetching event changes
[MMIXER]
- Implement support routines which get called when a topology node changes its state
- Volume changes / mute on/off changes should now be broadcasted again to all listening applications
svn path=/trunk/; revision=49151
Johannes Anderwald [Fri, 15 Oct 2010 00:20:15 +0000 (00:20 +0000)]
[MMIXER]
- Rewrite topology node enumeration algorithm
- Old algorithm didnt properly take in account sum/mux nodes, may assign nodes to multiple lines and was not able to detect circuits which may lead to infinite loops
- New algorithm properly partitions the nodes and also checks if nodes has already been assigned. As a plus, it is also faster
- Algorithm based on msdn http://msdn.microsoft.com/en-us/library/
ff538873(v=VS.85).aspx
- Tested on VBox 3.28 (AC97)
- Please retest supported soundcards for regressions
svn path=/trunk/; revision=49150
Aleksey Bragin [Thu, 14 Oct 2010 20:55:38 +0000 (20:55 +0000)]
[HEAP]
- Add special debug heap function declarations and stubs.
- Add a useful inline for detecting whether a special or normal heap is going to be used.
svn path=/trunk/; revision=49149
Aleksey Bragin [Thu, 14 Oct 2010 20:04:20 +0000 (20:04 +0000)]
[HEAP]
- Add ability to dynamically allocate UCR descriptors when preallocated amount is exhausted.
- Fix a few bugs in RtlpFindAndCommitPages and in deactivated RtlpDecommitFreeBlock.
- Enable free blocks decommitting.
- New heap manager would now be ready to replace the old one.
svn path=/trunk/; revision=49147
Eric Kohl [Thu, 14 Oct 2010 19:41:03 +0000 (19:41 +0000)]
[RPCRT4]
Add a missing format type to unmarshall_discriminant().
svn path=/trunk/; revision=49146
Giannis Adamopoulos [Thu, 14 Oct 2010 18:53:12 +0000 (18:53 +0000)]
[win32k]
- When we try to call a hook with null hook proc will cause a crash in user32. Add an assertion in win32k in order to catch the problem a bit earlier
svn path=/trunk/; revision=49145
Giannis Adamopoulos [Thu, 14 Oct 2010 18:36:33 +0000 (18:36 +0000)]
[win32k]
- Disable checking if a hook is active. It is safe to disable it for now because it is just an optimization. If we try to call a hook when it is not active, it will fail anyway when it tries to find the hook. Fixes calling low level hooks
svn path=/trunk/; revision=49144
Jérôme Gardou [Thu, 14 Oct 2010 14:23:50 +0000 (14:23 +0000)]
Sync with trunk head (r49139)
svn path=/branches/reactos-yarotows/; revision=49142
Daniel Reimer [Wed, 13 Oct 2010 21:23:48 +0000 (21:23 +0000)]
Another dll addition to cmake, another rc file fix.
svn path=/trunk/; revision=49139
Amine Khaldi [Wed, 13 Oct 2010 14:54:37 +0000 (14:54 +0000)]
[AUTHZ]
- Missed these.
svn path=/trunk/; revision=49137
Amine Khaldi [Wed, 13 Oct 2010 14:30:49 +0000 (14:30 +0000)]
[AUTHZ]
- Fix AuthzReportSecurityEvent, AuthzInitializeObjectAccessAuditEvent and AuthzInitializeObjectAccessAuditEvent2 prototypes.
svn path=/trunk/; revision=49136
Amine Khaldi [Wed, 13 Oct 2010 10:53:01 +0000 (10:53 +0000)]
[DDK]
- Fix RtlStringCbPrintf prototypes.
svn path=/trunk/; revision=49134
Sir Richard [Tue, 12 Oct 2010 21:17:58 +0000 (21:17 +0000)]
[SMSS]: Remove the ROS_DOESNT_SUCK hack, and correctly started subsystem processes with the first MB reserved.
[CSRSRV]: CSRSS was started with a free address space, and was able to map 0xA0000 into it by luck, because the ReactOS Mm allocator picks address ranges randomly, and it somehow managed to avoid the low 1MB addresses. Were this algorithm to change, or perhaps, were we to implement VADs for VM allocations, the 0xA0000 region might already be allocated (by an early-process-initialization allocation, such as the heap). This is what the flag referenced above was designed for, but it was not used. Using this flag, on the other hand, now makes CSRSS fail, because it attempts to map the RAM into 0xA0000, which fails since you can map a section on top of reserved memory. To work around this Brobdingnagian annoyance, CSRSS simply releases the first MB of memory that SMSS has nicely reserved for it, and then proceeds with the mapping. This fixes the issue of getting 0xA0000 by luck and now guarantees it can be mapped.
svn path=/trunk/; revision=49133
Eric Kohl [Tue, 12 Oct 2010 20:51:07 +0000 (20:51 +0000)]
[WIDL]
Update widl to version 1.3.4.
svn path=/trunk/; revision=49132
Pierre Schweitzer [Tue, 12 Oct 2010 20:29:50 +0000 (20:29 +0000)]
[NTOSKRNL]
Implemented IopFetchConfigurationInformation(), IopCreateArcNamesCd(), IopCreateArcNamesDisk(), IopVerifyDiskSignature()
Removed IopApplyRosCdromArcHack(), IopGetDiskInformation(), IopAssignArcNamesToCdrom()
Finally, rewritten IopCreateArcNames()
To make it short, this is the rewrite of ARC names handling in the kernel.
This brings our kernel to a higher state of existence. Indeed, it's leaving NT4 design for a proper NT5.2 design, with less hacks, less ROS specific stuff and such.
This code handles the mount manager we don't have yet.
svn path=/trunk/; revision=49131
Pierre Schweitzer [Tue, 12 Oct 2010 20:22:29 +0000 (20:22 +0000)]
[NTOSKRNL]
Implemented FstubAllocateDiskInformation(), FstubDbgGuidToString(), FstubDbgPrintDriveLayoutEx(), FstubDbgPrintPartitionEx(), FstubDetectPartitionStyle(), FstubFreeDiskInformation(), FstubGetDiskGeometry(), FstubReadPartitionTableMBR(), FstubReadSector()
Stubbed FstubReadPartitionTableEFI()
This leads to a correct & working implementation of IoReadPartitionTableEx(). As this state, it only handles MBR partition tables as EFI/GPT as been stubbed out.
EFI/GPT support will come later.
svn path=/trunk/; revision=49130
Pierre Schweitzer [Tue, 12 Oct 2010 20:17:55 +0000 (20:17 +0000)]
[CLASS2]
Switch use from DISK_GEOMETRY to DISK_GEOMETRY_EX. It's needed to handle some Windows 2003's kernel routines.
[CDROM]
Reflect changes in Class2.
[DISK]
Reflect changes in Class2.
Also added support for IOCTL_DISK_GET_DRIVE_GEOMETRY_EX.
svn path=/trunk/; revision=49129
Eric Kohl [Tue, 12 Oct 2010 20:07:58 +0000 (20:07 +0000)]
[D3D]
Preparations for update to widl 1.3.4.
svn path=/trunk/; revision=49128
Cameron Gutman [Tue, 12 Oct 2010 20:02:15 +0000 (20:02 +0000)]
[HAL]
- Check that the interrupt line is not 255
- Check that the interrupt pin is not 0
- Fixes a failed assertion that Caemyr experienced with an ATI Rage graphics card
svn path=/trunk/; revision=49127
Aleksey Bragin [Tue, 12 Oct 2010 18:34:48 +0000 (18:34 +0000)]
[HEAP]
- Implement heap validation support.
svn path=/trunk/; revision=49126
Amine Khaldi [Tue, 12 Oct 2010 16:39:38 +0000 (16:39 +0000)]
[DDK]
- Fix ClassDebugPrint prototype.
svn path=/trunk/; revision=49125
Kamil Hornicek [Tue, 12 Oct 2010 15:02:31 +0000 (15:02 +0000)]
Attempt nr. 2: link wined3d to crt on amd64 build.
svn path=/trunk/; revision=49124
Kamil Hornicek [Tue, 12 Oct 2010 14:24:58 +0000 (14:24 +0000)]
Fix amd64 build.
svn path=/trunk/; revision=49123
Aleksey Bragin [Tue, 12 Oct 2010 09:03:39 +0000 (09:03 +0000)]
[NTDLL]
- Don't access unitialized memory. Caught thanks to a new heap manager, and this fixes all weird actctx exceptions in kernel32_winetest heap.
svn path=/trunk/; revision=49122
Kamil Hornicek [Mon, 11 Oct 2010 15:56:46 +0000 (15:56 +0000)]
[WIN32K]
UserEnumDisplaySettings returns NTSTATUS.
svn path=/branches/reactos-yarotows/; revision=49118
James Tabor [Mon, 11 Oct 2010 15:12:47 +0000 (15:12 +0000)]
[Wine Tests]
- Update the only two tests that I tested and know that does not have RTL support. The Right To Left support will be another comprehensive change that can be done in a non intrusive way as long no one uses it.
svn path=/trunk/; revision=49117
Kamil Hornicek [Mon, 11 Oct 2010 13:56:39 +0000 (13:56 +0000)]
[WINED3D]
Update wined3d, ddraw, d3d8 and d3d9 to Wine 1.3.4.
svn path=/trunk/; revision=49116
Giannis Adamopoulos [Mon, 11 Oct 2010 13:01:46 +0000 (13:01 +0000)]
[win32k]
- Remove the FreeLParam 'feature' from win32k. This hack allowed us to post messages that contain pointers. However we don't do it anymore so we can also remove this as well
- Add keyboard messages to the list with Hardware messages and not in the list with post messages
svn path=/trunk/; revision=49115
Giannis Adamopoulos [Mon, 11 Oct 2010 10:58:33 +0000 (10:58 +0000)]
[win32k]
-Move checks for active hooks in co_HOOK_CallHooks
svn path=/trunk/; revision=49114
Aleksey Bragin [Mon, 11 Oct 2010 10:29:41 +0000 (10:29 +0000)]
[HEAP]
- Fix DWORD -> ULONG in function definitions too.
svn path=/trunk/; revision=49113
Pierre Schweitzer [Mon, 11 Oct 2010 10:20:40 +0000 (10:20 +0000)]
[NDK]
Fixed build
svn path=/trunk/; revision=49112
Aleksey Bragin [Mon, 11 Oct 2010 08:39:04 +0000 (08:39 +0000)]
[HEAP]
- Fix RtlQuery/SetHeapInformation prototypes, move them to an appropriate place.
- Implement RtlQuery/SetHeapInformation.
- Implement in-place block growing.
- Amount of winetest heap failures is down to 6 (3 exceptions still happen).
svn path=/trunk/; revision=49111
Aleksey Bragin [Mon, 11 Oct 2010 07:47:52 +0000 (07:47 +0000)]
[ADVAPI32]
- Katayama Hirofumi: Use DataLength field in RegEnumValueW instead of DataOffset.
- Roel Messiant: Test behaviour in Vista and apply same fix to RegEnumValueA.
See issue #2492 for more details.
svn path=/trunk/; revision=49110
James Tabor [Mon, 11 Oct 2010 03:41:41 +0000 (03:41 +0000)]
[Win32k|User32]
- Move to the new window structure. Window Object served us well.
svn path=/trunk/; revision=49109
Daniel Reimer [Sun, 10 Oct 2010 23:29:32 +0000 (23:29 +0000)]
RC file fixes for inconsistences shown up by the recent dll work in r49105.
svn path=/trunk/; revision=49107
Daniel Reimer [Sun, 10 Oct 2010 22:36:35 +0000 (22:36 +0000)]
More resource fixes making warnings vanish when built with cmake.
svn path=/trunk/; revision=49103
Aleksey Bragin [Sun, 10 Oct 2010 21:52:48 +0000 (21:52 +0000)]
[HEAP]
- Properly set HEAP_GROWABLE flag if dwMaximumSize is 0 in HeapCreate. Also check for dwMaximumSize validity. Fixes out-of-memory problems when running "heavy" applications like Office 2003 setup with a new heap manager (which actually respects HEAP_GROWABLE flag).
svn path=/trunk/; revision=49102
Daniel Reimer [Sun, 10 Oct 2010 14:45:03 +0000 (14:45 +0000)]
Replace \" with "" in resource files. This makes CMAKE build way more silent. Needs to be merged.
TBD find a way to silent warnings happening due to \n in strings.
svn path=/trunk/; revision=49096
Eric Kohl [Sun, 10 Oct 2010 11:31:51 +0000 (11:31 +0000)]
[NTOSKRNL]
Implement SeImpersonateClientEx() and simplify SeImpersonateClient().
svn path=/trunk/; revision=49091
Aleksey Bragin [Sun, 10 Oct 2010 11:16:55 +0000 (11:16 +0000)]
[HEAP]
- Add 64 bit compatibility.
svn path=/trunk/; revision=49090
Benedikt Freisen [Sun, 10 Oct 2010 09:57:44 +0000 (09:57 +0000)]
[PAINT]
- apply patch by Black_Fox (see bug 5434)
- fix minor bugs introduced by it
- generalize changes related to mirroring rectangular selections to free form selections
- solve problem regarding selection contents update
svn path=/trunk/; revision=49089
Eric Kohl [Sat, 9 Oct 2010 23:13:57 +0000 (23:13 +0000)]
[WIDL]
- Revert r49085 and r49086.
svn path=/trunk/; revision=49087
Eric Kohl [Sat, 9 Oct 2010 22:54:37 +0000 (22:54 +0000)]
[WIDL]
Fix Unix build.
svn path=/trunk/; revision=49086
Eric Kohl [Sat, 9 Oct 2010 22:41:05 +0000 (22:41 +0000)]
[WIDL]
- Sync to Wine-1.3.4
- Bugfix: The switchtype attribute of non-encapsulated unions was not propagated to a type but only to its aliases.
svn path=/trunk/; revision=49085
Daniel Reimer [Sat, 9 Oct 2010 22:36:58 +0000 (22:36 +0000)]
Update rapps database
svn path=/trunk/; revision=49084
Cameron Gutman [Sat, 9 Oct 2010 21:52:25 +0000 (21:52 +0000)]
[URLMON]
- Sync to WINE 1.3.4
[WININET]
- Add a forgotten change to the diff
[WINHTTP]
- Sync to WINE 1.3.4
- Sync the inet_ntop.c change from wininet
- Update the diff
svn path=/trunk/; revision=49083
Cameron Gutman [Sat, 9 Oct 2010 21:10:39 +0000 (21:10 +0000)]
[PSDK]
- Add INET_E_USE_DEFAULT_SETTING definition
[WINE]
- Add iscntrlW() definition
svn path=/trunk/; revision=49082
Cameron Gutman [Sat, 9 Oct 2010 20:08:18 +0000 (20:08 +0000)]
[WININET]
- Sync wininet to WINE 1.3.4
- Regenerate wininet_ros.diff so that it actually applies against current WINE head
svn path=/trunk/; revision=49081
Cameron Gutman [Sat, 9 Oct 2010 18:40:16 +0000 (18:40 +0000)]
[WININET]
- Add a ROS-specific change that was missed during the last winesync to fix winsock error handling
- Remove the CP_UNIXCP definition
- Use WSASetLastError instead of errno in inet_ntop.c
- Thanks to IRC:igorko for pointing out the bug
svn path=/trunk/; revision=49078
Aleksey Bragin [Sat, 9 Oct 2010 13:02:34 +0000 (13:02 +0000)]
[HEAP]
- Move (and cleanup) private heap definitions and structure to a standalone header file heap.h. It's explicitly included in heap_rewrite.c and heapdbg.c to prevent conflicts with the existing heap manager in heap.c.
svn path=/trunk/; revision=49071
Aleksey Bragin [Sat, 9 Oct 2010 12:49:30 +0000 (12:49 +0000)]
[HEAP]
- Implement setting/getting heap user values and flags (very easy provided heap design is now proper). Amount of winetest failures is down to 12 (but 3 crashes in child processes).
svn path=/trunk/; revision=49069
Amine Khaldi [Sat, 9 Oct 2010 10:35:35 +0000 (10:35 +0000)]
[RAPPS]
Igor Paliychuk:
- Update some broken links.
- Changed the cyrillic "P" to a latin "P" in the beginning of the VBox driver's russian and ukrainian descriptions (rapps doesn't display it when it's cyrillic).
svn path=/trunk/; revision=49067
Pierre Schweitzer [Sat, 9 Oct 2010 10:01:37 +0000 (10:01 +0000)]
[NTDLL]
Fixed build
svn path=/trunk/; revision=49065
Aleksey Bragin [Sat, 9 Oct 2010 09:19:33 +0000 (09:19 +0000)]
[RTL]
- Fix RtlSetUserFlagsHeap declaration and definition.
svn path=/trunk/; revision=49064
Aleksey Bragin [Sat, 9 Oct 2010 09:15:50 +0000 (09:15 +0000)]
[KERNEL32]
- Revert incorrect changes from 34404 and 40910: RtlSetUserFlagsHeap() doesn't set usual heap flags, it sets special user-settable heap entry flags. With the new heap manager such usage corrupts heap integrity (not to say prototype of this function is incorrect).
- RtlReAllocateHeap() is supposed to copy user values and flags so there is no need to set them afterwise again.
- Fix a typo in comments.
svn path=/trunk/; revision=49063