reactos.git
15 years agofix fontview build
Timo Kreuzer [Sat, 13 Dec 2008 22:25:59 +0000 (22:25 +0000)]
fix fontview build

svn path=/trunk/; revision=38058

15 years agoUpdate crt headers and mingw lib from mingw64. Update crt a bit. 4 msvcrt time tests...
Timo Kreuzer [Sat, 13 Dec 2008 21:28:05 +0000 (21:28 +0000)]
Update crt headers and mingw lib from mingw64. Update crt a bit. 4 msvcrt time tests fixed.

svn path=/trunk/; revision=38052

15 years agoUpdate RtlIsTextUnicode, ntdll rtlstr winetest failure down by 10, one remaining
Gregor Schneider [Sat, 13 Dec 2008 21:22:07 +0000 (21:22 +0000)]
Update RtlIsTextUnicode, ntdll rtlstr winetest failure down by 10, one remaining

svn path=/trunk/; revision=38051

15 years ago- Update _makepath and _wmakepath to allow in place operation and separated extension...
Gregor Schneider [Sat, 13 Dec 2008 21:06:47 +0000 (21:06 +0000)]
- Update _makepath and _wmakepath to allow in place operation and separated extension processing, based on wine code
- Fixes all 14 msvcrt dir winetests

svn path=/trunk/; revision=38050

15 years agofix build
Timo Kreuzer [Sat, 13 Dec 2008 19:47:24 +0000 (19:47 +0000)]
fix build

svn path=/trunk/; revision=38049

15 years ago- Add missing PSHARED_CACHE_MAP.
Aleksey Bragin [Sat, 13 Dec 2008 19:31:40 +0000 (19:31 +0000)]
- Add missing PSHARED_CACHE_MAP.

svn path=/trunk/; revision=38048

15 years ago- Sync with Wine.
Aleksey Bragin [Sat, 13 Dec 2008 19:30:38 +0000 (19:30 +0000)]
- Sync with Wine.

svn path=/trunk/; revision=38047

15 years agoAdd 101 tests for GetSystemMetrics
Timo Kreuzer [Sat, 13 Dec 2008 17:55:44 +0000 (17:55 +0000)]
Add 101 tests for GetSystemMetrics

svn path=/trunk/; revision=38046

15 years agoAdd DumpMem function to apitests lib for debugging purposes
Timo Kreuzer [Sat, 13 Dec 2008 16:52:49 +0000 (16:52 +0000)]
Add DumpMem function to apitests lib for debugging purposes

svn path=/trunk/; revision=38045

15 years agoAdd tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette ...
Timo Kreuzer [Sat, 13 Dec 2008 16:48:01 +0000 (16:48 +0000)]
Add tests for NtGdiCombineRgn (14), NtGdiCreateCompatibleDC (4), NtGdiDoPalette (1), NtGdiFlushUserBatch (10), NtGdiPolyPolyDraw (60), NtGdiselectBitmap (4), NtGdiSelectPen (6), NtGdiSetDIBitsToDeviceInternal (2), NtUserEnumDisplayMonitors (7), NtUserGetClassInfo (15), NtUserProcessConnect (1), NtUserSelectPalette (13), NtUserSystemParametersInfo (1) (= 138 new tests)

svn path=/trunk/; revision=38044

15 years agoRemove workaround for GCC 4.4.0 bug, it is already fixed.
Dmitry Gorbachev [Sat, 13 Dec 2008 15:49:41 +0000 (15:49 +0000)]
Remove workaround for GCC 4.4.0 bug, it is already fixed.

svn path=/trunk/; revision=38043

15 years ago- Remove DBCSCodePage field from NLS_FILE_HEADER structure.
Dmitry Gorbachev [Sat, 13 Dec 2008 15:42:56 +0000 (15:42 +0000)]
- Remove DBCSCodePage field from NLS_FILE_HEADER structure.
- Make RtlInitCodePageTable function slightly clearer.
- Fix IntIsLeadByte function (thanks to Gregor Schneider, bug #3944).

svn path=/trunk/; revision=38042

15 years agoDo not start LSASS as a service but as an ordinary process because:
Eric Kohl [Sat, 13 Dec 2008 14:47:07 +0000 (14:47 +0000)]
Do not start LSASS as a service but as an ordinary process because:
1) LSASS and the NetLogon service are not the same.
2) The service manager must wait for LSASS to finish initialization. If LSASS is started as a service we will have a classic deadlock scenario.

svn path=/trunk/; revision=38041

15 years agoprint out some info on non-type symbols
Timo Kreuzer [Sat, 13 Dec 2008 12:05:16 +0000 (12:05 +0000)]
print out some info on non-type symbols

svn path=/trunk/; revision=38040

15 years agoerrcode is a type. using it as parameter name in a old type function declaration...
Timo Kreuzer [Sat, 13 Dec 2008 01:05:46 +0000 (01:05 +0000)]
errcode is a type. using it as parameter name in a old type function declaration doesn't work.
Use modern style declaration

svn path=/trunk/; revision=38039

15 years agoupdate dbghelp_ros.diff. Only one tiny change left
Timo Kreuzer [Sat, 13 Dec 2008 00:54:45 +0000 (00:54 +0000)]
update dbghelp_ros.diff. Only one tiny change left

svn path=/trunk/; revision=38038

15 years agosync dbghelp to wine head
Timo Kreuzer [Sat, 13 Dec 2008 00:52:11 +0000 (00:52 +0000)]
sync dbghelp to wine head
- replace wine's spec file with an own one
- add back the stubs file and rename it to rosstubs.c, so next time someone syncs dbghelp, he might notice that this file is ros specific and does NOT delete it
- fix FindFileInPath definition in dbghelp.h
- update wine/mscvpdb.h

svn path=/trunk/; revision=38037

15 years agoadd _strtoi64 and _strtoui64 to stdlib.h
Timo Kreuzer [Sat, 13 Dec 2008 00:32:37 +0000 (00:32 +0000)]
add _strtoi64 and _strtoui64 to stdlib.h

svn path=/trunk/; revision=38036

15 years ago- Update ntdll winetests
Gregor Schneider [Fri, 12 Dec 2008 23:42:40 +0000 (23:42 +0000)]
- Update ntdll winetests
- Warning: the reg test may bsod/restart your Windows system- not a problem in ros though

svn path=/trunk/; revision=38035

15 years agoreduce the amount of hacks in dbghelp_ros.diff, also fix declaration of _strtoui64
Timo Kreuzer [Fri, 12 Dec 2008 20:12:21 +0000 (20:12 +0000)]
reduce the amount of hacks in dbghelp_ros.diff, also fix declaration of _strtoui64

svn path=/trunk/; revision=38034

15 years agowhen defining ssize_t, also define _SSIZE_T_DEFINED
Timo Kreuzer [Fri, 12 Dec 2008 19:37:56 +0000 (19:37 +0000)]
when defining ssize_t, also define _SSIZE_T_DEFINED

svn path=/trunk/; revision=38033

15 years agoremove useless circle definition _setjmp -> setjmp -> _setjmp
Timo Kreuzer [Fri, 12 Dec 2008 19:27:14 +0000 (19:27 +0000)]
remove useless circle definition _setjmp -> setjmp -> _setjmp

svn path=/trunk/; revision=38032

15 years agoMAX_PATH is neither defined by ntddk.h nor by crt headers, use _MAX_PATH instead
Timo Kreuzer [Fri, 12 Dec 2008 19:06:57 +0000 (19:06 +0000)]
MAX_PATH is neither defined by ntddk.h nor by crt headers, use _MAX_PATH instead

svn path=/trunk/; revision=38031

15 years ago- Stubplement winsta.dll, based on a patch by Samuel Serapion.
Aleksey Bragin [Fri, 12 Dec 2008 18:26:42 +0000 (18:26 +0000)]
- Stubplement winsta.dll, based on a patch by Samuel Serapion.
See issue #2299 for more details.

svn path=/trunk/; revision=38030

15 years ago- Partly implement IPortTopology port driver
Johannes Anderwald [Fri, 12 Dec 2008 17:20:15 +0000 (17:20 +0000)]
- Partly implement IPortTopology port driver

svn path=/trunk/; revision=38029

15 years ago- interfaces definition for IMiniportTopology
Johannes Anderwald [Fri, 12 Dec 2008 17:18:26 +0000 (17:18 +0000)]
- interfaces definition for IMiniportTopology

svn path=/trunk/; revision=38028

15 years ago- Partly implement IPortWavePci interface
Johannes Anderwald [Fri, 12 Dec 2008 15:01:31 +0000 (15:01 +0000)]
- Partly implement IPortWavePci interface
- Use IServiceSink interface for notification when capture frames are available

svn path=/trunk/; revision=38027

15 years ago- Add IPortWavePciStream, IMiniportWavePciStream, IMiniportWavePci
Johannes Anderwald [Thu, 11 Dec 2008 23:06:58 +0000 (23:06 +0000)]
- Add IPortWavePciStream, IMiniportWavePciStream, IMiniportWavePci

svn path=/trunk/; revision=38026

15 years agoCary Xiao" <xiaowave@gmail.com>
Aleksey Bragin [Thu, 11 Dec 2008 19:44:56 +0000 (19:44 +0000)]
Cary Xiao" <xiaowave@gmail.com>
- Add some code to complete breakpoint of gdbstub.
See issue #1817 for more details.

svn path=/trunk/; revision=38024

15 years ago- Add a commented out entry for green.sys driver.
Aleksey Bragin [Thu, 11 Dec 2008 18:52:18 +0000 (18:52 +0000)]
- Add a commented out entry for green.sys driver.
See issue #3689 for more details.

svn path=/trunk/; revision=38023

15 years ago- Fix incorrect drivers installation directories.
Aleksey Bragin [Thu, 11 Dec 2008 18:49:20 +0000 (18:49 +0000)]
- Fix incorrect drivers installation directories.
See issue #3689 for more details.

svn path=/trunk/; revision=38022

15 years agoDaniel Zimmerman <netzimme@aim.com>
Aleksey Bragin [Thu, 11 Dec 2008 17:16:11 +0000 (17:16 +0000)]
Daniel Zimmerman <netzimme@aim.com>
- Fix the "OVERRUN STATIC error" in CID 557-574 in explorer (use a byte array instead of a shortfilename-sized array).
See issue #3914 for more details.

svn path=/trunk/; revision=38020

15 years ago- An "almost working" kbhit implementation by Russel. The code is rather crappy,...
Aleksey Bragin [Thu, 11 Dec 2008 16:44:07 +0000 (16:44 +0000)]
- An "almost working" kbhit implementation by Russel. The code is rather crappy, feel free to improve it.

Some notes:
1) Forgive my sloppy coding skills (all those LeaveCriticalSections, use of malloc/free), a lot of it was written in a rush to get something going. 2) For some reason, the first char entered isn't detected (on windows and reactos)
3) The thread safety code is questionable, I haven't tested this, but windows does use critical sections for it.
4) Compared to the windows way of doing it, it is probably wrong.
5) Maybe other things as well.

But it does work (at least when I tested it on windows and reactos) compared to the previous implementation of it which did not at all.
See issue #3747 for more details.

svn path=/trunk/; revision=38019

15 years ago- Implement IDrmPort, IDrmPort2 interface
Johannes Anderwald [Thu, 11 Dec 2008 14:51:57 +0000 (14:51 +0000)]
- Implement IDrmPort, IDrmPort2 interface

svn path=/trunk/; revision=38018

15 years ago- Add IDrmPort, IDrmPort2 interfaces
Johannes Anderwald [Thu, 11 Dec 2008 14:51:27 +0000 (14:51 +0000)]
- Add IDrmPort, IDrmPort2 interfaces

svn path=/trunk/; revision=38017

15 years ago- Add Dll Characteristics defines.
Aleksey Bragin [Thu, 11 Dec 2008 12:50:37 +0000 (12:50 +0000)]
- Add Dll Characteristics defines.

svn path=/trunk/; revision=38016

15 years agoconvert most of syssetup to unicode
Christoph von Wittich [Thu, 11 Dec 2008 11:24:32 +0000 (11:24 +0000)]
convert most of syssetup to unicode

svn path=/trunk/; revision=38012

15 years ago- Use FILE_DEVICE_KS when creating new device object
Johannes Anderwald [Thu, 11 Dec 2008 11:23:14 +0000 (11:23 +0000)]
- Use FILE_DEVICE_KS when creating new device object
- Partly implement PcNewRegistryKey, PcRegisterSubdevice
- DPC event is a Synchronization event- Implement PcRegisterAdapterPowerManagement

svn path=/trunk/; revision=38011

15 years ago- Add IAdapterPowerManagement interface
Johannes Anderwald [Thu, 11 Dec 2008 11:21:02 +0000 (11:21 +0000)]
- Add IAdapterPowerManagement interface

svn path=/trunk/; revision=38010

15 years ago- Add undef macro to avoid warnings
Johannes Anderwald [Thu, 11 Dec 2008 10:55:09 +0000 (10:55 +0000)]
- Add undef macro to avoid warnings

svn path=/trunk/; revision=38009

15 years ago- add IID_IServiceSink
Johannes Anderwald [Thu, 11 Dec 2008 10:44:50 +0000 (10:44 +0000)]
- add IID_IServiceSink
- add IID_IServiceGroup
- add enum for IRegistryKey

svn path=/trunk/; revision=38008

15 years agoconvert parts of syssetup to WCHAR - please help to fix this mess
Christoph von Wittich [Thu, 11 Dec 2008 09:41:55 +0000 (09:41 +0000)]
convert parts of syssetup to WCHAR - please help to fix this mess

svn path=/trunk/; revision=38007

15 years ago- Fix RegSetValueEx parameters
Johannes Anderwald [Thu, 11 Dec 2008 09:05:19 +0000 (09:05 +0000)]
- Fix RegSetValueEx parameters
- Found by Chris

svn path=/trunk/; revision=38006

15 years agodon't set testplatform to wine anymore as our services code succeeds in wine todo...
Christoph von Wittich [Thu, 11 Dec 2008 06:47:06 +0000 (06:47 +0000)]
don't set testplatform to wine anymore as our services code succeeds in wine todo blocks

svn path=/trunk/; revision=38005

15 years agoUpdate NLS files.
Dmitry Gorbachev [Wed, 10 Dec 2008 22:43:37 +0000 (22:43 +0000)]
Update NLS files.

svn path=/trunk/; revision=38004

15 years ago- Yet another victim of the Win32k Initialization BUG!
James Tabor [Wed, 10 Dec 2008 21:14:02 +0000 (21:14 +0000)]
- Yet another victim of the Win32k Initialization BUG!
- Creating an Information DC is wrong when using it with Icon Creation. This makes the default bitmap monochrome and this is why CreateCompatibleBitmap is broken. Plus all the hacks related to making it all work in Win32k.

svn path=/trunk/; revision=38002

15 years ago- Disable crashing advapi32 tests -- add print and notes
Stefan Ginsberg [Wed, 10 Dec 2008 17:32:31 +0000 (17:32 +0000)]
- Disable crashing advapi32 tests -- add print and notes

svn path=/trunk/; revision=37999

15 years ago- Impersonation level should be indeed higher that the lowest one. Fix the check...
Aleksey Bragin [Wed, 10 Dec 2008 15:24:55 +0000 (15:24 +0000)]
- Impersonation level should be indeed higher that the lowest one. Fix the check accordingly. Spotted by Dmitry Gorbachev and GCC.
See issue #3939 for more details.

svn path=/trunk/; revision=37998

15 years agoUpdate NLS files.
Dmitry Gorbachev [Wed, 10 Dec 2008 12:07:43 +0000 (12:07 +0000)]
Update NLS files.

svn path=/trunk/; revision=37997

15 years agofail when there are no sub authorities
Christoph von Wittich [Wed, 10 Dec 2008 08:29:03 +0000 (08:29 +0000)]
fail when there are no sub authorities

svn path=/trunk/; revision=37996

15 years agouse constant instead of value to avoid further "hm?" from Alex
Christoph von Wittich [Wed, 10 Dec 2008 07:34:02 +0000 (07:34 +0000)]
use constant instead of value to avoid further "hm?" from Alex

svn path=/trunk/; revision=37995

15 years agoBug 3942: "Translate update norwegian" by Lars Martin Hambro
Daniel Reimer [Wed, 10 Dec 2008 07:08:31 +0000 (07:08 +0000)]
Bug 3942: "Translate update norwegian" by Lars Martin Hambro

Small sidenote: I accidently commited a patch for XBox Support from Martin_sW in r31325 ~1 year ago...
It adds handover XBox HDD information to ROS Kernel into freeldr and is needed for new ROS Versions to start on XBox.
This + xbox hal + xbox vbe driver + moddded bootvid driver (not commited yet (/me looks at Fireball)) makes ROS boot on XBox.

svn path=/trunk/; revision=37994

15 years ago- Make sure SecurityDescriptor is not NULL.
James Tabor [Tue, 9 Dec 2008 20:28:26 +0000 (20:28 +0000)]
- Make sure SecurityDescriptor is not NULL.

svn path=/trunk/; revision=37983

15 years ago- Sync to date wine AdvApi32 cross tests.
James Tabor [Tue, 9 Dec 2008 19:26:45 +0000 (19:26 +0000)]
- Sync to date wine AdvApi32 cross tests.

svn path=/trunk/; revision=37982

15 years ago- Remove traces
Stefan Ginsberg [Tue, 9 Dec 2008 19:00:46 +0000 (19:00 +0000)]
- Remove traces

svn path=/trunk/; revision=37979

15 years ago- Initialize pointer to null
Stefan Ginsberg [Tue, 9 Dec 2008 18:48:28 +0000 (18:48 +0000)]
- Initialize pointer to null

svn path=/trunk/; revision=37978

15 years ago- Remove trace, change trace
Stefan Ginsberg [Tue, 9 Dec 2008 18:35:06 +0000 (18:35 +0000)]
- Remove trace, change trace

svn path=/trunk/; revision=37977

15 years ago- More trace :/
Stefan Ginsberg [Tue, 9 Dec 2008 18:20:18 +0000 (18:20 +0000)]
- More trace :/

svn path=/trunk/; revision=37975

15 years ago- Temporarily add tracing to ConvertStringSecurityDescriptorToSecurityDescriptorW...
Stefan Ginsberg [Tue, 9 Dec 2008 18:04:58 +0000 (18:04 +0000)]
- Temporarily add tracing to ConvertStringSecurityDescriptorToSecurityDescriptorW and LocalAlloc to figure out why the tests crashes on build server -- will be reverted ASAP

svn path=/trunk/; revision=37974

15 years ago- Add back debug print -- build server still crashes
Stefan Ginsberg [Tue, 9 Dec 2008 17:44:27 +0000 (17:44 +0000)]
- Add back debug print -- build server still crashes

svn path=/trunk/; revision=37973

15 years ago- Revert the debug print
Stefan Ginsberg [Tue, 9 Dec 2008 16:39:33 +0000 (16:39 +0000)]
- Revert the debug print

svn path=/trunk/; revision=37972

15 years agoimplement hex value support for ParseAccessMaskString
Christoph von Wittich [Tue, 9 Dec 2008 16:39:03 +0000 (16:39 +0000)]
implement hex value support for ParseAccessMaskString
sync ComputeStringSidSize with wine

svn path=/trunk/; revision=37971

15 years agoFix IntIsValidSBCSMapping(). Bug #3903.
Dmitry Gorbachev [Tue, 9 Dec 2008 16:13:51 +0000 (16:13 +0000)]
Fix IntIsValidSBCSMapping(). Bug #3903.

svn path=/trunk/; revision=37970

15 years agoProvide memcmp() for GCC 4.4.0.
Dmitry Gorbachev [Tue, 9 Dec 2008 15:05:02 +0000 (15:05 +0000)]
Provide memcmp() for GCC 4.4.0.

svn path=/trunk/; revision=37965

15 years ago- sync d3d8, d3d9 with wine
Kamil Hornicek [Tue, 9 Dec 2008 13:50:12 +0000 (13:50 +0000)]
- sync d3d8, d3d9 with wine

svn path=/trunk/; revision=37962

15 years ago- Test commit for the crash which the build server is experiencing (will be reverted)
Stefan Ginsberg [Tue, 9 Dec 2008 13:35:06 +0000 (13:35 +0000)]
- Test commit for the crash which the build server is experiencing (will be reverted)

svn path=/trunk/; revision=37961

15 years ago- revert 37958 for now, sorry
Kamil Hornicek [Tue, 9 Dec 2008 12:27:50 +0000 (12:27 +0000)]
- revert 37958 for now, sorry

svn path=/trunk/; revision=37959

15 years ago- remove leftovers
Kamil Hornicek [Tue, 9 Dec 2008 12:17:40 +0000 (12:17 +0000)]
- remove leftovers

svn path=/trunk/; revision=37958

15 years ago- sync wined3d with wine
Kamil Hornicek [Tue, 9 Dec 2008 12:16:19 +0000 (12:16 +0000)]
- sync wined3d with wine

svn path=/trunk/; revision=37957

15 years agoSeUnsolicitedInputPrivilege is obsolete - the LUID is used by SE_MACHINE_ACCOUNT_PRIV...
Christoph von Wittich [Tue, 9 Dec 2008 08:33:26 +0000 (08:33 +0000)]
SeUnsolicitedInputPrivilege is obsolete - the LUID is used by SE_MACHINE_ACCOUNT_PRIVILEGE now

svn path=/trunk/; revision=37955

15 years agosync CreateWellKnownSid with wine
Christoph von Wittich [Tue, 9 Dec 2008 07:09:25 +0000 (07:09 +0000)]
sync CreateWellKnownSid with wine

svn path=/trunk/; revision=37954

15 years ago- Fixed build.
James Tabor [Tue, 9 Dec 2008 06:05:29 +0000 (06:05 +0000)]
- Fixed build.

svn path=/trunk/; revision=37953

15 years ago- Add CP_UNIXCP for CP_ACP, this will help cross tests.
James Tabor [Tue, 9 Dec 2008 05:58:23 +0000 (05:58 +0000)]
- Add CP_UNIXCP for CP_ACP, this will help cross tests.

svn path=/trunk/; revision=37952

15 years ago- New patch by hto: Suspicious code in User32.dll, see bug 3935.
James Tabor [Tue, 9 Dec 2008 01:40:37 +0000 (01:40 +0000)]
- New patch by hto: Suspicious code in User32.dll, see bug 3935.

svn path=/trunk/; revision=37951

15 years ago- implement IServiceGroup interface
Johannes Anderwald [Mon, 8 Dec 2008 23:30:16 +0000 (23:30 +0000)]
- implement IServiceGroup interface
- implement PcNewServiceGroup

svn path=/trunk/; revision=37950

15 years agoRevert r37916 and add some correct tests for WC_NO_BEST_FIT_CHARS, which pass under...
Colin Finck [Mon, 8 Dec 2008 22:18:50 +0000 (22:18 +0000)]
Revert r37916 and add some correct tests for WC_NO_BEST_FIT_CHARS, which pass under Windows XP SP3.
They show that our implementation still has some bugs here and there.

svn path=/trunk/; revision=37947

15 years ago- Partly implement PcRegisterIoTimeout, PcUnregisterIoTimeout
Johannes Anderwald [Mon, 8 Dec 2008 21:42:44 +0000 (21:42 +0000)]
- Partly implement PcRegisterIoTimeout, PcUnregisterIoTimeout

svn path=/trunk/; revision=37946

15 years ago- Implement IResourceList_AddEntryFromParent
Johannes Anderwald [Mon, 8 Dec 2008 20:18:02 +0000 (20:18 +0000)]
- Implement IResourceList_AddEntryFromParent
- Implement PcNewResourceSublist

svn path=/trunk/; revision=37945

15 years ago- IntGetDeviceGammaRamp: remove unneeded code, i * 256 is always smaller than 65535...
Gregor Schneider [Mon, 8 Dec 2008 19:44:13 +0000 (19:44 +0000)]
- IntGetDeviceGammaRamp: remove unneeded code, i * 256 is always smaller than 65535 (255*256=65280 is the biggest value), CID 35
- IntSetDeviceGammaRamp: don't copy data to NULL buffer, CID 195

svn path=/trunk/; revision=37944

15 years ago- Experimental IInterrupt object implementation
Johannes Anderwald [Mon, 8 Dec 2008 19:08:07 +0000 (19:08 +0000)]
- Experimental IInterrupt object implementation

svn path=/trunk/; revision=37943

15 years ago- Add IID_IInterruptSync
Johannes Anderwald [Mon, 8 Dec 2008 19:06:15 +0000 (19:06 +0000)]
- Add IID_IInterruptSync

svn path=/trunk/; revision=37942

15 years agoFix two duplicate checks - obviously copy/pasted, CIDs 74 and 75
Gregor Schneider [Mon, 8 Dec 2008 17:02:19 +0000 (17:02 +0000)]
Fix two duplicate checks - obviously copy/pasted, CIDs 74 and 75

svn path=/trunk/; revision=37941

15 years ago- Remove unreachable code, CID 53
Gregor Schneider [Mon, 8 Dec 2008 16:27:28 +0000 (16:27 +0000)]
- Remove unreachable code, CID 53
- Simplify parameter checks, fix return value, set last error correctly, fix typo

svn path=/trunk/; revision=37940

15 years agofix ConvertStringSidToSidW
Christoph von Wittich [Mon, 8 Dec 2008 15:51:53 +0000 (15:51 +0000)]
fix ConvertStringSidToSidW

svn path=/trunk/; revision=37939

15 years ago- 'STATIC' -> 'static'
Stefan Ginsberg [Mon, 8 Dec 2008 13:33:44 +0000 (13:33 +0000)]
- 'STATIC' -> 'static'

svn path=/trunk/; revision=37936

15 years ago- Move KeQueryRuntimeThread declaration to winddk.h (spotted by Stefan Ginsberg).
Aleksey Bragin [Mon, 8 Dec 2008 13:13:36 +0000 (13:13 +0000)]
- Move KeQueryRuntimeThread declaration to winddk.h (spotted by Stefan Ginsberg).

svn path=/trunk/; revision=37935

15 years ago- Implement KeQueryRuntimeProcess for querying total user/kernel times of a process.
Aleksey Bragin [Mon, 8 Dec 2008 12:57:53 +0000 (12:57 +0000)]
- Implement KeQueryRuntimeProcess for querying total user/kernel times of a process.
- Use it for obtaining idle process times, and per-process information in QuerySystemInformation routines.
- Fix incorrect multiplier being applied to user/kernel times (should be KeMaximumIncrement instead of 100000).
- Slightly rework SystemProcessorPerformanceInformation to provide valid data.
- This fixed a bug existing since revision 24148, 2 years ago.
See issue #2329 for more details.

svn path=/trunk/; revision=37934

15 years ago- Please dont break functionality due to a compiler problem, just fix it.
James Tabor [Mon, 8 Dec 2008 07:57:18 +0000 (07:57 +0000)]
- Please dont break functionality due to a compiler problem, just fix it.

svn path=/trunk/; revision=37928

15 years ago- Patch by hto: Suspicious code in User32.dll, see bug 3935.
James Tabor [Mon, 8 Dec 2008 03:34:22 +0000 (03:34 +0000)]
- Patch by hto: Suspicious code in User32.dll, see bug 3935.

svn path=/trunk/; revision=37922

15 years agoPut inline functions into header files.
Dmitry Gorbachev [Sun, 7 Dec 2008 23:40:23 +0000 (23:40 +0000)]
Put inline functions into header files.

svn path=/trunk/; revision=37921

15 years agoRemove WINVER, committed in r37916.
Dmitry Gorbachev [Sun, 7 Dec 2008 22:03:22 +0000 (22:03 +0000)]
Remove WINVER, committed in r37916.

svn path=/trunk/; revision=37920

15 years agoSilence GCC warnings.
Dmitry Gorbachev [Sun, 7 Dec 2008 21:52:22 +0000 (21:52 +0000)]
Silence GCC warnings.

svn path=/trunk/; revision=37919

15 years agoRemove stray semicolon, change indentation.
Dmitry Gorbachev [Sun, 7 Dec 2008 21:49:30 +0000 (21:49 +0000)]
Remove stray semicolon, change indentation.

svn path=/trunk/; revision=37918

15 years agoAdd missing parentheses.
Dmitry Gorbachev [Sun, 7 Dec 2008 21:48:44 +0000 (21:48 +0000)]
Add missing parentheses.

svn path=/trunk/; revision=37917

15 years agoUse WC_NO_BEST_FIT_CHARS flag for WideCharToMultiByte(). Bug #3903.
Dmitry Gorbachev [Sun, 7 Dec 2008 21:46:16 +0000 (21:46 +0000)]
Use WC_NO_BEST_FIT_CHARS flag for WideCharToMultiByte(). Bug #3903.

svn path=/trunk/; revision=37916

15 years ago- Change more ASSERT(FALSE) to KeBugCheck(MEMORY_MANAGEMENT) so it dies on release...
Stefan Ginsberg [Sun, 7 Dec 2008 18:05:28 +0000 (18:05 +0000)]
- Change more ASSERT(FALSE) to KeBugCheck(MEMORY_MANAGEMENT) so it dies on release build too

svn path=/trunk/; revision=37914

15 years ago- Fix drawing the status bar over the play cards, happened if no status bar was speci...
Gregor Schneider [Sun, 7 Dec 2008 18:04:56 +0000 (18:04 +0000)]
- Fix drawing the status bar over the play cards, happened if no status bar was specified on sol startup (Win and ROS behavior); the bar has to be created to get the coords right - so we'll just hide it if we don't need it (like it's done when toggling status bar visibility in options)
- Additional cleanup by Roel Messiant, <roelmessiant AT gmail DOT com>:
- Replace the default options magic value by the proper constant
- Status bar height was being set wrong, but the system's constraint was fixing this behind the screens
- See bugs #3336 and #3820 for more info

svn path=/trunk/; revision=37913

15 years agoMerge 34758, 34771, 34786, 34787, 34906, 35826, 36174, 36274, 36444, 36445, 36446...
Timo Kreuzer [Sun, 7 Dec 2008 12:11:46 +0000 (12:11 +0000)]
Merge 34758, 34771, 34786, 34787, 34906, 35826, 36174, 36274, 36444, 36445, 36446, 36447, 36448, 36477, 36511, 36898, 36903 from amd64 branch

svn path=/trunk/; revision=37910

15 years ago- Introduce a common header file.
Eric Kohl [Sat, 6 Dec 2008 21:33:49 +0000 (21:33 +0000)]
- Introduce a common header file.
- Use Wine-style debug code everywhere.

svn path=/trunk/; revision=37906

15 years ago- Fix a potential case of non-paged pool memory double freeing. Spotted by Michael...
Aleksey Bragin [Sat, 6 Dec 2008 19:35:54 +0000 (19:35 +0000)]
- Fix a potential case of non-paged pool memory double freeing. Spotted by Michael Martin.

svn path=/trunk/; revision=37905