12 years agoSync trunk r40500
Timo Kreuzer [Thu, 16 Apr 2009 14:44:19 +0000 (14:44 +0000)]
Sync trunk r40500

svn path=/branches/ros-amd64-bringup/; revision=40543

12 years ago- Fix a bug in the KSPROPERTY_PIN_DATAINTERSECTION handler
Johannes Anderwald [Tue, 14 Apr 2009 14:59:51 +0000 (14:59 +0000)]
- Verify format in the pin creation routine
- Only create a pin when there is work to be done
- Improve error checking

svn path=/trunk/; revision=40500

Johannes Anderwald [Tue, 14 Apr 2009 11:07:15 +0000 (11:07 +0000)]

svn path=/trunk/; revision=40499

12 years ago- Fix warning
Johannes Anderwald [Tue, 14 Apr 2009 11:03:32 +0000 (11:03 +0000)]
- Fix warning

svn path=/trunk/; revision=40498

12 years ago- usetup expects the videomode to be set, and fonts to be loaded. Change setupldr2...
Aleksey Bragin [Tue, 14 Apr 2009 10:36:16 +0000 (10:36 +0000)]
- usetup expects the videomode to be set, and fonts to be loaded. Change setupldr2 accordingly. This fixes the "blank" blue screen in the beginning of first stage (when started with setupldr2 of course).

svn path=/trunk/; revision=40497

12 years ago- Use a work item for each specific task: start, stop, close
Johannes Anderwald [Tue, 14 Apr 2009 07:21:05 +0000 (07:21 +0000)]
- Use a work item for each specific task: start, stop, close
- Should fix bug 4365

svn path=/trunk/; revision=40496

12 years agoEngBitBlt provides bitblt capabilities between standard-format bitmap surfaces. It...
Timo Kreuzer [Tue, 14 Apr 2009 02:47:15 +0000 (02:47 +0000)]
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

12 years ago- Remove NtGdi calls from user32 headers.
James Tabor [Mon, 13 Apr 2009 23:27:52 +0000 (23:27 +0000)]
- Remove NtGdi calls from user32 headers.

svn path=/trunk/; revision=40494

12 years agoforgot this file
Timo Kreuzer [Mon, 13 Apr 2009 21:40:14 +0000 (21:40 +0000)]
forgot this file

svn path=/trunk/; revision=40493

12 years agoAdd RECTL_vMakeWellOrdered
Timo Kreuzer [Mon, 13 Apr 2009 21:38:37 +0000 (21:38 +0000)]
Add RECTL_vMakeWellOrdered

svn path=/trunk/; revision=40492

12 years agoAdd rosperf test for scrolling.
Timo Kreuzer [Mon, 13 Apr 2009 21:36:56 +0000 (21:36 +0000)]
Add rosperf test for scrolling.

svn path=/trunk/; revision=40491

12 years agoremove semicolon from define, thanks to Carlo Bramini for noticing
Gregor Schneider [Mon, 13 Apr 2009 20:05:06 +0000 (20:05 +0000)]
remove semicolon from define, thanks to Carlo Bramini for noticing

svn path=/trunk/; revision=40490

12 years agosync kernel32 profile winetest with wine 1.1.19
Christoph von Wittich [Mon, 13 Apr 2009 19:40:27 +0000 (19:40 +0000)]
sync kernel32 profile winetest with wine 1.1.19

svn path=/trunk/; revision=40489

12 years agoJames Hawkins : kernel32: Handle writing empty sections and keys in WritePrivateProfi...
Christoph von Wittich [Mon, 13 Apr 2009 18:53:56 +0000 (18:53 +0000)]
James Hawkins : kernel32: Handle writing empty sections and keys in WritePrivateProfileString.

svn path=/trunk/; revision=40488

12 years ago- Deactivate unneeded debug prints, change DbgPrint to DPRINTx, remove unused perform...
Gregor Schneider [Mon, 13 Apr 2009 17:51:50 +0000 (17:51 +0000)]
- Deactivate unneeded debug prints, change DbgPrint to DPRINTx, remove unused performance checks, formatting - no functional changes

svn path=/trunk/; revision=40487

12 years ago- More correct fix of tests
Dmitry Chapyshev [Mon, 13 Apr 2009 17:13:35 +0000 (17:13 +0000)]
- More correct fix of tests

svn path=/trunk/; revision=40486

12 years agoadd telnet service, enable it by default
Steven Edwards [Mon, 13 Apr 2009 16:26:49 +0000 (16:26 +0000)]
add telnet service, enable it by default

svn path=/trunk/; revision=40485

12 years ago- Simplify my last changes. Thanks Goplat ;)
Dmitry Chapyshev [Mon, 13 Apr 2009 16:06:08 +0000 (16:06 +0000)]
- Simplify my last changes. Thanks Goplat ;)

svn path=/trunk/; revision=40484

12 years ago- Fix 3 winetests for CreateProcessA/W
Dmitry Chapyshev [Mon, 13 Apr 2009 15:49:54 +0000 (15:49 +0000)]
- Fix 3 winetests for CreateProcessA/W

svn path=/trunk/; revision=40483

12 years agomove telnetd out of rosapps
Steven Edwards [Mon, 13 Apr 2009 13:30:03 +0000 (13:30 +0000)]
move telnetd out of rosapps

svn path=/trunk/; revision=40482

12 years agomove telnetd to main tree, not enabled yet
Steven Edwards [Mon, 13 Apr 2009 13:29:21 +0000 (13:29 +0000)]
move telnetd to main tree, not enabled yet

svn path=/trunk/; revision=40481

12 years ago- Add more check on CodePage = 0. +2 passed wine tests
Dmitry Chapyshev [Mon, 13 Apr 2009 12:33:33 +0000 (12:33 +0000)]
- Add more check on CodePage = 0. +2 passed wine tests

svn path=/trunk/; revision=40480

12 years ago- Add check on CodePage = 0. +2 passed wine tests
Dmitry Chapyshev [Mon, 13 Apr 2009 12:26:28 +0000 (12:26 +0000)]
- Add check on CodePage = 0. +2 passed wine tests

svn path=/trunk/; revision=40479

12 years ago- Fully implement GetProcessVersion. +1 passed winetest
Dmitry Chapyshev [Mon, 13 Apr 2009 11:58:39 +0000 (11:58 +0000)]
- Fully implement GetProcessVersion. +1 passed winetest

svn path=/trunk/; revision=40478

12 years ago - Fix release build (try 1)
Cameron Gutman [Mon, 13 Apr 2009 06:04:14 +0000 (06:04 +0000)]
 - Fix release build (try 1)

svn path=/trunk/; revision=40477

12 years ago - Fix a typo
Cameron Gutman [Mon, 13 Apr 2009 03:26:18 +0000 (03:26 +0000)]
 - Fix a typo

svn path=/trunk/; revision=40476

12 years ago - Implement the rest of MiniIndicateReceivePacket
Cameron Gutman [Mon, 13 Apr 2009 03:11:42 +0000 (03:11 +0000)]
 - 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

12 years agoVarious fixes to the way cmd handles errorlevel and the "return values" of commands:
Jeffrey Morlan [Sun, 12 Apr 2009 23:51:15 +0000 (23:51 +0000)]
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

12 years ago- Add parameter validity check to GetTextFaceA (same as in GetTextFaceW)
Gregor Schneider [Sun, 12 Apr 2009 18:44:00 +0000 (18:44 +0000)]
- Add parameter validity check to GetTextFaceA (same as in GetTextFaceW)

svn path=/trunk/; revision=40473

12 years ago - Don't close the connection handle and dereference the connection object when we...
Cameron Gutman [Sun, 12 Apr 2009 05:07:15 +0000 (05:07 +0000)]
 - 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

12 years ago- RtlSetEnvironmentVariable: Removing a variable that didn't exist in the first place...
Jeffrey Morlan [Sun, 12 Apr 2009 04:41:33 +0000 (04:41 +0000)]
- 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

12 years ago- Don't copy data to null buffer, just return the string length in this case
Gregor Schneider [Sat, 11 Apr 2009 21:24:25 +0000 (21:24 +0000)]
- 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

12 years agoremove doenloader from rosapps build
Timo Kreuzer [Sat, 11 Apr 2009 20:29:31 +0000 (20:29 +0000)]
remove doenloader from rosapps build

svn path=/trunk/; revision=40468

12 years ago- Reapply the gdi32 bitmap font test ROS-HACK -- the tests still fail on the build...
Stefan Ginsberg [Sat, 11 Apr 2009 20:15:26 +0000 (20:15 +0000)]
- Reapply the gdi32 bitmap font test ROS-HACK -- the tests still fail on the build server

svn path=/trunk/; revision=40466

12 years ago[FORMATTING]
Timo Kreuzer [Sat, 11 Apr 2009 19:04:06 +0000 (19:04 +0000)]
Fix indentation, no code change

svn path=/trunk/; revision=40465

12 years ago- Remove the "ROS-HACK" for gdi32 bitmap font tests -- this doesn't crash the system...
Stefan Ginsberg [Sat, 11 Apr 2009 18:54:22 +0000 (18:54 +0000)]
- Remove the "ROS-HACK" for gdi32 bitmap font tests -- this doesn't crash the system anymore

svn path=/trunk/; revision=40464

12 years agoremove downloader from rosapps
Ged Murphy [Sat, 11 Apr 2009 16:58:21 +0000 (16:58 +0000)]
remove downloader from rosapps

svn path=/trunk/; revision=40463

12 years agoRemove the old rosapps entries
Ged Murphy [Sat, 11 Apr 2009 16:56:22 +0000 (16:56 +0000)]
Remove the old rosapps entries

svn path=/trunk/; revision=40462

12 years agoMove the downloader tool into trunk
Ged Murphy [Sat, 11 Apr 2009 16:51:57 +0000 (16:51 +0000)]
Move the downloader tool into trunk

svn path=/trunk/; revision=40461

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

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

svn path=/trunk/; revision=40417

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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>
Date:   Sun Apr  5 13:55:21 2009 +0200

svn path=/trunk/; revision=40398

12 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