reactos.git
11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 years ago - Loopback adapter rewrite
Cameron Gutman [Fri, 3 Apr 2009 21:05:22 +0000 (21:05 +0000)]
 - Loopback adapter rewrite
 - We don't need to queue a work item to receive so we don't now
 - This simplifies the code significantly
 - It also increases loopback throughput

svn path=/trunk/; revision=40354

11 years ago- Add a leftover from commit 40334.
Aleksey Bragin [Fri, 3 Apr 2009 17:14:24 +0000 (17:14 +0000)]
- Add a leftover from commit 40334.

svn path=/trunk/; revision=40352

11 years ago- Silence tons of debug messages
Johannes Anderwald [Fri, 3 Apr 2009 17:06:16 +0000 (17:06 +0000)]
- Silence tons of debug messages
- Add file headers for portcls
- Remove StringFromCLSID hack and replace it with RtlStringFromGUID
- Implement PcCompletePendingPropertyRequest, KsoGetIrpTargetFromIrp, KsoGetIrpTargetFromFileObject
- Re-use WorkItem  / WorkItem context in sysaudio

svn path=/trunk/; revision=40351

11 years ago- Delete regtests framework by Casper. It's useless.
Aleksey Bragin [Fri, 3 Apr 2009 10:33:41 +0000 (10:33 +0000)]
- Delete regtests framework by Casper. It's useless.

svn path=/trunk/; revision=40349

11 years ago- Get reactos.dff in sync with rosapps cleanup.
Aleksey Bragin [Fri, 3 Apr 2009 10:06:36 +0000 (10:06 +0000)]
- Get reactos.dff in sync with rosapps cleanup.

svn path=/trunk/; revision=40348

11 years ago- Delete qssi, it wasn't included in build since 2002.
Aleksey Bragin [Fri, 3 Apr 2009 10:04:06 +0000 (10:04 +0000)]
- Delete qssi, it wasn't included in build since 2002.
- Delete ddraw demo since it doesn't actually demo anything on my XP, but paints the screen to the rose color and hangs.
- Remove imagesoft entry from applications.rbuild.

svn path=/trunk/; revision=40347

11 years ago- Remove dflat32. It doesn't start up in Windows XP at all (when launching edit.exe...
Aleksey Bragin [Fri, 3 Apr 2009 09:41:09 +0000 (09:41 +0000)]
- Remove dflat32. It doesn't start up in Windows XP at all (when launching edit.exe nothing happens).
- Remove dflat32.dll, no active work on it since 2002.

<[Tycho]>: Fireball ustroil subbotnik.

svn path=/trunk/; revision=40346

11 years ago- Move imagesoft to templates.
Aleksey Bragin [Fri, 3 Apr 2009 09:29:39 +0000 (09:29 +0000)]
- Move imagesoft to templates.
- Exclude all templates from the build. They are templates, useful as a source code, not as a binary.
- Delete packmgr.

svn path=/trunk/; revision=40345

11 years ago- Delete cputointel and roswebparser as unfinished components which aren't going...
Aleksey Bragin [Fri, 3 Apr 2009 09:16:09 +0000 (09:16 +0000)]
- Delete cputointel and roswebparser as unfinished components which aren't going to be further developed.
- Delete zoomin because there is a nicely working magnify application, and zoomin development stopped in 2002.

svn path=/trunk/; revision=40344

11 years ago- Remove roswebparser.exe from installable modules list.
Aleksey Bragin [Fri, 3 Apr 2009 09:08:58 +0000 (09:08 +0000)]
- Remove roswebparser.exe from installable modules list.

svn path=/trunk/; revision=40343

11 years ago - RapidSVN doesn't figure out that when I right click afd that I want EVERYTHING...
Cameron Gutman [Fri, 3 Apr 2009 05:31:00 +0000 (05:31 +0000)]
 - RapidSVN doesn't figure out that when I right click afd that I want EVERYTHING changed in afd to be commited ;)

svn path=/trunk/; revision=40342

11 years ago - More leak fixes
Cameron Gutman [Fri, 3 Apr 2009 05:29:49 +0000 (05:29 +0000)]
 - More leak fixes
 - Free items in the datagram list and pending connections list
 - Free ConnectionCallInfo and ConnectionReturnInfo
 - Free the FCB context

svn path=/trunk/; revision=40341

11 years ago- Replaced fix pi and enabled test for window processes with the proper signing....
James Tabor [Fri, 3 Apr 2009 05:26:53 +0000 (05:26 +0000)]
- Replaced fix pi and enabled test for window processes with the proper signing. Yes regedit works.

svn path=/trunk/; revision=40340

11 years ago - Cancel all the IRPs in the pending IRP queue when the FCB is being destroyed
Cameron Gutman [Fri, 3 Apr 2009 01:45:32 +0000 (01:45 +0000)]
 - Cancel all the IRPs in the pending IRP queue when the FCB is being destroyed
 - Fixes IRP, MDL, and buffer leaks
 - ping and dwnl don't leak at all now

svn path=/trunk/; revision=40339

11 years ago- Rework NtGdiStretchBlt into GreStretchBltMask function, which provides stretch...
Aleksey Bragin [Thu, 2 Apr 2009 19:00:09 +0000 (19:00 +0000)]
- Rework NtGdiStretchBlt into GreStretchBltMask function, which provides stretch blitting with mask support.
- Add NtGdiStretchBlt as a simple forwarder to the internal GreStretchBltMask helper.
- Based on a patch by Evgeniy Boltik.
- Some optimisation issues could still be solved as Timo suggested.
See issue #4294 for more details.

svn path=/trunk/; revision=40334

11 years ago- Migration changes from PPROCESSINFO and PTHREADINFO to use ClientInfo from TEB...
James Tabor [Thu, 2 Apr 2009 18:52:34 +0000 (18:52 +0000)]
- Migration changes from PPROCESSINFO and PTHREADINFO to use ClientInfo from TEB. I moved kpi to ci->ppi, we still depend on it as a reference pointer.
- Added and changed structure types.
- Tested with old AbiWord, FireFox and explorer.
- Comment out TestWindowProcess until the rest is ready.

svn path=/trunk/; revision=40333

11 years ago- Apply a fix by Timo Kreuzer for the bug spotted by Evgeniy Boltik. 4 failures less...
Aleksey Bragin [Thu, 2 Apr 2009 17:43:24 +0000 (17:43 +0000)]
- Apply a fix by Timo Kreuzer for the bug spotted by Evgeniy Boltik. 4 failures less in "gdi32_winetest.exe bitmap" now.
See issue #4326 for more details.

svn path=/trunk/; revision=40332

11 years ago- NtGdiSetDIBitsToDeviceInternal: use bitmap's palette if it exists instead of always...
Aleksey Bragin [Thu, 2 Apr 2009 17:25:56 +0000 (17:25 +0000)]
- NtGdiSetDIBitsToDeviceInternal: use bitmap's palette if it exists instead of always using system palette. Based on a patch by Evgeniy Boltik from bug 4326.

See issue #4326 for more details.

svn path=/trunk/; revision=40331

11 years ago- Simplify code. Inspired by Evgeniy Boltik's patch.
Aleksey Bragin [Thu, 2 Apr 2009 16:34:11 +0000 (16:34 +0000)]
- Simplify code. Inspired by Evgeniy Boltik's patch.
See issue #4326 for more details.

svn path=/trunk/; revision=40329

11 years agoPretend to open folders in a new window...
Ged Murphy [Thu, 2 Apr 2009 15:06:04 +0000 (15:06 +0000)]
Pretend to open folders in a new window...
I say pretend because it doesn't actually work as it should it just maximizes them, but it gives the illusion that it does and that's good enough for now as it's not worth fixing.

svn path=/trunk/; revision=40328

11 years agoStop mithering me and just open the MDI shell browser by default.
Ged Murphy [Thu, 2 Apr 2009 14:59:18 +0000 (14:59 +0000)]
Stop mithering me and just open the MDI shell browser by default.

svn path=/trunk/; revision=40327