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
Michael Martin
418ee7239b
- 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
2009-04-09 21:10:04 +00:00
Cameron Gutman
59048535b7
- Fix a very old bug (since r11789) which causes miniport drivers that call NdisMTranferDataComplete to fail
...
svn path=/trunk/; revision=40431
2009-04-09 19:43:16 +00:00
Aleksey Bragin
a78cdbe77a
- 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
2009-04-09 18:59:28 +00:00
Timo Kreuzer
32337f8c06
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
2009-04-09 14:20:24 +00:00
Aleksey Bragin
fbd73e2e9e
- 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
2009-04-09 12:42:09 +00:00
Gregor Schneider
8cd1519932
- 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
2009-04-09 12:16:51 +00:00
Gregor Schneider
bc89d1efbd
- 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
2009-04-09 00:40:37 +00:00
Timo Kreuzer
f1e2788dc6
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
2009-04-08 23:15:35 +00:00
Timo Kreuzer
9e70b2aa77
desk.cpl: update settings for dmDisplayFrequency, when changing the video mode
...
svn path=/trunk/; revision=40424
2009-04-08 23:08:02 +00:00
Timo Kreuzer
daa02beb2c
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
2009-04-08 21:52:36 +00:00
Ged Murphy
62d2e0a471
Open folders in the existing window.
...
Patch by Gabriel Ilardi
See issue #4345 for more details.
svn path=/trunk/; revision=40422
2009-04-08 20:48:23 +00:00
Cameron Gutman
2c22f42f66
- 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
2009-04-08 19:10:06 +00:00
Timo Kreuzer
60cd063c0a
Remove IntGdiSelectBrush and IntGdiSelectBrush, they are not needed anymore and superceded by DC_vUpdateFillBrush and DC_vUpdateLineBrush.
...
svn path=/trunk/; revision=40420
2009-04-08 18:10:33 +00:00
Gregor Schneider
428a48a083
- Offset coordinates with viewport origin for gradient filled triangular and rectangular shapes
...
svn path=/trunk/; revision=40418
2009-04-08 16:53:21 +00:00
Timo Kreuzer
1c33c8d19b
[FORMATTING]
...
- fix indentation
- move an internal function out of public functions area
- Use small file header
- No code change
svn path=/trunk/; revision=40417
2009-04-08 14:18:23 +00:00
Aleksey Bragin
faf1f12120
- ScsiPortNotification and ScsiPortDebugPrint are cdecl (stdcall introduced in r29277 by mistake).
...
svn path=/trunk/; revision=40416
2009-04-08 13:07:17 +00:00
Cameron Gutman
9386deff2c
- Pass the packet flags to the MiniportSend handler
...
svn path=/trunk/; revision=40413
2009-04-08 04:01:13 +00:00
Cameron Gutman
5ee60afbf2
- 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
2009-04-07 05:07:09 +00:00
Cameron Gutman
7025dd53e2
- Use ZwClose instead of NtClose
...
svn path=/trunk/; revision=40411
2009-04-07 04:22:39 +00:00
Cameron Gutman
03bd723a8b
- Set FCB->Recv.Window to NULL so it doesn't get freed again later
...
svn path=/trunk/; revision=40410
2009-04-07 04:12:57 +00:00
Timo Kreuzer
fe1ed19dca
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
2009-04-07 01:36:22 +00:00
Cameron Gutman
1862a76af4
- Return the correct status when we get a bad parameter
...
svn path=/trunk/; revision=40408
2009-04-06 23:42:08 +00:00
Christoph von Wittich
83beea82c7
sync urlmon to wine 1.1.18
...
svn path=/trunk/; revision=40407
2009-04-06 21:37:38 +00:00
Christoph von Wittich
9e85bd53f0
sync crypt32 to wine 1.1.18
...
svn path=/trunk/; revision=40406
2009-04-06 21:34:28 +00:00
Timo Kreuzer
8ac65d28d3
Go back to old logic in GdiSelectPalette. Should fix the gdi32_winetest gdiobj regression introduced in r40381.
...
svn path=/trunk/; revision=40405
2009-04-06 19:43:25 +00:00
Gregor Schneider
c26c7d7ff5
- 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
2009-04-06 18:00:48 +00:00
Dmitry Chapyshev
eba06df66c
- Sync some headers with Wine
...
- Fix ddstream.idl
svn path=/trunk/; revision=40403
2009-04-06 16:55:54 +00:00
Timo Kreuzer
68e4c888b7
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
2009-04-06 16:48:41 +00:00
Gregor Schneider
571191ce2e
- 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
2009-04-06 15:54:21 +00:00
Dmitry Chapyshev
e7588d18a9
- Sync mciavi32, mcicda with Wine head
...
svn path=/trunk/; revision=40400
2009-04-06 15:45:49 +00:00
Dmitry Chapyshev
4147173032
- Sync mscms, mscoree, msctf with Wine
...
- Remove unneeded mscoree_ros.diff
svn path=/trunk/; revision=40399
2009-04-06 15:43:12 +00:00
Christoph von Wittich
9854f20f1c
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
2009-04-06 15:42:28 +00:00
Christoph von Wittich
975df12f3c
add cryptnet_winetest to bootcd
...
svn path=/trunk/; revision=40397
2009-04-06 15:41:41 +00:00
Dmitry Chapyshev
1771f7f3ee
- Remove unneeded files (sync with Wine)
...
svn path=/trunk/; revision=40396
2009-04-06 15:39:01 +00:00
Gregor Schneider
5ce4042a38
commit #100 : add me to credits
...
svn path=/trunk/; revision=40395
2009-04-06 15:03:57 +00:00
Gregor Schneider
62d8ccbbc4
- 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
2009-04-06 14:58:12 +00:00
Aleksey Bragin
22e12898e7
- Specify NTAPI for all functions without calling convention specified (Alexey Komarov <q4a@reactos.org>).
...
- Remove (unsupported) -mrtd compiler flag.
svn path=/trunk/; revision=40393
2009-04-06 14:38:21 +00:00
Gregor Schneider
6440f4e949
- Remove error case shortcut, allows results to be computed correctly
...
- Fixes two oleaut32 vartest winetests
svn path=/trunk/; revision=40392
2009-04-06 11:39:53 +00:00
Timo Kreuzer
f0179f8ce1
[FORMATTING]
...
- fix indentation
- remove the large file header, fix the small one
svn path=/trunk/; revision=40390
2009-04-06 03:20:25 +00:00
Timo Kreuzer
579dc0993e
Improve tests for NtGdiDeleteObjectApp
...
svn path=/trunk/; revision=40389
2009-04-06 02:49:47 +00:00
Timo Kreuzer
bc4bf26694
revert miniport.h changes for now
...
svn path=/trunk/; revision=40388
2009-04-06 02:28:53 +00:00
Cameron Gutman
b5aeda7d11
- Drivers must use DelayedWorkQueue (part 2)
...
svn path=/trunk/; revision=40387
2009-04-06 02:15:43 +00:00
Timo Kreuzer
595ee18b02
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
2009-04-06 02:13:44 +00:00
Cameron Gutman
dc1bfc0941
- Drivers must use DelayedWorkQueue
...
svn path=/trunk/; revision=40385
2009-04-06 02:13:32 +00:00