Commit graph

51233 commits

Author SHA1 Message Date
Sir Richard
747ae40486 [NTOS]: Attempt to hackfix MiGetPageProtection to support the case seen in OllyDBG.
[NTOS]: Implement Case C of NtFreeVirtualMemory, which is sometimes seen in some heap logs. The hard part is figuring out the right amount of committed/decommitted pages. Only supports 2-level paging for now as the algorithm is already messy enough.

svn path=/trunk/; revision=56515
2012-05-05 19:26:21 +00:00
Timo Kreuzer
f067d3a67c [WIN32K]
Rename PALETTE_AllocPalette2 to PALETTE_AllocPalette, allocate PALETTE and color array in one allocation, improve code

svn path=/trunk/; revision=56514
2012-05-05 17:29:34 +00:00
Thomas Faber
80a53d624f [WINETESTS]
- Do not multiply define WINVER and friends
- Add missing _WIN32_WINNT define in rpcrt4_winetest. Already sent to Wine(TM)

svn path=/trunk/; revision=56513
2012-05-05 16:54:37 +00:00
Timo Kreuzer
2d7b85a68d [GDI32_APITEST]
- Try to fix some more test fails on win 2003

svn path=/trunk/; revision=56512
2012-05-05 14:19:22 +00:00
Timo Kreuzer
da7a389957 [GDI32_APITEST]
- Try to fix some more test fails on win 2003

svn path=/trunk/; revision=56511
2012-05-05 12:59:08 +00:00
Timo Kreuzer
2fb827a99c Add missing test data files
svn path=/trunk/; revision=56510
2012-05-05 12:24:49 +00:00
Timo Kreuzer
bc53e4ea25 [GDI32_APITEST]
- Comment out tests that fail on windows 2003
- Try to fix a number of tests for Windows 2003

svn path=/trunk/; revision=56509
2012-05-05 12:21:56 +00:00
Thomas Faber
e8beca164c [CRT]
- Fix declaration of malloc_func_t and free_func_t. Already sent upstream(TM)

svn path=/trunk/; revision=56508
2012-05-05 11:49:54 +00:00
Thomas Faber
aa98e3086e [MOUNTMGR]
- Silence false GCC warnings

svn path=/trunk/; revision=56507
2012-05-05 10:31:47 +00:00
Thomas Faber
8faff057db [POWRPROF_APITEST]
- Fix warnings - there is no DischargePolicy[4]
- Disable tests that fail on Windows 2003 (576 failures?!)
- Add missing file header

svn path=/trunk/; revision=56506
2012-05-05 10:21:19 +00:00
Thomas Faber
6443144a2b [POWRPROF_WINETEST]
- This test is not from Wine! Move to apitests.

svn path=/trunk/; revision=56505
2012-05-05 10:09:38 +00:00
Olaf Siejka
cbeedb06dc [TRANSLATION]
- italian translation update by Paolo Devoti (bug no. 7012);

svn path=/trunk/; revision=56504
2012-05-05 09:23:27 +00:00
Thomas Faber
19810b80d1 [NTOSKRNL]
- Give more useful debug output on BAD_POOL_HEADER bug checks

svn path=/trunk/; revision=56503
2012-05-05 08:49:45 +00:00
James Tabor
5344c175ee [Win32k]
- Add alerts and set window state to message box windows. Expands bug 5281.


svn path=/trunk/; revision=56502
2012-05-05 02:49:17 +00:00
James Tabor
971ec809a1 - Add notification alerts.
svn path=/trunk/; revision=56501
2012-05-05 00:03:50 +00:00
Timo Kreuzer
3ff644b5dc [TESTS]
Add missing definition

svn path=/trunk/; revision=56500
2012-05-04 19:06:15 +00:00
Timo Kreuzer
5b92fc6b91 [GDI32_APITEST]
Fix warnings

svn path=/trunk/; revision=56499
2012-05-04 19:06:12 +00:00
Timo Kreuzer
92d1183079 [GDI32_APITEST]
- Add tests for CreateDIBPatternBrush(Pt)
- Add some helper code to initialize a dibsection and a palette, which can be reused by other tests
- Add tests for DIB brush in GetObject

svn path=/trunk/; revision=56498
2012-05-04 18:56:43 +00:00
Timo Kreuzer
433b60dc6a [WIN32K]
Commit what I forgot

svn path=/trunk/; revision=56497
2012-05-04 17:39:00 +00:00
Timo Kreuzer
7bf273c819 [WIN32K]
- Add cjMaxBits parameter to GreCreateDIBitmapInternal
- Rename GDIBRUSH_* constants to BR_*, as they are named in gdikdx

svn path=/trunk/; revision=56496
2012-05-04 17:37:07 +00:00
Timo Kreuzer
7434309535 [GDI32_APITEST]
- Comment out a broken test (works only on 32bpp)
- Fix MSVC warning

svn path=/trunk/; revision=56495
2012-05-04 12:32:11 +00:00
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