17 years ago- get mpu401, parallel and ramdrv to work on msvc.
Alex Ionescu [Sat, 7 Jan 2006 05:37:22 +0000 (05:37 +0000)]
- get mpu401, parallel and ramdrv to work on msvc.

svn path=/trunk/; revision=20648

17 years agoPatch by Raimonds Praude raimonds.praude at
James Tabor [Sat, 7 Jan 2006 05:23:59 +0000 (05:23 +0000)]
Patch by Raimonds Praude raimonds.praude at

Could not set the text limit for combo box. An application sent CB_LIMITTEXT
text message, but it was not being processed. Now it is possible to set
the text limit, 5 or 8 symbols, for instance.

CB_LIMITTEXT message processing was added into ComboWndProc_common function
in combo.c file.

svn path=/trunk/; revision=20647

17 years ago- Get green to compile with msvc/ddk.
Alex Ionescu [Sat, 7 Jan 2006 05:11:32 +0000 (05:11 +0000)]
- Get green to compile with msvc/ddk.

svn path=/trunk/; revision=20646

17 years agoRemove NtGdiCheckColorsInGamut as it is not an API.
Brandon Turner [Sat, 7 Jan 2006 03:29:02 +0000 (03:29 +0000)]
Remove NtGdiCheckColorsInGamut as it is not an API.

svn path=/trunk/; revision=20645

17 years ago- Much cleaner way to get blue building (remove ugly header hacks)
Alex Ionescu [Sat, 7 Jan 2006 02:14:42 +0000 (02:14 +0000)]
- Much cleaner way to get blue building (remove ugly header hacks)
- Get bootvid working too.

svn path=/trunk/; revision=20644

17 years ago- Get beep and blue to compile/link on MSVC.
Alex Ionescu [Sat, 7 Jan 2006 02:06:49 +0000 (02:06 +0000)]
- Get beep and blue to compile/link on MSVC.

svn path=/trunk/; revision=20643

17 years ago- The DDK disables usage of _enable/_disable so that driver devs don't use them....
Alex Ionescu [Sat, 7 Jan 2006 02:06:22 +0000 (02:06 +0000)]
- The DDK disables usage of _enable/_disable so that driver devs don't use them. Since the NDK is the home of undocumented things that drivers shouldn't use, including halfuncs.h will re-enable the intrinsics.
- Add the intrinsics to the w32api as well so that code which uses them can compile on both msvc and gcc.
- Make DPRINT work on non-DBG msvc builds.

svn path=/trunk/; revision=20642

17 years ago- Get bus drivers to compile and link on MSVC.
Alex Ionescu [Sat, 7 Jan 2006 01:39:56 +0000 (01:39 +0000)]
- Get bus drivers to compile and link on MSVC.

svn path=/trunk/; revision=20641

17 years ago- Properly set STDCALL as default convention, previous patch incorrectly set it as...
Alex Ionescu [Sat, 7 Jan 2006 01:37:37 +0000 (01:37 +0000)]
- Properly set STDCALL as default convention, previous patch incorrectly set it as a linker setting instead of a compiler setting.

svn path=/trunk/; revision=20640

17 years ago- Don't name-decorate the entrypoint. This lets msvc link the module properly and...
Alex Ionescu [Sat, 7 Jan 2006 01:27:20 +0000 (01:27 +0000)]
- Don't name-decorate the entrypoint. This lets msvc link the module properly and remains compatible with GCC.

svn path=/trunk/; revision=20639

17 years agoDidnt mean to commit this in the last one.
Brandon Turner [Sat, 7 Jan 2006 01:26:05 +0000 (01:26 +0000)]
Didnt mean to commit this in the last one.

svn path=/trunk/; revision=20638

17 years ago* Rbuild MSVC Backend changes:
Alex Ionescu [Sat, 7 Jan 2006 01:15:26 +0000 (01:15 +0000)]
* Rbuild MSVC Backend changes:
- Don't do runtime checks for drivers
- Don't do buffer checks for drivers
- Use W0 for speed build, not for the release build.
- Disable Wp64 only for the speed build, not for the release build
- Use /STDCALL default calling convention for native modules because the DDK requires it
- Remove some duplicated options that were passed on the command line
- Replace some options that were passed on the commandline with their appropriate XML keywords.

svn path=/trunk/; revision=20637

17 years agopull service info out of the registry to populate the list view
Ged Murphy [Sat, 7 Jan 2006 01:14:38 +0000 (01:14 +0000)]
pull service info out of the registry to populate the list view

svn path=/trunk/; revision=20636

17 years agoRemove NtGdiDeleteDC
Brandon Turner [Sat, 7 Jan 2006 01:06:48 +0000 (01:06 +0000)]
Remove NtGdiDeleteDC

svn path=/trunk/; revision=20635

17 years agodisabled warning 4214
Christoph von Wittich [Fri, 6 Jan 2006 23:47:15 +0000 (23:47 +0000)]
disabled warning 4214

svn path=/trunk/; revision=20634

17 years agoThe adapter name is actually the GUID. Also store the human recognizable
Gé van Geldorp [Fri, 6 Jan 2006 23:13:23 +0000 (23:13 +0000)]
The adapter name is actually the GUID. Also store the human recognizable
description. This brings the network control panel applet a step further.

svn path=/trunk/; revision=20633

17 years ago- Set the right Thread->WaitTime dring waits
Alex Ionescu [Fri, 6 Jan 2006 22:57:21 +0000 (22:57 +0000)]
- Set the right Thread->WaitTime dring waits
- Initialize WaitBlock->Thread during thread creation.
- Make APCs queuable for the thread after it's created
- Enable Timer Block optimization since it works now. This allows us not to always set-up for each wait, since most of its fields can remain static.
- Properly link wait block together with the waitlist of the timer.

svn path=/trunk/; revision=20632

17 years agobuttons in page setup now working properly (for En and De only)
Christoph von Wittich [Fri, 6 Jan 2006 22:41:42 +0000 (22:41 +0000)]
buttons in page setup now working properly (for En and De only)

svn path=/trunk/; revision=20631

17 years agoUpdate status
Gé van Geldorp [Fri, 6 Jan 2006 20:53:32 +0000 (20:53 +0000)]
Update status

svn path=/trunk/; revision=20630

17 years agoSync to Wine-0_9_5:
Gé van Geldorp [Fri, 6 Jan 2006 20:44:09 +0000 (20:44 +0000)]
Sync to Wine-0_9_5:
Mike McCormack <>
- msiexec: Ignore the TRANSFORMS variable.
  Ignore the TRANSFORMS variable when building a list of transforms for
  advertising.  The variable is used to apply transforms when installing.

svn path=/trunk/; revision=20628

17 years agoSync to Wine-0_9_5:
Gé van Geldorp [Fri, 6 Jan 2006 20:42:46 +0000 (20:42 +0000)]
Sync to Wine-0_9_5:
Jacek Caban <>
- urlmon: URL with two slashes is valid.
- urlmon: Added GetSecurityId implementation.
- urlmon: Removed not used code.
- urlmon: Use pluggable protocol for file protocol.
Rolf Kalbermatter <>
- urlmon: Implement BindAsyncMoniker function.

svn path=/trunk/; revision=20627

17 years agoSync to Wine-0_9_5:
Gé van Geldorp [Fri, 6 Jan 2006 20:35:12 +0000 (20:35 +0000)]
Sync to Wine-0_9_5:
Jacek Caban <>
- shlwapi: Fix UrlCanonicalize.
- Added support for URL_FILE_USE_PATHURL.
- Fix handling of '/' and '\'.
Marcus Meissner <>
- shlwapi: Print PathCombine* strings arguments in relay debugging.

svn path=/trunk/; revision=20626

17 years agoSync to Wine-0_9_5:
Gé van Geldorp [Fri, 6 Jan 2006 20:30:08 +0000 (20:30 +0000)]
Sync to Wine-0_9_5:
Vitaliy Margolen <>
- shell32: Create Local AppData for user profile.
  Move history and internet tmp files to Local Settings.
- shell32: Update Russian resources.
Michael Jung <>
- shell32: Helper function for unicode support in folder and file pidls.
- shell32/unixfs: Added unicode support in folder and file pidls.

svn path=/trunk/; revision=20625

17 years agoSync to Wine-0_9_5:
Gé van Geldorp [Fri, 6 Jan 2006 20:24:26 +0000 (20:24 +0000)]
Sync to Wine-0_9_5:
Robert Shearman <>
- rpcrt4: Fix race condition in RpcServerListen.
  The DontWait parameter is used for forcing the function not to wait
  for the server to finish.
- rpcrt4: Implement callback conformance.

svn path=/trunk/; revision=20624

17 years agoSync to Wine-0_9_5:
Gé van Geldorp [Fri, 6 Jan 2006 20:21:22 +0000 (20:21 +0000)]
Sync to Wine-0_9_5:
Mike McCormack <>
- riched20: Add newlines to ERR macro output.

svn path=/trunk/; revision=20623

17 years agoSync to Wine-0_9_5:
Gé van Geldorp [Fri, 6 Jan 2006 20:20:32 +0000 (20:20 +0000)]
Sync to Wine-0_9_5:
Robert Shearman <>
- oleaut32: Convert some tabs to spaces and some other formatting changes.
- oleaut32: Initialize member IDs to MEMBERID_NIL inITypeInfo::GetIDsOfNames.
  Better tracing.
- ole: Improve typelib traces.
  Move the debug channel check from dump_TLBFuncDesc[One] to its callers
  for more flexibility in which channel controls the output.
- oleaut: Small re-organisation of ITypeInfo::Invoke.
  Only output the one function in the trace for ITypeInfo::Invoke.
  Process the return value on output in ITypeInfo::Invoke, but only copy
  it to pVarResult if pVarResult is not NULL.
Mike McCormack <>
- oleaut32: Allow _invoke to handle up to 17 parameters.

svn path=/trunk/; revision=20622

17 years agoSync to Wine-0_9_5:
Gé van Geldorp [Fri, 6 Jan 2006 20:19:21 +0000 (20:19 +0000)]
Sync to Wine-0_9_5:
Robert Shearman <>
- ole: Fix mis-handling of return value in StgStreamImpl_Read.
  BlockChainStream_ReadAt returns a BOOL, not an HRESULT so change
  StgStreamImpl_Read to handle this, by returning STG_E_READFAULT on
- ole: Check the return value of IStream_SetSize in IStream_Read.
  Check the return value of IStream_SetSize in IStream_Read, since
  otherwise execution could continue on and cause heap corruption.

svn path=/trunk/; revision=20621

17 years agoSync to Wine-0_9_5:
Gé van Geldorp [Fri, 6 Jan 2006 20:14:15 +0000 (20:14 +0000)]
Sync to Wine-0_9_5:
Francois Gouget <>
- Small documentation tweaks to avoid winapi_check warnings.
Mike McCormack <>
- msi: Change some FIXME messages to comments.
- msi: Add stub actions for CCPSearch and RMCCPSearch.
- msi: Fixes for the MaskedEdit control.
  Allow MaskedEdit masks that aren't enclosed with <>.
  Allow the MaskedEdit's edit controls to scroll a bit in case things
  don't line up.
- msi: Subclass the Richedit control.
  Send a "DoAction" control event when the user scrolls the text.
- msi: Implement the Reset control event.
- MSI: Improve the MsiGetMode stub a little.
- msi: Add a stub for MsiGetLastErrorRecord.
- msi: Define the property "Intel" if we're running on an Intel processor.
- msi: Apply any MSI transforms specified by the TRANSFORMS property.
Marcus Meissner <>
- msi: Report the commandline that failed to start in ERR()s.

svn path=/trunk/; revision=20620

17 years agoSync to Wine-0_9_5:
Gé van Geldorp [Fri, 6 Jan 2006 19:59:46 +0000 (19:59 +0000)]
Sync to Wine-0_9_5:
Vitaliy Margolen <>
- comctl32: Listview - allow selection toggle with ctrl+space.
Robert Reif <>
- comctl32: Create ipaddress in enabled state.
Thomas Weidenmueller <>
- comctrl32: ReAlloc should be able to move memory blocks if necessary.
- comctl32: Fix error handling in PSM_ADDPAGE in case of memory
  allocation failure.

svn path=/trunk/; revision=20619

17 years agoSync to Wine-0_9_5:
Gé van Geldorp [Fri, 6 Jan 2006 19:56:51 +0000 (19:56 +0000)]
Sync to Wine-0_9_5:
Alexandre Julliard <>
- Support building flex files without debug support.
- Added some flex options to avoid compiler warnings.
  Moved options from the Makefile into the source.

svn path=/trunk/; revision=20618

17 years agofix a typo
Magnus Olsen [Fri, 6 Jan 2006 19:05:34 +0000 (19:05 +0000)]
fix a typo

svn path=/trunk/; revision=20617

17 years ago- Added the properties dialog
Ged Murphy [Fri, 6 Jan 2006 18:28:27 +0000 (18:28 +0000)]
- Added the properties dialog
- Add an about dialog
- Split up the query code to make it more usable
- Call description from the registry
- Many other code mods

svn path=/trunk/; revision=20616

17 years agoMerge in a post-Wine-0_9_5 change to get rid of some warnings. Thanks to
Gé van Geldorp [Fri, 6 Jan 2006 17:46:36 +0000 (17:46 +0000)]
Merge in a post-Wine-0_9_5 change to get rid of some warnings. Thanks to
CvW for reporting.

svn path=/trunk/; revision=20615

17 years agoSync to Wine-0_9_5:
Gé van Geldorp [Fri, 6 Jan 2006 17:26:49 +0000 (17:26 +0000)]
Sync to Wine-0_9_5:
Alexandre Julliard <>
- Support building flex files without debug support.
- Added some flex options to avoid compiler warnings.
  Moved options from the Makefile into the source.

svn path=/trunk/; revision=20614

17 years agoimplemented ExpandEnvironmentStringsForUserA/W
Thomas Bluemel [Fri, 6 Jan 2006 15:42:12 +0000 (15:42 +0000)]
implemented ExpandEnvironmentStringsForUserA/W

svn path=/trunk/; revision=20612

17 years agoRemoved DPRINT1, 8^D
James Tabor [Fri, 6 Jan 2006 14:50:56 +0000 (14:50 +0000)]
Removed DPRINT1, 8^D

svn path=/trunk/; revision=20611

17 years agoRevert, thx Thomas, wasnt sure.
James Tabor [Fri, 6 Jan 2006 14:23:26 +0000 (14:23 +0000)]
Revert, thx Thomas, wasnt sure.

svn path=/trunk/; revision=20610

17 years agoShould have placed extern in there.
James Tabor [Fri, 6 Jan 2006 13:57:38 +0000 (13:57 +0000)]
Should have placed extern in there.

svn path=/trunk/; revision=20609

17 years agofixed uninitialized variable warnings
Thomas Bluemel [Fri, 6 Jan 2006 11:58:17 +0000 (11:58 +0000)]
fixed uninitialized variable warnings

svn path=/trunk/; revision=20608

17 years agoFixed the register saving in ExfInterlockedCompareExchange64.
Hartmut Birr [Fri, 6 Jan 2006 11:36:43 +0000 (11:36 +0000)]
Fixed the register saving in ExfInterlockedCompareExchange64.

svn path=/trunk/; revision=20607

17 years ago- Fix Status/WaitStatus/Thread->WaitStatus confusion/mess and reduce to a signle...
Alex Ionescu [Fri, 6 Jan 2006 08:37:46 +0000 (08:37 +0000)]
- Fix Status/WaitStatus/Thread->WaitStatus confusion/mess and reduce to a signle variable.

svn path=/trunk/; revision=20606

17 years ago- Invert CONFIG_SMP defines as requested by Hartmut
Alex Ionescu [Fri, 6 Jan 2006 08:00:09 +0000 (08:00 +0000)]
- Invert CONFIG_SMP defines as requested by Hartmut
- Remove KiBlockThread and replace by more elegant KiSwapThread which will also make moving to the new scheduler easier.
- Handle special case where we have kernel apcs pending and your previous irql was below apc_level during the wait code.
- Remove hack to manually unwait a thread during a status of kernel apc.

svn path=/trunk/; revision=20605

17 years agoNeed extra proto.
James Tabor [Fri, 6 Jan 2006 06:38:47 +0000 (06:38 +0000)]
Need extra proto.

svn path=/trunk/; revision=20604

17 years agoImplement NtUserGetMenuBarInfo. Tested with MPlayerC with OBJID_MENU only, the rest...
James Tabor [Fri, 6 Jan 2006 06:32:05 +0000 (06:32 +0000)]
Implement NtUserGetMenuBarInfo. Tested with MPlayerC with OBJID_MENU only, the rest looked easy enough.

svn path=/trunk/; revision=20603

17 years agofixed working strechblt for all dibxx now. do not say it does not take offset of...
Magnus Olsen [Fri, 6 Jan 2006 05:27:48 +0000 (05:27 +0000)]
fixed working strechblt for all dibxx now. do not say it does not take offset of source and destantion into accunt, it does. left implement CliprRegion. but last no longer black windows with or corupt images showing.

svn path=/trunk/; revision=20602

17 years ago- Fix some bugs in Kernel Queue implementation:
Alex Ionescu [Fri, 6 Jan 2006 02:25:12 +0000 (02:25 +0000)]
- Fix some bugs in Kernel Queue implementation:
  * KeRemoveQueue did not set Thread->WaitNext = FALSE if it was called with WaitNext = TRUE.
  * KeRemoveQueue did not handle the case where a kernel-mode APC is pending and the previous IRQL was below APC_LEVEL.
  * KeRemoveQueue did not set the thread's wait status to 0.
  * KiInsertQueue did not set the Thread's wait status to the entry being inserted.
  * KiInsertQueue did not remove the thread from its wait list.
  * KeRemoveQueue did not properly link the wait blocks.

svn path=/trunk/; revision=20601

17 years agoNew icon. Couple of code changes linked to that. Just playing :)
Ged Murphy [Fri, 6 Jan 2006 00:01:20 +0000 (00:01 +0000)]
New icon. Couple of code changes linked to that. Just playing :)

svn path=/trunk/; revision=20600

17 years agoRemove the temp note. Gé is on fire !
Ged Murphy [Thu, 5 Jan 2006 23:43:49 +0000 (23:43 +0000)]
Remove the temp note. Gé is on fire !

svn path=/trunk/; revision=20599

17 years agoadded german translation
Christoph von Wittich [Thu, 5 Jan 2006 23:26:43 +0000 (23:26 +0000)]
added german translation

svn path=/trunk/; revision=20598

17 years agoDon't keep overwriting the first address entry, give the others a chance too.
Gé van Geldorp [Thu, 5 Jan 2006 23:11:51 +0000 (23:11 +0000)]
Don't keep overwriting the first address entry, give the others a chance too.
Fixes IP address display in ipconfig.

svn path=/trunk/; revision=20597

17 years agoeverything I said about mixed case seems to be wrong. everywhere else we allow it...
Steven Edwards [Thu, 5 Jan 2006 23:10:05 +0000 (23:10 +0000)]
everything I said about mixed case seems to be wrong. everywhere else we allow it in resource files so to be consistant I guess it should be uppercase here

svn path=/trunk/; revision=20596

17 years agoadd to the bootcd for the purpose of testing bug 1253
Ged Murphy [Thu, 5 Jan 2006 23:00:54 +0000 (23:00 +0000)]
add to the bootcd for the purpose of testing bug 1253

svn path=/trunk/; revision=20595

17 years agopatch from GvG, it fixing the bug for calc = when it showing e-309, Bug 1195, it...
Magnus Olsen [Thu, 5 Jan 2006 22:54:30 +0000 (22:54 +0000)]
patch from GvG, it fixing the bug for calc = when it showing e-309, Bug 1195, it have even affected python  and other apps trying writing out 0 as text string.

svn path=/trunk/; revision=20594

17 years agoFixed uninitialized variable warning with GCC4
Thomas Bluemel [Thu, 5 Jan 2006 22:24:28 +0000 (22:24 +0000)]
Fixed uninitialized variable warning with GCC4

svn path=/trunk/; revision=20593

17 years agoen.rc not En.rc
Brandon Turner [Thu, 5 Jan 2006 22:18:31 +0000 (22:18 +0000)]
en.rc not En.rc

svn path=/trunk/; revision=20592

17 years ago- God is a second-hand imitation of Gé. Fix for bug 1213.
Alex Ionescu [Thu, 5 Jan 2006 21:49:49 +0000 (21:49 +0000)]
- God is a second-hand imitation of Gé. Fix for bug 1213.

svn path=/trunk/; revision=20591

17 years agoDifferent output for !bug command on the other channels. (#winehackers, #samba-technical)
Maarten Bosma [Thu, 5 Jan 2006 21:46:24 +0000 (21:46 +0000)]
Different output for !bug command on the other channels. (#winehackers, #samba-technical)

svn path=/trunk/; revision=20590

17 years agoFix ugly toolbar colour
Ged Murphy [Thu, 5 Jan 2006 20:57:29 +0000 (20:57 +0000)]
Fix ugly toolbar colour

svn path=/trunk/; revision=20588

17 years ago- Fix local xml file (thanks to Christoph for spotting this)
Ged Murphy [Thu, 5 Jan 2006 20:13:06 +0000 (20:13 +0000)]
- Fix local xml file (thanks to Christoph for spotting this)
- Add to dir the build

svn path=/trunk/; revision=20587

17 years ago- Start to put together a services.msc equivalent.
Ged Murphy [Thu, 5 Jan 2006 18:04:46 +0000 (18:04 +0000)]
- Start to put together a services.msc equivalent.
- mmc.exe is probably a long way off, thus mmc snap-ins will be too. This will suffice until then. Most of the code should be transferable.

svn path=/trunk/; revision=20586

17 years agoAdd !error command which checks NtStatus, Winerror and hResult.
Maarten Bosma [Thu, 5 Jan 2006 17:52:39 +0000 (17:52 +0000)]
Add !error command which checks NtStatus, Winerror and hResult.

svn path=/trunk/; revision=20585

17 years agofix build in unspecified build environment - patch by Reuben Perelman <reub2000@earth...
Royce Mitchell III [Thu, 5 Jan 2006 16:35:08 +0000 (16:35 +0000)]
fix build in unspecified build environment - patch by Reuben Perelman <>

svn path=/trunk/; revision=20584

17 years agofix msvc6 warnings
Royce Mitchell III [Thu, 5 Jan 2006 16:32:49 +0000 (16:32 +0000)]
fix msvc6 warnings

svn path=/trunk/; revision=20583

17 years ago- Tabs not spaces.
Alex Ionescu [Thu, 5 Jan 2006 16:30:20 +0000 (16:30 +0000)]
- Tabs not spaces.

svn path=/trunk/; revision=20582

17 years ago- Uncondtionally build with optimizations (can still be disabled by commenting out...
Alex Ionescu [Thu, 5 Jan 2006 16:25:44 +0000 (16:25 +0000)]
- Uncondtionally build with optimizations (can still be disabled by commenting out the block locally; is this easy enough Ge?)

svn path=/trunk/; revision=20581

17 years ago- New ERESOURCE implementation: fixes the return value of some functions (VOID vs...
Alex Ionescu [Thu, 5 Jan 2006 16:24:32 +0000 (16:24 +0000)]
- New ERESOURCE implementation: fixes the return value of some functions (VOID vs NTSTATUS, USHORT vs ULONG), as well as optimized the code loops and general structure of the code. Additionnaly, functions do not simply call other functions with similar names; the exact implementation of each function has now been properly separated (see the DDK for more information on this) to have the most optimized scenarios.
- Also, the spinlock is not actually acquired on non-SMP builds; instead, interrupts are blocked and unblocked for acquire/release, this optimizes locking.
- Added many asserts and bugcheck scenarios.
- Added thread priority boosting.
- Added some debugging helpers and deadlock detection.
- Added RESOURCE_NOT_OWNED bugcehck message.
* Thanks again to Waxdragon (Andrew) for testing this build.

svn path=/trunk/; revision=20580

17 years ago- Change dispatcher lock release to be more like documented in Windows Internals...
Alex Ionescu [Thu, 5 Jan 2006 15:32:08 +0000 (15:32 +0000)]
- Change dispatcher lock release to be more like documented in Windows Internals II and to allow an easier move to Queued Spinlock.

svn path=/trunk/; revision=20579

17 years agoIdentify TechBot to allow private messages
Casper Hornstrup [Thu, 5 Jan 2006 15:29:08 +0000 (15:29 +0000)]
Identify TechBot to allow private messages

svn path=/trunk/; revision=20578

17 years ago- Fix build.
Alex Ionescu [Thu, 5 Jan 2006 15:17:54 +0000 (15:17 +0000)]
- Fix build.

svn path=/trunk/; revision=20577

17 years ago- Disable commented out define-check which i had only commented to check building.
Alex Ionescu [Thu, 5 Jan 2006 13:59:11 +0000 (13:59 +0000)]
- Disable commented out define-check which i had only commented to check building.

svn path=/trunk/; revision=20576

17 years ago- Separate UP and MP spinlock functions.
Alex Ionescu [Thu, 5 Jan 2006 13:51:06 +0000 (13:51 +0000)]
- Separate UP and MP spinlock functions.
- Optimize UP spinlock functions so they don't call ntoskrnl anymore and only raise/lower irql.
- Implemented Queued Spinlocks and In-Stack Queued Spinlocks for UP machines.
* Implemented KeAcquireInStackQueuedSpinLock, KeReleaseInStackQueuedSpinLock, KeAcquireQueuedSpinLock, KeReleaseQueuedSpinLock, KeTryToAcquireQueuedSpinLock, KeTryToAcquireQueuedSpinLockRaiseToSynch, KeAcquireQueuedSpinLockRaisetoSynch.

svn path=/trunk/; revision=20575

17 years agoAdd some exports to ntdll
Hervé Poussineau [Thu, 5 Jan 2006 13:40:05 +0000 (13:40 +0000)]
Add some exports to ntdll

svn path=/trunk/; revision=20574

17 years ago- Implemented Queued and In-Stack Queued Spinlocks (at DPC-Level). See "Windows Inter...
Alex Ionescu [Thu, 5 Jan 2006 13:12:48 +0000 (13:12 +0000)]
- Implemented Queued and In-Stack Queued Spinlocks (at DPC-Level). See "Windows Internals II" Chapter 4, Pages 25-27.

svn path=/trunk/; revision=20573

17 years agoKefReleaseSpinLockFromDpcLevel needs the address of a spinlock and not its value.
Hartmut Birr [Thu, 5 Jan 2006 12:48:33 +0000 (12:48 +0000)]
KefReleaseSpinLockFromDpcLevel needs the address of a spinlock and not its value.

svn path=/trunk/; revision=20572

17 years agoAdd prototypes for Nt/ZwReplyWaitReceivePortEx, Nt/ZwImpersonateAnonymousToken
Hervé Poussineau [Thu, 5 Jan 2006 12:27:03 +0000 (12:27 +0000)]
Add prototypes for Nt/ZwReplyWaitReceivePortEx, Nt/ZwImpersonateAnonymousToken

svn path=/trunk/; revision=20571

17 years ago- Disable NtQuerySecurityObject for now
Gé van Geldorp [Thu, 5 Jan 2006 09:22:09 +0000 (09:22 +0000)]
- Disable NtQuerySecurityObject for now
- Add some registry entries for TinyWeb (patch by Dr.Fred)
Fixes 1214

svn path=/trunk/; revision=20570

17 years agoFix stack corruption. Thanks to Waxdragon and the fact he uses an -O2 build (hint...
Alex Ionescu [Thu, 5 Jan 2006 06:24:07 +0000 (06:24 +0000)]
Fix stack corruption. Thanks to Waxdragon and the fact he uses an -O2 build (hint hint nudge nudge)

svn path=/trunk/; revision=20569

17 years ago- Optimized the dispatcher lock. It is now gone on non-SMP systems and IRQL is raised...
Alex Ionescu [Thu, 5 Jan 2006 04:26:55 +0000 (04:26 +0000)]
- Optimized the dispatcher lock. It is now gone on non-SMP systems and IRQL is raised or lowered instead.
- Made inlined functions in ke/wait.c macros, because they weren't being inlined.
- Created separate cases for satisfying mutant, non-mutant and generic objects, to optimize wait satisfaction.
- Fixed some places which werne't setting the dispatcher header's size member correctly.
- Fixed formatting in ke/wait.c
- Fixed a case in KiCheckAlertability: we also need to check if the thread is alerted in Kernel-Mode, even if the wait mode given was user and user-mode is not alerted.
- Fixed signaling checks across the wait code and removed KiCheckIfObjectSignaled. We must not consider the mutant as signaled if SignalState is = 1.
- Fix code to check if the wait blocks' status is STATUS_TIMEOUT, because we do not need to check for signal state in that case.
- Removed the exports for internal dispatcher lock routines.

** Thanks to Waxdragon for stress-testing this for an hour :)

svn path=/trunk/; revision=20568

17 years agofix new strechblt code for dib32, left todo dib1, dib4, dib24
Magnus Olsen [Thu, 5 Jan 2006 01:49:00 +0000 (01:49 +0000)]
fix new strechblt code for dib32, left todo dib1, dib4, dib24

svn path=/trunk/; revision=20567

17 years ago- fix build on dbg=0. Thanks to Andrew
Alex Ionescu [Thu, 5 Jan 2006 00:56:44 +0000 (00:56 +0000)]
- fix build on dbg=0. Thanks to Andrew

svn path=/trunk/; revision=20566

17 years agoAvoid using uninitialized variables
Gé van Geldorp [Wed, 4 Jan 2006 23:48:15 +0000 (23:48 +0000)]
Avoid using uninitialized variables

svn path=/trunk/; revision=20565

17 years agoOnly use the Folder class handler if we're actually executing a folder.
Gé van Geldorp [Wed, 4 Jan 2006 23:28:10 +0000 (23:28 +0000)]
Only use the Folder class handler if we're actually executing a folder.
Fixes bug 1235.

svn path=/trunk/; revision=20564

17 years agoFix (so far harmless) typo
Gé van Geldorp [Wed, 4 Jan 2006 22:46:45 +0000 (22:46 +0000)]
Fix (so far harmless) typo

svn path=/trunk/; revision=20563

17 years agoLet oskit tell us when sending should be blocked 'cause its stuffed upto its
Gé van Geldorp [Wed, 4 Jan 2006 22:40:48 +0000 (22:40 +0000)]
Let oskit tell us when sending should be blocked 'cause its stuffed upto its
nose with data waiting to be sent. Bug 1232.

svn path=/trunk/; revision=20562

17 years ago- Fix worker thread priorities. A quick check of the DDK and ProcesXP confirmed that...
Alex Ionescu [Wed, 4 Jan 2006 20:45:58 +0000 (20:45 +0000)]
- Fix worker thread priorities. A quick check of the DDK and ProcesXP confirmed that there was a bug (thanks GvG!). Turns out I had forgotten to use the -base- priority kernel call. Renamed some variables to make it clearer and fixed the bug. The correct priorities are 12, 13, 15.

svn path=/trunk/; revision=20561

17 years agofixed gcc4 warnings
Thomas Bluemel [Wed, 4 Jan 2006 14:26:06 +0000 (14:26 +0000)]
fixed gcc4 warnings

svn path=/trunk/; revision=20560

17 years agoClean up and fixed NtUserGetMenuItemRect. Needs more testing. I watch mplayerc swip...
James Tabor [Wed, 4 Jan 2006 06:44:52 +0000 (06:44 +0000)]
Clean up and fixed NtUserGetMenuItemRect. Needs more testing. I watch mplayerc swip all the menu items with crashing.

svn path=/trunk/; revision=20559

17 years ago- Display a temporary note in ipconfig to avoid user confusion.
Ged Murphy [Tue, 3 Jan 2006 23:41:57 +0000 (23:41 +0000)]
- Display a temporary note in ipconfig to avoid user confusion.
- Requires fixing of GetAdaptersInfo

svn path=/trunk/; revision=20558

17 years ago- Implement Pushlocks. Only Waking, and Exclusive Acquire/Release + Waits have been...
Alex Ionescu [Tue, 3 Jan 2006 23:36:05 +0000 (23:36 +0000)]
- Implement Pushlocks. Only Waking, and Exclusive Acquire/Release + Waits have been tested. The shared paths and block/unblock are still untested and may probably contain bugs. Pushlocks are not yet used in the kernel and they won't be until all paths are tested and validated.
- Public DDIs Implemented: ExfAcquirePushLockExclusive, ExfAcquirePushLockShared, ExfTryToWakePushLock, ExfReleasePushLock, ExfReleasePushLockExclusive, ExfReleasePushLockShared, ExfUnblockPushLock.

svn path=/trunk/; revision=20557

17 years ago- More proper fix for the QEMU/Abiword regression. Remove kernel32 hack. Thanks to...
Alex Ionescu [Tue, 3 Jan 2006 22:36:36 +0000 (22:36 +0000)]
- More proper fix for the QEMU/Abiword regression. Remove kernel32 hack. Thanks to Filip and The Munger.

svn path=/trunk/; revision=20556

17 years ago- Dirty temporary fix to unregress abiword/qemu.
Alex Ionescu [Tue, 3 Jan 2006 22:25:09 +0000 (22:25 +0000)]
- Dirty temporary fix to unregress abiword/qemu.

svn path=/trunk/; revision=20555

17 years ago- Fix shamefully dangerously broken Work Thread/Queue/Item implementation:
Alex Ionescu [Tue, 3 Jan 2006 21:34:19 +0000 (21:34 +0000)]
- Fix shamefully dangerously broken Work Thread/Queue/Item implementation:
  * Do not pollute the kernel with 10 real-time threads and 5 high-priority threads in order to manage work items. Work threads are very-low priority (< 7) and should never pre-empt userthreads like they do now. 1 priority 7, 5 priority 5 and 3 priority 4 threads are now properly created.
  * Implement a worker thread balance set manager. On SMP systems, it is able to determine when a new thread should be allocate to execute on a free CPU. On both UP and MP, it is also able to detect if a work queue has deadlocked, and will allocate new dynamic threads to unfreeze the queue.
  * Add check for threads returning with APC disabled, and re-enable APCs if this happend. This hack is used in NT for broken drivers.
  * Lots of code changes to support dynamic threads, which:
    - Can terminate.
    - Use a 10 minute timeout on the kernel queue.
  * Add skeleton code for swapping worker thread stacks as well as worker thread shutdown (not yet implemented).
  * Add WORKER_INVALID bugcheck definition.
  * These changes seem to make ROS a lot more responsive.

- NDK:
  * Make more compatible with MS IFS
  * Fix EX_WORK_QUEUE definition.
  * Fix ETHREAD offsets.
  * Fix RtlIsNameLegalDOS8Dot3 definition.
  * Move splay tree defines to IFS.

svn path=/trunk/; revision=20554

17 years agoAdd kbdur.dll (Ukrainian keyboard layout) to the install-cd.
Aleksey Bragin [Tue, 3 Jan 2006 21:29:39 +0000 (21:29 +0000)]
Add kbdur.dll (Ukrainian keyboard layout) to the install-cd.

svn path=/trunk/; revision=20553

17 years agofix ugly tab formatting
Ged Murphy [Tue, 3 Jan 2006 21:17:28 +0000 (21:17 +0000)]
fix ugly tab formatting

svn path=/trunk/; revision=20552

17 years agoSkeleton dialog box to control system page file size
Ged Murphy [Tue, 3 Jan 2006 21:00:06 +0000 (21:00 +0000)]
Skeleton dialog box to control system page file size

svn path=/trunk/; revision=20551

17 years agoCommit a patch for hide and show mouse. (forget it)
Magnus Olsen [Tue, 3 Jan 2006 18:49:10 +0000 (18:49 +0000)]
Commit a patch for hide and show mouse. (forget it)

svn path=/trunk/; revision=20550

17 years agoforget remove some test code.
Magnus Olsen [Tue, 3 Jan 2006 17:59:56 +0000 (17:59 +0000)]
forget remove some test code.

svn path=/trunk/; revision=20549

17 years agoforget remove a calc value in the for loop it can do outside the loop.
Magnus Olsen [Tue, 3 Jan 2006 17:21:11 +0000 (17:21 +0000)]
forget remove a calc value in the for loop it can do outside the loop.

svn path=/trunk/; revision=20548

17 years agoRemove putpixel from strechblt and add code to write direcly to the memory. it incres...
Magnus Olsen [Tue, 3 Jan 2006 17:05:39 +0000 (17:05 +0000)]
Remove putpixel from strechblt and add code to write direcly to the memory. it incress the speed for strechblt.
this is ony for 16bit graphice mode.

svn path=/trunk/; revision=20547

17 years agoaddding new streach code for dib8, left to add it is dib1, dib4, dib24, dib32
Magnus Olsen [Tue, 3 Jan 2006 16:22:09 +0000 (16:22 +0000)]
addding new streach code for dib8, left to add it is dib1, dib4, dib24, dib32

svn path=/trunk/; revision=20546