Commit graph

9718 commits

Author SHA1 Message Date
Hartmut Birr
405e3b3822 - Removed IOCTL_DISK_CHECK_VERIFY. We must use the port driver to detect the current state of the drive.
svn path=/trunk/; revision=10000
2004-07-05 21:42:05 +00:00
Hartmut Birr
fac1d981b1 - Removed the using of the media change count to recognize a median change.
svn path=/trunk/; revision=9999
2004-07-05 21:39:02 +00:00
Jason Filby
52f4f6acef lstrcpy and lstrcat should return NULL if the string to copy to is NULL instead of crashing; verified by a test app on Windows XP
svn path=/trunk/; revision=9998
2004-07-04 18:11:49 +00:00
Filip Navara
907bf3c0a8 - Fixed NumLock, CapsLock and ScrollLock handling in ConioGetShiftState.
svn path=/trunk/; revision=9997
2004-07-04 17:22:33 +00:00
Filip Navara
91008697a8 - Use absolute value of the color difference when calculating color match rating.
svn path=/trunk/; revision=9996
2004-07-04 17:09:45 +00:00
Filip Navara
dd64375195 - Guard against out of bounds access to KeyboardLayout->pusVSCtoVK in W32kKeyProcessMessage.
- Fixed SetKeyState to correctly index the keyboard state table.

svn path=/trunk/; revision=9995
2004-07-04 17:08:40 +00:00
Filip Navara
78ae714754 - Fix GDI object locking broken by this patch:
http://reactos.com:8080/archives/public/ros-cvs/2004-July/004334.html

svn path=/trunk/; revision=9994
2004-07-04 12:00:40 +00:00
Filip Navara
390647c9fb - Send the cursor to display driver in top-down format.
svn path=/trunk/; revision=9993
2004-07-04 11:18:56 +00:00
Hartmut Birr
5c7b116b28 - Fixed a bug in IoCsqRemoveIrp and IoCsqRemoveNextIrp.
svn path=/trunk/; revision=9992
2004-07-04 08:30:28 +00:00
Gé van Geldorp
62a8ad0e87 Mike McCormack <mike@codeweavers.com>
- Fix a buffer overrun in autocomplete.

svn path=/trunk/; revision=9991
2004-07-04 06:56:41 +00:00
Filip Navara
31456c578a - Don't continue execution if there is no exception handler. It's common that continuing such execution would result in the same exception again and thus creating infinite loop.
svn path=/trunk/; revision=9990
2004-07-04 02:01:02 +00:00
Filip Navara
9ac102fb17 - Support resursive locking of the GDI objects.
- Call EngMovePointer instead of DrvMovePointer if driver DrvSetPointerShape returned SPS_DECLINE.

svn path=/trunk/; revision=9989
2004-07-04 01:23:32 +00:00
Royce Mitchell III
f5d1bff687 small fix to constant we aren't even using, yet, but should
svn path=/trunk/; revision=9988
2004-07-04 00:33:26 +00:00
Filip Navara
05345c056a - Allocate memory from paged pool in EngAllocMem.
svn path=/trunk/; revision=9987
2004-07-03 22:36:27 +00:00
Filip Navara
0c94f9e2c2 - Fixed buffer handling and coordinate translation in IntGdiPolyline.
svn path=/trunk/; revision=9986
2004-07-03 22:36:01 +00:00
Filip Navara
4d9b237e6d - Don't use the "cpu" directive because NASM 0.98 doesn't support it.
svn path=/trunk/; revision=9985
2004-07-03 18:41:56 +00:00
Filip Navara
8fab52126f - Fix errors during optimized build.
svn path=/trunk/; revision=9983
2004-07-03 17:40:27 +00:00
Hartmut Birr
e251c53983 - Fixed a bug, which prevents an opening of files, if the file name contains short path names.
svn path=/trunk/; revision=9982
2004-07-03 17:31:30 +00:00
Hartmut Birr
ba93d9c7b0 - Implemented GuiConsoleHandleClose.
svn path=/trunk/; revision=9981
2004-07-03 17:17:05 +00:00
Hartmut Birr
c973b907c8 - Try to get or to allocate the process data structure in ServerApiPortThread.
- Changed the initialization sequence in CsrServerInitialization.

svn path=/trunk/; revision=9980
2004-07-03 17:15:02 +00:00
Hartmut Birr
9a64b81079 - Allowed multiple calls to CsrClientConnectToServer.
- Removed CsrIsCsrss.

svn path=/trunk/; revision=9979
2004-07-03 17:13:09 +00:00
Gé van Geldorp
60d9c7030d Remove debugging statement
svn path=/trunk/; revision=9978
2004-07-03 14:46:39 +00:00
Filip Navara
0a89ed6e1c [Sorry for too many changes in one patch, but it's nearly impossible to separate it without breaking the functionality]
- Remove the eng/brush.h header and all occurrences of BRUSHINST.
- Remove eng/nls.c and make the NLS functions forward exports to ntoskrnl.
- Remove DDBITMAP definition.
- Overall cleanup of eng/xlate.c.
- Stop processing if exact match is found in ClosestColorMatch.
- Move SURFGDI->PointerStatus to GDIDEVICE structure.
- Remove the GDIDEVICE->DriverLock.
- Replace BITMAP by SURFOBJ in BITMAPOBJ structure and added two new members (Flags and Hooks).
- Replace function pointers to driver functions in SURFGDI with flHooks variable specifying the bitmask of hooked functions.
- Added two new macros: GDIDEV and GDIDEVFUNCS.
- Fixed locking in NtGdiGetBitmapBits.
- Removed IntCopyBitmap and replaced it's usage by BITMAPOBJ_CopyBitmap.
- Fixed setting of SURFOBJ->pvBits and SURFOBJ->pvScan0 in EngCreateBitmap for bottom-up surfaces.
- Fix DPRINTs.
- Remove unused definitions from eng/objects.h.
- Call IntEngBitBlt instead of EngBitBlt from EngCopyBits.
- Correctly set the SURFOBJ->hsurf field.
- Merge Engine surface handling with the GDI one and remove DC->Surface, SURFGDI, BitmapToSurf.
- Support for bottom-up mouse cursors in the Eng* cursor emulation routines.
- Fix locking in error cases of NtGdiRestoreDC (get Primitives demo to start).
- Fix BitmapFormat to return 0 for unknown bit depth.
- Move code from EngCreateBitmap to IntCreateBitmap and use this function in EngCreateBitmap, NtGdiCreateBitmap and DIB_CreateDIBSection.
- New implementation of NtGdiGetDIBits.

svn path=/trunk/; revision=9977
2004-07-03 13:55:37 +00:00
Filip Navara
ac183abd23 - Handle correctly bottom-up surfaces in the VGA driver.
svn path=/trunk/; revision=9976
2004-07-03 13:45:42 +00:00
Gé van Geldorp
40afa3d500 NtCreateKey doesn't create nested keys, but RegCreateKey should. Fixes
issues 2) and 3) of bug #331

svn path=/trunk/; revision=9975
2004-07-02 21:20:51 +00:00
Royce Mitchell III
14377c13f5 small cleanup
svn path=/trunk/; revision=9974
2004-07-02 21:02:54 +00:00
Eric Kohl
8af3ba8548 Add partial implementation of the environment variables dialog.
svn path=/trunk/; revision=9973
2004-07-02 20:28:00 +00:00
Gé van Geldorp
0155d5acde Only accept matching palette
svn path=/trunk/; revision=9972
2004-07-02 20:04:48 +00:00
Royce Mitchell III
b04f8c0e22 oops, if you're going to move a function, get rid of the old one... sorry...
svn path=/trunk/; revision=9971
2004-07-02 12:43:38 +00:00
Gé van Geldorp
386450b018 Fix WinExec return value
svn path=/trunk/; revision=9970
2004-07-02 12:18:04 +00:00
Thomas Bluemel
7bca32fad2 allow changing the cursor position with the mouse
svn path=/trunk/; revision=9969
2004-07-02 08:46:50 +00:00
Art Yerkes
9860c72592 Added installation of services file needed for getservbyname and kin.
The services file was created by Cameron Palmer from the official IANA
list.

svn path=/trunk/; revision=9968
2004-07-02 08:06:47 +00:00
Royce Mitchell III
c76e499296 NtRaiseException fixed to not clobber EAX any more, and both NtContinue and NtRaiseException no longer clobber EDX. kmode SEH works now, but there are likely some lingering bugs. This patch was made possible by the collaborative efforts of myself, kjk_hyperion, Art Yerkes, and Skywing.
svn path=/trunk/; revision=9967
2004-07-02 01:36:25 +00:00
Alex Ionescu
6a225669b5 Services file for WS2_32.dll, created by Cameron Palmer.
svn path=/trunk/; revision=9966
2004-07-02 01:26:29 +00:00
Royce Mitchell III
2275555927 (remove old disabled code)
svn path=/trunk/; revision=9965
2004-07-02 01:23:26 +00:00
Royce Mitchell III
837baf14b4 NtContinue fixed to return failure on invalid params ( not checking for access violations yet ), but not clobber EAX on success. This patch was made possiblel by the collaborative efforts of myself, kjk_hyperion, Art Yerkes, and Skywing.
svn path=/trunk/; revision=9964
2004-07-02 00:47:57 +00:00
Royce Mitchell III
8467d37d7d merge in kjk_hyperion's ZwContinue test
svn path=/trunk/; revision=9963
2004-07-01 23:58:44 +00:00
Thomas Bluemel
d0ea8e8ce1 merge patch from wine by Robert Shearman (http://www.winehq.org/hypermail/wine-patches/2004/06/0108.html)
svn path=/trunk/; revision=9962
2004-07-01 23:56:04 +00:00
Thomas Bluemel
ecae0d0647 some little fixes
svn path=/trunk/; revision=9961
2004-07-01 23:36:57 +00:00
Gé van Geldorp
db3e54f680 Don't reset LastError on success
svn path=/trunk/; revision=9960
2004-07-01 22:36:16 +00:00
Gé van Geldorp
1c2af8076a Handle file names like ./somename in SearchPath()
svn path=/trunk/; revision=9959
2004-07-01 22:35:35 +00:00
Eric Kohl
820eaf8fce Fix a typo. Now the 'Advanced' page shows again.
svn path=/trunk/; revision=9958
2004-07-01 20:27:50 +00:00
Filip Navara
b4dc709c43 CVS maintaince
svn path=/trunk/; revision=9957
2004-07-01 18:12:47 +00:00
KJK::Hyperion
fdd518ddac Merging the KJKHyperion-RtlUnwind branch back into HEAD
svn path=/trunk/; revision=9956
2004-07-01 02:40:23 +00:00
Royce Mitchell III
209e1d7692 cleanup/reformat syscall code, save return value as soon as possible so that eax is freed up, which also simplifies the implementation of KiAfterSystemCallHook(), also removes a couple redundant instructions.
svn path=/trunk/; revision=9955
2004-07-01 01:52:37 +00:00
Steven Edwards
aa33e15965 Merge in Winehq commits. - not enabled yet
svn path=/trunk/; revision=9953
2004-06-30 20:51:45 +00:00
Steven Edwards
6cfb2b5848 Merge in Winehq commits.
svn path=/trunk/; revision=9952
2004-06-30 20:42:18 +00:00
Gé van Geldorp
8eb23c9e6c Fix IFileSystemBindData method order again.
svn path=/trunk/; revision=9951
2004-06-30 20:40:02 +00:00
Steven Edwards
e050a4dd03 Merge in Winehq commits.
svn path=/trunk/; revision=9950
2004-06-30 20:19:25 +00:00
Steven Edwards
458aec49c1 Merge in Winehq commits.
svn path=/trunk/; revision=9949
2004-06-30 19:14:24 +00:00