reactos.git
13 years ago[HEAP]
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

13 years ago[CMAKE]
Jérôme Gardou [Thu, 14 Oct 2010 20:16:57 +0000 (20:16 +0000)]
[CMAKE]
  - include stlport directory in set_cpp macro
  - move set_cpp macro where it belongs : it's generic enough to go to CMakeMacros.cmake

svn path=/branches/cmake-bringup/; revision=49148

13 years ago[HEAP]
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

13 years ago[RPCRT4]
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

13 years ago[win32k]
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

13 years ago[win32k]
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

13 years ago[CMAKE]
Sylvain Petreolle [Thu, 14 Oct 2010 17:40:25 +0000 (17:40 +0000)]
[CMAKE]
Enable comctl32.

svn path=/branches/cmake-bringup/; revision=49143

13 years ago[CMAKE]
Jérôme Gardou [Thu, 14 Oct 2010 11:03:20 +0000 (11:03 +0000)]
[CMAKE]
  - add kernelmodedriver module type
  - add set_cpp macro, which takes care of all c++ stuff for you
  - hackfix stlport headers for c++ kernel mode modules.
  - complain about explorer
  - solitaire, telnet and uniata now build happily against stlport

svn path=/branches/cmake-bringup/; revision=49141

13 years agoMerge r49139.
Daniel Reimer [Wed, 13 Oct 2010 21:24:20 +0000 (21:24 +0000)]
Merge r49139.

svn path=/branches/cmake-bringup/; revision=49140

13 years agoAnother dll addition to cmake, another rc file fix.
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

13 years ago[CMAKE]
Sylvain Petreolle [Wed, 13 Oct 2010 19:20:54 +0000 (19:20 +0000)]
[CMAKE]
Improve amstream and msdmo.

svn path=/branches/cmake-bringup/; revision=49138

13 years ago[AUTHZ]
Amine Khaldi [Wed, 13 Oct 2010 14:54:37 +0000 (14:54 +0000)]
[AUTHZ]
- Missed these.

svn path=/trunk/; revision=49137

13 years ago[AUTHZ]
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

13 years ago[CMAKE]
Amine Khaldi [Wed, 13 Oct 2010 12:11:50 +0000 (12:11 +0000)]
[CMAKE]
- More work on the dlls. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49135

13 years ago[DDK]
Amine Khaldi [Wed, 13 Oct 2010 10:53:01 +0000 (10:53 +0000)]
[DDK]
- Fix RtlStringCbPrintf prototypes.

svn path=/trunk/; revision=49134

13 years ago[SMSS]: Remove the ROS_DOESNT_SUCK hack, and correctly started subsystem processes...
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

13 years ago[WIDL]
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

13 years ago[NTOSKRNL]
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

13 years ago[NTOSKRNL]
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

13 years ago[CLASS2]
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

13 years ago[D3D]
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

13 years ago[HAL]
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

13 years ago[HEAP]
Aleksey Bragin [Tue, 12 Oct 2010 18:34:48 +0000 (18:34 +0000)]
[HEAP]
- Implement heap validation support.

svn path=/trunk/; revision=49126

13 years ago[DDK]
Amine Khaldi [Tue, 12 Oct 2010 16:39:38 +0000 (16:39 +0000)]
[DDK]
- Fix ClassDebugPrint prototype.

svn path=/trunk/; revision=49125

13 years agoAttempt nr. 2: link wined3d to crt on amd64 build.
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

13 years agoFix amd64 build.
Kamil Hornicek [Tue, 12 Oct 2010 14:24:58 +0000 (14:24 +0000)]
Fix amd64 build.

svn path=/trunk/; revision=49123

13 years ago[NTDLL]
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

13 years ago[Wine Tests]
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

13 years ago[WINED3D]
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

13 years ago[win32k]
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

13 years ago[win32k]
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

13 years ago[HEAP]
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

13 years ago[NDK]
Pierre Schweitzer [Mon, 11 Oct 2010 10:20:40 +0000 (10:20 +0000)]
[NDK]
Fixed build

svn path=/trunk/; revision=49112

13 years ago[HEAP]
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

13 years ago[ADVAPI32]
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

13 years ago[Win32k|User32]
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

13 years agoMerge r49107.
Daniel Reimer [Sun, 10 Oct 2010 23:30:05 +0000 (23:30 +0000)]
Merge r49107.

svn path=/branches/cmake-bringup/; revision=49108

13 years agoRC file fixes for inconsistences shown up by the recent dll work in r49105.
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

13 years ago[CMAKE]
Amine Khaldi [Sun, 10 Oct 2010 22:59:37 +0000 (22:59 +0000)]
[CMAKE]
- Fix cryptui build. This should be sent upstream.

svn path=/branches/cmake-bringup/; revision=49106

13 years ago[CMAKE]
Amine Khaldi [Sun, 10 Oct 2010 22:58:42 +0000 (22:58 +0000)]
[CMAKE]
- More work on the dlls. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49105

13 years agoMerge r49103.
Daniel Reimer [Sun, 10 Oct 2010 22:37:09 +0000 (22:37 +0000)]
Merge r49103.

svn path=/branches/cmake-bringup/; revision=49104

13 years agoMore resource fixes making warnings vanish when built with cmake.
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

13 years ago[HEAP]
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

13 years agoMerge r49096 to cmake branch
Daniel Reimer [Sun, 10 Oct 2010 19:31:41 +0000 (19:31 +0000)]
Merge r49096 to cmake branch

svn path=/branches/cmake-bringup/; revision=49101

13 years ago[CMAKE]
Timo Kreuzer [Sun, 10 Oct 2010 16:27:01 +0000 (16:27 +0000)]
[CMAKE]
MSVC: Don't use the debug version of msvcrt

svn path=/branches/cmake-bringup/; revision=49100

13 years ago[CMAKE]
Timo Kreuzer [Sun, 10 Oct 2010 16:17:40 +0000 (16:17 +0000)]
[CMAKE]
Add CMAKE_RC_CREATE_SHARED_LIBRARY for msvc (simply copied from gcc atm)

svn path=/branches/cmake-bringup/; revision=49099

13 years agoReplace \" with "" in resource files. This makes CMAKE build way more silent. Needs...
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

13 years ago[NTOSKRNL]
Eric Kohl [Sun, 10 Oct 2010 11:31:51 +0000 (11:31 +0000)]
[NTOSKRNL]
Implement SeImpersonateClientEx() and simplify SeImpersonateClient().

svn path=/trunk/; revision=49091

13 years ago[HEAP]
Aleksey Bragin [Sun, 10 Oct 2010 11:16:55 +0000 (11:16 +0000)]
[HEAP]
- Add 64 bit compatibility.

svn path=/trunk/; revision=49090

13 years ago[PAINT]
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

13 years ago[CMAKE]
Timo Kreuzer [Sun, 10 Oct 2010 08:56:52 +0000 (08:56 +0000)]
[CMAKE]
- add Windows.cmake, copied from cmake, but with command line file disabled for debugging puposes
- for now use /MTd (static crt) for C++ apps compiled with MSVC

svn path=/branches/cmake-bringup/; revision=49088

13 years ago[WIDL]
Eric Kohl [Sat, 9 Oct 2010 23:13:57 +0000 (23:13 +0000)]
[WIDL]
- Revert r49085 and r49086.

svn path=/trunk/; revision=49087

13 years ago[WIDL]
Eric Kohl [Sat, 9 Oct 2010 22:54:37 +0000 (22:54 +0000)]
[WIDL]
Fix Unix build.

svn path=/trunk/; revision=49086

13 years ago[WIDL]
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

13 years agoUpdate rapps database
Daniel Reimer [Sat, 9 Oct 2010 22:36:58 +0000 (22:36 +0000)]
Update rapps database

svn path=/trunk/; revision=49084

13 years ago[URLMON]
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

13 years ago[PSDK]
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

13 years ago[WININET]
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

13 years ago[CMAKE]
Amine Khaldi [Sat, 9 Oct 2010 19:20:50 +0000 (19:20 +0000)]
[CMAKE]
- Add libspoolss.a

svn path=/branches/cmake-bringup/; revision=49080

13 years ago[CMAKE]
Amine Khaldi [Sat, 9 Oct 2010 19:15:45 +0000 (19:15 +0000)]
[CMAKE]
- Some work on the dlls. By Alexey Komarov.

svn path=/branches/cmake-bringup/; revision=49079

13 years ago[WININET]
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

13 years ago[CMAKE] Fix option checking
Timo Kreuzer [Sat, 9 Oct 2010 16:25:03 +0000 (16:25 +0000)]
[CMAKE] Fix option checking

svn path=/branches/cmake-bringup/; revision=49077

13 years ago[CMAKE]
Timo Kreuzer [Sat, 9 Oct 2010 16:23:07 +0000 (16:23 +0000)]
[CMAKE]
Disable PSEH for MSVC

svn path=/branches/cmake-bringup/; revision=49076

13 years ago[CMAKE]
Timo Kreuzer [Sat, 9 Oct 2010 16:13:29 +0000 (16:13 +0000)]
[CMAKE]
Apply a custom script for MSVC to work around cmakes's WDK incompatibility.

svn path=/branches/cmake-bringup/; revision=49075

13 years ago[CMAKE]
Amine Khaldi [Sat, 9 Oct 2010 14:34:03 +0000 (14:34 +0000)]
[CMAKE]
- Fix libmpg123 and add it to build.

svn path=/branches/cmake-bringup/; revision=49073

13 years ago[CMAKE]
Sylvain Petreolle [Sat, 9 Oct 2010 13:54:36 +0000 (13:54 +0000)]
[CMAKE]
Add minicd target.
This partial bootcd target produces a minicd iso,
able to start the install process to the cabinet installation page.

svn path=/branches/cmake-bringup/; revision=49072

13 years ago[HEAP]
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

13 years ago[CMAKE]
Amine Khaldi [Sat, 9 Oct 2010 12:53:12 +0000 (12:53 +0000)]
[CMAKE]
- Apply the linker script to freeldr.

svn path=/branches/cmake-bringup/; revision=49070

13 years ago[HEAP]
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

13 years ago[CMAKE]
Amine Khaldi [Sat, 9 Oct 2010 12:48:57 +0000 (12:48 +0000)]
[CMAKE]
- Bring back explorer.

svn path=/branches/cmake-bringup/; revision=49068

13 years ago[RAPPS]
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

13 years ago[CMAKE]
Amine Khaldi [Sat, 9 Oct 2010 10:10:39 +0000 (10:10 +0000)]
[CMAKE]
- Introduce lesser verbose makefiles.

svn path=/branches/cmake-bringup/; revision=49066

13 years ago[NTDLL]
Pierre Schweitzer [Sat, 9 Oct 2010 10:01:37 +0000 (10:01 +0000)]
[NTDLL]
Fixed build

svn path=/trunk/; revision=49065

13 years ago[RTL]
Aleksey Bragin [Sat, 9 Oct 2010 09:19:33 +0000 (09:19 +0000)]
[RTL]
- Fix RtlSetUserFlagsHeap declaration and definition.

svn path=/trunk/; revision=49064

13 years ago[KERNEL32]
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

13 years ago[CMAKE]
Amine Khaldi [Fri, 8 Oct 2010 23:06:11 +0000 (23:06 +0000)]
[CMAKE]
- More work on the base modules.

svn path=/branches/cmake-bringup/; revision=49062

13 years ago[CMAKE]
Amine Khaldi [Fri, 8 Oct 2010 22:26:41 +0000 (22:26 +0000)]
[CMAKE]
- More work on the base modules.
- Fix a typo.
- Fix shlwapi and audio_test builds.

svn path=/branches/cmake-bringup/; revision=49061

13 years ago[CMAKE]
Amine Khaldi [Fri, 8 Oct 2010 21:34:25 +0000 (21:34 +0000)]
[CMAKE]
- More work on the dlls.

svn path=/branches/cmake-bringup/; revision=49060

13 years ago[CMAKE]
Amine Khaldi [Fri, 8 Oct 2010 21:02:11 +0000 (21:02 +0000)]
[CMAKE]
- More work on the dlls.
- libgcc is already a standard C lib, don't relink to it for executables.
- ICU isn't needed for now, disable it.

svn path=/branches/cmake-bringup/; revision=49059

13 years ago[HEAP]
Aleksey Bragin [Fri, 8 Oct 2010 20:17:39 +0000 (20:17 +0000)]
[HEAP]
- Roel Messiant: Fix infinite loop in RtlDestroyHeap if heap contained big blocks.

svn path=/trunk/; revision=49058

13 years ago[HEAP]
Aleksey Bragin [Fri, 8 Oct 2010 19:30:23 +0000 (19:30 +0000)]
[HEAP]
- Set proper heap flags (tail and free checking) in case heap validation is enabled. Fixes another bunch of winetests.

svn path=/trunk/; revision=49057

13 years ago[CMAKE]
Amine Khaldi [Fri, 8 Oct 2010 19:10:33 +0000 (19:10 +0000)]
[CMAKE]
- Improve some dlls.
- Fix cmd and stlport.
- Add libgcc as a C standard lib.

svn path=/branches/cmake-bringup/; revision=49056

13 years ago[EVENTLOG]
Eric Kohl [Fri, 8 Oct 2010 18:48:54 +0000 (18:48 +0000)]
[EVENTLOG]
Rename the EVENTSOURCE struct to LOGHANDLE because it is currently used like a handle object. The EVENTSOURCE struct will be added again in one of the next commits.

svn path=/trunk/; revision=49055

13 years ago[CMAKE]
Jérôme Gardou [Fri, 8 Oct 2010 18:04:16 +0000 (18:04 +0000)]
[CMAKE]
  - link executables against gcc and mingw_common
  - remove link dependencies from mingw_common
This puts C executables into a good shape again.

svn path=/branches/cmake-bringup/; revision=49054

13 years ago[CMAKE]
Jérôme Gardou [Fri, 8 Oct 2010 13:47:39 +0000 (13:47 +0000)]
[CMAKE]
  - Use stlport specific includes only for c++ source files
  - remove linking to ntdll, kernel32 and oldnames for mingw_common

svn path=/branches/cmake-bringup/; revision=49050

13 years ago[CMAKE]
Jérôme Gardou [Fri, 8 Oct 2010 10:46:54 +0000 (10:46 +0000)]
[CMAKE]
  - add gcc dependencies to executables, not to mingw_(w)main
[STLPORT]
  - move features definitions where it belongs.
[SDK]
  - errno _must_ be defined in errno.h, nowhere else, or stlport headers choke.

svn path=/branches/cmake-bringup/; revision=49049

13 years ago[HEAP]
Aleksey Bragin [Fri, 8 Oct 2010 09:47:48 +0000 (09:47 +0000)]
[HEAP]
- Roel Messiant: Remove old-style Peb->ProcessHeaps assignment from RTL, it's already done by MM.
- Roel Messiant: Fix a typo (missing else) between two if branches, which fixes commit routine support.
- Properly save requested size if 0 was given (1 should be allocated, but 0 saved as a requested amount). Fixes winetests.
- Remove unnecessary dprints.

svn path=/trunk/; revision=49048

13 years ago[CMAKE]
Jérôme Gardou [Fri, 8 Oct 2010 08:32:53 +0000 (08:32 +0000)]
[CMAKE]
  - remove now useless libstdc++.a

svn path=/branches/cmake-bringup/; revision=49047

13 years ago[CMAKE]
Amine Khaldi [Thu, 7 Oct 2010 22:09:31 +0000 (22:09 +0000)]
[CMAKE]
Jerome Gardou:
- Add STLport 5.2.1 (yes, STLport, the c++ stl implementation) to build. For now, it works only in user mode.
- Link some c++ executables to it
- sol.exe : one step towards a complete and modern OS.
- Dedicated to Amine for his patience and his help.
- Might Break Things! (tm)

svn path=/branches/cmake-bringup/; revision=49046

13 years ago[NTDLL]
Aleksey Bragin [Thu, 7 Oct 2010 21:12:10 +0000 (21:12 +0000)]
[NTDLL]
- Load image execution options before creating process heap (so that GlobalFlag overrides can be taken into account).
- Make LdrQueryImageFileExecutionOptions avoid heap usage when possible (and when it's not possible, fail with out of memory status).
- Fixes a dramatic count of ~100 failures in "kernel32_winetest heap".

svn path=/trunk/; revision=49045

13 years ago[NTOSKRNL]
Pierre Schweitzer [Thu, 7 Oct 2010 20:20:10 +0000 (20:20 +0000)]
[NTOSKRNL]
On boot, while loading drivers, make starting Loader Block available to the whole kernel to let drivers calling on-boot functions that may need it.
One of them will be implemented later.

svn path=/trunk/; revision=49044

13 years ago[NTOSKRNL]
Pierre Schweitzer [Thu, 7 Oct 2010 20:08:24 +0000 (20:08 +0000)]
[NTOSKRNL]
Fixed a FIXME in ARC names by implementing IopStoreSystemPartitionInformation(). This make ReactOS writing boot paths to registry.

svn path=/trunk/; revision=49043

13 years ago[NTOSKRNL]
Pierre Schweitzer [Thu, 7 Oct 2010 19:58:22 +0000 (19:58 +0000)]
[NTOSKRNL]
Don't ignore IopCreateArcNames() return while booting.
At the moment, it's just returning STATUS_SUCCES but it will be changed later.

svn path=/trunk/; revision=49042

13 years agoFix indentation. No code changes.
Eric Kohl [Thu, 7 Oct 2010 19:58:04 +0000 (19:58 +0000)]
Fix indentation. No code changes.

svn path=/trunk/; revision=49041

13 years ago[FREELDR]
Pierre Schweitzer [Thu, 7 Oct 2010 19:16:09 +0000 (19:16 +0000)]
[FREELDR]
Fix CDs checksum computation
[NTOSKRNL]
Fix ARC names accordingly

svn path=/trunk/; revision=49040

13 years ago[win32k]
Giannis Adamopoulos [Thu, 7 Oct 2010 19:14:49 +0000 (19:14 +0000)]
[win32k]
- Fix an ancient FIXME in PATH_PathToRegion

svn path=/trunk/; revision=49039

13 years ago[NTOS]: Fix copy/paste error.
Sir Richard [Thu, 7 Oct 2010 17:41:20 +0000 (17:41 +0000)]
[NTOS]: Fix copy/paste error.

svn path=/trunk/; revision=49037

13 years ago[NTOS]: Hackfix a hack. Should get rid of the recent VAD assert in user32/bpp changes.
Sir Richard [Thu, 7 Oct 2010 17:35:25 +0000 (17:35 +0000)]
[NTOS]: Hackfix a hack. Should get rid of the recent VAD assert in user32/bpp changes.

svn path=/trunk/; revision=49036

13 years ago[NTOS]: Add support for user-mode VAD faults on page tables (just a couple lines...
Sir Richard [Thu, 7 Oct 2010 17:27:23 +0000 (17:27 +0000)]
[NTOS]: Add support for user-mode VAD faults on page tables (just a couple lines of extra code).
[NTOS]: Add support for user-mode VAD demand zero faults.
[NTOS]: Remove broken ASSERT.

svn path=/trunk/; revision=49035

13 years ago[HEAP]
Aleksey Bragin [Thu, 7 Oct 2010 17:05:29 +0000 (17:05 +0000)]
[HEAP]
- Fix allocated/free memory fillers to match those Windows uses (winetests)
- Add missing coalesce-on-free flag check in RtlCreateHeap
- Turn on tail check/pattern filling in RtlAllocateHeap.
- Add extra stuff storage support in RtlAllocateHeap and its helpers.
- Set win32 statuses where necessary.
- Return success in RtlValidateHeap to reduce spam when running winetest.

svn path=/trunk/; revision=49034