reactos.git
13 years ago[NTOSKRNL]
Pierre Schweitzer [Tue, 21 Dec 2010 22:24:50 +0000 (22:24 +0000)]
[NTOSKRNL]
Fix CID 3454

svn path=/trunk/; revision=50087

13 years ago[VGA_NEW]
Jérôme Gardou [Tue, 21 Dec 2010 21:55:29 +0000 (21:55 +0000)]
[VGA_NEW]
  - avoid buffer overrun, CID 11049
Brought to light by vicmarcal

svn path=/trunk/; revision=50085

13 years ago[NTSOKRNL]
Timo Kreuzer [Tue, 21 Dec 2010 21:48:29 +0000 (21:48 +0000)]
[NTSOKRNL]
add a comment so that noone will stumble upon this atrocity a second time.

svn path=/trunk/; revision=50084

13 years ago[NTOSKRNL]
Pierre Schweitzer [Tue, 21 Dec 2010 21:35:04 +0000 (21:35 +0000)]
[NTOSKRNL]
Actually, code was correct, but ugly (who said "normal, that's a hack).
So, when that code is called from SetupLDR, KeyHandle is required to be to 1. This what code does. Thing we do in the if condition when it appears we are called from SetupLDR.
To avoid any further question, or warning, adding more parenthesis to show that we know what we do.
So, to sum up, there's no comparaison for KeyHandle

svn path=/trunk/; revision=50083

13 years ago[NTOSKRNL]
Amine Khaldi [Tue, 21 Dec 2010 20:28:21 +0000 (20:28 +0000)]
[NTOSKRNL]
- Fix an assign where a comparison was intended. CID 2626.

svn path=/trunk/; revision=50082

13 years ago[NTOS]: Check that MaximumSize is valid value if the section is being backed by pagin...
Michael Martin [Tue, 21 Dec 2010 15:19:58 +0000 (15:19 +0000)]
[NTOS]: Check that MaximumSize is valid value if the section is being backed by paging file.

svn path=/trunk/; revision=50081

13 years ago[DEVMGR]
Roel Messiant [Tue, 21 Dec 2010 14:58:13 +0000 (14:58 +0000)]
[DEVMGR]
- DisplayDevicePropertyText: Use full DWORD value, not just one byte of it (CID 1803).
[WINMM]
- MCI_Close: Use UINT instead of UINT16 for the device id (CID 1804).

svn path=/trunk/; revision=50080

13 years ago[EXPLORER-NEW]
Cameron Gutman [Tue, 21 Dec 2010 04:48:36 +0000 (04:48 +0000)]
[EXPLORER-NEW]
- Fix another "sizeof" usage mistake
- CID 1631

svn path=/trunk/; revision=50078

13 years ago[USBDRIVER]
Cameron Gutman [Tue, 21 Dec 2010 04:35:12 +0000 (04:35 +0000)]
[USBDRIVER]
- Fix a bug that resulted in us only copying half of the old keyboard data
- CID 10402

svn path=/trunk/; revision=50077

13 years ago[CLASSPNP]
Roel Messiant [Tue, 21 Dec 2010 00:41:52 +0000 (00:41 +0000)]
[CLASSPNP]
- Use correct type in sizeof expression (CID 1646 and 10401).
- Simplify signature define (CID 3653 and 3654).
- Remove funky 0xFF characters.

svn path=/trunk/; revision=50076

13 years ago[URLMON]
Cameron Gutman [Mon, 20 Dec 2010 21:29:55 +0000 (21:29 +0000)]
[URLMON]
- Sync to Wine 1.3.9

svn path=/trunk/; revision=50074

13 years ago[WININET]
Cameron Gutman [Mon, 20 Dec 2010 21:25:11 +0000 (21:25 +0000)]
[WININET]
- Sync to Wine 1.3.9

svn path=/trunk/; revision=50073

13 years ago[NDIS]
Cameron Gutman [Mon, 20 Dec 2010 20:57:22 +0000 (20:57 +0000)]
[NDIS]
- Fix sizeof typo
- CID 10400

svn path=/trunk/; revision=50072

13 years ago[WINHTTP]
Cameron Gutman [Mon, 20 Dec 2010 20:36:21 +0000 (20:36 +0000)]
[WINHTTP]
- Sync to Wine 1.3.9

svn path=/trunk/; revision=50071

13 years ago- Update "slightly less than all" IDLs to Wine-1.3.9. (Except for shlobj, shobjidl...
Aleksey Bragin [Mon, 20 Dec 2010 11:56:24 +0000 (11:56 +0000)]
- Update "slightly less than all" IDLs to Wine-1.3.9. (Except for shlobj, shobjidl and shtypes.h, and DirectX stuff).

svn path=/trunk/; revision=50070

13 years ago[CRT]
Timo Kreuzer [Mon, 20 Dec 2010 11:48:55 +0000 (11:48 +0000)]
[CRT]
rename pow_asm.c to powl.c to reflect it's content.

svn path=/trunk/; revision=50069

13 years ago[CRT]
Timo Kreuzer [Mon, 20 Dec 2010 10:16:43 +0000 (10:16 +0000)]
[CRT]
Fix bugs in converted asm file. Fixes Firefox color issues.

svn path=/trunk/; revision=50068

13 years ago[ADVAPI32]
Roel Messiant [Sun, 19 Dec 2010 23:19:04 +0000 (23:19 +0000)]
[ADVAPI32]
- ConvertStringSidToSidW: Stop writing 1 subauthority too much. Fixes a DWORD sized buffer overflow. Should fix bug #5764.
- ConvertStringSidToSidW: Don't leak an allocated SID in case of failure.
[SETUPAPI]
- SetupDiClassNameFromGuidExW: Rewrite to prevent a buffer overflow and pass additional winetests. Should fix bug #5474.
- SetupDiClassNameFromGuidExA: Return the required buffer size in failure cases.

svn path=/trunk/; revision=50066

13 years ago[OLEACC]
Roel Messiant [Sun, 19 Dec 2010 22:53:29 +0000 (22:53 +0000)]
[OLEACC]
- Use an actual entrypoint. Needed to record the instance handle, used by various function that access resources of the module. Should fix oleacc:main winetest.

svn path=/trunk/; revision=50064

13 years ago[WIDL]
Aleksey Bragin [Sun, 19 Dec 2010 20:47:16 +0000 (20:47 +0000)]
[WIDL]
- Update to Wine-1.3.9.
- Important note: Syntax of widl invocation changed slightly, so take this into account when merging to cmake branch.

svn path=/trunk/; revision=50063

13 years ago[PSDK]
Aleksey Bragin [Fri, 17 Dec 2010 15:32:07 +0000 (15:32 +0000)]
[PSDK]
- Oleg Baikalow: Add missing definitions to ipexport.h.

svn path=/trunk/; revision=50053

13 years ago[Win32k|User32]
James Tabor [Fri, 17 Dec 2010 01:09:42 +0000 (01:09 +0000)]
[Win32k|User32]
- Finish 50030 (work by Giannis), Now PostMessage passes all the correct data based on Get/PeekMessage. Example: Post A, Get/Peek A, Translate A, Dispatch A, should be that simple. FYI: DDE memory handling should be in win32k not user32 and why,,,,, ~see next point~
- Patch up problems (at a minimum) going into the SendMessage/Timeout A2U U2A support in win32k and fixed SMTO callback if local.

svn path=/trunk/; revision=50047

13 years agoremove some more unnecessary debug output
Giannis Adamopoulos [Thu, 16 Dec 2010 21:42:28 +0000 (21:42 +0000)]
remove some more unnecessary debug output

svn path=/trunk/; revision=50045

13 years ago[win32k]
Giannis Adamopoulos [Thu, 16 Dec 2010 20:41:25 +0000 (20:41 +0000)]
[win32k]
-Remove an unneeded debug message

svn path=/trunk/; revision=50043

13 years ago[user32_winetest]
Giannis Adamopoulos [Thu, 16 Dec 2010 19:11:13 +0000 (19:11 +0000)]
[user32_winetest]
-revert the previous commit

svn path=/trunk/; revision=50042

13 years ago[user32_winetest]
Giannis Adamopoulos [Thu, 16 Dec 2010 18:49:10 +0000 (18:49 +0000)]
[user32_winetest]
-deactivate some tests that hang in reactos that have already been deactived and reactivded by mistake twice

svn path=/trunk/; revision=50041

13 years ago[NTOS]
Aleksey Bragin [Wed, 15 Dec 2010 20:12:03 +0000 (20:12 +0000)]
[NTOS]
- Roel Messiant: Fix NtQueryObject to return the required buffer size if the buffer provided was too small. Unimplemented paths behaviour is preserved.

svn path=/trunk/; revision=50032

13 years ago[RTL]
Aleksey Bragin [Wed, 15 Dec 2010 20:03:43 +0000 (20:03 +0000)]
[RTL]
- Roel Messiant: Specify proper byte length of a unicode string. Fixes out of bounds access in actctx.c support code. No more half-cut active context stuff in debug logs.

svn path=/trunk/; revision=50031

13 years ago[win32k]
Giannis Adamopoulos [Wed, 15 Dec 2010 19:21:48 +0000 (19:21 +0000)]
[win32k]
- Use the new version of NtUserGetMessage and NtUserPeekMessage written by Jim. It is possible to use them now because GetMessage and PeekMessage don't return messages that contain pointers. As a result they don't need to do any extra work to copy the message to user mode. All messages that contain pointers are sent messages and this means that they don't get into the message loop. Instead they are passed directly to the window proc.
- DispatchMessage works only if the target window belongs to the current thread. This lets us remove uneeded copies of lparam to user mode.

[user32]
- Remove a bunch of uneeded code in GetMessage and PeekMessage that copyied the lparam in a new buffer and did unicode to ansi convertions. It is not needed because they don't receive messages with pointers any more

svn path=/trunk/; revision=50030

13 years ago- Mode detect look for 4BPP, planar, graphics < 0x800 mode now
evb [Tue, 14 Dec 2010 04:10:14 +0000 (04:10 +0000)]
- Mode detect look for 4BPP, planar, graphics < 0x800 mode now
- Add GDIINFO from NT4 VGA DDK sample driver
- Set 4BPP prefer DIB format
- No graphics caps set for VGA driver
- Put static palette/color buffer for when VGA IOCTL send later
- Convert almost done, bInitSURF is last

svn path=/trunk/; revision=50029

13 years ago- Finish make enable.c work full on vga, main change force 4BPP (disable other codes...
evb [Tue, 14 Dec 2010 03:52:00 +0000 (03:52 +0000)]
- Finish make enable.c work full on vga, main change force 4BPP (disable other codes), create 4BPP bitmap surfobj, associate and lock
- Easy part done, now hard part

svn path=/trunk/; revision=50028

13 years ago- fix now palette.c for vga, by copy logPalVGA/VGALOGPALETTE from NT4 DDK VGA sample...
evb [Tue, 14 Dec 2010 03:27:51 +0000 (03:27 +0000)]
- fix now palette.c for vga, by copy logPalVGA/VGALOGPALETTE from NT4 DDK VGA sample drv and turn off codes for allocate 256 color pallette, instead use fix 16 color logPalVGA
- fix header of debug.c

svn path=/trunk/; revision=50027

13 years ago- Add the new vga miniport to build
evb [Tue, 14 Dec 2010 03:17:29 +0000 (03:17 +0000)]
- Add the new vga miniport to build
- Replace the framebuf_new spec rc rbuild with vga_new spec rc rbuild
- Delete pointer.c
- Start make changes, driver.h new fields for VGA, change driver short/long name/tag, add macros and in enable.c remove hw pointer support

svn path=/trunk/; revision=50026

13 years ago- commit base for new vga display miniport driver, is svn copy of framebuf_new as...
evb [Tue, 14 Dec 2010 03:03:30 +0000 (03:03 +0000)]
- commit base for new vga display miniport driver, is svn copy of framebuf_new as many codes identical
- Will than commit and document differences to make into vga driver

svn path=/trunk/; revision=50025

13 years ago[NTOSKRNL]
Pierre Schweitzer [Mon, 13 Dec 2010 22:24:49 +0000 (22:24 +0000)]
[NTOSKRNL]
Silent FstubEx* debug prints on popular demand (ie, Timo)

svn path=/trunk/; revision=50024

13 years ago[NTOSKRNL]
Pierre Schweitzer [Mon, 13 Dec 2010 11:33:29 +0000 (11:33 +0000)]
[NTOSKRNL]
Merge some changes from r50021 to FsRtlIsNameInExpression() to make code easier to read and understand...

svn path=/trunk/; revision=50022

13 years ago[NTOSKRNL]
Pierre Schweitzer [Mon, 13 Dec 2010 11:24:52 +0000 (11:24 +0000)]
[NTOSKRNL]
Rewritten FsRtlIsDbcsInExpression() using FsRtlIsNameInExpression() pattern.
This fixes all failing tests from kmtest.sys and make this function definitely tastier to MS fastfat.sys

svn path=/trunk/; revision=50021

13 years ago[KMTEST]
Pierre Schweitzer [Mon, 13 Dec 2010 11:06:57 +0000 (11:06 +0000)]
[KMTEST]
Added testcases for FsRtlIsDbcsInExpression()

svn path=/trunk/; revision=50020

13 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 12 Dec 2010 22:17:45 +0000 (22:17 +0000)]
[NTOSKRNL]
Fixed FsRtlIsNameInExpression() according to r50018 tests

svn path=/trunk/; revision=50019

13 years ago[KMTEST]
Pierre Schweitzer [Sun, 12 Dec 2010 22:09:35 +0000 (22:09 +0000)]
[KMTEST]
Added more testcases for FsRtlIsNameInExpression()

svn path=/trunk/; revision=50018

13 years agoRevert r50016
Pierre Schweitzer [Sun, 12 Dec 2010 22:04:59 +0000 (22:04 +0000)]
Revert r50016

svn path=/trunk/; revision=50017

13 years agoCommit test...
Pierre Schweitzer [Sun, 12 Dec 2010 22:03:42 +0000 (22:03 +0000)]
Commit test...

svn path=/trunk/; revision=50016

13 years ago[ROSTESTS]
Sylvain Petreolle [Sun, 12 Dec 2010 21:48:05 +0000 (21:48 +0000)]
[ROSTESTS]
Delete test file.

svn path=/trunk/; revision=50015

13 years ago[ROSTESTS]
Sylvain Petreolle [Sun, 12 Dec 2010 21:30:20 +0000 (21:30 +0000)]
[ROSTESTS]
Add lorem ipsum test file.

svn path=/trunk/; revision=50014

13 years agoUpdate the rapps database.
Daniel Reimer [Sun, 12 Dec 2010 18:56:43 +0000 (18:56 +0000)]
Update the rapps database.

svn path=/trunk/; revision=50013

13 years ago[HEAP]
Aleksey Bragin [Fri, 10 Dec 2010 09:33:20 +0000 (09:33 +0000)]
[HEAP]
- Time has come to get rid of a slightly modified implementation of WINE's heap, which is a hack based on Windows 95's heap implementation, itself a hack of DOS memory management. It supported 3 out of the 18 possible NT Heap Flags, did not support custom allocation/deallocation routines, and was about 50-80x slower with fragmentation rates up to 500x higher when compared to NT's LFH (WINE is lucky because the advanced NT Heap features are used in kernel-mode usually, not in user-mode, and they are crossing their fingers for this being the same). Several high-end SQL/Database applications would significantly benefit from custom heap features provided by NT. Not to say about removing crappy support for a custom Commit routine and crappy support for User-defined flags and the User-defined value.

- So, the glorious moment for a new heap manager, which is (to remind you) a totally new heap manager, resembling real NT heap manager, based on data structures similar to Windows 2003 and Vista+'s heap structures, supporting advanced heap flags (e.g. useful for debugging), having substantially lower fragmentation rates (and thus speed and reliability), having native support for user-defined flags and user-defined values, also native support for a custom commit routine, which is very important for trunk's win32 subsystem. It also reserves, commits, decommits and frees memory on the fly, unlike existing heap manager which prefers to reserve and commit as much as possible, and doesn't decommit when it's no longer necessary. Not to say about support for per process heaps, with a proper lock, and a further support for a special so-called debug heap allocator (to be implemented in heapdbg.c) which will be useful for finding heap corruptions.

Yeah, I'm not a fun person :D

svn path=/trunk/; revision=50000

13 years ago[WIN32K]
Timo Kreuzer [Thu, 9 Dec 2010 15:53:55 +0000 (15:53 +0000)]
[WIN32K]
Merge r49994 and r49995 from reactx branch

svn path=/trunk/; revision=49996

13 years agoRemove the "irc", "press-media" and "tools" directories.
Colin Finck [Wed, 8 Dec 2010 16:42:47 +0000 (16:42 +0000)]
Remove the "irc", "press-media" and "tools" directories.
They were moved to the "press-media" and "project-tools" repositories now.

svn path=/trunk/; revision=49986

13 years ago[DDK]
Aleksey Bragin [Tue, 7 Dec 2010 22:07:00 +0000 (22:07 +0000)]
[DDK]
- Oleg Baikalow: Fix NDIS macros.

svn path=/trunk/; revision=49982

13 years ago[REGEDIT]
Aleksey Bragin [Tue, 7 Dec 2010 21:49:25 +0000 (21:49 +0000)]
[REGEDIT]
- Adam Kachwalla: Fix inconsistent formatting.
- Me: to anyone who's gonna try syncing the code with Wine's regedit: Have fun!
See issue #5716 for more details.

svn path=/trunk/; revision=49980

13 years ago[NPFS]
Eric Kohl [Tue, 7 Dec 2010 20:16:45 +0000 (20:16 +0000)]
[NPFS]
Enable the driver to open a directory using a relative path name.

svn path=/trunk/; revision=49978

13 years ago[PORTCLS]
Johannes Anderwald [Tue, 7 Dec 2010 17:23:09 +0000 (17:23 +0000)]
[PORTCLS]
- Merge from the audio branch
- Fix node property handler
- Take advantage of IPinCount interface

svn path=/trunk/; revision=49974

13 years ago[SHELL32]
Johannes Anderwald [Tue, 7 Dec 2010 14:35:54 +0000 (14:35 +0000)]
[SHELL32]
- Implement copy / paste for files when tree view is present
- Don't add shortcuts / executables to recent file list

svn path=/trunk/; revision=49969

13 years ago[CMAKE]
Amine Khaldi [Tue, 7 Dec 2010 11:40:10 +0000 (11:40 +0000)]
[CMAKE]
- More work rostests cmake integration. Winetests are almost all done (two remain).

svn path=/trunk/; revision=49968

13 years ago[CMAKE]
Amine Khaldi [Tue, 7 Dec 2010 09:27:10 +0000 (09:27 +0000)]
[CMAKE]
- Start working on rostests cmake integration.

svn path=/trunk/; revision=49966

13 years ago[win32k]
Giannis Adamopoulos [Mon, 6 Dec 2010 12:07:05 +0000 (12:07 +0000)]
[win32k]
- In FNID_SENDMESSAGECALLBACK use SEH before accesing the user-mode buffer

svn path=/trunk/; revision=49962

13 years ago[NDIS]
Cameron Gutman [Mon, 6 Dec 2010 04:39:57 +0000 (04:39 +0000)]
[NDIS]
- Add a missing spin lock release in a failure case
- Fix incomplete copying of NDIS 5.1 miniport characteristics

svn path=/trunk/; revision=49961

13 years ago[win32k]
Giannis Adamopoulos [Sun, 5 Dec 2010 23:10:03 +0000 (23:10 +0000)]
[win32k]
-Amend to r41772. Allow PostMessage to handle DDE messages

svn path=/trunk/; revision=49957

13 years ago[TASKMGR]
Aleksey Bragin [Sun, 5 Dec 2010 10:27:45 +0000 (10:27 +0000)]
[TASKMGR]
- Rafal Harabien: Add support for DELETE key to processes and applications list in taskmgr.
See issue #5646 for more details.

svn path=/trunk/; revision=49954

13 years ago[Win32k|User32]
James Tabor [Sat, 4 Dec 2010 17:51:17 +0000 (17:51 +0000)]
[Win32k|User32]
- Remove the old send message API and use NtUserMessageCall.
- Send messages do not pass the Ansi bit. This was evident during the hook changes. User32 knows the caller is Ansi and with a Unicode window user32 can make the apropate switch. Win32k on the other hand, assumes, based on the Unicode window the caller is Unicode. Hook tests enabled in send message, forces the call to win32k, and the Ansi product is Unicode data. Using NtUserMessageCall this bit can be passed forward to allow win32k to make the correct switch going to callback.

svn path=/trunk/; revision=49950

13 years ago[NPFS]
Eric Kohl [Sat, 4 Dec 2010 15:25:27 +0000 (15:25 +0000)]
[NPFS]
- Fail attempts to connect or disconnect a directory or device.
- Fail attempts to connect or disconnect a pipe by the client.

svn path=/trunk/; revision=49948

13 years ago[NPFS]
Eric Kohl [Sat, 4 Dec 2010 08:54:16 +0000 (08:54 +0000)]
[NPFS]
Read and write IRPs must fail if the caller is not a pipe but a directory or a device.

svn path=/trunk/; revision=49945

13 years ago[Win32k]
James Tabor [Fri, 3 Dec 2010 18:13:28 +0000 (18:13 +0000)]
[Win32k]
- More fixes to In Send message support. One more case fixed in looping back.

svn path=/trunk/; revision=49936

13 years ago[Win32k]
James Tabor [Fri, 3 Dec 2010 18:02:02 +0000 (18:02 +0000)]
[Win32k]
- More fixes to In Send and Reply message support.

svn path=/trunk/; revision=49935

13 years ago[Win32k|User32]
James Tabor [Fri, 3 Dec 2010 15:34:06 +0000 (15:34 +0000)]
[Win32k|User32]
- Fixed SendNotifyMessage, thanks to Michael Martin callback changes. Fixed DispatchMessage when dealing with thread errors. Fixed all but one of the Get/PeekMessage wine tests. Fixed attaching threads to process information. Plus other fixes.
- Implemented support for QS bits, ReplyMessage (not fully correct), and others.
- Tested everything here, please post regressions so I can add more applications to the test list. This patch is synced with 49720 and 49772. After that there are graphic issues.
- Credits goes to wine for helping with diagnosing issues in the ReactOS message system.

svn path=/trunk/; revision=49929

13 years agorevert accidental change from r49499
Timo Kreuzer [Fri, 3 Dec 2010 11:46:52 +0000 (11:46 +0000)]
revert accidental change from r49499

svn path=/trunk/; revision=49918

13 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 2 Dec 2010 14:37:16 +0000 (14:37 +0000)]
[NTOSKRNL]
patch by Samuel Serapion:
Implement MemorySectionName case for NtQueryVirtualMemory. Protect buffer access with SEH.

See issue #5753 for more details.

svn path=/trunk/; revision=49898

13 years ago[FINDSTR]
Aleksey Bragin [Tue, 30 Nov 2010 19:14:41 +0000 (19:14 +0000)]
[FINDSTR]
- Port findstr (incomplete, as author of this patch states, it may satisfy RosBE, .c .h and .rc files) from FreeDOS project. Needed for RosBE-on-ReactOS support.
See issue #5724 for more details.

svn path=/trunk/; revision=49875

13 years ago[CMD]
Aleksey Bragin [Tue, 30 Nov 2010 16:38:53 +0000 (16:38 +0000)]
[CMD]
- Carlo Bramix: MultiByteToWideChar() has just 6 and not 8 parameters, probably it's a forgetten copy/past from WideCharToMultiByte().
- Carlo Bramix: ConvertULargeInteger() should have its parameter 'Len' declared as UINT rather than 'INT'. This fixes a signed/unsigned mismatch warning.
See issue #5678 for more details.

svn path=/trunk/; revision=49873

13 years ago[DDRAW]
Aleksey Bragin [Tue, 30 Nov 2010 16:29:49 +0000 (16:29 +0000)]
[DDRAW]
- Jerome Gardou: Almost all of the ddraw->refcount winetests pass. One remains, due to the fact that IdirectDrawSurface::SetPalette is unimplemented. IDirectDraw::Createpalette is implemented too, but needs testing. There are no parameter checks.
- Comments from me: The patch is not build-tested, however I did my best to merge it to existing ddraw and I prefer the actual code to be in the repository rather than hanging in bugzilla for years (last comment to the patch is dated 29.10.2009).

See issue #4909 for more details.

svn path=/trunk/; revision=49872

13 years ago[User32]
James Tabor [Mon, 29 Nov 2010 16:48:27 +0000 (16:48 +0000)]
[User32]
- Fixed export for PrintWindow see bug 5466 and 5609.

svn path=/trunk/; revision=49861

13 years ago[NTOSKRNL/NEWCC]
Pierre Schweitzer [Sun, 28 Nov 2010 22:33:19 +0000 (22:33 +0000)]
[NTOSKRNL/NEWCC]
Init Dummy var even if just used for debug to suppress warning

svn path=/trunk/; revision=49858

13 years ago[DDK]
Pierre Schweitzer [Sun, 28 Nov 2010 16:43:40 +0000 (16:43 +0000)]
[DDK]
FsRtlRemoveBaseMcbEntry() return is VOID

svn path=/trunk/; revision=49851

13 years ago[NTOSKRNL/MM]
Amine Khaldi [Sun, 28 Nov 2010 16:38:51 +0000 (16:38 +0000)]
[NTOSKRNL/MM]
- Fix the use of an uninitialized variable.

svn path=/trunk/; revision=49850

13 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 28 Nov 2010 16:33:56 +0000 (16:33 +0000)]
[NTOSKRNL]
Never read code & commit while being tired...

svn path=/trunk/; revision=49848

13 years ago[ATL]
Aleksey Bragin [Sun, 28 Nov 2010 12:10:59 +0000 (12:10 +0000)]
[ATL]
- Ettl Martin: Make CComCriticalSection destructor virtual.
See issue #4975 for more details.

svn path=/trunk/; revision=49840

13 years ago[CRT]
Timo Kreuzer [Sun, 28 Nov 2010 09:53:22 +0000 (09:53 +0000)]
[CRT]
Fix another typo

svn path=/trunk/; revision=49836

13 years ago[User32]
James Tabor [Sun, 28 Nov 2010 01:37:16 +0000 (01:37 +0000)]
[User32]
- Sync up with wine 1.2 rc6 menu so it will pass the tests from rev 47939.

svn path=/trunk/; revision=49834

13 years ago[CRT]
Timo Kreuzer [Sun, 28 Nov 2010 00:10:02 +0000 (00:10 +0000)]
[CRT]
Fix typos

svn path=/trunk/; revision=49830

13 years agorevert r49824
Timo Kreuzer [Sat, 27 Nov 2010 22:24:15 +0000 (22:24 +0000)]
revert r49824

svn path=/trunk/; revision=49827

13 years ago[ASM]
Timo Kreuzer [Sat, 27 Nov 2010 22:12:15 +0000 (22:12 +0000)]
[ASM]
Merge asm related changes from cmake branch.

svn path=/trunk/; revision=49826

13 years ago[MPRAPI]
Aleksey Bragin [Sat, 27 Nov 2010 21:38:11 +0000 (21:38 +0000)]
[MPRAPI]
- Sync to Wine-1.3.8
See issue #5718 for more details.

svn path=/trunk/; revision=49825

13 years ago[XML]
Timo Kreuzer [Sat, 27 Nov 2010 19:02:37 +0000 (19:02 +0000)]
[XML]
Silence a warning on MSVC

svn path=/trunk/; revision=49824

13 years ago[FREELDR]
Aleksey Bragin [Thu, 25 Nov 2010 22:03:56 +0000 (22:03 +0000)]
[FREELDR]
- Conditionally enable heap-related debugging and validation checks by an MM_DBG define for all architectures. Inspired by 49744.

svn path=/trunk/; revision=49792

13 years ago[NTOSKRNL]
Pierre Schweitzer [Wed, 24 Nov 2010 22:51:03 +0000 (22:51 +0000)]
[NTOSKRNL]
Fix the fix, ie fix x86.
Everything should work now ~

svn path=/trunk/; revision=49790

13 years ago[FREELDR]
Sylvain Petreolle [Wed, 24 Nov 2010 20:55:15 +0000 (20:55 +0000)]
[FREELDR]
poor little printf causes boot break, nuff said.

svn path=/trunk/; revision=49789

13 years ago[NTOS]: Seems like cpsr_c doesn't work in this case? Need to investigate. Put an...
Sir Richard [Wed, 24 Nov 2010 18:56:35 +0000 (18:56 +0000)]
[NTOS]: Seems like cpsr_c doesn't work in this case? Need to investigate. Put an infinite loop in the entrypoint on ARM.

svn path=/trunk/; revision=49786

13 years ago[NTOS]: STATUS_SUCCESS is not the only succesful return code.
Sir Richard [Wed, 24 Nov 2010 18:53:47 +0000 (18:53 +0000)]
[NTOS]: STATUS_SUCCESS is not the only succesful return code.

svn path=/trunk/; revision=49785

13 years ago[SERVICES]
Timo Kreuzer [Wed, 24 Nov 2010 18:30:12 +0000 (18:30 +0000)]
[SERVICES]
Fix a typo (|| instead of |). Found by clang.

svn path=/trunk/; revision=49783

13 years ago[NTOS]: Fix 16-bit interlocked operations on ARM (GCC doesn't provide built-ins)...
Sir Richard [Wed, 24 Nov 2010 18:19:42 +0000 (18:19 +0000)]
[NTOS]: Fix 16-bit interlocked operations on ARM (GCC doesn't provide built-ins). ARM should build now.

svn path=/trunk/; revision=49782

13 years ago[NTOS]: Some more ARM build and linker fixes, moving some of the new x86 C code into...
Sir Richard [Wed, 24 Nov 2010 17:49:52 +0000 (17:49 +0000)]
[NTOS]: Some more ARM build and linker fixes, moving some of the new x86 C code into ARM. This should really be shared later.
[NTOS]: Totally broke thread context switching on ARM for now. It's a Good Thing.

svn path=/trunk/; revision=49781

13 years ago[NDK]: Fix definition of ARM PTE/PDE structure.
Sir Richard [Wed, 24 Nov 2010 17:26:30 +0000 (17:26 +0000)]
[NDK]: Fix definition of ARM PTE/PDE structure.
[NTOS]: Fix up ARM code to match recent ARM3 changes.
[NTOS]: Do not use initguid inside every single file to zillionplicate the GUIDs! Why doesn't the x86 linker catch this?!!?
[ARMDDK]: Define some spinlock functions.

svn path=/trunk/; revision=49780

13 years ago[NTOSKRNL]
Pierre Schweitzer [Wed, 24 Nov 2010 17:24:54 +0000 (17:24 +0000)]
[NTOSKRNL]
That's not because ARM will rule the world on a day that you're obliged to break x86 build.
Fixed build. Will it work? Only God knows.

svn path=/trunk/; revision=49779

13 years ago[NTOS]: Add MiGetPteOffset for ARM. All of the kernel compiles, but does not link...
Sir Richard [Wed, 24 Nov 2010 16:09:19 +0000 (16:09 +0000)]
[NTOS]: Add MiGetPteOffset for ARM. All of the kernel compiles, but does not link yet.

svn path=/trunk/; revision=49778

13 years ago[CONFIG]: Instead of having 4 template rbuild configuration files that must be kept...
Sir Richard [Wed, 24 Nov 2010 16:08:54 +0000 (16:08 +0000)]
[CONFIG]: Instead of having 4 template rbuild configuration files that must be kept in-sync, maybe there should be a generic one that they all inherit from?
[CONFIG]: Add new property settings that exist in x86, but not ARM because nobody added them there. For example, nor cc, nor cache were being built on ARM, because NEWCC was undefined (which isn't treated as 0 by rbuild).
How I long for CMAKE.

svn path=/trunk/; revision=49777

13 years ago[ARMDDK]: Oh, right, forgot how this was laid out. should fix ARM build.
Sir Richard [Wed, 24 Nov 2010 15:41:28 +0000 (15:41 +0000)]
[ARMDDK]: Oh, right, forgot how this was laid out. should fix ARM build.

svn path=/trunk/; revision=49775

13 years ago[NTOS]: Fix incorrect assumptions that a PDE == PTE which have crept up throughout...
Sir Richard [Wed, 24 Nov 2010 15:21:45 +0000 (15:21 +0000)]
[NTOS]: Fix incorrect assumptions that a PDE == PTE which have crept up throughout new ARM3 code.
[NTOS]: Fix a couple more unportable directly "Hard" PTE field accesses, instead of using portable MI macros.
[NTOS]: Cleanup some of the pool code that had really messed up PDE vs PTE.
[NTOS]: Define the number of page directoty levels for ARM.
[NTOS]: Comment out some ARM3 code that won't be needed now that most of the x86 code is in C.
Fixes all but one build error.

svn path=/trunk/; revision=49774

13 years ago[PSDK/NDK]: Fix KPCR/KIPCR for ARM to match x86 more closely. Add KeGetTickCount...
Sir Richard [Wed, 24 Nov 2010 15:18:24 +0000 (15:18 +0000)]
[PSDK/NDK]: Fix KPCR/KIPCR for ARM to match x86 more closely. Add KeGetTickCount for ARM.

svn path=/trunk/; revision=49773

13 years ago[win32k]
Giannis Adamopoulos [Wed, 24 Nov 2010 14:52:23 +0000 (14:52 +0000)]
[win32k]
-move several user stubs in ntstubs.c

svn path=/trunk/; revision=49772

13 years ago[NTOS]: Errr... wow! Another one caught by ARM GCC. I can swear x86 GCC used to catch...
Sir Richard [Wed, 24 Nov 2010 14:47:08 +0000 (14:47 +0000)]
[NTOS]: Errr... wow! Another one caught by ARM GCC. I can swear x86 GCC used to catch these. Did someone change warning settings? Anyhow, fix a *f++ which increments the pointer, not the value INSIDE the pointer (*f)++. Fixes MiDeleteSystemPageableVm.

svn path=/trunk/; revision=49771