Commit graph

35974 commits

Author SHA1 Message Date
Christoph von Wittich 1ecfbaf361 sync wininet urlcache.c with wine 1.1.19 - fixes memory corruptions
svn path=/trunk/; revision=40520
2009-04-15 09:17:12 +00:00
Christoph von Wittich d748120ca1 check for immutable bits in RtlSetControlSecurityDescriptor
fixes >100 advapi32 security winetests

svn path=/trunk/; revision=40519
2009-04-15 08:33:57 +00:00
Aleksey Bragin e8ecddc002 - Silence MmCanFileBeTruncated warning about not checking for outstanding write probes.
svn path=/trunk/; revision=40518
2009-04-15 07:47:15 +00:00
Dmitry Chapyshev 9e45cb2d7e - Sync avifil32 with Wine 1.1.19
svn path=/trunk/; revision=40517
2009-04-15 07:33:50 +00:00
Dmitry Chapyshev 5275c90901 - Update Russian translation
svn path=/trunk/; revision=40516
2009-04-15 07:29:19 +00:00
Colin Finck 484b6902f1 - Use rundll32.exe and CreateProcessAsUserW to call ClientSideInstallW for installing new devices and supply all required information over a named pipe.
The named pipe communication was monitored under Windows XP SP2, so that the protocol under ReactOS is compatible (except for one data field, see code)
- Implement ClientSideInstallW in newdev.dll
- Give umpnpmgr the SE_ASSIGNPRIMARYTOKEN privilege to use CreateProcessAsUserW
- Open the token of the userinit process with TOKEN_ASSIGN_PRIMARY | TOKEN_DUPLICATE | TOKEN_QUERY, we don't get TOKEN_ALL_ACCESS and used to fail here without noticing it
- Return CR_FAILURE in case of problems inside PNP_ReportLogOn

This stuff by the way fixes the "Browse" button in a "New hardware device" dialog
See issue #4363 for more details.

svn path=/trunk/; revision=40513
2009-04-14 22:31:36 +00:00
Colin Finck 2ef63b5190 Fix and slightly optimize _SHGetUserShellFolderPath
Note to Wine guys: Registry functions take and give everything in bytes!

svn path=/trunk/; revision=40512
2009-04-14 22:13:20 +00:00
Gregor Schneider a49c40392b - ICON_CreateCursorFromData should pass a header that fits to the bitmap data to SetDIBits to allow color conversion if necessary; create the color cursor if requested in the same function
- Winamp 2.95 now shows a custom cursor, but it's still surrounded by blackness, bug #4370
- Misc typo fixes, cleanup

svn path=/trunk/; revision=40510
2009-04-14 21:30:03 +00:00
Timo Kreuzer fc069970e4 Remove hBitmap from DC.rosdc and use DC.dclevel.pSurface instead.
svn path=/trunk/; revision=40509
2009-04-14 20:50:02 +00:00
Timo Kreuzer 1e46ec84b5 Revert 40507, it breaks VBox.
svn path=/trunk/; revision=40508
2009-04-14 18:14:18 +00:00
Daniel Reimer d0ab3ff5ae Enable uniata.sys as default Storage driver. Approved by Fireball. Complaints go to reimer.daniel@freenet.de
I skipped removing atapi.sys from build. first test it. if it works we do this then.

svn path=/trunk/; revision=40507
2009-04-14 17:24:04 +00:00
Aleksey Bragin db2b8f5c36 - Display unpartitioned and unformatted entries in a partition table. Fixes problems when installing on an absolutely clean harddisk.
svn path=/trunk/; revision=40506
2009-04-14 16:53:22 +00:00
Johannes Anderwald 5e06a4d83d - Implement Channel de-muxing
- WIP, bugs expected

svn path=/trunk/; revision=40505
2009-04-14 16:43:17 +00:00
Timo Kreuzer 4bc394cbbf Make the SURFACE structure more like the one from Windows
svn path=/trunk/; revision=40504
2009-04-14 16:41:48 +00:00
Timo Kreuzer 7d8041109b Fix some parameter sizes in gdi32.spec (handles are pointer sized), there's probably a lot more.
svn path=/trunk/; revision=40503
2009-04-14 16:16:18 +00:00
Timo Kreuzer b4c029b29e Return NULL, if failed to lock the provided palette in InrEngCreateXlate. Fixes bug 4378.
See issue #4378 for more details.

svn path=/trunk/; revision=40502
2009-04-14 16:06:07 +00:00
Gregor Schneider e05f6c1a3e - Replace ConvertStringSecurityDescriptorToSecurityDescriptorW with the more advanced wine version, fixes a memory corruption advapi32 security winetest caused and the correspondent user mode crash (requested by Christoph_vW)
- Update and move helper functions, remove unreferenced functions
- Update readme.wine for advapi32 security files (we use a different structure and only parts of wine's implementation)

svn path=/trunk/; revision=40501
2009-04-14 15:36:39 +00:00
Johannes Anderwald 995710a412 - Fix a bug in the KSPROPERTY_PIN_DATAINTERSECTION handler
- 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
2009-04-14 14:59:51 +00:00
Johannes Anderwald 0a61df10e6 - Handle KSPROPERTY_PIN_DATAINTERSECTION
svn path=/trunk/; revision=40499
2009-04-14 11:07:15 +00:00
Johannes Anderwald cfa7241c88 - Fix warning
svn path=/trunk/; revision=40498
2009-04-14 11:03:32 +00:00
Aleksey Bragin 761b395b8f - 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
2009-04-14 10:36:16 +00:00
Johannes Anderwald 391fa4acd9 - Use a work item for each specific task: start, stop, close
- Should fix bug 4365

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

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

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

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

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

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