Commit graph

35991 commits

Author SHA1 Message Date
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
Timo Kreuzer 41c31152db [FORMATTING]
Fix indentation, no code change

svn path=/trunk/; revision=40465
2009-04-11 19:04:06 +00:00
Stefan Ginsberg b917e4e926 - Remove the "ROS-HACK" for gdi32 bitmap font tests -- this doesn't crash the system anymore
svn path=/trunk/; revision=40464
2009-04-11 18:54:22 +00:00
Ged Murphy b52ee19030 remove downloader from rosapps
svn path=/trunk/; revision=40463
2009-04-11 16:58:21 +00:00
Ged Murphy 13f29b197c Remove the old rosapps entries
svn path=/trunk/; revision=40462
2009-04-11 16:56:22 +00:00
Ged Murphy 293c8b5a7c Move the downloader tool into trunk
svn path=/trunk/; revision=40461
2009-04-11 16:51:57 +00:00
Gregor Schneider 7a53cbcbdc - 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
2009-04-11 16:48:47 +00:00
Sylvain Petreolle 3d1ed5b157 fix cmd build
svn path=/trunk/; revision=40459
2009-04-11 16:37:08 +00:00
Cameron Gutman 645891d7b9 - Revert 40446 and 40447
- More research needs to be done on when exactly we should be locking

svn path=/trunk/; revision=40458
2009-04-11 14:00:48 +00:00
Colin Finck b5350ad268 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
2009-04-11 13:00:00 +00:00
Dmitry Chapyshev bdeac904e0 - Sync gdiplus, iccvid, imaadp32.acm, inetcomm with Wine 1.1.19
- Remove unneeded gdiplus_ros.diff

svn path=/trunk/; revision=40456
2009-04-11 08:58:56 +00:00
Dmitry Chapyshev c881748838 - Sync qmgr, msvidc32, msvfw32, msrle32, msctf, msadp32.acm, mlang, localspl with Wine 1.1.19
svn path=/trunk/; revision=40455
2009-04-11 08:56:29 +00:00
Dmitry Chapyshev af63eb50eb - Sync mciqtz32 and winemp3 with Wine 1.1.19
svn path=/trunk/; revision=40454
2009-04-11 08:16:16 +00:00
Dmitry Chapyshev 4ef39f33f7 - Remove unneeded files
svn path=/trunk/; revision=40453
2009-04-11 07:25:22 +00:00
Dmitry Chapyshev da98a4e469 - Add amstream from Wine
svn path=/trunk/; revision=40452
2009-04-11 07:24:37 +00:00
Timo Kreuzer 8d3981bfa5 Divide eng/bitblt.c into bitblt.c, alphablend.c and stretchblt.c. Remove EngIntersectRect and replace it with RECTL_bIntersectRect, which is changed to the code of EngIntersectRect, that was better.
svn path=/trunk/; revision=40451
2009-04-10 23:53:09 +00:00
Gregor Schneider ee2d3933cb Update wine sync information for r40448, update msvcrt cpp paths and add a older sync of undname i did
svn path=/trunk/; revision=40450
2009-04-10 23:11:02 +00:00
Timo Kreuzer 4b6b9a55ca EngMaskBitBlt and IntEngMaskBlt do not have a source surface, so it makes no sense to have a source point. Remove it from the prototype. (Aplpha)BltMask need to have a spacial prototype including a source surface and point, but they are unused, use the mask point instead of the source point. IntEngMaskBitBlt: call IntEngEnter with the mask surface, instead of 2 times with the dest surface, intersect with Clip bounding rect before. Fixes wrong text origin/crippled text when outputting clipped text.
svn path=/trunk/; revision=40449
2009-04-10 20:50:57 +00:00
Gregor Schneider ed40a59c44 Update LineDDA implementation, -13 gdi32 path tests
svn path=/trunk/; revision=40448
2009-04-10 20:39:05 +00:00
Cameron Gutman 81edca312f - MiniSendComplete acquires the adapter lock so release the lock before calling it
svn path=/trunk/; revision=40447
2009-04-10 20:04:08 +00:00
Cameron Gutman ba9ee79954 - Acquire the adapter lock instead of just raising to DISPATCH_LEVEL (MSDN hints at this in various areas)
svn path=/trunk/; revision=40446
2009-04-10 19:55:07 +00:00
Gregor Schneider 1e94c549a8 Amendment to r40444: float -> double changes were not supposed to go in
svn path=/trunk/; revision=40445
2009-04-10 19:46:06 +00:00
Gregor Schneider cc76eb9691 Don't hard code viewport extents, they depend on the dc size - highlighted by gdi32 mapping tests
svn path=/trunk/; revision=40444
2009-04-10 19:40:48 +00:00
Aleksey Bragin e0df4e3d38 - Move 4 apps from rosapps to trunk for consistency (fontview, magnify, winver and write) [2/2].
svn path=/trunk/; revision=40443
2009-04-10 19:04:12 +00:00
Aleksey Bragin c8b14f9d4f - Move 4 apps from rosapps to trunk for consistency (fontview, magnify, winver and write) [1/2].
svn path=/trunk/; revision=40442
2009-04-10 19:03:02 +00:00
Cameron Gutman 15cbc1d92d - Deserialized miniports always complete their sends asynchronously so we return NDIS_STATUS_PENDING when we call one (so the ProtocolSendComplete handler doesn't get called twice thus double-completing the packet)
- Fixes miniport drivers that use a deserialized SendPackets handler (including the rtl8139)
 - The rtl8139 driver still doesn't work (likely due to a bug in tcpip)

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

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

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

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

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

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

svn path=/trunk/; revision=40436
2009-04-10 02:38:45 +00:00
Timo Kreuzer beec711012 fix DEVMODE, 2nd try
svn path=/trunk/; revision=40435
2009-04-09 22:58:35 +00:00
Timo Kreuzer 23ae1270fb Rename PALGDI to PALETTE as it's called in gdikdx.
svn path=/trunk/; revision=40434
2009-04-09 22:28:54 +00:00
Timo Kreuzer fdaa172e95 Fix definition of DEVMODE
svn path=/trunk/; revision=40433
2009-04-09 22:13:59 +00:00