reactos.git
10 years agoSync to trunk (r44371)
Samuel Serapion [Thu, 3 Dec 2009 07:26:32 +0000 (07:26 +0000)]
Sync to trunk (r44371)

svn path=/branches/ros-amd64-bringup/; revision=44372

10 years agoSXS Support Part 2 of 2.
Michael Martin [Thu, 3 Dec 2009 05:42:58 +0000 (05:42 +0000)]
SXS Support Part 2 of 2.
[dll/ntdll]
- Import find_actctx_dll from WINE. Add create_module_activation_context based on WINE.
- Search for an active context dlls during mapping dll's in LdrpMapDllImageFile.
- Allocate memory for the ActivationContextStackPointer when loading the executable image in LdrPEStartup.
[dll/kernel32]
- Import kernel32 ActCtx related apis from WINE.
Now active.

svn path=/trunk/; revision=44371

10 years ago[General]
Colin Finck [Wed, 2 Dec 2009 20:32:16 +0000 (20:32 +0000)]
[General]
- Remove the "kernel32" library reference in all .rbuild files of user-mode modules, because this one is already added by "mingw_common". Also fix the indentation in some files.

svn path=/trunk/; revision=44368

10 years agoMove tsclient to rosapps [2/2]
Gregor Schneider [Wed, 2 Dec 2009 18:58:51 +0000 (18:58 +0000)]
Move tsclient to rosapps [2/2]

svn path=/trunk/; revision=44366

10 years agoMove tsclient to rosapps (not included in build process and superseded by Geds mstsc...
Gregor Schneider [Wed, 2 Dec 2009 18:58:05 +0000 (18:58 +0000)]
Move tsclient to rosapps (not included in build process and superseded by Geds mstsc implementation) [1/2]

svn path=/trunk/; revision=44365

10 years agoMartin Ettl <ettl DOT martin AT gmx DOT de>: Fix various resource and memory leaks
Gregor Schneider [Wed, 2 Dec 2009 18:28:52 +0000 (18:28 +0000)]
Martin Ettl <ettl DOT martin AT gmx DOT de>: Fix various resource and memory leaks
See issue #4974 for more details.

svn path=/trunk/; revision=44364

10 years agoUpdate log2lines to version 1.5. Jan Roeloffzen, bug #4342.
Dmitry Gorbachev [Wed, 2 Dec 2009 17:11:32 +0000 (17:11 +0000)]
Update log2lines to version 1.5. Jan Roeloffzen, bug #4342.

svn path=/trunk/; revision=44363

10 years agoSXS Support Part 1 of 2. All import work done by Samuel SerapiĆ³n with some small...
Michael Martin [Wed, 2 Dec 2009 09:43:35 +0000 (09:43 +0000)]
SXS Support Part 1 of 2. All import work done by Samuel SerapiĆ³n with some small changes my me.
[lib/rtl]
- Import Rtlxx and related functions for Activation Context Support from WINE.
- Implement RtlAllocateActivationContextStack.
- Modify get_manifest_in_manifest_file function to use FileStandardInformation vice FileEndOfFileInformation (currently unsupported) in call to NtQueryInformationFile.
- Add structs RTL_ACTIVATION_CONTEXT_STACK_FRAME and ACTIVATION_CONTEXT_STACK from WINE.
- Add ActivationContextStackPointer to TEB.
- Define QUERY_ACTCTX_FLAG_NO_ADDREF.Will become active with changes to ntdll loader in Part 2.

svn path=/trunk/; revision=44359

10 years agoHandle the upcoming name change from mingw32-make.exe to make.exe in the next version...
Ged Murphy [Wed, 2 Dec 2009 09:16:10 +0000 (09:16 +0000)]
Handle the upcoming name change from mingw32-make.exe to make.exe in the next version of RosBE.

svn path=/trunk/; revision=44358

10 years agoBug 4970: PATCH: Dutch translation for newdev by Maikel Wever
Daniel Reimer [Wed, 2 Dec 2009 08:22:35 +0000 (08:22 +0000)]
Bug 4970: PATCH: Dutch translation for newdev by Maikel Wever
Bug 4971: PATCH: Dutch translation for regsvr32 by Maikel Wever
Bug 4972: PATCH: Dutch translation of Calc - UPDATE by Maikel Wever

svn path=/trunk/; revision=44355

10 years agofix warning about no newline at end of file
Samuel Serapion [Wed, 2 Dec 2009 02:50:16 +0000 (02:50 +0000)]
fix warning about no newline at end of file

svn path=/branches/ros-amd64-bringup/; revision=44352

10 years ago[ntoskrnl/cc]
Aleksey Bragin [Tue, 1 Dec 2009 21:32:50 +0000 (21:32 +0000)]
[ntoskrnl/cc]
- Don't create zero sized cache segments. By Dmitry Gorbachev.
See issue #4100 for more details.

svn path=/trunk/; revision=44349

10 years ago[ntoskrnl/se]
Aleksey Bragin [Tue, 1 Dec 2009 21:26:40 +0000 (21:26 +0000)]
[ntoskrnl/se]
- Add a hack which prints an annoying message and grants access when it should not be. Callers/bugs should be fixed and this commit reverted after that.
See issue #4169 for more details.

svn path=/trunk/; revision=44348

10 years ago[inf] Fix fdc driver version entry (highlighted by bug #4917)
Gregor Schneider [Tue, 1 Dec 2009 19:51:51 +0000 (19:51 +0000)]
[inf] Fix fdc driver version entry (highlighted by bug #4917)

svn path=/trunk/; revision=44347

10 years agoAdd the msvc10 makefile changes
Ged Murphy [Tue, 1 Dec 2009 18:56:05 +0000 (18:56 +0000)]
Add the msvc10 makefile changes

svn path=/trunk/; revision=44346

10 years ago[kernel]
Gregor Schneider [Tue, 1 Dec 2009 18:53:01 +0000 (18:53 +0000)]
[kernel]
- Fail in DosDateTimeToFileTime if prior time conversion was unsuccessful
- Should fix the NetStats installation, bug #4917, part 2

svn path=/trunk/; revision=44345

10 years ago[ntdll]
Gregor Schneider [Tue, 1 Dec 2009 18:46:13 +0000 (18:46 +0000)]
[ntdll]
- Logic change of r37554 is correct, RtlTimeFieldsToTime doesn't normalize invalid input values - remove these codes
- Related to bug #4917, part 1

svn path=/trunk/; revision=44344

10 years ago- Include support for makefile configurations.
Ged Murphy [Tue, 1 Dec 2009 18:44:16 +0000 (18:44 +0000)]
- Include support for makefile configurations.
- Add a new makefile config to the global configuration called RosBuild
- Use the new makefile config to process and external batch file which make use of rbuild.
- Split and partially rewrite _generate_vcproj. Configurations are now written in support functions.
- Remove the creation of .vcproj.user files. They're rather pointless for our needs
- Start to add support for VS2010 (make msvc10), it's very incomplete at the moment so don't bother trying it.

After this commit, you can now use Visual Studio to build individual reactos components. Run 'make msvc9', open up any vcproj file, select the RosBuild config and hit the build/rebuild button. Working build features are 'build', 'rebuild' and 'clean'

svn path=/trunk/; revision=44343

10 years agoAdd a root level batch file which allows building reactos without invoking RosBE.
Ged Murphy [Tue, 1 Dec 2009 18:39:49 +0000 (18:39 +0000)]
Add a root level batch file which allows building reactos without invoking RosBE.
It won't currently work without RosBE as it relies in the gcc toolset installed along with RosBE to go about its business.
It currently checks for RosBE existence with a rather hackish ^H^H^H^H ... elaborate string parser using the 'reg' command line util output. I'd be happy for anyone to improve on this.

svn path=/trunk/; revision=44342

10 years ago[kernel32]
Michael Martin [Tue, 1 Dec 2009 11:48:06 +0000 (11:48 +0000)]
[kernel32]
- Fix broken code inside SXS_SUPPORT_ENABLED define and add some DPRINTs. Still unused.

svn path=/trunk/; revision=44341

10 years ago- [Win32k] Make DispatchMessage call direct to WinProc callback. Add more thread...
James Tabor [Tue, 1 Dec 2009 05:35:05 +0000 (05:35 +0000)]
- [Win32k] Make DispatchMessage call direct to WinProc callback. Add more thread death checks.

svn path=/trunk/; revision=44340

10 years agoHack fix ndis build.
Samuel Serapion [Tue, 1 Dec 2009 03:36:35 +0000 (03:36 +0000)]
Hack fix ndis build.

svn path=/branches/ros-amd64-bringup/; revision=44339

10 years agofix build.
Samuel Serapion [Tue, 1 Dec 2009 03:17:54 +0000 (03:17 +0000)]
fix build.

svn path=/branches/ros-amd64-bringup/; revision=44338

10 years agofix build
Timo Kreuzer [Tue, 1 Dec 2009 02:03:34 +0000 (02:03 +0000)]
fix build

svn path=/branches/ros-amd64-bringup/; revision=44337

10 years agoUpdate log2lines to version 1.4. Jan Roeloffzen, bug #4342.
Dmitry Gorbachev [Mon, 30 Nov 2009 21:49:18 +0000 (21:49 +0000)]
Update log2lines to version 1.4. Jan Roeloffzen, bug #4342.

svn path=/trunk/; revision=44335

10 years ago- [Win32k] Test thread death before posting to queue.
James Tabor [Mon, 30 Nov 2009 20:13:05 +0000 (20:13 +0000)]
- [Win32k] Test thread death before posting to queue.

svn path=/trunk/; revision=44334

10 years ago- [Win32k] Remove debug prints from classes.
James Tabor [Mon, 30 Nov 2009 19:24:23 +0000 (19:24 +0000)]
- [Win32k] Remove debug prints from classes.

svn path=/trunk/; revision=44333

10 years ago- [Win32k] Use PostMessage to send broadcast messages to the queues. co_IntPostOrSend...
James Tabor [Mon, 30 Nov 2009 19:21:27 +0000 (19:21 +0000)]
- [Win32k] Use PostMessage to send broadcast messages to the queues. co_IntPostOrSendMessage does not support it.

svn path=/trunk/; revision=44332

10 years ago- First version of ReactOS Sound Record Application by Marco Pagliaricci (IRC: rendar)
Johannes Anderwald [Mon, 30 Nov 2009 18:54:41 +0000 (18:54 +0000)]
- First version of ReactOS Sound Record Application by Marco Pagliaricci (IRC: rendar)

svn path=/trunk/; revision=44331

10 years agoApply font changes from r44305 to mainline.
Dmitry Gorbachev [Mon, 30 Nov 2009 17:00:12 +0000 (17:00 +0000)]
Apply font changes from r44305 to mainline.

svn path=/trunk/; revision=44330

10 years agoFix build breakage
Johannes Anderwald [Mon, 30 Nov 2009 14:55:20 +0000 (14:55 +0000)]
Fix build breakage

svn path=/trunk/; revision=44329

10 years agoUpdated the rapps Software list.
Daniel Reimer [Mon, 30 Nov 2009 01:50:47 +0000 (01:50 +0000)]
Updated the rapps Software list.
AbiWord from 2.6.4 to 2.6.8
MinGW from 5.1.4 to 5.1.6
MirandaIM from 0.8.9 to 0.8.10
Opera from 9.6.4 to 10.10 (YES, this works!)
SDL Mixer from 1.2.9 to 1.2.11
SeaMonkey from 1.1.18 to 2.0 (YES, that too!)
UltraVNC from 1.0.6.5 to 1.0.8.0
uTorrent from 1.8.4 to 1.8.5
vlc from 1.0.2 to 1.0.3

svn path=/trunk/; revision=44328

10 years ago[MM]
Timo Kreuzer [Mon, 30 Nov 2009 00:24:55 +0000 (00:24 +0000)]
[MM]
Rewrite the broken MmFindGap* functions. They were first searching for a gap between the already allocated memory areas and only after that trying to find a gap below or above these areas. This bug helped with 2 things. 1. Not overwriting the kernel mapping, because no memory area was defined for it and 2. allow csrss to map video memory at virtual adress 0x000a0000. The former is fixed by adding the appropriate memory area, the latter is hacked away, by making the addressing range start at 0x00100000. Also use MmHighestUserAddress instead of MmSystemRangestart - 1. Simplyfy overcomplicated code. Fix a DPRINT

svn path=/branches/ros-amd64-bringup/; revision=44327

10 years ago[WDMAUD.DRV]
Johannes Anderwald [Sun, 29 Nov 2009 22:58:33 +0000 (22:58 +0000)]
[WDMAUD.DRV]
- Implement support for resetting a stream (not yet used)
- Don't translate the error again in QueryMixerInfo as SyncOverlappedDeviceIoControl has already translated the error
- Don't touch the cbSize member when opening a wave device, as the caller might have passed a WAVEFORMAT struct instead a WAVEFORMATEX struct. Fixes winmm_winetest wave / mixer crashs
- Query all available events when an mixer event is fired

svn path=/trunk/; revision=44326

10 years ago[MMEBUDDY]
Johannes Anderwald [Sun, 29 Nov 2009 21:17:15 +0000 (21:17 +0000)]
[MMEBUDDY]
- Return correct error code
- Fixes last 4 four winmm_winetest mixer test failures

svn path=/trunk/; revision=44325

10 years ago- Partly revert 44309 as it sometimes causes problems
Johannes Anderwald [Sun, 29 Nov 2009 19:29:52 +0000 (19:29 +0000)]
- Partly revert 44309 as it sometimes causes problems

svn path=/trunk/; revision=44324

10 years ago[WDMAUD_KERNEL]
Johannes Anderwald [Sun, 29 Nov 2009 18:56:56 +0000 (18:56 +0000)]
[WDMAUD_KERNEL]
- Always set Mute control on first channel
[PORTCLS]
- Rewrite node property handling. Fixes lots of bugs and fixes all winmm_winetest mixer failures

svn path=/trunk/; revision=44323

10 years ago[setupapi] Sync SetupGetIntField to Wine, fixes six setupapi:parser tests
Gregor Schneider [Sun, 29 Nov 2009 18:07:14 +0000 (18:07 +0000)]
[setupapi] Sync SetupGetIntField to Wine, fixes six setupapi:parser tests

svn path=/trunk/; revision=44322

10 years ago[MM]
Timo Kreuzer [Sun, 29 Nov 2009 15:55:46 +0000 (15:55 +0000)]
[MM]
- Fix calculation of MemoryArea size for the Page tables
- Fix debug output for page table and hyperspace addresses

svn path=/branches/ros-amd64-bringup/; revision=44321

10 years ago[MM]
Timo Kreuzer [Sun, 29 Nov 2009 15:51:46 +0000 (15:51 +0000)]
[MM]
MiReloadBootLoadedDrivers:
- Allow images with relocations stripped.
- Make sure NumberOfRvaAndSizes is *>* IMAGE_DIRECTORY_ENTRY_BASERELOC (== is not enough)
- Move one ASSERT, remove a useless ASSERT

svn path=/branches/ros-amd64-bringup/; revision=44320

10 years ago[MM]
Timo Kreuzer [Sun, 29 Nov 2009 15:26:31 +0000 (15:26 +0000)]
[MM]
MmCreateMemoryArea: Make tmpLength an ULONG_PTR, so it dowsn't overflow on 64 bit

svn path=/branches/ros-amd64-bringup/; revision=44319

10 years ago[ntdll]
Michael Martin [Sun, 29 Nov 2009 10:53:39 +0000 (10:53 +0000)]
[ntdll]
- Implement LdrLockLoaderLock and LdrUnlockLoaderLock.

svn path=/trunk/; revision=44318

10 years ago- Try fix increase of winmm:mixer tests failure
Johannes Anderwald [Sat, 28 Nov 2009 22:15:20 +0000 (22:15 +0000)]
- Try fix increase of winmm:mixer tests failure
- Found by Gregor Schneider (DosX)

svn path=/trunk/; revision=44315

10 years agoNevermind.
KJK::Hyperion [Sat, 28 Nov 2009 20:09:07 +0000 (20:09 +0000)]
Nevermind.

svn path=/trunk/; revision=44314

10 years ago[msvcrt]
Gregor Schneider [Sat, 28 Nov 2009 19:35:47 +0000 (19:35 +0000)]
[msvcrt]
- Validate the process heap
- Remove validation as soon as this function is tested

svn path=/trunk/; revision=44313

10 years ago- [Win32k] Add comments to text functions.
James Tabor [Sat, 28 Nov 2009 19:34:45 +0000 (19:34 +0000)]
- [Win32k] Add comments to text functions.

svn path=/trunk/; revision=44312

10 years ago- Implement IOCTL_RESET_STREAM which is required for waveInReset waveOutReset
Johannes Anderwald [Sat, 28 Nov 2009 17:06:22 +0000 (17:06 +0000)]
- Implement IOCTL_RESET_STREAM which is required for waveInReset waveOutReset

svn path=/trunk/; revision=44311

10 years ago- Silence debug print
Johannes Anderwald [Sat, 28 Nov 2009 17:05:06 +0000 (17:05 +0000)]
- Silence debug print

svn path=/trunk/; revision=44310

10 years ago[PORTCLS]
Johannes Anderwald [Sat, 28 Nov 2009 17:01:46 +0000 (17:01 +0000)]
[PORTCLS]
- Store KSOBJECT_HEADER as the first member in a struct, which ks can use to access object header. Fixes initialization of ReactOS portcls in WinXP
- Partly implement power querying / setting. Fixes bsod when shutting down the system in WinXP with ReactOS portcls
- Change the pin state at PASSIVE_LEVEL
- Implement IOCTL_KS_RESET for CPinWaveCyclic

svn path=/trunk/; revision=44309

10 years ago[gdiplus]
Gregor Schneider [Sat, 28 Nov 2009 15:26:02 +0000 (15:26 +0000)]
[gdiplus]
- Update to current Wine sources
- Now routes BMP drawing to gdi instead of doing ole32 magic (bug #3412)

svn path=/trunk/; revision=44308

10 years ago[msvcrt]
Gregor Schneider [Sat, 28 Nov 2009 15:16:36 +0000 (15:16 +0000)]
[msvcrt]
- Fix buffer calculation in argvtoW, missed unicode character size
- Fixes another crash during GIMP startup, now GIMP starts (bug #3503, part 2)
- Fix same problem in valisttoA/W

svn path=/trunk/; revision=44307

10 years ago[msvcrt]
Gregor Schneider [Sat, 28 Nov 2009 15:13:18 +0000 (15:13 +0000)]
[msvcrt]
- Use the process heap for malloc and friends
- Fixes a crash during GIMP startup (bug #3503, part 1)

svn path=/trunk/; revision=44306

10 years ago[msvcrt] Update scanf family with a patch that also went to Wine (http://source.wineh...
Gregor Schneider [Sat, 28 Nov 2009 15:01:40 +0000 (15:01 +0000)]
[msvcrt] Update scanf family with a patch that also went to Wine (source.winehq.org/git/wine.git/?a=commit;h=2043035e1749e40e23853d751ac1410d39fc8d27):
Calculate floating point decimals in internally used long double precision.
Fixes bug #4092 (calculator imprecision)

svn path=/trunk/; revision=44304

10 years ago[ntoskrnl/config]
Michael Martin [Sat, 28 Nov 2009 14:54:34 +0000 (14:54 +0000)]
[ntoskrnl/config]
- CmpFindSubKeyInName: CmpFindSubKeyInRoot is useless in finding the correct leaf with the key name that is being searched for when keys are not sorted. Loop and search each leaf of the root index for the key name. See bug #4895 for more info.

svn path=/trunk/; revision=44303

10 years agoRemoved documentation about a build system feature that's no longer supported
KJK::Hyperion [Sat, 28 Nov 2009 14:51:52 +0000 (14:51 +0000)]
Removed documentation about a build system feature that's no longer supported
I give thanks for the opportunity to improve ReactOS by removing, instead of adding code

svn path=/trunk/; revision=44302

10 years ago- Revert the oskit locking rewrite in trunk, it's better to test/debug it in the...
Aleksey Bragin [Sat, 28 Nov 2009 14:45:21 +0000 (14:45 +0000)]
- Revert the oskit locking rewrite in trunk, it's better to test/debug it in the branch first. Reverted revisions numbers: 44268, 44267, 44266, 44250, 44199, 44166-163, 44021, 44010, 43926, 43922, 43883.

svn path=/trunk/; revision=44301

10 years agoImplement "portable" SList code for 64 bit
Timo Kreuzer [Fri, 27 Nov 2009 17:37:07 +0000 (17:37 +0000)]
Implement "portable" SList code for 64 bit

svn path=/branches/ros-amd64-bringup/; revision=44296

10 years agoSome more fixes for RtlInterlockedPopEntrySList and RtlInterlockedPushEntrySList
Timo Kreuzer [Fri, 27 Nov 2009 17:30:25 +0000 (17:30 +0000)]
Some more fixes for RtlInterlockedPopEntrySList and RtlInterlockedPushEntrySList

svn path=/branches/ros-amd64-bringup/; revision=44295

10 years agoFix SLIST_ENTRY for WIN64
Timo Kreuzer [Fri, 27 Nov 2009 17:23:05 +0000 (17:23 +0000)]
Fix SLIST_ENTRY for WIN64

svn path=/branches/ros-amd64-bringup/; revision=44294

10 years ago- Don't use a pointer to SINGLE_LIST_ENTRY as parameter for InterlockedPushEntrySList...
Timo Kreuzer [Fri, 27 Nov 2009 17:06:54 +0000 (17:06 +0000)]
- Don't use a pointer to SINGLE_LIST_ENTRY as parameter for InterlockedPushEntrySList. It's not the same as SLIST_ENTRY!

svn path=/branches/ros-amd64-bringup/; revision=44293

10 years ago- rewrite the completely broken RtlInterlockedPopEntrySList, implement RtlInterlocked...
Timo Kreuzer [Thu, 26 Nov 2009 22:40:07 +0000 (22:40 +0000)]
- rewrite the completely broken RtlInterlockedPopEntrySList, implement RtlInterlockedPushEntrySList, RtlInterlockedFlushSList
- use these for ExpInterlocked*
- remove a bunch of Interlocked* functions from amd64 kernel exports

svn path=/branches/ros-amd64-bringup/; revision=44289

10 years ago[rpcrt4]
Aleksey Bragin [Wed, 25 Nov 2009 19:36:10 +0000 (19:36 +0000)]
[rpcrt4]
- Revert rpcrt4 back to 1.1.31-partial. Fixes various RPC related regressions.

svn path=/trunk/; revision=44287

10 years ago - Initialize SocketError to 0 to prevent a bogus error from GCC
Cameron Gutman [Wed, 25 Nov 2009 18:08:43 +0000 (18:08 +0000)]
 - Initialize SocketError to 0 to prevent a bogus error from GCC

svn path=/trunk/; revision=44286

10 years ago[ntoskrnl/cm]
Aleksey Bragin [Tue, 24 Nov 2009 22:56:43 +0000 (22:56 +0000)]
[ntoskrnl/cm]
- CmpSelectLeaf fixes: looking into an incorrect cell, returning wrong cell, slightly simplify code and add more comments for clarity. Thanks to Michael Martin for spotting these bugs.

svn path=/trunk/; revision=44285

10 years ago[WIDL]
Aleksey Bragin [Tue, 24 Nov 2009 22:42:40 +0000 (22:42 +0000)]
[WIDL]
- Update widl to Wine-1.1.33.

svn path=/trunk/; revision=44284

10 years ago[IDL]
Aleksey Bragin [Tue, 24 Nov 2009 22:39:25 +0000 (22:39 +0000)]
[IDL]
- Make our IDLs files to not specify a [range] tag for string datatypes, and 0,256 range for an unsigned type. Fixes compiling with newer WIDL and (probably) MIDL.

svn path=/trunk/; revision=44283

10 years ago[rosautotest]: Find the last underscore instead of the first one when building a...
Gregor Schneider [Tue, 24 Nov 2009 20:36:53 +0000 (20:36 +0000)]
[rosautotest]: Find the last underscore instead of the first one when building a module name, hurray for twain_32_winetest and ws2_32_winetest
See issue #4929 for more details.

svn path=/trunk/; revision=44282

10 years agoSeCaptureSecurityDescriptor: instead of first copying the relative offsets of a SECUR...
Timo Kreuzer [Mon, 23 Nov 2009 21:52:18 +0000 (21:52 +0000)]
SeCaptureSecurityDescriptor: instead of first copying the relative offsets of a SECURITY_DESCRIPTOR_RELATIVE into the pointer fields of a SECURITY_DESCRIPTOR and later adding the base pointer, do it directly as the code already needs to handle relative and absolute structures differently before.

svn path=/branches/ros-amd64-bringup/; revision=44276

10 years agoMm64BitPhysicalAddress is a BOOLEAN, not a PBOOLEAN
Timo Kreuzer [Mon, 23 Nov 2009 20:44:21 +0000 (20:44 +0000)]
Mm64BitPhysicalAddress is a BOOLEAN, not a PBOOLEAN

svn path=/branches/ros-amd64-bringup/; revision=44274

10 years agoRemove some useless code.
Timo Kreuzer [Sun, 22 Nov 2009 21:10:06 +0000 (21:10 +0000)]
Remove some useless code.

svn path=/branches/ros-amd64-bringup/; revision=44270

10 years ago[MM]
Timo Kreuzer [Sun, 22 Nov 2009 20:33:49 +0000 (20:33 +0000)]
[MM]
Don't acquire the pfn lock before calling MmReleasePageMemoryConsumer. The function acquires it already and before that it acquires a different spinlock, leading to a race condition on SMP systems.

svn path=/branches/ros-amd64-bringup/; revision=44269

10 years ago[MM]
Timo Kreuzer [Sun, 22 Nov 2009 19:16:50 +0000 (19:16 +0000)]
[MM]
Use an array of PFN_NUMBER to pass to MiMapPagesToZeroInHyperSpace instead of MMPFNs which were then converted to PFN_NUMBERs.

svn path=/branches/ros-amd64-bringup/; revision=44268

10 years ago - Fix a race condition that occurs when an IRP gets cancelled after it is inserted...
Cameron Gutman [Sun, 22 Nov 2009 02:32:47 +0000 (02:32 +0000)]
 - Fix a race condition that occurs when an IRP gets cancelled after it is inserted into the completion queue but before it is completed

svn path=/trunk/; revision=44267

10 years ago - Remove memtrack and use tags instead (ExAllocatePoolWithTag/ExFreePoolWithTag)
Cameron Gutman [Sat, 21 Nov 2009 23:53:43 +0000 (23:53 +0000)]
 - Remove memtrack and use tags instead (ExAllocatePoolWithTag/ExFreePoolWithTag)
 - Cleanup DriverEntry
 - Remove DEFINE_TAG
 - Remove checkpoints in TiCreateFileObject

svn path=/trunk/; revision=44266

10 years ago[kernel32]
Aleksey Bragin [Sat, 21 Nov 2009 20:41:24 +0000 (20:41 +0000)]
[kernel32]
- Don't export unnecessary stub. Fixes Firefox 3.5.5 startup.

svn path=/trunk/; revision=44261

10 years ago[ntoskrnl/se]
Aleksey Bragin [Sat, 21 Nov 2009 17:58:33 +0000 (17:58 +0000)]
[ntoskrnl/se]
- Factor out working code from SeAccessCheck into SepAccessCheck, taking out addition parameter - LowerImpersonationLevel. The lowest level for SeAccessCheck remains SecurityImpersonation, but for NtAccessCheck it's lowered to SecurityIdentification. Name of this patch's author has been lost.
See issue #4169 for more details.

svn path=/trunk/; revision=44260

10 years agoULONG -> ULONG_PTR
Timo Kreuzer [Sat, 21 Nov 2009 15:56:05 +0000 (15:56 +0000)]
ULONG -> ULONG_PTR

svn path=/branches/ros-amd64-bringup/; revision=44259

10 years ago- MmArmAccessFault: Don't assume that PDE's are accessible, instead use MiIsPdeForAdd...
Timo Kreuzer [Sat, 21 Nov 2009 15:52:28 +0000 (15:52 +0000)]
- MmArmAccessFault: Don't assume that PDE's are accessible, instead use MiIsPdeForAddressValid
- Use HYPER_SPACE_END / MI_PFN_DATABASE constants instead of hardcoded values
- Remove the MmAccessFault hack, it works now.

svn path=/branches/ros-amd64-bringup/; revision=44258

10 years agoPFN_TYPE -> PFN_NUMBER
Timo Kreuzer [Sat, 21 Nov 2009 15:43:26 +0000 (15:43 +0000)]
PFN_TYPE -> PFN_NUMBER

svn path=/branches/ros-amd64-bringup/; revision=44257

10 years ago- Update MMPFN for WIN64
Timo Kreuzer [Sat, 21 Nov 2009 15:28:14 +0000 (15:28 +0000)]
- Update MMPFN for WIN64

svn path=/branches/ros-amd64-bringup/; revision=44256

10 years ago - Disassociate the socket context before closing so we don't get signalled with...
Cameron Gutman [Sat, 21 Nov 2009 13:00:37 +0000 (13:00 +0000)]
 - Disassociate the socket context before closing so we don't get signalled with a freed context (major cause of crashes)
 - Signal the connection directly from TCPSocketState
 - Remove some unused code
 - Queue completion requests on a separate list so we don't have to keep locking and unlocking while completing
 - Add better locking to tcpip (not the lib)
 - Remove some unused variables
 - Don't hold the cancel spin lock longer than necessary
 - Check that we successfully got the device description

svn path=/trunk/; revision=44250

10 years ago[wininet]
Aleksey Bragin [Fri, 20 Nov 2009 16:50:05 +0000 (16:50 +0000)]
[wininet]
- Revert 44236 (sync wininet to Wine-1.1.33) and 43948 (sync wininet to Wine-1.1.32). Part 1/3 of rapps unregressing.
See issue #4934 for more details.

svn path=/trunk/; revision=44239

10 years ago[wininet]
Aleksey Bragin [Fri, 20 Nov 2009 14:22:05 +0000 (14:22 +0000)]
[wininet]
- Update wininet to Wine-1.1.33.

svn path=/trunk/; revision=44236

10 years ago[MM]
Timo Kreuzer [Wed, 18 Nov 2009 21:35:14 +0000 (21:35 +0000)]
[MM]
Implement MiBuildPagedPool. Refactor MmArmInitSystem. Use a hardcoded address for the PFN database, this might not be identical to windows, but it makes things simpler and there's no real point in dynamically putting it below the non paged pool. Use a global MxPhase to decide whether to do early page allocations using MxAllocEarlyPage or use MmAllocPage in phase 1. Paged pool allocations work now, but the page fault isn't handled yet.

svn path=/branches/ros-amd64-bringup/; revision=44229

10 years ago[MM]
Timo Kreuzer [Wed, 18 Nov 2009 21:20:09 +0000 (21:20 +0000)]
[MM]
Don't assume 1024 PTEs per page, instead use PTE_PER_PAGE constant.

svn path=/branches/ros-amd64-bringup/; revision=44228

10 years agoFixed typo
Pierre Schweitzer [Wed, 18 Nov 2009 18:15:49 +0000 (18:15 +0000)]
Fixed typo
(lost patch found in the dust)

svn path=/trunk/; revision=44227

10 years ago[rapps]
Aleksey Bragin [Wed, 18 Nov 2009 14:37:31 +0000 (14:37 +0000)]
[rapps]
Andrey Yastrebov <menone7@gmail.com>
- Fix app uninstallation feature (wrong lparam usage - it's pointer to PINSTALLED_INFO and not an hkey).
See issue #4961 for more details.

svn path=/trunk/; revision=44225

10 years ago- Properly convert mswsock.def to mswsock.spec (we have all functions properly stubbed).
Aleksey Bragin [Wed, 18 Nov 2009 14:16:34 +0000 (14:16 +0000)]
- Properly convert mswsock.def to mswsock.spec (we have all functions properly stubbed).
- Remove WSPStartup from ws2_32, it doesn't belong there. Spotted by Gabriel Ilardi.
See issue #4956 for more details.

svn path=/trunk/; revision=44224

10 years ago[MM]
Timo Kreuzer [Tue, 17 Nov 2009 19:30:35 +0000 (19:30 +0000)]
[MM]
Overall code improvements.

svn path=/branches/ros-amd64-bringup/; revision=44222

10 years agoAmmendment to r44220
Timo Kreuzer [Tue, 17 Nov 2009 19:25:19 +0000 (19:25 +0000)]
Ammendment to r44220

svn path=/branches/ros-amd64-bringup/; revision=44221

10 years ago[MM]
Timo Kreuzer [Tue, 17 Nov 2009 19:22:55 +0000 (19:22 +0000)]
[MM]
- MmCreateMemoryArea: the area type is a bitfield rather than an enum so use %lx instead of %ld to DPRINT it, add 2 more DPRINTs on failure
- MiInitSystemMemoryAreas: fix calculation of memory area sizes for 64 bit

svn path=/branches/ros-amd64-bringup/; revision=44220

10 years agoRemove unused variable.
Timo Kreuzer [Tue, 17 Nov 2009 19:11:12 +0000 (19:11 +0000)]
Remove unused variable.

svn path=/branches/ros-amd64-bringup/; revision=44219

10 years agoCreate a better definition of C_ASSERT to avoid multiple definition errors caused...
Timo Kreuzer [Tue, 17 Nov 2009 19:09:38 +0000 (19:09 +0000)]
Create a better definition of C_ASSERT to avoid multiple definition errors caused by included files.

svn path=/branches/ros-amd64-bringup/; revision=44218

10 years agoGoodbye win32k_base, you won't be missed
KJK::Hyperion [Tue, 17 Nov 2009 17:00:01 +0000 (17:00 +0000)]
Goodbye win32k_base, you won't be missed

svn path=/trunk/; revision=44216

10 years agoReapplying r44182. Thanks to r44208, it should actually work this time
KJK::Hyperion [Tue, 17 Nov 2009 16:18:34 +0000 (16:18 +0000)]
Reapplying r44182. Thanks to r44208, it should actually work this time

svn path=/trunk/; revision=44215

10 years agomodified Makefile
KJK::Hyperion [Tue, 17 Nov 2009 02:54:29 +0000 (02:54 +0000)]
modified   Makefile
   $(ECHO_DLLTOOL) -> $(ECHO_IMPLIB)
   New status line ECHO_RSP for built-in response file generator rule
   $(NL) variable that expands to a newline -- only known way to escape the newline character in GNU make

modified   tools/rbuild/backend/mingw/linkers/ld.mak
   $(ECHO DLLTOOL) -> $(ECHO_DLLTOOL) -> $(ECHO_IMPLIB)
   Generate a response file with the list of object files, instead of passing every single object file on the linker command line. Our really long linker command lines should no longer be an issue

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Clean files generated by externally-defined rules

Build issues fix 1/2 (1/3?)

svn path=/trunk/; revision=44208

10 years ago[MM]
Timo Kreuzer [Mon, 16 Nov 2009 22:12:36 +0000 (22:12 +0000)]
[MM]
- Implement the rest of MmArmInitSystem phase 1 except MiBuildPagedPool

svn path=/branches/ros-amd64-bringup/; revision=44207

10 years agoadd 64 bit POOL_HEADER, to make pool allocations work here, too
Timo Kreuzer [Mon, 16 Nov 2009 22:03:30 +0000 (22:03 +0000)]
add 64 bit POOL_HEADER, to make pool allocations work here, too

svn path=/branches/ros-amd64-bringup/; revision=44206

10 years ago- add BAUDRATE=115000 to boot command line
Timo Kreuzer [Mon, 16 Nov 2009 21:56:29 +0000 (21:56 +0000)]
- add BAUDRATE=115000 to boot command line
- Improve the code in wlmemory.c, no real functional change

svn path=/branches/ros-amd64-bringup/; revision=44205

10 years agoOn amd64 the NextEntry member of MMPTE_LIST has 32 bits, but 36 would be required...
Timo Kreuzer [Mon, 16 Nov 2009 19:35:36 +0000 (19:35 +0000)]
On amd64 the NextEntry member of MMPTE_LIST has 32 bits, but 36 would be required to cover the whole pte space. Therefore use MmSystemPtesStart[SystemPtePoolType] as base for the pfn linked list instead of MmSystemPteBase, which is set to PTE_BASE.

svn path=/branches/ros-amd64-bringup/; revision=44204