Timo Kreuzer [Sat, 13 Dec 2008 22:25:59 +0000 (22:25 +0000)]
fix fontview build
svn path=/trunk/; revision=38058
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
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
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
Timo Kreuzer [Sat, 13 Dec 2008 19:47:24 +0000 (19:47 +0000)]
fix build
svn path=/trunk/; revision=38049
Aleksey Bragin [Sat, 13 Dec 2008 19:31:40 +0000 (19:31 +0000)]
- Add missing PSHARED_CACHE_MAP.
svn path=/trunk/; revision=38048
Aleksey Bragin [Sat, 13 Dec 2008 19:30:38 +0000 (19:30 +0000)]
- Sync with Wine.
svn path=/trunk/; revision=38047
Timo Kreuzer [Sat, 13 Dec 2008 17:55:44 +0000 (17:55 +0000)]
Add 101 tests for GetSystemMetrics
svn path=/trunk/; revision=38046
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Johannes Anderwald [Fri, 12 Dec 2008 17:20:15 +0000 (17:20 +0000)]
- Partly implement IPortTopology port driver
svn path=/trunk/; revision=38029
Johannes Anderwald [Fri, 12 Dec 2008 17:18:26 +0000 (17:18 +0000)]
- interfaces definition for IMiniportTopology
svn path=/trunk/; revision=38028
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
Johannes Anderwald [Thu, 11 Dec 2008 23:06:58 +0000 (23:06 +0000)]
- Add IPortWavePciStream, IMiniportWavePciStream, IMiniportWavePci
svn path=/trunk/; revision=38026
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
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
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
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
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
Johannes Anderwald [Thu, 11 Dec 2008 14:51:57 +0000 (14:51 +0000)]
- Implement IDrmPort, IDrmPort2 interface
svn path=/trunk/; revision=38018
Johannes Anderwald [Thu, 11 Dec 2008 14:51:27 +0000 (14:51 +0000)]
- Add IDrmPort, IDrmPort2 interfaces
svn path=/trunk/; revision=38017
Aleksey Bragin [Thu, 11 Dec 2008 12:50:37 +0000 (12:50 +0000)]
- Add Dll Characteristics defines.
svn path=/trunk/; revision=38016
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
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
Johannes Anderwald [Thu, 11 Dec 2008 11:21:02 +0000 (11:21 +0000)]
- Add IAdapterPowerManagement interface
svn path=/trunk/; revision=38010
Johannes Anderwald [Thu, 11 Dec 2008 10:55:09 +0000 (10:55 +0000)]
- Add undef macro to avoid warnings
svn path=/trunk/; revision=38009
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
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
Johannes Anderwald [Thu, 11 Dec 2008 09:05:19 +0000 (09:05 +0000)]
- Fix RegSetValueEx parameters
- Found by Chris
svn path=/trunk/; revision=38006
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
Dmitry Gorbachev [Wed, 10 Dec 2008 22:43:37 +0000 (22:43 +0000)]
Update NLS files.
svn path=/trunk/; revision=38004
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
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
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
Dmitry Gorbachev [Wed, 10 Dec 2008 12:07:43 +0000 (12:07 +0000)]
Update NLS files.
svn path=/trunk/; revision=37997
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
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
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
James Tabor [Tue, 9 Dec 2008 20:28:26 +0000 (20:28 +0000)]
- Make sure SecurityDescriptor is not NULL.
svn path=/trunk/; revision=37983
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
Stefan Ginsberg [Tue, 9 Dec 2008 19:00:46 +0000 (19:00 +0000)]
- Remove traces
svn path=/trunk/; revision=37979
Stefan Ginsberg [Tue, 9 Dec 2008 18:48:28 +0000 (18:48 +0000)]
- Initialize pointer to null
svn path=/trunk/; revision=37978
Stefan Ginsberg [Tue, 9 Dec 2008 18:35:06 +0000 (18:35 +0000)]
- Remove trace, change trace
svn path=/trunk/; revision=37977
Stefan Ginsberg [Tue, 9 Dec 2008 18:20:18 +0000 (18:20 +0000)]
- More trace :/
svn path=/trunk/; revision=37975
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
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
Stefan Ginsberg [Tue, 9 Dec 2008 16:39:33 +0000 (16:39 +0000)]
- Revert the debug print
svn path=/trunk/; revision=37972
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
Dmitry Gorbachev [Tue, 9 Dec 2008 16:13:51 +0000 (16:13 +0000)]
Fix IntIsValidSBCSMapping(). Bug #3903.
svn path=/trunk/; revision=37970
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
Kamil Hornicek [Tue, 9 Dec 2008 13:50:12 +0000 (13:50 +0000)]
- sync d3d8, d3d9 with wine
svn path=/trunk/; revision=37962
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
Kamil Hornicek [Tue, 9 Dec 2008 12:27:50 +0000 (12:27 +0000)]
- revert 37958 for now, sorry
svn path=/trunk/; revision=37959
Kamil Hornicek [Tue, 9 Dec 2008 12:17:40 +0000 (12:17 +0000)]
- remove leftovers
svn path=/trunk/; revision=37958
Kamil Hornicek [Tue, 9 Dec 2008 12:16:19 +0000 (12:16 +0000)]
- sync wined3d with wine
svn path=/trunk/; revision=37957
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
Christoph von Wittich [Tue, 9 Dec 2008 07:09:25 +0000 (07:09 +0000)]
sync CreateWellKnownSid with wine
svn path=/trunk/; revision=37954
James Tabor [Tue, 9 Dec 2008 06:05:29 +0000 (06:05 +0000)]
- Fixed build.
svn path=/trunk/; revision=37953
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
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
Johannes Anderwald [Mon, 8 Dec 2008 23:30:16 +0000 (23:30 +0000)]
- implement IServiceGroup interface
- implement PcNewServiceGroup
svn path=/trunk/; revision=37950
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
Johannes Anderwald [Mon, 8 Dec 2008 21:42:44 +0000 (21:42 +0000)]
- Partly implement PcRegisterIoTimeout, PcUnregisterIoTimeout
svn path=/trunk/; revision=37946
Johannes Anderwald [Mon, 8 Dec 2008 20:18:02 +0000 (20:18 +0000)]
- Implement IResourceList_AddEntryFromParent
- Implement PcNewResourceSublist
svn path=/trunk/; revision=37945
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
Johannes Anderwald [Mon, 8 Dec 2008 19:08:07 +0000 (19:08 +0000)]
- Experimental IInterrupt object implementation
svn path=/trunk/; revision=37943
Johannes Anderwald [Mon, 8 Dec 2008 19:06:15 +0000 (19:06 +0000)]
- Add IID_IInterruptSync
svn path=/trunk/; revision=37942
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
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
Christoph von Wittich [Mon, 8 Dec 2008 15:51:53 +0000 (15:51 +0000)]
fix ConvertStringSidToSidW
svn path=/trunk/; revision=37939
Stefan Ginsberg [Mon, 8 Dec 2008 13:33:44 +0000 (13:33 +0000)]
- 'STATIC' -> 'static'
svn path=/trunk/; revision=37936
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
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
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
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
Dmitry Gorbachev [Sun, 7 Dec 2008 23:40:23 +0000 (23:40 +0000)]
Put inline functions into header files.
svn path=/trunk/; revision=37921
Dmitry Gorbachev [Sun, 7 Dec 2008 22:03:22 +0000 (22:03 +0000)]
Remove WINVER, committed in r37916.
svn path=/trunk/; revision=37920
Dmitry Gorbachev [Sun, 7 Dec 2008 21:52:22 +0000 (21:52 +0000)]
Silence GCC warnings.
svn path=/trunk/; revision=37919
Dmitry Gorbachev [Sun, 7 Dec 2008 21:49:30 +0000 (21:49 +0000)]
Remove stray semicolon, change indentation.
svn path=/trunk/; revision=37918
Dmitry Gorbachev [Sun, 7 Dec 2008 21:48:44 +0000 (21:48 +0000)]
Add missing parentheses.
svn path=/trunk/; revision=37917
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
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
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
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
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
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