Commit graph

35952 commits

Author SHA1 Message Date
Timo Kreuzer
4efcc91b49 EngBitBlt provides bitblt capabilities between standard-format bitmap surfaces. It does not provide transfer between different opaque device managed surfaces. So get rid of IntEngEnter/Leave in EngBitBlt. Also GDI should call the drivers function if *any* of the surfaces is managed by the driver, and only in the case that the other surface is an opaque surface managed by a different driver, GDI needs to provide an intermediate surface using DrvCopyBits, and in this case only for the source surface, never for the target surface. This situation can currently not occur on reactos, as we do not support more than one display driver. This fixes the problem incredible recursive call chains and excessive copying. Improves mouse pointer performance. Other Eng functions are tbd. DrvBitBlt is never called with a single clipping rectangle, so set pco to NULL if it's complexity is DC_RECT, as we clipped the bounding rect already and EngBitBlt is not called when DrvBitBlt fails.
svn path=/trunk/; revision=40495
2009-04-14 02:47:15 +00:00
James Tabor
a909ec0447 - Remove NtGdi calls from user32 headers.
svn path=/trunk/; revision=40494
2009-04-13 23:27:52 +00:00
Timo Kreuzer
bfeb3b8fe0 forgot this file
svn path=/trunk/; revision=40493
2009-04-13 21:40:14 +00:00
Timo Kreuzer
4b6c957b35 Add RECTL_vMakeWellOrdered
svn path=/trunk/; revision=40492
2009-04-13 21:38:37 +00:00
Timo Kreuzer
154af4036b Add rosperf test for scrolling.
svn path=/trunk/; revision=40491
2009-04-13 21:36:56 +00:00
Gregor Schneider
4955e44487 remove semicolon from define, thanks to Carlo Bramini for noticing
svn path=/trunk/; revision=40490
2009-04-13 20:05:06 +00:00
Christoph von Wittich
e08b53f9de sync kernel32 profile winetest with wine 1.1.19
svn path=/trunk/; revision=40489
2009-04-13 19:40:27 +00:00
Christoph von Wittich
75d63be3e0 James Hawkins : kernel32: Handle writing empty sections and keys in WritePrivateProfileString.
svn path=/trunk/; revision=40488
2009-04-13 18:53:56 +00:00
Gregor Schneider
1ceab2328e - Deactivate unneeded debug prints, change DbgPrint to DPRINTx, remove unused performance checks, formatting - no functional changes
svn path=/trunk/; revision=40487
2009-04-13 17:51:50 +00:00
Dmitry Chapyshev
864371fe84 - More correct fix of tests
svn path=/trunk/; revision=40486
2009-04-13 17:13:35 +00:00
Steven Edwards
8ad7700db8 add telnet service, enable it by default
svn path=/trunk/; revision=40485
2009-04-13 16:26:49 +00:00
Dmitry Chapyshev
f91941a278 - Simplify my last changes. Thanks Goplat ;)
svn path=/trunk/; revision=40484
2009-04-13 16:06:08 +00:00
Dmitry Chapyshev
298432c4ed - Fix 3 winetests for CreateProcessA/W
svn path=/trunk/; revision=40483
2009-04-13 15:49:54 +00:00
Steven Edwards
41b8520ae8 move telnetd out of rosapps
svn path=/trunk/; revision=40482
2009-04-13 13:30:03 +00:00
Steven Edwards
6c0f8fae23 move telnetd to main tree, not enabled yet
svn path=/trunk/; revision=40481
2009-04-13 13:29:21 +00:00
Dmitry Chapyshev
d74a83ca5a - Add more check on CodePage = 0. +2 passed wine tests
svn path=/trunk/; revision=40480
2009-04-13 12:33:33 +00:00
Dmitry Chapyshev
9d1684bf68 - Add check on CodePage = 0. +2 passed wine tests
svn path=/trunk/; revision=40479
2009-04-13 12:26:28 +00:00
Dmitry Chapyshev
709c49c422 - Fully implement GetProcessVersion. +1 passed winetest
svn path=/trunk/; revision=40478
2009-04-13 11:58:39 +00:00
Cameron Gutman
c4559ca835 - Fix release build (try 1)
svn path=/trunk/; revision=40477
2009-04-13 06:04:14 +00:00
Cameron Gutman
167c2102bf - Fix a typo
svn path=/trunk/; revision=40476
2009-04-13 03:26:18 +00:00
Cameron Gutman
c68f8590f1 - Implement the rest of MiniIndicateReceivePacket
- rtl8139 partially works now
 - It gets an IP address and can ping other computers but attempting to download something results in a page fault during the download

svn path=/trunk/; revision=40475
2009-04-13 03:11:42 +00:00
Jeffrey Morlan
8cf11060a9 Various fixes to the way cmd handles errorlevel and the "return values" of commands:
- Changed type of return values from BOOL to INT, with 0 indicating success and any other value indicating failure. If the left side of an || operator returns nonzero, errorlevel is set to that value.
- The return value of a batch file or FOR is the return value of the last command executed in it. An empty batch file returns 0, unless it was CALLed, in which case it returns errorlevel.
- CALL sets errorlevel to the return value of whatever was called.
- Running a GUI program doesn't change errorlevel, but always returns 0.
- CMD /C uses the command's return value, not errorlevel, as the process exit code.

svn path=/trunk/; revision=40474
2009-04-12 23:51:15 +00:00
Gregor Schneider
54f4f31dae - Add parameter validity check to GetTextFaceA (same as in GetTextFaceW)
svn path=/trunk/; revision=40473
2009-04-12 18:44:00 +00:00
Cameron Gutman
9db17d5384 - Don't close the connection handle and dereference the connection object when we run out of memory because it will cause a crash when AfdCleanupSocket tries to do the same
- Fixes bug 4362

svn path=/trunk/; revision=40471
2009-04-12 05:07:15 +00:00
Jeffrey Morlan
d418f42b89 - RtlSetEnvironmentVariable: Removing a variable that didn't exist in the first place should still returns STATUS_SUCCESS.
- Removing a variable can be done by using a pointer to a UNICODE_STRING with a NULL Buffer as the value, as well as just passing NULL as the value.

svn path=/trunk/; revision=40470
2009-04-12 04:41:33 +00:00
Gregor Schneider
72585aa30d - Don't copy data to null buffer, just return the string length in this case
- Fix some buffer calculation problems, handle buffer termination if it's shorter than the font string
- Fixes >= 10 gdi32 font winetests (NtGdiGetTextFaceW/NtGdiGetTextFaceA related)

svn path=/trunk/; revision=40469
2009-04-11 21:24:25 +00:00
Timo Kreuzer
9e3589a7b1 remove doenloader from rosapps build
svn path=/trunk/; revision=40468
2009-04-11 20:29:31 +00:00
Stefan Ginsberg
adb6c8ff1b - Reapply the gdi32 bitmap font test ROS-HACK -- the tests still fail on the build server
svn path=/trunk/; revision=40466
2009-04-11 20:15:26 +00:00
Timo Kreuzer
41c31152db [FORMATTING]
Fix indentation, no code change

svn path=/trunk/; revision=40465
2009-04-11 19:04:06 +00:00
Stefan Ginsberg
b917e4e926 - Remove the "ROS-HACK" for gdi32 bitmap font tests -- this doesn't crash the system anymore
svn path=/trunk/; revision=40464
2009-04-11 18:54:22 +00:00
Ged Murphy
b52ee19030 remove downloader from rosapps
svn path=/trunk/; revision=40463
2009-04-11 16:58:21 +00:00
Ged Murphy
13f29b197c Remove the old rosapps entries
svn path=/trunk/; revision=40462
2009-04-11 16:56:22 +00:00
Ged Murphy
293c8b5a7c Move the downloader tool into trunk
svn path=/trunk/; revision=40461
2009-04-11 16:51:57 +00:00
Gregor Schneider
7a53cbcbdc - Fix a memory overwrite that was uncovered by recent win32k memory allocation changes (r40268 + r40269)
- Fixes a crash in current QiP Infium that was hidden before, bug #4361

svn path=/trunk/; revision=40460
2009-04-11 16:48:47 +00:00
Sylvain Petreolle
3d1ed5b157 fix cmd build
svn path=/trunk/; revision=40459
2009-04-11 16:37:08 +00:00
Cameron Gutman
645891d7b9 - Revert 40446 and 40447
- More research needs to be done on when exactly we should be locking

svn path=/trunk/; revision=40458
2009-04-11 14:00:48 +00:00
Colin Finck
b5350ad268 Alter "userenv.spec" to match the output of "dumpbin /exports" for the Windows Server 2003 SP1 userenv.dll exactly.
I found out the real function names of the functions exported by ordinal and their parameter sizes in a PDB file.
Some functions we didn't have yet are also documented in MSDN, so I could get the exact parameters. The comment beside each stub details each function as far as I could find out.

svn path=/trunk/; revision=40457
2009-04-11 13:00:00 +00:00
Dmitry Chapyshev
bdeac904e0 - Sync gdiplus, iccvid, imaadp32.acm, inetcomm with Wine 1.1.19
- Remove unneeded gdiplus_ros.diff

svn path=/trunk/; revision=40456
2009-04-11 08:58:56 +00:00
Dmitry Chapyshev
c881748838 - Sync qmgr, msvidc32, msvfw32, msrle32, msctf, msadp32.acm, mlang, localspl with Wine 1.1.19
svn path=/trunk/; revision=40455
2009-04-11 08:56:29 +00:00
Dmitry Chapyshev
af63eb50eb - Sync mciqtz32 and winemp3 with Wine 1.1.19
svn path=/trunk/; revision=40454
2009-04-11 08:16:16 +00:00
Dmitry Chapyshev
4ef39f33f7 - Remove unneeded files
svn path=/trunk/; revision=40453
2009-04-11 07:25:22 +00:00
Dmitry Chapyshev
da98a4e469 - Add amstream from Wine
svn path=/trunk/; revision=40452
2009-04-11 07:24:37 +00:00
Timo Kreuzer
8d3981bfa5 Divide eng/bitblt.c into bitblt.c, alphablend.c and stretchblt.c. Remove EngIntersectRect and replace it with RECTL_bIntersectRect, which is changed to the code of EngIntersectRect, that was better.
svn path=/trunk/; revision=40451
2009-04-10 23:53:09 +00:00
Gregor Schneider
ee2d3933cb Update wine sync information for r40448, update msvcrt cpp paths and add a older sync of undname i did
svn path=/trunk/; revision=40450
2009-04-10 23:11:02 +00:00
Timo Kreuzer
4b6b9a55ca EngMaskBitBlt and IntEngMaskBlt do not have a source surface, so it makes no sense to have a source point. Remove it from the prototype. (Aplpha)BltMask need to have a spacial prototype including a source surface and point, but they are unused, use the mask point instead of the source point. IntEngMaskBitBlt: call IntEngEnter with the mask surface, instead of 2 times with the dest surface, intersect with Clip bounding rect before. Fixes wrong text origin/crippled text when outputting clipped text.
svn path=/trunk/; revision=40449
2009-04-10 20:50:57 +00:00
Gregor Schneider
ed40a59c44 Update LineDDA implementation, -13 gdi32 path tests
svn path=/trunk/; revision=40448
2009-04-10 20:39:05 +00:00
Cameron Gutman
81edca312f - MiniSendComplete acquires the adapter lock so release the lock before calling it
svn path=/trunk/; revision=40447
2009-04-10 20:04:08 +00:00
Cameron Gutman
ba9ee79954 - Acquire the adapter lock instead of just raising to DISPATCH_LEVEL (MSDN hints at this in various areas)
svn path=/trunk/; revision=40446
2009-04-10 19:55:07 +00:00
Gregor Schneider
1e94c549a8 Amendment to r40444: float -> double changes were not supposed to go in
svn path=/trunk/; revision=40445
2009-04-10 19:46:06 +00:00
Gregor Schneider
cc76eb9691 Don't hard code viewport extents, they depend on the dc size - highlighted by gdi32 mapping tests
svn path=/trunk/; revision=40444
2009-04-10 19:40:48 +00:00