reactos.git
15 years ago- Fix a memory overwrite that was uncovered by recent win32k memory allocation change...
Gregor Schneider [Sat, 11 Apr 2009 16:48:47 +0000 (16:48 +0000)]
- 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

15 years agofix cmd build
Sylvain Petreolle [Sat, 11 Apr 2009 16:37:08 +0000 (16:37 +0000)]
fix cmd build

svn path=/trunk/; revision=40459

15 years ago - Revert 40446 and 40447
Cameron Gutman [Sat, 11 Apr 2009 14:00:48 +0000 (14:00 +0000)]
 - Revert 40446 and 40447
 - More research needs to be done on when exactly we should be locking

svn path=/trunk/; revision=40458

15 years agoAlter "userenv.spec" to match the output of "dumpbin /exports" for the Windows Server...
Colin Finck [Sat, 11 Apr 2009 13:00:00 +0000 (13:00 +0000)]
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

15 years ago- Sync gdiplus, iccvid, imaadp32.acm, inetcomm with Wine 1.1.19
Dmitry Chapyshev [Sat, 11 Apr 2009 08:58:56 +0000 (08:58 +0000)]
- Sync gdiplus, iccvid, imaadp32.acm, inetcomm with Wine 1.1.19
- Remove unneeded gdiplus_ros.diff

svn path=/trunk/; revision=40456

15 years ago- Sync qmgr, msvidc32, msvfw32, msrle32, msctf, msadp32.acm, mlang, localspl with...
Dmitry Chapyshev [Sat, 11 Apr 2009 08:56:29 +0000 (08:56 +0000)]
- Sync qmgr, msvidc32, msvfw32, msrle32, msctf, msadp32.acm, mlang, localspl with Wine 1.1.19

svn path=/trunk/; revision=40455

15 years ago- Sync mciqtz32 and winemp3 with Wine 1.1.19
Dmitry Chapyshev [Sat, 11 Apr 2009 08:16:16 +0000 (08:16 +0000)]
- Sync mciqtz32 and winemp3 with Wine 1.1.19

svn path=/trunk/; revision=40454

15 years ago- Remove unneeded files
Dmitry Chapyshev [Sat, 11 Apr 2009 07:25:22 +0000 (07:25 +0000)]
- Remove unneeded files

svn path=/trunk/; revision=40453

15 years ago- Add amstream from Wine
Dmitry Chapyshev [Sat, 11 Apr 2009 07:24:37 +0000 (07:24 +0000)]
- Add amstream from Wine

svn path=/trunk/; revision=40452

15 years agoDivide eng/bitblt.c into bitblt.c, alphablend.c and stretchblt.c. Remove EngIntersect...
Timo Kreuzer [Fri, 10 Apr 2009 23:53:09 +0000 (23:53 +0000)]
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

15 years agoUpdate wine sync information for r40448, update msvcrt cpp paths and add a older...
Gregor Schneider [Fri, 10 Apr 2009 23:11:02 +0000 (23:11 +0000)]
Update wine sync information for r40448, update msvcrt cpp paths and add a older sync of undname i did

svn path=/trunk/; revision=40450

15 years agoEngMaskBitBlt and IntEngMaskBlt do not have a source surface, so it makes no sense...
Timo Kreuzer [Fri, 10 Apr 2009 20:50:57 +0000 (20:50 +0000)]
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

15 years agoUpdate LineDDA implementation, -13 gdi32 path tests
Gregor Schneider [Fri, 10 Apr 2009 20:39:05 +0000 (20:39 +0000)]
Update LineDDA implementation, -13 gdi32 path tests

svn path=/trunk/; revision=40448

15 years ago - MiniSendComplete acquires the adapter lock so release the lock before calling it
Cameron Gutman [Fri, 10 Apr 2009 20:04:08 +0000 (20:04 +0000)]
 - MiniSendComplete acquires the adapter lock so release the lock before calling it

svn path=/trunk/; revision=40447

15 years ago - Acquire the adapter lock instead of just raising to DISPATCH_LEVEL (MSDN hints...
Cameron Gutman [Fri, 10 Apr 2009 19:55:07 +0000 (19:55 +0000)]
 - Acquire the adapter lock instead of just raising to DISPATCH_LEVEL (MSDN hints at this in various areas)

svn path=/trunk/; revision=40446

15 years agoAmendment to r40444: float -> double changes were not supposed to go in
Gregor Schneider [Fri, 10 Apr 2009 19:46:06 +0000 (19:46 +0000)]
Amendment to r40444: float -> double changes were not supposed to go in

svn path=/trunk/; revision=40445

15 years agoDon't hard code viewport extents, they depend on the dc size - highlighted by gdi32...
Gregor Schneider [Fri, 10 Apr 2009 19:40:48 +0000 (19:40 +0000)]
Don't hard code viewport extents, they depend on the dc size - highlighted by gdi32 mapping tests

svn path=/trunk/; revision=40444

15 years ago- Move 4 apps from rosapps to trunk for consistency (fontview, magnify, winver and...
Aleksey Bragin [Fri, 10 Apr 2009 19:04:12 +0000 (19:04 +0000)]
- Move 4 apps from rosapps to trunk for consistency (fontview, magnify, winver and write) [2/2].

svn path=/trunk/; revision=40443

15 years ago- Move 4 apps from rosapps to trunk for consistency (fontview, magnify, winver and...
Aleksey Bragin [Fri, 10 Apr 2009 19:03:02 +0000 (19:03 +0000)]
- Move 4 apps from rosapps to trunk for consistency (fontview, magnify, winver and write) [1/2].

svn path=/trunk/; revision=40442

15 years ago - Deserialized miniports always complete their sends asynchronously so we return...
Cameron Gutman [Fri, 10 Apr 2009 19:00:51 +0000 (19:00 +0000)]
 - 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

15 years ago- Don't copy the original header after the new header is filled correctly, fixes...
Gregor Schneider [Fri, 10 Apr 2009 17:49:12 +0000 (17:49 +0000)]
- 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

15 years ago- Remove _SHExpandEnvironmentStrings and replace calls to it by usual ExpandEnvironme...
Colin Finck [Fri, 10 Apr 2009 16:05:09 +0000 (16:05 +0000)]
- 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

15 years ago- Fix a couple more assumptions about first primary partition being the active one.
Aleksey Bragin [Fri, 10 Apr 2009 13:27:09 +0000 (13:27 +0000)]
- 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

15 years ago- Add a new property to the disk entry: NoMbr flag. It's set, if MBR's first two...
Aleksey Bragin [Fri, 10 Apr 2009 10:37:08 +0000 (10:37 +0000)]
- 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

15 years ago - Complete send requests along with the other types when we get an EOF
Cameron Gutman [Fri, 10 Apr 2009 02:38:45 +0000 (02:38 +0000)]
 - Complete send requests along with the other types when we get an EOF
 - Fail the requests with STATUS_CANCELLED

svn path=/trunk/; revision=40436

15 years agofix DEVMODE, 2nd try
Timo Kreuzer [Thu, 9 Apr 2009 22:58:35 +0000 (22:58 +0000)]
fix DEVMODE, 2nd try

svn path=/trunk/; revision=40435

15 years agoRename PALGDI to PALETTE as it's called in gdikdx.
Timo Kreuzer [Thu, 9 Apr 2009 22:28:54 +0000 (22:28 +0000)]
Rename PALGDI to PALETTE as it's called in gdikdx.

svn path=/trunk/; revision=40434

15 years agoFix definition of DEVMODE
Timo Kreuzer [Thu, 9 Apr 2009 22:13:59 +0000 (22:13 +0000)]
Fix definition of DEVMODE

svn path=/trunk/; revision=40433

15 years ago- rw.c: After the write wait has been satisfied, check that the pipe is not closed...
Michael Martin [Thu, 9 Apr 2009 21:10:04 +0000 (21:10 +0000)]
- 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

15 years ago - Fix a very old bug (since r11789) which causes miniport drivers that call NdisMTra...
Cameron Gutman [Thu, 9 Apr 2009 19:43:16 +0000 (19:43 +0000)]
 - Fix a very old bug (since r11789) which causes miniport drivers that call NdisMTranferDataComplete to fail

svn path=/trunk/; revision=40431

15 years ago- Make it possible to assign drive letters to all partitions, not only to the first...
Aleksey Bragin [Thu, 9 Apr 2009 18:59:28 +0000 (18:59 +0000)]
- 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

15 years agoFix downloader progress bar, by using an ULONGLONG, so it doesn't overflow at ~40MB...
Timo Kreuzer [Thu, 9 Apr 2009 14:20:24 +0000 (14:20 +0000)]
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

15 years ago- Recognize up to 4 partitions inside every primary partition table. However, install...
Aleksey Bragin [Thu, 9 Apr 2009 12:42:09 +0000 (12:42 +0000)]
- 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

15 years ago- REGION_AllocRgnWithHandle: allow creation of empty region
Gregor Schneider [Thu, 9 Apr 2009 12:16:51 +0000 (12:16 +0000)]
- 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

15 years ago- Fix the coordinate manipulation order for AlphaBlend, BitBlt, GradientFill, ExtText...
Gregor Schneider [Thu, 9 Apr 2009 00:40:37 +0000 (00:40 +0000)]
- 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

15 years agoIntChangeDisplaySettings: Save refresh frequency in the registry. Now it's possible...
Timo Kreuzer [Wed, 8 Apr 2009 23:15:35 +0000 (23:15 +0000)]
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

15 years agodesk.cpl: update settings for dmDisplayFrequency, when changing the video mode
Timo Kreuzer [Wed, 8 Apr 2009 23:08:02 +0000 (23:08 +0000)]
desk.cpl: update settings for dmDisplayFrequency, when changing the video mode

svn path=/trunk/; revision=40424

15 years agoUse vDbgPrintExWithPrefix in EngDebugPrint instead of using DbgPrint and always print...
Timo Kreuzer [Wed, 8 Apr 2009 21:52:36 +0000 (21:52 +0000)]
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

15 years agoOpen folders in the existing window.
Ged Murphy [Wed, 8 Apr 2009 20:48:23 +0000 (20:48 +0000)]
Open folders in the existing window.
Patch by Gabriel Ilardi

See issue #4345 for more details.

svn path=/trunk/; revision=40422

15 years ago - Fix some copy/paste bugs
Cameron Gutman [Wed, 8 Apr 2009 19:10:06 +0000 (19:10 +0000)]
 - 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

15 years agoRemove IntGdiSelectBrush and IntGdiSelectBrush, they are not needed anymore and super...
Timo Kreuzer [Wed, 8 Apr 2009 18:10:33 +0000 (18:10 +0000)]
Remove IntGdiSelectBrush and IntGdiSelectBrush, they are not needed anymore and superceded by DC_vUpdateFillBrush and DC_vUpdateLineBrush.

svn path=/trunk/; revision=40420

15 years ago- Offset coordinates with viewport origin for gradient filled triangular and rectangu...
Gregor Schneider [Wed, 8 Apr 2009 16:53:21 +0000 (16:53 +0000)]
- Offset coordinates with viewport origin for gradient filled triangular and rectangular shapes

svn path=/trunk/; revision=40418

15 years ago[FORMATTING]
Timo Kreuzer [Wed, 8 Apr 2009 14:18:23 +0000 (14:18 +0000)]
[FORMATTING]
- fix indentation
- move an internal function out of public functions area
- Use small file header
- No code change

svn path=/trunk/; revision=40417

15 years ago- ScsiPortNotification and ScsiPortDebugPrint are cdecl (stdcall introduced in r29277...
Aleksey Bragin [Wed, 8 Apr 2009 13:07:17 +0000 (13:07 +0000)]
- ScsiPortNotification and ScsiPortDebugPrint are cdecl (stdcall introduced in r29277 by mistake).

svn path=/trunk/; revision=40416

15 years ago - Pass the packet flags to the MiniportSend handler
Cameron Gutman [Wed, 8 Apr 2009 04:01:13 +0000 (04:01 +0000)]
 - Pass the packet flags to the MiniportSend handler

svn path=/trunk/; revision=40413

15 years ago - Don't leave a bad handle or object pointer
Cameron Gutman [Tue, 7 Apr 2009 05:07:09 +0000 (05:07 +0000)]
 - 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

15 years ago - Use ZwClose instead of NtClose
Cameron Gutman [Tue, 7 Apr 2009 04:22:39 +0000 (04:22 +0000)]
 - Use ZwClose instead of NtClose

svn path=/trunk/; revision=40411

15 years ago - Set FCB->Recv.Window to NULL so it doesn't get freed again later
Cameron Gutman [Tue, 7 Apr 2009 04:12:57 +0000 (04:12 +0000)]
 - Set FCB->Recv.Window to NULL so it doesn't get freed again later

svn path=/trunk/; revision=40410

15 years agoMouse pointer fix:
Timo Kreuzer [Tue, 7 Apr 2009 01:36:22 +0000 (01:36 +0000)]
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

15 years ago - Return the correct status when we get a bad parameter
Cameron Gutman [Mon, 6 Apr 2009 23:42:08 +0000 (23:42 +0000)]
 - Return the correct status when we get a bad parameter

svn path=/trunk/; revision=40408

15 years agosync urlmon to wine 1.1.18
Christoph von Wittich [Mon, 6 Apr 2009 21:37:38 +0000 (21:37 +0000)]
sync urlmon to wine 1.1.18

svn path=/trunk/; revision=40407

15 years agosync crypt32 to wine 1.1.18
Christoph von Wittich [Mon, 6 Apr 2009 21:34:28 +0000 (21:34 +0000)]
sync crypt32 to wine 1.1.18

svn path=/trunk/; revision=40406

15 years agoGo back to old logic in GdiSelectPalette. Should fix the gdi32_winetest gdiobj regres...
Timo Kreuzer [Mon, 6 Apr 2009 19:43:25 +0000 (19:43 +0000)]
Go back to old logic in GdiSelectPalette. Should fix the gdi32_winetest gdiobj regression introduced in r40381.

svn path=/trunk/; revision=40405

15 years ago- path.c: Correct purpose header entry
Gregor Schneider [Mon, 6 Apr 2009 18:00:48 +0000 (18:00 +0000)]
- 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

15 years ago- Sync some headers with Wine
Dmitry Chapyshev [Mon, 6 Apr 2009 16:55:54 +0000 (16:55 +0000)]
- Sync some headers with Wine
- Fix ddstream.idl

svn path=/trunk/; revision=40403

15 years agoMove PDEVOBJ and related into it's own header file and update the structure to be...
Timo Kreuzer [Mon, 6 Apr 2009 16:48:41 +0000 (16:48 +0000)]
Move PDEVOBJ and related into it's own header file and update the structure to be like XP (most fields currently still commented out)

svn path=/trunk/; revision=40402

15 years ago- Evgeny Boltik, <BSTSoft AT narod DOT ru>: Fix system palette entries to match the...
Gregor Schneider [Mon, 6 Apr 2009 15:54:21 +0000 (15:54 +0000)]
- Evgeny Boltik, <BSTSoft AT narod DOT ru>: Fix system palette entries to match the XP and Vista system palette
- This actually reverts the system palette back to r1753, see bug #4341 for more info

svn path=/trunk/; revision=40401

15 years ago- Sync mciavi32, mcicda with Wine head
Dmitry Chapyshev [Mon, 6 Apr 2009 15:45:49 +0000 (15:45 +0000)]
- Sync mciavi32, mcicda with Wine head

svn path=/trunk/; revision=40400

15 years ago- Sync mscms, mscoree, msctf with Wine
Dmitry Chapyshev [Mon, 6 Apr 2009 15:43:12 +0000 (15:43 +0000)]
- Sync mscms, mscoree, msctf with Wine
- Remove unneeded mscoree_ros.diff

svn path=/trunk/; revision=40399

15 years agowininet: Fixed memory corruption in urlcache.
Christoph von Wittich [Mon, 6 Apr 2009 15:42:28 +0000 (15:42 +0000)]
wininet: Fixed memory corruption in urlcache.
Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Sun Apr  5 13:55:21 2009 +0200

svn path=/trunk/; revision=40398

15 years agoadd cryptnet_winetest to bootcd
Christoph von Wittich [Mon, 6 Apr 2009 15:41:41 +0000 (15:41 +0000)]
add cryptnet_winetest to bootcd

svn path=/trunk/; revision=40397

15 years ago- Remove unneeded files (sync with Wine)
Dmitry Chapyshev [Mon, 6 Apr 2009 15:39:01 +0000 (15:39 +0000)]
- Remove unneeded files (sync with Wine)

svn path=/trunk/; revision=40396

15 years agocommit #100: add me to credits
Gregor Schneider [Mon, 6 Apr 2009 15:03:57 +0000 (15:03 +0000)]
commit #100: add me to credits

svn path=/trunk/; revision=40395

15 years ago- include/crt/math.h: float type math functions are not c++ specific, they are especi...
Gregor Schneider [Mon, 6 Apr 2009 14:58:12 +0000 (14:58 +0000)]
- include/crt/math.h: float type math functions are not c++ specific, they are especially needed in the c language - move code accordingly
- dll/win32/gdiplus: sync with current wine, correct sqrtf usage

svn path=/trunk/; revision=40394

15 years ago- Specify NTAPI for all functions without calling convention specified (Alexey Komaro...
Aleksey Bragin [Mon, 6 Apr 2009 14:38:21 +0000 (14:38 +0000)]
- Specify NTAPI for all functions without calling convention specified (Alexey Komarov <q4a@reactos.org>).
- Remove (unsupported) -mrtd compiler flag.

svn path=/trunk/; revision=40393

15 years ago- Remove error case shortcut, allows results to be computed correctly
Gregor Schneider [Mon, 6 Apr 2009 11:39:53 +0000 (11:39 +0000)]
- Remove error case shortcut, allows results to be computed correctly
- Fixes two oleaut32 vartest winetests

svn path=/trunk/; revision=40392

15 years ago[FORMATTING]
Timo Kreuzer [Mon, 6 Apr 2009 03:20:25 +0000 (03:20 +0000)]
[FORMATTING]
- fix indentation
- remove the large file header, fix the small one

svn path=/trunk/; revision=40390

15 years agoImprove tests for NtGdiDeleteObjectApp
Timo Kreuzer [Mon, 6 Apr 2009 02:49:47 +0000 (02:49 +0000)]
Improve tests for NtGdiDeleteObjectApp

svn path=/trunk/; revision=40389

15 years agorevert miniport.h changes for now
Timo Kreuzer [Mon, 6 Apr 2009 02:28:53 +0000 (02:28 +0000)]
revert miniport.h changes for now

svn path=/trunk/; revision=40388

15 years ago - Drivers must use DelayedWorkQueue (part 2)
Cameron Gutman [Mon, 6 Apr 2009 02:15:43 +0000 (02:15 +0000)]
 - Drivers must use DelayedWorkQueue (part 2)

svn path=/trunk/; revision=40387

15 years agofix include guard, use winddi types instead of ros specific function pointer types...
Timo Kreuzer [Mon, 6 Apr 2009 02:13:44 +0000 (02:13 +0000)]
fix include guard, use winddi types instead of ros specific function pointer types, add a bunch of static asserts to make sure the DRIVRE_FUNCTIONS structure matches the array.

svn path=/trunk/; revision=40386

15 years ago - Drivers must use DelayedWorkQueue
Cameron Gutman [Mon, 6 Apr 2009 02:13:32 +0000 (02:13 +0000)]
 - Drivers must use DelayedWorkQueue

svn path=/trunk/; revision=40385

15 years ago - Report to drivers that we are NDIS 5.0
Cameron Gutman [Mon, 6 Apr 2009 02:06:33 +0000 (02:06 +0000)]
 - Report to drivers that we are NDIS 5.0

svn path=/trunk/; revision=40384

15 years agoDDK update
Timo Kreuzer [Mon, 6 Apr 2009 01:21:04 +0000 (01:21 +0000)]
DDK update
- Add devioctl.h
- miniport.h: fix include guard and add more stuff
- video.h: fix include guard, remove VideoDebugprint prototype
- videoagp.h: fix include guard
-winddi.h: fix include guard, add some defines and some function pointer types
- guiddef.h: add definition of EXTERN_C

svn path=/trunk/; revision=40383

15 years agoRemove a bunch of useless funtion pointer types
Timo Kreuzer [Mon, 6 Apr 2009 00:12:48 +0000 (00:12 +0000)]
Remove a bunch of useless funtion pointer types

svn path=/trunk/; revision=40382

15 years ago- Update the EBRUSHOBJ independent of changing the brush/pen handle in DC_vUpdateFill...
Timo Kreuzer [Sun, 5 Apr 2009 23:51:27 +0000 (23:51 +0000)]
- Update the EBRUSHOBJ independent of changing the brush/pen handle in DC_vUpdateFill/LineBrush
- Mark the brushes as dirty after change of surface, palette and DIB colot table
- Update the EBURHOBJs on demand in IntGdiPolygon and IntRectangle
- Fixes bug 4340
See issue #4340 for more details.

svn path=/trunk/; revision=40381

15 years ago- Evgeny Boltik, <BSTSoft AT narod DOT ru>: Add stretching support to TransparentBlt
Gregor Schneider [Sun, 5 Apr 2009 23:13:09 +0000 (23:13 +0000)]
- Evgeny Boltik, <BSTSoft AT narod DOT ru>: Add stretching support to TransparentBlt
- This should improve themes support & probably show some bitmaps that were hidden before in certain applications
- See bug #4337 for more information

svn path=/trunk/; revision=40380

15 years ago- GdiIsPlayMetafileDC: function GdiGetHandleUserData might fail
Gregor Schneider [Sun, 5 Apr 2009 21:34:27 +0000 (21:34 +0000)]
- GdiIsPlayMetafileDC: function GdiGetHandleUserData might fail
- Simplify code to use GdiGetLDC which takes this into consideration, fixes a umode crash in gdi32_winetest metafile

svn path=/trunk/; revision=40379

15 years ago- msvcrt's pow function does not set errno, so there is no need for a hard coded...
Gregor Schneider [Sun, 5 Apr 2009 21:27:39 +0000 (21:27 +0000)]
- msvcrt's pow function does not set errno, so there is no need for a hard coded breakpoint, jump labels adjusted accordingly
- Allows oleaut32_winetest vartest to finish

svn path=/trunk/; revision=40378

15 years ago- Create Common Files directory when creating Program Files to match windows fresh...
Michael Martin [Sun, 5 Apr 2009 20:05:40 +0000 (20:05 +0000)]
- Create Common Files directory when creating Program Files to match windows fresh install and add registry key for CommonFilesDir.
This prevents the key from being incorrectly set using an environment variable.

svn path=/trunk/; revision=40377

15 years ago - Revert r40367
Cameron Gutman [Sun, 5 Apr 2009 18:11:24 +0000 (18:11 +0000)]
 - Revert r40367
 - Fixes abyss server startup after installing

svn path=/trunk/; revision=40376

15 years ago- Check if allocation of work item succeeded - Thanks Ged, aicom
Johannes Anderwald [Sun, 5 Apr 2009 16:39:51 +0000 (16:39 +0000)]
- Check if allocation of work item succeeded - Thanks Ged, aicom
- Fix leaking of a work item on close event / irp stream run out

svn path=/trunk/; revision=40375

15 years ago- add a stub for D3DParseUnknownCommand
Kamil Hornicek [Sun, 5 Apr 2009 16:29:45 +0000 (16:29 +0000)]
- add a stub for D3DParseUnknownCommand

svn path=/trunk/; revision=40374

15 years ago- Fix leaking of work item for each detected audio device
Johannes Anderwald [Sun, 5 Apr 2009 16:05:54 +0000 (16:05 +0000)]
- Fix leaking of work item for each detected audio device

svn path=/trunk/; revision=40373

15 years ago- IntEnumDisplaySettings returns NTSTATUS, fix the check accordingly
Kamil Hornicek [Sun, 5 Apr 2009 15:15:16 +0000 (15:15 +0000)]
- IntEnumDisplaySettings returns NTSTATUS, fix the check accordingly

svn path=/trunk/; revision=40372

15 years ago- leftover from the previous commit
Kamil Hornicek [Sun, 5 Apr 2009 14:41:53 +0000 (14:41 +0000)]
- leftover from the previous commit

svn path=/trunk/; revision=40371

15 years ago- import ddraw from Wine and use it for now
Kamil Hornicek [Sun, 5 Apr 2009 13:52:15 +0000 (13:52 +0000)]
- import ddraw from Wine and use it for now
- sync wined3d, d3d8, d3d9 with Wine HEAD

svn path=/trunk/; revision=40370

15 years ago- Compile UniATA with stdcall default calling convention instead of cdecl.
Aleksey Bragin [Sun, 5 Apr 2009 11:46:53 +0000 (11:46 +0000)]
- Compile UniATA with stdcall default calling convention instead of cdecl.

svn path=/trunk/; revision=40368

15 years ago - Distinguish between cleanup and close properly
Cameron Gutman [Sun, 5 Apr 2009 07:23:25 +0000 (07:23 +0000)]
 - Distinguish between cleanup and close properly
 - On cleanup, we cancel all requests
 - On close, we remove the address file from the list, free the port and listener (if present), then free the address file itself

svn path=/trunk/; revision=40367

15 years ago - Implement a DispatchCleanup routine and properly separate cleanup from close
Cameron Gutman [Sun, 5 Apr 2009 07:08:47 +0000 (07:08 +0000)]
 - Implement a DispatchCleanup routine and properly separate cleanup from close

svn path=/trunk/; revision=40366

15 years ago- Simplified code for CD, PUSHD, and POPD commands and also fixed some bugs.
Jeffrey Morlan [Sun, 5 Apr 2009 01:50:24 +0000 (01:50 +0000)]
- Simplified code for CD, PUSHD, and POPD commands and also fixed some bugs.

svn path=/trunk/; revision=40365

15 years agoEvgeniy Boltik <bstsoft@narod.ru>
Aleksey Bragin [Sat, 4 Apr 2009 18:52:14 +0000 (18:52 +0000)]
Evgeniy Boltik <bstsoft@narod.ru>
- Enable and use mask support in UserDrawIconEx, fully compatible with Windows, based on tests in bug 4336.
- Remove IntSet[Text/Bk]Color hacks from UserDrawIconEx, no longer required due to fix in CreateCompatibleDC.
- Change a few comments in the code of UserDrawIconEx.
See issue #4336 for more details.

svn path=/trunk/; revision=40363

15 years agoEvgeniy Boltik <bstsoft@narod.ru>
Aleksey Bragin [Sat, 4 Apr 2009 18:24:24 +0000 (18:24 +0000)]
Evgeniy Boltik <bstsoft@narod.ru>
- Fix copypaste mistake in EngStretchBltROP.
- Fix check in EngStretchBltROP, it should check original InputRect, not the clipped one.
- Fix improper variable type in DIB_XXBPP_StretchBlt: PatternX and PatternY could be negative.
See issue #4336 for more details.

svn path=/trunk/; revision=40362

15 years ago- Check for cmd's AutoRun registry value in HKEY_CURRENT_USER as well as HKEY_LOCAL_M...
Jeffrey Morlan [Sat, 4 Apr 2009 17:51:55 +0000 (17:51 +0000)]
- Check for cmd's AutoRun registry value in HKEY_CURRENT_USER as well as HKEY_LOCAL_MACHINE.
- Allow AutoRun commands to be longer than MAX_PATH.

svn path=/trunk/; revision=40361

15 years ago- Re-use WorkItem
Johannes Anderwald [Sat, 4 Apr 2009 16:04:25 +0000 (16:04 +0000)]
- Re-use WorkItem
- Fixes leaking a workitem for each pin creation request

svn path=/trunk/; revision=40360

15 years ago - Don't pass the address type to IPInitializePacket because it is set later
Cameron Gutman [Sat, 4 Apr 2009 01:22:33 +0000 (01:22 +0000)]
 - Don't pass the address type to IPInitializePacket because it is set later
 - Fix packet corruption caused by using uninitialized data

svn path=/trunk/; revision=40359

15 years ago - Validate the buffer size before copying to it
Cameron Gutman [Sat, 4 Apr 2009 00:41:42 +0000 (00:41 +0000)]
 - Validate the buffer size before copying to it

svn path=/trunk/; revision=40358

15 years ago - Remove the rest of the code that sets the wrong IRP's status
Cameron Gutman [Sat, 4 Apr 2009 00:36:43 +0000 (00:36 +0000)]
 - Remove the rest of the code that sets the wrong IRP's status

svn path=/trunk/; revision=40357

15 years ago - Initialize packets before using them
Cameron Gutman [Sat, 4 Apr 2009 00:24:20 +0000 (00:24 +0000)]
 - Initialize packets before using them
 - Part 2 of 2

svn path=/trunk/; revision=40356

15 years ago - Initialize packets before using them
Cameron Gutman [Sat, 4 Apr 2009 00:23:09 +0000 (00:23 +0000)]
 - Initialize packets before using them
 - Make PrepareICMPPacket return BOOLEAN
 - Call the packet's free function to free it
 - Remove unnecessary NULL checks
 - Part 1 of 2

svn path=/trunk/; revision=40355