Commit graph

35915 commits

Author SHA1 Message Date
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
Aleksey Bragin e0df4e3d38 - Move 4 apps from rosapps to trunk for consistency (fontview, magnify, winver and write) [2/2].
svn path=/trunk/; revision=40443
2009-04-10 19:04:12 +00:00
Aleksey Bragin c8b14f9d4f - Move 4 apps from rosapps to trunk for consistency (fontview, magnify, winver and write) [1/2].
svn path=/trunk/; revision=40442
2009-04-10 19:03:02 +00:00
Cameron Gutman 15cbc1d92d - Deserialized miniports always complete their sends asynchronously so we return NDIS_STATUS_PENDING when we call one (so the ProtocolSendComplete handler doesn't get called twice thus double-completing the packet)
- Fixes miniport drivers that use a deserialized SendPackets handler (including the rtl8139)
 - The rtl8139 driver still doesn't work (likely due to a bug in tcpip)

svn path=/trunk/; revision=40441
2009-04-10 19:00:51 +00:00
Gregor Schneider f6da61467d - Don't copy the original header after the new header is filled correctly, fixes one gdi32 clipping winetest
TDB for the other seven remaining clipping tests: 
- Deprecate rosdc regions and use dc/dclvl regions as soon as the other clip functions are ready for it (currently crashes virtually everywhere; first five failing tests)
- Fix imprecision of one pixel (rounding problems?) in XFORMOBJ_bApplyXform (last two failing tests)

svn path=/trunk/; revision=40440
2009-04-10 17:49:12 +00:00
Colin Finck 7cf85f9391 - Remove _SHExpandEnvironmentStrings and replace calls to it by usual ExpandEnvironmentStringsW calls.
That function didn't really do what it should as it replaced some variables by faulty generated values instead of their actual values.

  Fixing this gets us rid of our duplicated "Administrator" directory, so the only remaining Admin dir is "Administrator.REACTOS" created by userenv.
  This might also fix the SHGetFolderPathW timing issue, which was hit by rosautotest from time to time.
- In turn, removing that function makes it possible to get rid of the now unused _SHOpenProfilesKey and _SHGetProfilesValue functions.

svn path=/trunk/; revision=40439
2009-04-10 16:05:09 +00:00
Aleksey Bragin b6f258cefd - Fix a couple more assumptions about first primary partition being the active one.
- If no active partitions found, set active primary partition number to 0. This fixes uninitialized variable usage, which revealed itself as a bug with unattended setup.
- Silence a DPRINT1.

svn path=/trunk/; revision=40438
2009-04-10 13:27:09 +00:00
Aleksey Bragin b3c86c2ac0 - Add a new property to the disk entry: NoMbr flag. It's set, if MBR's first two bytes are zero (same algorithm is used by our cdrom bootsector).
- If this flag is set for a boot disk, ReactOS MBR code will be installed on it.
See issue #4355 for more details.

svn path=/trunk/; revision=40437
2009-04-10 10:37:08 +00:00
Cameron Gutman 6b245eee92 - Complete send requests along with the other types when we get an EOF
- Fail the requests with STATUS_CANCELLED

svn path=/trunk/; revision=40436
2009-04-10 02:38:45 +00:00
Timo Kreuzer beec711012 fix DEVMODE, 2nd try
svn path=/trunk/; revision=40435
2009-04-09 22:58:35 +00:00
Timo Kreuzer 23ae1270fb Rename PALGDI to PALETTE as it's called in gdikdx.
svn path=/trunk/; revision=40434
2009-04-09 22:28:54 +00:00
Timo Kreuzer fdaa172e95 Fix definition of DEVMODE
svn path=/trunk/; revision=40433
2009-04-09 22:13:59 +00:00
Michael Martin 418ee7239b - rw.c: After the write wait has been satisfied, check that the pipe is not closed before trying to acquire the mutex. Fix bug #4351.
svn path=/trunk/; revision=40432
2009-04-09 21:10:04 +00:00
Cameron Gutman 59048535b7 - Fix a very old bug (since r11789) which causes miniport drivers that call NdisMTranferDataComplete to fail
svn path=/trunk/; revision=40431
2009-04-09 19:43:16 +00:00
Aleksey Bragin a78cdbe77a - Make it possible to assign drive letters to all partitions, not only to the first partition of a primary partition table.
- Make AssignDriveLetters in partlist.c to actually assign drive letters to all partitions found (the list corresponds to how Windows 2003 install CD assign driver letters, but more investigation would not hurt).
- Make CheckActiveBootPartition actually search for partition with a boot flag, instead of hardcoding it to partition 0 of disk 0.
- Fix SetMountedDeviceValues to take multiple partitions in a partition table into account.
- Fix Select Partition, Format Partition, Check File System, Delete Partition interface page to take partition number into account.
- IMPORTANT: Create/Delete partitions must not be used to repartition the harddrive! They can only be used to create/delete an initial primary partition on a clean harddisk.

svn path=/trunk/; revision=40430
2009-04-09 18:59:28 +00:00
Timo Kreuzer 32337f8c06 Fix downloader progress bar, by using an ULONGLONG, so it doesn't overflow at ~40MB, instead up to 4GB downloads should work now.
svn path=/trunk/; revision=40429
2009-04-09 14:20:24 +00:00
Aleksey Bragin fbd73e2e9e - Recognize up to 4 partitions inside every primary partition table. However, installation will be performed to the first partition anyway.
svn path=/trunk/; revision=40428
2009-04-09 12:42:09 +00:00
Gregor Schneider 8cd1519932 - REGION_AllocRgnWithHandle: allow creation of empty region
- NtGdiExtCreateRegion: copy parameters in SEH, check them later without setting last error, loosen checks for zero requested regions (returns an empty region)
- NtGdiGetRandomRgn: remove outdated comments and debug prints: DCs don't hold meta regions anymore
- Fixes four gdi32 clipping winetests

svn path=/trunk/; revision=40427
2009-04-09 12:16:51 +00:00
Gregor Schneider bc89d1efbd - Fix the coordinate manipulation order for AlphaBlend, BitBlt, GradientFill, ExtTextOutW, PatBlt, StretchBltMask and TransparentBlt
- The correct setting order is: calculation of base coordinates, conversion to device units, offset by dc origin; thanks to Timo for this hint
- Misc: remove unused variable in BitBlt, fix a comment in PolyLine

svn path=/trunk/; revision=40426
2009-04-09 00:40:37 +00:00
Timo Kreuzer f1e2788dc6 IntChangeDisplaySettings: Save refresh frequency in the registry. Now it's possible to change display settings when using the VBox display driver.
svn path=/trunk/; revision=40425
2009-04-08 23:15:35 +00:00
Timo Kreuzer 9e70b2aa77 desk.cpl: update settings for dmDisplayFrequency, when changing the video mode
svn path=/trunk/; revision=40424
2009-04-08 23:08:02 +00:00
Timo Kreuzer daa02beb2c Use vDbgPrintExWithPrefix in EngDebugPrint instead of using DbgPrint and always printing the address of the va_list plus random crap....
svn path=/trunk/; revision=40423
2009-04-08 21:52:36 +00:00
Ged Murphy 62d2e0a471 Open folders in the existing window.
Patch by Gabriel Ilardi

See issue #4345 for more details.

svn path=/trunk/; revision=40422
2009-04-08 20:48:23 +00:00
Cameron Gutman 2c22f42f66 - Fix some copy/paste bugs
- ISAPNP_MIN_READ_PORT is an acceptable read port so don't skip it (We add READ_DATA_PORT_STEP in FindNextReadPort)
 - Don't add READ_DATA_PORT_STEP before calling IsolateReadDataPortSelect (We add READ_DATA_PORT_STEP in FindNextReadPort) because then we skip a read data port
 - Thanks to the linux kernel source ;)

svn path=/trunk/; revision=40421
2009-04-08 19:10:06 +00:00
Timo Kreuzer 60cd063c0a Remove IntGdiSelectBrush and IntGdiSelectBrush, they are not needed anymore and superceded by DC_vUpdateFillBrush and DC_vUpdateLineBrush.
svn path=/trunk/; revision=40420
2009-04-08 18:10:33 +00:00
Gregor Schneider 428a48a083 - Offset coordinates with viewport origin for gradient filled triangular and rectangular shapes
svn path=/trunk/; revision=40418
2009-04-08 16:53:21 +00:00
Timo Kreuzer 1c33c8d19b [FORMATTING]
- fix indentation
- move an internal function out of public functions area
- Use small file header
- No code change

svn path=/trunk/; revision=40417
2009-04-08 14:18:23 +00:00
Aleksey Bragin faf1f12120 - ScsiPortNotification and ScsiPortDebugPrint are cdecl (stdcall introduced in r29277 by mistake).
svn path=/trunk/; revision=40416
2009-04-08 13:07:17 +00:00
Cameron Gutman 9386deff2c - Pass the packet flags to the MiniportSend handler
svn path=/trunk/; revision=40413
2009-04-08 04:01:13 +00:00
Cameron Gutman 5ee60afbf2 - Don't leave a bad handle or object pointer
- Make sure we don't try to dereference a non-referenced handle

svn path=/trunk/; revision=40412
2009-04-07 05:07:09 +00:00
Cameron Gutman 7025dd53e2 - Use ZwClose instead of NtClose
svn path=/trunk/; revision=40411
2009-04-07 04:22:39 +00:00
Cameron Gutman 03bd723a8b - Set FCB->Recv.Window to NULL so it doesn't get freed again later
svn path=/trunk/; revision=40410
2009-04-07 04:12:57 +00:00
Timo Kreuzer fe1ed19dca Mouse pointer fix:
- Remove useless Status from the GDIPOINTER struct
- Remove MovePointer and use PDEVOBJ.pfnMovePointer instead, which is always set to a valid function.
- Implement IntEngSetPointerShape, calling either the Eng or the Drv function if available, set pfnMovePointer according to the result.
- Use IntEngSetPointerShape instead of doing the atuff in IntSetCursor.
- Don't misuse gpsi->ptCursor in IntShow/HideMousePointer and EngMovePointer, use ppdev->ptlPointer instead.
- Dont Lock and unlock the surface evertime the pointer is drwn, instead keep a shared lock.
- Implement IntEngCopyBits, that does the MouseSafety stuff and calls EngCopyBits.
Fixes the broken mouse cursor with VBox display driver and improves mouse performance

svn path=/trunk/; revision=40409
2009-04-07 01:36:22 +00:00
Cameron Gutman 1862a76af4 - Return the correct status when we get a bad parameter
svn path=/trunk/; revision=40408
2009-04-06 23:42:08 +00:00
Christoph von Wittich 83beea82c7 sync urlmon to wine 1.1.18
svn path=/trunk/; revision=40407
2009-04-06 21:37:38 +00:00
Christoph von Wittich 9e85bd53f0 sync crypt32 to wine 1.1.18
svn path=/trunk/; revision=40406
2009-04-06 21:34:28 +00:00
Timo Kreuzer 8ac65d28d3 Go back to old logic in GdiSelectPalette. Should fix the gdi32_winetest gdiobj regression introduced in r40381.
svn path=/trunk/; revision=40405
2009-04-06 19:43:25 +00:00
Gregor Schneider c26c7d7ff5 - path.c: Correct purpose header entry
- gradient.c: Use proper debug prints, terminate them with a newline character. Remove duplicate clipRegion.

svn path=/trunk/; revision=40404
2009-04-06 18:00:48 +00:00