Commit graph

51112 commits

Author SHA1 Message Date
Thomas Faber 3d4754e67f [KERNEL32_APITEST]
- Add a test checking that GetModuleFileName returns a full path
See issue #6786 for more details.

svn path=/trunk/; revision=56494
2012-05-04 12:31:47 +00:00
Timo Kreuzer 6c68899cf1 [GDI32_APITEST]
Fix gcc build

svn path=/trunk/; revision=56493
2012-05-04 12:10:15 +00:00
Timo Kreuzer f0771d26df [GDI32_APITEST]
- Add tests for GetDIBColorTable and SetPixel, 
- Add more tests for CreateBitmap, GetPixel, PatBlt

svn path=/trunk/; revision=56492
2012-05-04 11:40:36 +00:00
Timo Kreuzer 5c32d6c764 [NTOSKRNL]
- Fix amd64 build
- Fix some MSVC/amd64 warnings

svn path=/trunk/; revision=56491
2012-05-04 11:32:07 +00:00
Thomas Faber f6abb6c7ac [KERNEL32]
- Fix SetCurrentDirectoryA to return success when setting the current directory again
See issue #6874 for more details.

svn path=/trunk/; revision=56490
2012-05-04 10:32:49 +00:00
Thomas Faber 1cb2379b98 [KERNEL32_APITEST]
- Add some tests for GetCurrentDirectory and SetCurrentDirectory

svn path=/trunk/; revision=56489
2012-05-04 10:28:54 +00:00
Art Yerkes 494445d381 [NTOSKRNL]
Account for wait entries delaying a view attribute change and interacting
with the machinery in CoW copying code, specifically making CoW insert and
revoke a wait while copying the page, and make the CoW copy function take
both pages as arguments rather than relying on the address space.

Also alter the MM_WAIT_ENTRY value a bit to take into account an assert
that it must have bit 0x800 set.

svn path=/trunk/; revision=56488
2012-05-03 21:05:06 +00:00
James Tabor 3768cccb0e [Win32k]
- Add a define for non window pointers. Help out Timo.

svn path=/trunk/; revision=56487
2012-05-03 20:58:53 +00:00
Timo Kreuzer 4fbb6addbc - Move NtGdiSetBrushOrg from brush.c to dcobjs.c, since it doesn't really deal with brushes, but with the dc and is related to the brush seletcted into the dc. Cleanup, simplify and fix the function.
- rename IntptlBrushOrigin to DC_vSetBrushOrigin and also move it to dcobjs.c

svn path=/trunk/; revision=56486
2012-05-03 18:55:38 +00:00
Timo Kreuzer a97d8f8aee [GDI32_APITEST]
Add tests for SetBrushOrgEx

svn path=/trunk/; revision=56485
2012-05-03 18:54:19 +00:00
Cameron Gutman 5aa9b26f83 [TCPIP]
- Update the cached link and IP information when a link status change occurs

svn path=/trunk/; revision=56484
2012-05-03 18:38:59 +00:00
Timo Kreuzer 27d8b97b03 [WIN32K]
Remove debug break point. Thanks to r3ddr4g0n for noticing.

svn path=/trunk/; revision=56483
2012-05-03 15:19:47 +00:00
Timo Kreuzer f0ba219f34 [WIN32K]
Only set the surface's bitmap bits when iType == STYPE_BITMAP.
Fixes booting with vbox drivers installed.

svn path=/trunk/; revision=56482
2012-05-03 14:39:53 +00:00
Timo Kreuzer 03c5fb1d08 [WIN32K]
Revert a part of 56478.

svn path=/trunk/; revision=56481
2012-05-03 11:14:11 +00:00
Amine Khaldi 2ae8c0ebb6 [WINED3D]
* Fix msvc x64 build.
See issue #7032 for more details.

svn path=/trunk/; revision=56480
2012-05-02 22:48:35 +00:00
Aleksey Bragin 0afb61a98e [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
2012-05-02 21:36:27 +00:00
Timo Kreuzer e0f1c20325 [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
2012-05-02 19:29:33 +00:00
Timo Kreuzer bbbd338d81 [WIN32K]
- Add some code stub and comments for realizing DIB brush palettes
- Move some function prototypes

svn path=/trunk/; revision=56477
2012-05-02 18:55:23 +00:00
Timo Kreuzer 710a09d490 [WIN32K]
- Fix a palette leak in DIB_CreateDIBSection
- Remove PALETTE_AllocPalette and PALETTE_AllocPaletteIndexedRGB, use PALETTE_AllocPalWithHandle instead

svn path=/trunk/; revision=56476
2012-05-02 13:56:55 +00:00
Amine Khaldi 8db03a796d [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
2012-05-02 11:03:51 +00:00
Timo Kreuzer 7be39c2aba [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
2012-05-02 10:09:05 +00:00
Timo Kreuzer e90543ae55 [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
2012-05-02 09:46:07 +00:00
Timo Kreuzer b90f764c11 [CMD]
Fix a typo

svn path=/trunk/; revision=56472
2012-05-01 21:03:06 +00:00
Timo Kreuzer 9f40ffd806 [CMD]
- Add a newline to the output of the echo command
- Remove debug stuff

svn path=/trunk/; revision=56471
2012-05-01 21:00:16 +00:00
Thomas Faber 04406cf0e4 [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
2012-05-01 17:20:47 +00:00
Thomas Faber 4c2fd89c46 [FBTUSB]
- Shut up warnings
- Fix whitespace issues

svn path=/trunk/; revision=56469
2012-05-01 16:53:02 +00:00
Thomas Faber ae1974497f [NTDLL_APITEST]
- Add initial tests for RtlDosSearchPath_U & RtlDosSearchPath_Ustr
- Work around Wine ok() silliness
- Fix 64 bit warnings

svn path=/trunk/; revision=56468
2012-05-01 16:19:17 +00:00
Thomas Faber 785d0653ee [CRT:INTRIN_X86]
- Use correct check for x64 architecture
- Fix Interlocked*64 return types
- Add _InterlockedXor64

svn path=/trunk/; revision=56467
2012-05-01 15:45:49 +00:00
Timo Kreuzer 05e66ae9a9 [WIN32K]
Fix a typo

svn path=/trunk/; revision=56466
2012-05-01 14:59:24 +00:00
Timo Kreuzer 725ac201be [WIN32K]
Try to fix RLE regression

svn path=/trunk/; revision=56465
2012-05-01 14:57:23 +00:00
Timo Kreuzer 1ba4501780 [WIN32K]
- Fix RLE hack (thanks to Mephisto)
- Remove obsolete flags

svn path=/trunk/; revision=56464
2012-05-01 13:57:18 +00:00
Timo Kreuzer cd86c8e1e2 [WIN32K]
Fix gcc uninitialized variable warning

svn path=/trunk/; revision=56463
2012-05-01 12:59:37 +00:00
Timo Kreuzer 9c5d9d1b46 [WIN32K]
Use user mode mem for bitmaps larger than 4K to save pool memory.

svn path=/trunk/; revision=56462
2012-05-01 12:47:21 +00:00
Timo Kreuzer aedd14f915 Fix a mistake
svn path=/trunk/; revision=56461
2012-05-01 12:15:15 +00:00
Timo Kreuzer 46c9a27251 [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
2012-05-01 12:14:10 +00:00
Timo Kreuzer 2ba64e0951 [WIN32K]
Use GDIOBJ_vSetObjectOwner instead of GreSetObjectOwner on an exclusively locked object.

svn path=/trunk/; revision=56459
2012-05-01 10:33:36 +00:00
Timo Kreuzer c99f588f86 [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
2012-05-01 09:29:41 +00:00
Timo Kreuzer bb3050e722 [WIN32K]
Improve formatting

svn path=/trunk/; revision=56457
2012-05-01 09:26:45 +00:00
Thomas Faber 2ab0757b32 [KMTESTS]
- Fix 64 bit warnings
- Do not force assembly syntax on GCC in ExInterlocked

svn path=/trunk/; revision=56456
2012-05-01 09:13:19 +00:00
Thomas Faber 67d9295a2d [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
2012-05-01 07:16:02 +00:00
Timo Kreuzer 0d6f712756 [OLDNAMES]
Fix compilation with amd64 MSVC

See issue #7030 for more details.

svn path=/trunk/; revision=56454
2012-04-30 20:26:46 +00:00
Sylvain Petreolle 4755834726 [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
2012-04-30 19:14:43 +00:00
Eric Kohl a087b26b8c [LSASRV]
Implement LsarCreateAccount.

svn path=/trunk/; revision=56452
2012-04-29 22:09:35 +00:00
Eric Kohl a450c4e88d [ADVAPI32]
Formatting, no code changes.

svn path=/trunk/; revision=56451
2012-04-29 21:39:32 +00:00
Amine Khaldi 534c5372c2 [CMAKE]
* Remove the toolchain libs since they are no longer needed, now that we have the updated RosBE.

svn path=/trunk/; revision=56450
2012-04-29 20:22:26 +00:00
Amine Khaldi e6dccdd756 [CRT/OLDNAMES]
* Treat the oldnames lib as an import lib.

svn path=/trunk/; revision=56449
2012-04-29 20:04:52 +00:00
Timo Kreuzer 8b9f5c66ac [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
2012-04-29 19:38:50 +00:00
Timo Kreuzer 70a9c0e9c3 [CMAKE]
- seperate generation of importlibs from spec2def (generate_import_lib function)

svn path=/trunk/; revision=56447
2012-04-29 19:04:02 +00:00
Timo Kreuzer 00e4acd162 [LSASRV]
Fix another uninitialized variable bug.

svn path=/trunk/; revision=56446
2012-04-29 12:18:19 +00:00
Timo Kreuzer b2d10e8ee4 [LSASRV]
Fix return value of LsarQueryAccountDomain

svn path=/trunk/; revision=56445
2012-04-29 12:16:34 +00:00