reactos.git
11 years ago[WINED3D]
Amine Khaldi [Wed, 2 May 2012 22:48:35 +0000 (22:48 +0000)]
[WINED3D]
* Fix msvc x64 build.
See issue #7032 for more details.

svn path=/trunk/; revision=56480

11 years ago[LICENSE]
Aleksey Bragin [Wed, 2 May 2012 21:36:27 +0000 (21:36 +0000)]
[LICENSE]
- Add the linking exception text to the official ReactOS licensing text. Previously, the exception text was only available at the ReactOS website with no references from the source code.

svn path=/trunk/; revision=56479

11 years ago[WIN32K]
Timo Kreuzer [Wed, 2 May 2012 19:29:33 +0000 (19:29 +0000)]
[WIN32K]
A pointer is not a handle. A handle is not a pointer. At least in most cases. Defining STRICT in win32k revealed horrible things...

svn path=/trunk/; revision=56478

11 years ago[WIN32K]
Timo Kreuzer [Wed, 2 May 2012 18:55:23 +0000 (18:55 +0000)]
[WIN32K]
- Add some code stub and comments for realizing DIB brush palettes
- Move some function prototypes

svn path=/trunk/; revision=56477

11 years ago[WIN32K]
Timo Kreuzer [Wed, 2 May 2012 13:56:55 +0000 (13:56 +0000)]
[WIN32K]
- Fix a palette leak in DIB_CreateDIBSection
- Remove PALETTE_AllocPalette and PALETTE_AllocPaletteIndexedRGB, use PALETTE_AllocPalWithHandle instead

svn path=/trunk/; revision=56476

11 years ago[WIN32SS]
Amine Khaldi [Wed, 2 May 2012 11:03:51 +0000 (11:03 +0000)]
[WIN32SS]
* Implement Ctrl+C support on MessageBox. Patch by Guido Pola (prodito {at} live [dot] com).
See issue #5281 for more details.

svn path=/trunk/; revision=56475

11 years ago[WIN32K]
Timo Kreuzer [Wed, 2 May 2012 10:09:05 +0000 (10:09 +0000)]
[WIN32K]
Modify DIB_MapPaletteColors, first allocating a palette without initializing the colors, then setting up the colors. This wway we don't need to allocate an intermediate buffer.

svn path=/trunk/; revision=56474

11 years ago[WIN32K]
Timo Kreuzer [Wed, 2 May 2012 09:46:07 +0000 (09:46 +0000)]
[WIN32K]
- Implement GreCreatePaletteInternal and make NtGdiCreatePaletteInternal safe regarding user mode memory access.
- Allow allocating an indexed palette without initializing the colors
- Implement PALETTE_AllocPalWithHandle
- remove pointless Self member in PALETTE structure
- cleanup palette.h a bit

svn path=/trunk/; revision=56473

11 years ago[CMD]
Timo Kreuzer [Tue, 1 May 2012 21:03:06 +0000 (21:03 +0000)]
[CMD]
Fix a typo

svn path=/trunk/; revision=56472

11 years ago[CMD]
Timo Kreuzer [Tue, 1 May 2012 21:00:16 +0000 (21:00 +0000)]
[CMD]
- Add a newline to the output of the echo command
- Remove debug stuff

svn path=/trunk/; revision=56471

11 years ago[WINE]
Thomas Faber [Tue, 1 May 2012 17:20:47 +0000 (17:20 +0000)]
[WINE]
- Import isinf and isnan implementations from libwine_port and adjust port.h and config.h to support them
- Remove isinf/isnan hacks from jscript and wined3d build files
- Add missing port.h include to jscript/array.c (sent and applied upstream)
See issue #7027 for more details.

svn path=/trunk/; revision=56470

11 years ago[FBTUSB]
Thomas Faber [Tue, 1 May 2012 16:53:02 +0000 (16:53 +0000)]
[FBTUSB]
- Shut up warnings
- Fix whitespace issues

svn path=/trunk/; revision=56469

11 years ago[NTDLL_APITEST]
Thomas Faber [Tue, 1 May 2012 16:19:17 +0000 (16:19 +0000)]
[NTDLL_APITEST]
- Add initial tests for RtlDosSearchPath_U & RtlDosSearchPath_Ustr
- Work around Wine ok() silliness
- Fix 64 bit warnings

svn path=/trunk/; revision=56468

11 years ago[CRT:INTRIN_X86]
Thomas Faber [Tue, 1 May 2012 15:45:49 +0000 (15:45 +0000)]
[CRT:INTRIN_X86]
- Use correct check for x64 architecture
- Fix Interlocked*64 return types
- Add _InterlockedXor64

svn path=/trunk/; revision=56467

11 years ago[WIN32K]
Timo Kreuzer [Tue, 1 May 2012 14:59:24 +0000 (14:59 +0000)]
[WIN32K]
Fix a typo

svn path=/trunk/; revision=56466

11 years ago[WIN32K]
Timo Kreuzer [Tue, 1 May 2012 14:57:23 +0000 (14:57 +0000)]
[WIN32K]
Try to fix RLE regression

svn path=/trunk/; revision=56465

11 years ago[WIN32K]
Timo Kreuzer [Tue, 1 May 2012 13:57:18 +0000 (13:57 +0000)]
[WIN32K]
- Fix RLE hack (thanks to Mephisto)
- Remove obsolete flags

svn path=/trunk/; revision=56464

11 years ago[WIN32K]
Timo Kreuzer [Tue, 1 May 2012 12:59:37 +0000 (12:59 +0000)]
[WIN32K]
Fix gcc uninitialized variable warning

svn path=/trunk/; revision=56463

11 years ago[WIN32K]
Timo Kreuzer [Tue, 1 May 2012 12:47:21 +0000 (12:47 +0000)]
[WIN32K]
Use user mode mem for bitmaps larger than 4K to save pool memory.

svn path=/trunk/; revision=56462

11 years agoFix a mistake
Timo Kreuzer [Tue, 1 May 2012 12:15:15 +0000 (12:15 +0000)]
Fix a mistake

svn path=/trunk/; revision=56461

11 years ago[WIN32K]
Timo Kreuzer [Tue, 1 May 2012 12:14:10 +0000 (12:14 +0000)]
[WIN32K]
Rewrite SURFACE_AllocSurface(), which now does the part of the former SURFACE_bSetBitmapBits() as well. This is to allocate the bits for a bitmap directly with the SURFACE object in one allocation. Also don't use kernel mode sections anymore by default, but paged pool memory.

svn path=/trunk/; revision=56460

11 years ago[WIN32K]
Timo Kreuzer [Tue, 1 May 2012 10:33:36 +0000 (10:33 +0000)]
[WIN32K]
Use GDIOBJ_vSetObjectOwner instead of GreSetObjectOwner on an exclusively locked object.

svn path=/trunk/; revision=56459

11 years ago[WIN32K]
Timo Kreuzer [Tue, 1 May 2012 09:29:41 +0000 (09:29 +0000)]
[WIN32K]
Don't calll GDIOBJ_vDereferenceObject from GDIOBJ_vUnlockObject, instead manually decrement the reference count. This allows us to ASSERT that the former function is never called with an exclusive lock held.

svn path=/trunk/; revision=56458

11 years ago[WIN32K]
Timo Kreuzer [Tue, 1 May 2012 09:26:45 +0000 (09:26 +0000)]
[WIN32K]
Improve formatting

svn path=/trunk/; revision=56457

11 years ago[KMTESTS]
Thomas Faber [Tue, 1 May 2012 09:13:19 +0000 (09:13 +0000)]
[KMTESTS]
- Fix 64 bit warnings
- Do not force assembly syntax on GCC in ExInterlocked

svn path=/trunk/; revision=56456

11 years ago[RTL/NDK/DDK/XDK]
Thomas Faber [Tue, 1 May 2012 07:16:02 +0000 (07:16 +0000)]
[RTL/NDK/DDK/XDK]
- RtlDosSearchPath_Ustr returns NTSTATUS, not ULONG
- Fix some ULONG vs SIZE_T issues
- RtlEqualMemory returns LOGICAL, not ULONG

svn path=/trunk/; revision=56455

11 years ago[OLDNAMES]
Timo Kreuzer [Mon, 30 Apr 2012 20:26:46 +0000 (20:26 +0000)]
[OLDNAMES]
Fix compilation with amd64 MSVC

See issue #7030 for more details.

svn path=/trunk/; revision=56454

11 years ago[FUSION]
Sylvain Petreolle [Mon, 30 Apr 2012 19:14:43 +0000 (19:14 +0000)]
[FUSION]
Never ever trust the wine file layout.
wine can load a dll when there is no file using builtins, while normal windows dont.
This fixes fusion beeing installed in the wrong places.
Loading the 2nd and 3rd copy of fusion fails atm.

svn path=/trunk/; revision=56453

12 years ago[LSASRV]
Eric Kohl [Sun, 29 Apr 2012 22:09:35 +0000 (22:09 +0000)]
[LSASRV]
Implement LsarCreateAccount.

svn path=/trunk/; revision=56452

12 years ago[ADVAPI32]
Eric Kohl [Sun, 29 Apr 2012 21:39:32 +0000 (21:39 +0000)]
[ADVAPI32]
Formatting, no code changes.

svn path=/trunk/; revision=56451

12 years ago[CMAKE]
Amine Khaldi [Sun, 29 Apr 2012 20:22:26 +0000 (20:22 +0000)]
[CMAKE]
* Remove the toolchain libs since they are no longer needed, now that we have the updated RosBE.

svn path=/trunk/; revision=56450

12 years ago[CRT/OLDNAMES]
Amine Khaldi [Sun, 29 Apr 2012 20:04:52 +0000 (20:04 +0000)]
[CRT/OLDNAMES]
* Treat the oldnames lib as an import lib.

svn path=/trunk/; revision=56449

12 years ago[CMAKE]
Timo Kreuzer [Sun, 29 Apr 2012 19:38:50 +0000 (19:38 +0000)]
[CMAKE]
Autogenerate oldnames for MSVC as well.
Currently on gcc builds we use a special def file syntax and use dlltool to create the lib, while on MSVC builds we use an asm file with aliases.

svn path=/trunk/; revision=56448

12 years ago[CMAKE]
Timo Kreuzer [Sun, 29 Apr 2012 19:04:02 +0000 (19:04 +0000)]
[CMAKE]
- seperate generation of importlibs from spec2def (generate_import_lib function)

svn path=/trunk/; revision=56447

12 years ago[LSASRV]
Timo Kreuzer [Sun, 29 Apr 2012 12:18:19 +0000 (12:18 +0000)]
[LSASRV]
Fix another uninitialized variable bug.

svn path=/trunk/; revision=56446

12 years ago[LSASRV]
Timo Kreuzer [Sun, 29 Apr 2012 12:16:34 +0000 (12:16 +0000)]
[LSASRV]
Fix return value of LsarQueryAccountDomain

svn path=/trunk/; revision=56445

12 years ago[LSASRV]
Timo Kreuzer [Sun, 29 Apr 2012 10:51:28 +0000 (10:51 +0000)]
[LSASRV]
Initialize an uninitialized variable in AttributeSize. Fixes crashing advapi32_winetest lsa

svn path=/trunk/; revision=56443

12 years ago[PSEH]
Timo Kreuzer [Sat, 28 Apr 2012 20:00:09 +0000 (20:00 +0000)]
[PSEH]
Fix a serious bug in PSEH that could lead to stack corruption and was causing CSRSS to crash, when large amounts of text were output on the console.
Background: PSEH used __builtin_alloca to allocate an SEH registration frame on the stack on demand, ie only for the first try level. But there are some nasty things with __builtin_alloca: First it DOES NOT - as one might think - free the allocated memory, once the allocation "goes out of scope", like with local variables, but only on function exit. Therefore it cannot normally be used inside a loop. The trick that PSEH used to "fix" this problem, was to save the stack pointer and reset it back at the end. This is quite problematic, since the rest of the code might assume that the stack pointer is still where it was left off after the allocation. The other thing is that __builtin_alloca() can allocate the memory whenever it likes to. It can allocate everything on function entry or not allocate anything at all, when other stack variables that went out of scope have left enough space to be reused. In csrss it now happened that the allocation was done before the stack pointer was saved, so the memory could not be freed by restoring the old stack pointer value. That lead to slowly eating up the stack since the code was inside a loop.
The allocation is now replaced with a variable sized array. The variable stays in scope until the _SEH2_END and will be automaticall cleaned up by the compiler. This also makes saving and restoring the stack pointer obsolete.
Reliability++

svn path=/trunk/; revision=56442

12 years ago[NTOSKRNL]
Art Yerkes [Sat, 28 Apr 2012 02:56:31 +0000 (02:56 +0000)]
[NTOSKRNL]
Remove PAGEOPs and use the argument to pass relevant information where needed,
including generally a section page table entry or a PFN_NUMBER.

In its place, the code looks for an MM_WAIT_ENTRY in the appropriate place and
waits, returning STATUS_MM_RESTART_OPERATION.  Rather than copying the pagein
and CoW operations in the PAGEOP contention case, we just punt back and restart
the operation, resulting in simpler code.

svn path=/trunk/; revision=56441

12 years ago[WIN32K]
Timo Kreuzer [Fri, 27 Apr 2012 17:18:30 +0000 (17:18 +0000)]
[WIN32K]
When a DC has the default palette selected, use the color value from PALETTERGB() directly instead of looking it up in the dc palette (just as the code was before). Fixes skipped bitmap winetests

svn path=/trunk/; revision=56440

12 years ago[WIN32K]
Timo Kreuzer [Fri, 27 Apr 2012 16:46:12 +0000 (16:46 +0000)]
[WIN32K]
- In NtGdiSetPixel, return the real RGB value, which is the target format color translated back to RGB, not the desired RGB value. Fixes a few bitmap winetest.
- Handle a too large index in PALETTE_ulGetRGBColorFromIndex

svn path=/trunk/; revision=56439

12 years ago[RTL]
Thomas Faber [Fri, 27 Apr 2012 11:04:09 +0000 (11:04 +0000)]
[RTL]
- Do not null terminate buffer before initializing its length in RtlDosSearchPath_Ustr. Use unicode string functions made for this purpose instead.
See issue #7010 for more details.

svn path=/trunk/; revision=56438

12 years ago[WIN32K]
Timo Kreuzer [Fri, 27 Apr 2012 10:12:26 +0000 (10:12 +0000)]
[WIN32K]
In NtGdiGetPixel check if the requested pixel is inside the boundaries of the surface, and return CLR_INVALID if not.

svn path=/trunk/; revision=56437

12 years ago[WIN32K]
Timo Kreuzer [Fri, 27 Apr 2012 09:31:24 +0000 (09:31 +0000)]
[WIN32K]
Fix initialization of XLATEOBJ in NtGdiGetPixel. Fixes GetPixel regressions.

svn path=/trunk/; revision=56436

12 years ago[KMTEST]
Thomas Faber [Fri, 27 Apr 2012 08:50:57 +0000 (08:50 +0000)]
[KMTEST]
- Fix GCC build

svn path=/trunk/; revision=56435

12 years ago[KMTESTS/RTL]
Thomas Faber [Fri, 27 Apr 2012 08:36:58 +0000 (08:36 +0000)]
[KMTESTS/RTL]
- Add a small RtlException test, mainly to check that a stack overflow really throws STATUS_STACK_OVERFLOW, not STATUS_ACCESS_VIOLATION.

svn path=/trunk/; revision=56434

12 years ago[WIN32K]
Timo Kreuzer [Thu, 26 Apr 2012 21:48:06 +0000 (21:48 +0000)]
[WIN32K]
- add missing  DBG_DECREASE_LOCK_COUNT() when deleting an object that was exclusively locked. Fixes strange hang in comctl32_winetest.
The question is: why does changing a variable, which is never checked cause such trouble?
- Don't pass the DC's clip object to IntEngCopyBits, when querying a pixel
- make acExclusiveLockCount[] 0x20 bytes long, just to be really sure, that (x & 0x1F) does never overflow it.

svn path=/trunk/; revision=56433

12 years ago[WINED3D]
Thomas Faber [Thu, 26 Apr 2012 17:20:53 +0000 (17:20 +0000)]
[WINED3D]
- Do not rely on undefined behavior to get values easily accessible as constants.
- Quick build fix. Will be sent to Wine, possibly modified.

svn path=/trunk/; revision=56432

12 years ago[CMAKE]
Thomas Faber [Thu, 26 Apr 2012 16:51:27 +0000 (16:51 +0000)]
[CMAKE]
- Enable MSVC build for Wine DirectX libraries, which mostly work just fine.

svn path=/trunk/; revision=56431

12 years ago[WIN32K]
Timo Kreuzer [Thu, 26 Apr 2012 16:32:01 +0000 (16:32 +0000)]
[WIN32K]
Fix palette index wraparound when initializing a DIB palette with DIB_PAL_COLORS. Fixes gdi32_winetest::palette

svn path=/trunk/; revision=56430

12 years ago[WIN32K]
Timo Kreuzer [Thu, 26 Apr 2012 16:19:22 +0000 (16:19 +0000)]
[WIN32K]
- Implement TranslateCOLORREF, based on IntHandleSpecialColorType, but now returning both the translated color and the resulting RGB color, correctly handling DIBINDEX, which will use the given value without translation.
- Rewrite NtGdiSetPixel using IntPatBlt
- Rewrite NtGdiGetPixel  using IntEngCopyBits
- Fix EXLATEOBJ_iXlateTable to return 0, when the palette index is too big, instead of wrapping around
- Remove old debugcode

svn path=/trunk/; revision=56429

12 years ago[WIN32K]
Timo Kreuzer [Thu, 26 Apr 2012 09:42:46 +0000 (09:42 +0000)]
[WIN32K]
Fix NtGdiPatBlt: ROPs with a source are not allowed, the background ROP is simply ignored.

svn path=/trunk/; revision=56428

12 years ago[WIN32K]
Timo Kreuzer [Thu, 26 Apr 2012 09:30:15 +0000 (09:30 +0000)]
[WIN32K]
Pass EBRUSHOBJ to IntPatBlt instead of the BRUSH. This way we can use the DC's eboFill, instead of initializing a new EBRUSHOBJ.

svn path=/trunk/; revision=56427

12 years ago[RTL]
Thomas Faber [Wed, 25 Apr 2012 22:21:00 +0000 (22:21 +0000)]
[RTL]
- Accept NULL Buffer/Size in RtlGetFullPathName_Ustr
- Fix NULL dereference in RtlGetFullPathName_UstrEx if no StaticString was given
- Various other corrections to path functions. 17 test failures fixed overall.

svn path=/trunk/; revision=56426

12 years ago[WIN32K]
Timo Kreuzer [Wed, 25 Apr 2012 19:25:48 +0000 (19:25 +0000)]
[WIN32K]
Make sure a bitmap is compatible with the dc before selecting it.

svn path=/trunk/; revision=56425

12 years ago[GDI32]
Timo Kreuzer [Wed, 25 Apr 2012 18:15:41 +0000 (18:15 +0000)]
[GDI32]
Fix SetWindowExtEx to pass all tests

svn path=/trunk/; revision=56424

12 years ago[GDI32_APITEST]
Timo Kreuzer [Wed, 25 Apr 2012 18:14:52 +0000 (18:14 +0000)]
[GDI32_APITEST]
Add more tests for SetWindowExtEx

svn path=/trunk/; revision=56423

12 years ago[WIN32K]
Timo Kreuzer [Wed, 25 Apr 2012 17:29:50 +0000 (17:29 +0000)]
[WIN32K]
- Make XFORMOBJ_iSetXform fail, when the XFORM is invalid (eM11 or eM22 are 0)
- Handle error in GreModifyWorldTransform

svn path=/trunk/; revision=56422

12 years ago[GDI32]
Timo Kreuzer [Wed, 25 Apr 2012 15:20:55 +0000 (15:20 +0000)]
[GDI32]
Fix CombineTransform to pass all tests

svn path=/trunk/; revision=56421

12 years ago[GDI32_APITEST]
Timo Kreuzer [Wed, 25 Apr 2012 15:18:12 +0000 (15:18 +0000)]
[GDI32_APITEST]
Add more tests for CombineTransform and cleanup the code a bit

svn path=/trunk/; revision=56420

12 years ago[NTDLL_APITEST]
Thomas Faber [Wed, 25 Apr 2012 13:06:30 +0000 (13:06 +0000)]
[NTDLL_APITEST]
- Try GetProcAddress even on private functions. Allows easier testing in ROS by temporarily exporting them.

svn path=/trunk/; revision=56419

12 years ago{ROSTESTS]
Timo Kreuzer [Wed, 25 Apr 2012 12:42:40 +0000 (12:42 +0000)]
{ROSTESTS]
Fix compilation

svn path=/trunk/; revision=56418

12 years ago[WINETESTS]
Timo Kreuzer [Wed, 25 Apr 2012 12:38:23 +0000 (12:38 +0000)]
[WINETESTS]
Add some useful macros to wine/test.h

svn path=/trunk/; revision=56417

12 years ago[NTDLL_APITEST]
Thomas Faber [Wed, 25 Apr 2012 12:13:38 +0000 (12:13 +0000)]
[NTDLL_APITEST]
- Add a test for RtlDoesFileExists_U (and its three friends, if addresses are provided)
- Various small path test improvements

svn path=/trunk/; revision=56416

12 years ago[NDK]
Thomas Faber [Wed, 25 Apr 2012 12:04:44 +0000 (12:04 +0000)]
[NDK]
- Remove RtlDoesFileExists_UstrEx

svn path=/trunk/; revision=56415

12 years ago[KERNEL32]
Thomas Faber [Wed, 25 Apr 2012 10:17:29 +0000 (10:17 +0000)]
[KERNEL32]
- Do not use Zw functions from user mode

svn path=/trunk/; revision=56414

12 years ago[NTDLL_APITEST]
Thomas Faber [Wed, 25 Apr 2012 09:52:38 +0000 (09:52 +0000)]
[NTDLL_APITEST]
- Add a test for RtlGetFullPathName_Ustr (requires the function address to be known)
- Various improvements to the other path tests

svn path=/trunk/; revision=56413

12 years ago[NTDLL_APITEST]
Thomas Faber [Wed, 25 Apr 2012 07:57:50 +0000 (07:57 +0000)]
[NTDLL_APITEST]
- Fix GCC build

svn path=/trunk/; revision=56412

12 years ago[NTDLL_APITEST]
Thomas Faber [Wed, 25 Apr 2012 07:43:33 +0000 (07:43 +0000)]
[NTDLL_APITEST]
- Add test for RtlGetLongestNtPathLength
- Add test for RtlDetermineDosPathNameType_U (and RtlDetermineDosPathNameType_Ustr, if address is known)

svn path=/trunk/; revision=56411

12 years ago[RTL/NDK]
Thomas Faber [Wed, 25 Apr 2012 07:24:17 +0000 (07:24 +0000)]
[RTL/NDK]
- Add missing mmtypes.h include in mmfuncs.h
- Remove RtlDetermineDosPathNameType_Ustr from rtlfuncs.h, move it up in path.c
- Add RtlGetLongestNtPathLength to rtlfuncs.h

svn path=/trunk/; revision=56410

12 years ago[WIN32K]
Timo Kreuzer [Tue, 24 Apr 2012 18:35:50 +0000 (18:35 +0000)]
[WIN32K]
- Fix a bug in the region code that could cause allocating 0 bytes
- Remove SetLastError()
- "flatten" IntGdiCombineRgn making it more readable

svn path=/trunk/; revision=56409

12 years ago[GDI32_APITEST]
Timo Kreuzer [Tue, 24 Apr 2012 17:11:08 +0000 (17:11 +0000)]
[GDI32_APITEST]
- Add tests for CombineRgn

svn path=/trunk/; revision=56408

12 years ago[WIN32K/GDI32]
Timo Kreuzer [Tue, 24 Apr 2012 14:49:09 +0000 (14:49 +0000)]
[WIN32K/GDI32]
- rewrite GetObject again :)
- simplify and fix FontGetObject
- remove some pointless code

svn path=/trunk/; revision=56407

12 years ago[USBSTOR]
Cameron Gutman [Tue, 24 Apr 2012 14:47:15 +0000 (14:47 +0000)]
[USBSTOR]
-  Add forgotten storage of the LUN in the PDO extension which not only broke units beyond LUN 0 but also caused a BSOD due to reporting duplicate devices to the PnP manager
- Thanks to tower for reporting

svn path=/trunk/; revision=56406

12 years ago[GDI32_APITEST]
Timo Kreuzer [Tue, 24 Apr 2012 14:45:12 +0000 (14:45 +0000)]
[GDI32_APITEST]
- Add more tests for GetObject

svn path=/trunk/; revision=56405

12 years ago[AFD] - Fix broken IP address pointer arithmetic (CID 14130)
Thomas Faber [Tue, 24 Apr 2012 07:27:59 +0000 (07:27 +0000)]
[AFD] - Fix broken IP address pointer arithmetic (CID 14130)
[PCNET] - Fix incorrectly truncated FullDuplex BOOLEAN

svn path=/trunk/; revision=56404

12 years ago- Fix message regressions from 54637.
James Tabor [Tue, 24 Apr 2012 02:29:07 +0000 (02:29 +0000)]
- Fix message regressions from 54637.

svn path=/trunk/; revision=56403

12 years ago[GDI32_APITEST]
Timo Kreuzer [Mon, 23 Apr 2012 22:16:50 +0000 (22:16 +0000)]
[GDI32_APITEST]
- Add more tests for GetObject and SelectObject
- Fix a bug that made gcc builds crash

svn path=/trunk/; revision=56402

12 years ago[GDI32/WIN32K]
Timo Kreuzer [Mon, 23 Apr 2012 21:22:12 +0000 (21:22 +0000)]
[GDI32/WIN32K]
Fix some regressions from previous commit

svn path=/trunk/; revision=56401

12 years ago[GDI32/WIN32K]
Timo Kreuzer [Mon, 23 Apr 2012 19:22:17 +0000 (19:22 +0000)]
[GDI32/WIN32K]
- Rewrite GetCurrentObject and GetObject, fixes a lot of tests

svn path=/trunk/; revision=56400

12 years ago- Safe to test SetForegroundWindow.
James Tabor [Mon, 23 Apr 2012 19:09:31 +0000 (19:09 +0000)]
- Safe to test SetForegroundWindow.

svn path=/trunk/; revision=56399

12 years agofix build
Timo Kreuzer [Mon, 23 Apr 2012 19:06:10 +0000 (19:06 +0000)]
fix build

svn path=/trunk/; revision=56398

12 years ago[GDI32_APITEST]
Timo Kreuzer [Mon, 23 Apr 2012 19:02:51 +0000 (19:02 +0000)]
[GDI32_APITEST]
- Add more tests for GetCurrentObject and GetObject
- Comment out tests that fail on debug builds

svn path=/trunk/; revision=56397

12 years ago[Win32SS]
James Tabor [Mon, 23 Apr 2012 18:51:48 +0000 (18:51 +0000)]
[Win32SS]
- Desktop: Added code for server side switch over and some notes. Did not include desktopbg.c.
- Focus: Fixes wine Win tests for SetParent, Active, Focus and Foreground. Leaving the wine todos. Msg tests improved. Pop up menus are still broken see bug 6751. The tests reflect these pop up menu issues.
- WinPos: (WIP) Fixed MapWindowPoints. Arrange icons is still broken. SetWindowPos sets the foreground when it should.
- Implemented AllowSetForegroundWindow and LockSetForegroundWindow.
- Commit to reset base lines for RegTest ComCtl32 and related bugs.
- Coding credits and complements go out to the Wine team.

svn path=/trunk/; revision=56396

12 years ago[PSDK]
Amine Khaldi [Mon, 23 Apr 2012 16:43:05 +0000 (16:43 +0000)]
[PSDK]
* Add the missing PWIN32_FIND_DATA type.

svn path=/trunk/; revision=56395

12 years ago[GDI32_APITEST]
Timo Kreuzer [Mon, 23 Apr 2012 10:56:45 +0000 (10:56 +0000)]
[GDI32_APITEST]
Fix build

svn path=/trunk/; revision=56394

12 years ago[GDI32_APITEST]
Timo Kreuzer [Mon, 23 Apr 2012 10:42:22 +0000 (10:42 +0000)]
[GDI32_APITEST]
Add tests for CreateBitmap, CreateIconIndirect, GetRandomRgn and PatBlt

svn path=/trunk/; revision=56393

12 years ago[WIN32K]
Timo Kreuzer [Mon, 23 Apr 2012 10:12:35 +0000 (10:12 +0000)]
[WIN32K]
- Fix calculation of the brush origin. The coordinates passed to EngBitBlt "defines which pixel in the mask corresponds to the upper left corner of the destination rectangle." Our code was using it as corresponding to the surface origin.
The fix is currently only used when the new dib code is compiled. The old dib code is broken and expects the broken behaviour

svn path=/trunk/; revision=56392

12 years ago[ADVAPI32/SERVICES]
Sylvain Petreolle [Mon, 23 Apr 2012 00:17:01 +0000 (00:17 +0000)]
[ADVAPI32/SERVICES]
Fix changing a service description in (R)ChangeServiceConfig2W.

Fixes bad service description in Vmware Tools.

svn path=/trunk/; revision=56391

12 years ago[USETUP]
Eric Kohl [Sun, 22 Apr 2012 22:40:43 +0000 (22:40 +0000)]
[USETUP]
Treat REG_DWORD values in inf files as unsigned values.

svn path=/trunk/; revision=56390

12 years ago[AFD/FORMATTING]
Thomas Faber [Sun, 22 Apr 2012 13:11:54 +0000 (13:11 +0000)]
[AFD/FORMATTING]
- Try to fix indentation nightmare

svn path=/trunk/; revision=56389

12 years ago[DIBLIB]
Timo Kreuzer [Sat, 21 Apr 2012 21:00:08 +0000 (21:00 +0000)]
[DIBLIB]
Fix calculation of pattern pointer
[WIN32K]
Fix (almost) calculation of pattern origin. There's still a bugger left.

svn path=/trunk/; revision=56388

12 years ago[DIBLIB]
Timo Kreuzer [Sat, 21 Apr 2012 18:42:14 +0000 (18:42 +0000)]
[DIBLIB]
Fix a bug that caused all BitBlt functions with for a solid brush to ignore the XLATEOBJ

svn path=/trunk/; revision=56387

12 years ago[Win32k]
James Tabor [Sat, 21 Apr 2012 18:18:59 +0000 (18:18 +0000)]
[Win32k]
- Troubleshooting bug 5630, moved DestroyProcessClasses from process to thread since process is called first. This way, it is assured the class destruction is on queue, but not before thread death.
- Added a global pointer to be used in a later commit.
- Warning: this does not fix bug 5630.

svn path=/trunk/; revision=56386

12 years ago[NTOSKRNL]
Thomas Faber [Sat, 21 Apr 2012 17:52:29 +0000 (17:52 +0000)]
[NTOSKRNL]
- Export base MCB functions

svn path=/trunk/; revision=56385

12 years ago[WIN32K]
Timo Kreuzer [Sat, 21 Apr 2012 16:05:24 +0000 (16:05 +0000)]
[WIN32K]
In NtGdiGetTextExtentExW fail when Count is negative.

svn path=/trunk/; revision=56384

12 years ago[PSDK]
Amine Khaldi [Sat, 21 Apr 2012 13:22:52 +0000 (13:22 +0000)]
[PSDK]
* Sync cryptuiapi.h with Wine. Patch by Carlo Bramini.
See issue #7016 for more details.

svn path=/trunk/; revision=56383

12 years ago[CHARMAP]
Amine Khaldi [Sat, 21 Apr 2012 10:57:16 +0000 (10:57 +0000)]
[CHARMAP]
* Implement LoadSettings() and SaveSettings(). Patch by Edijs Kolesnikovics with some minor changes by me.
See issue #6925 for more details.

svn path=/trunk/; revision=56382

12 years ago[MSCONFIG]
Amine Khaldi [Sat, 21 Apr 2012 10:46:07 +0000 (10:46 +0000)]
[MSCONFIG]
* Correctly update the selected command line text. Patch by Edijs Kolesnikovics.
See issue #6963 for more details.

svn path=/trunk/; revision=56381

12 years ago[MSCONFIG]
Amine Khaldi [Sat, 21 Apr 2012 10:41:16 +0000 (10:41 +0000)]
[MSCONFIG]
* Get the timeout correctly. Patch by Edijs Kolesnikovics.
See issue #6964 for more details.

svn path=/trunk/; revision=56380