Commit graph

16685 commits

Author SHA1 Message Date
Hartmut Birr
7f94d6e5bf - Freed the path string for the keyboard dll.
- Freed some strings in all cases.

svn path=/trunk/; revision=17835
2005-09-13 18:08:18 +00:00
Hartmut Birr
535a223492 Fixed the declaration of RtlPinAtomInAtomTable.
svn path=/trunk/; revision=17834
2005-09-13 18:04:00 +00:00
Gregor Anich
887b31e11d Implement QUERYESCSUPPORT escape in ExtEscape (returns FALSE always)
svn path=/trunk/; revision=17832
2005-09-13 14:46:48 +00:00
Gregor Anich
75413f5545 Query support for opengl-driver-info escape before calling it and some other minor changes.
svn path=/trunk/; revision=17831
2005-09-13 14:46:00 +00:00
Royce Mitchell III
0dbbd80237 copy&paste enhancement
patch by "brbak"
(see bug 749)

svn path=/trunk/; revision=17830
2005-09-13 14:34:48 +00:00
Royce Mitchell III
03d6ef4607 fix crash in 'make msvc'
svn path=/trunk/; revision=17829
2005-09-13 11:57:50 +00:00
Steven Edwards
a9c581cdb7 added LGPL license header to the code from Wine and Patrik Stridvall and Royce Mitchell III as authors
svn path=/trunk/; revision=17828
2005-09-13 03:51:18 +00:00
Steven Edwards
e9a29bad13 started working on generation of msvc2kX project files. THESE ARE NOT CORRECT. Right now its just a copy of the existing msvc6 generation code. It will generate a *.sln and *.vcproj files however they are still in the old format.
svn path=/trunk/; revision=17827
2005-09-13 03:46:22 +00:00
Hervé Poussineau
5b89cb0136 Kimmo Myllyvirta <kimmo.myllyvirta@gmail.com>
Added Finnish resources.

svn path=/trunk/; revision=17826
2005-09-12 21:48:21 +00:00
Royce Mitchell III
638efc58aa security audit of explorer code...
strcpy -> lstrcpyn
strncpy -> lstrcpyn
[v]sprintf -> [v]snprintf
moved common Shell::get_path() subclass implementations into Shell::get_path_base() and made function overflow-proof
make other non-common subclass implementations of get_path overflow-proof

svn path=/trunk/; revision=17825
2005-09-12 21:46:09 +00:00
Royce Mitchell III
da407213dc msvc6 warning fix - cast return value of SHAlloc()
svn path=/trunk/; revision=17824
2005-09-12 20:07:29 +00:00
Royce Mitchell III
6994c4711b msvc6 warning fix - cast return value of SHAlloc()
svn path=/trunk/; revision=17823
2005-09-12 20:04:49 +00:00
Royce Mitchell III
6ad405d90f fix breakage - sorry
svn path=/trunk/; revision=17822
2005-09-12 19:58:34 +00:00
Magnus Olsen
831020dc3d DoCommand()
Remove one more hardcode buffer size. Remove limit command to MAX_PATH. No check for limit command line-

svn path=/trunk/; revision=17821
2005-09-12 19:50:16 +00:00
Gé van Geldorp
6ceb694074 Bletch <npwoods@mess.org>
- Implements the Encoding field when you save, allowing the user to save as
  ANSI, Unicode or UTF-8
- Invoking 'Save As' after saving or loading a file will default to the
  earlier filename
(minor changes by GvG, so mistakes are mine).

svn path=/trunk/; revision=17820
2005-09-12 17:10:00 +00:00
Royce Mitchell III
5fbac4d9e6 msvc6 compatibility and small performance improvement in filename completion
svn path=/trunk/; revision=17819
2005-09-12 16:06:53 +00:00
Royce Mitchell III
811a8addb8 io.h only exists for win32 - sorry *nix users
svn path=/trunk/; revision=17818
2005-09-12 14:55:55 +00:00
Royce Mitchell III
912eda64c8 fix warning about unlink() being undeclared
svn path=/trunk/; revision=17817
2005-09-12 14:33:57 +00:00
Alex Ionescu
025e6f6975 Fix previous strangely incomplete NtRaiseException implementation and re-enable the ProbeForRead call that failed
svn path=/trunk/; revision=17816
2005-09-12 03:59:03 +00:00
Alex Ionescu
2dfe1a384e Fix bug in KiUserExceptionDispatcher
svn path=/trunk/; revision=17815
2005-09-12 03:10:08 +00:00
Alex Ionescu
9e5af04e26 Fix RtlpGetStackLimits to get the right limits if called in kernel-mode (separated implementations). Also don't return from _SEH_TRY blocks, because PSEH doesn't support this. Also temporarly disable a ProbeForRead check in KiContinue because it currently causes trouble
svn path=/trunk/; revision=17814
2005-09-12 02:57:47 +00:00
Royce Mitchell III
19ca3d1d83 patch by Alex_Ionescu - fixes crash in usb driver on bootup in vmware
svn path=/trunk/; revision=17813
2005-09-12 01:32:11 +00:00
Royce Mitchell III
2f35400d27 document parameter names
svn path=/trunk/; revision=17812
2005-09-12 01:31:24 +00:00
Alex Ionescu
b9020b11dd Major refactoring of the exception handling code + misc fixes:
- Fix/add prototypes for RtlCaptureContext, RtlDispatchException and RtlUnwind
	- Fix EXCEPTION_REGISTRATION_RECORD structure and PEXCEPTION_ROUTINE
	- Add w32api excpt.h (based on mingw) with PSDK compatibility fixes
	- Fix seriously broken User-Mode Ldr thunk and APC Callback prototypes
	- Fix KiUserExceptionDispatcher
	- Remove useless NTDLL entrypoint
	- Implement NTDLL Ki* callbacks in ASM
	- Implement RtlCaptureContext
	- Fix RtlRaiseException to handle cases when a user-mode debugger is present
	- Fix RtlRaiseStatus as above, plus set the exception address and capture context
	- Little cleanup of RTL headers
	- Implement RtlpGetStackLimits, RtlpGetExceptionList, RtlpSetExceptionList, RtlpGetExceptionAddress in ASM
	- Fix RtlDispatchException, add cases for exceptions in the DPC stack and validate the validity of the 
exception frames. Add support for exception logging by the global flag. Use TRAP_FRAME/EXCPETION_FRAME instead of 
Context.
	- Fix RtlUnwind logic, support cases where it's called with custom arguments instead of NULL.
	- Reimplement RtlpCaptureContext to work properly, convert exception handler calling functions to INTEL syntax 
and fix some bugs (like checking for the right unwind flag, clearing volatile register values, etc. Also use some 
optimizations to increase speed.
	- Modify some kernel functions (like KeContextToTrapFrame, KiDispatchException, KiInitializeUserApc, etc.) to 
support a PKEXCEPTION_FRAME for future PPC compatibility.
	- Reimplement RtlCaptureUnicodeString/FreeUnicodeString as inlined probe macros and optimize them.
	- Export ExRaiseStatus/Exception as Rtl*
	- Reimplement NtContinue to have more platform-independent code, and to protect and validate user-mode context 
and parameters with SEH.
	- Implement KiRaiseException, add SEH to all user-mode parameters and when copying data to the user-mode stack.
	- Fix KiInitializeUserApc to use KeTrapFrameToContext, to save the debug registers, not to deliver APCs during 
v86 mode, and to protect user-mode stack operations in SEH and probing. Also make it generate the proper stack for the 
user-mode callback. 
	- Implement KiUnexpectedInterrupt and KiCoprocessorError
	- Reimplement NtRaiseException in ASM to take advantage of optimizations due to the trap frame being in the 
stack when called through System call interface.
	- Fix Ntcontinue to respect AlertThread paramter
	- Fix some functiosn to return with KiServiceExit2 instead of KiServiceExit when required/needed
	- Fix KiDispatchException's logic, fix hacks when calling KeUserExceptionDispatcher, use correct context 
flags,...
	- Make NTDLL Ki* callbacks have SEH to protect them and return to kernel-mode with notification of any 
exceptions (the kernel-mode code to handle this isn't written yet though)

svn path=/trunk/; revision=17811
2005-09-11 22:32:20 +00:00
Magnus Olsen
801ad7223f Do not compile cmd to unicode, if we do pipe will be 100% broken then.
svn path=/trunk/; revision=17810
2005-09-11 21:19:32 +00:00
Gunnar Dalsnes
f5449547b6 fix referencing bug (ros crashed during setup if mousemove) in co_WinPosSearchChildren
svn path=/trunk/; revision=17809
2005-09-11 21:05:32 +00:00
Magnus Olsen
3a98addd02 Make some more dymatic buffer and correct some free()
svn path=/trunk/; revision=17808
2005-09-11 20:41:39 +00:00
Brandon Turner
6b218f4e59 simple fix for 'del foo' where foo is a folder.
svn path=/trunk/; revision=17807
2005-09-11 20:26:36 +00:00
Magnus Olsen
f586d22df5 Do not crash if the prompt command name are binger that 260char or the command line.
svn path=/trunk/; revision=17806
2005-09-11 20:16:37 +00:00
Brandon Turner
4b1a13ae2f Windows style auto complete should only return folders then the preceding command is cd or rd.
svn path=/trunk/; revision=17805
2005-09-11 19:40:45 +00:00
Gé van Geldorp
0c1c382528 The system menu is allowed to have an unnamed entry which is not a separator
svn path=/trunk/; revision=17804
2005-09-11 17:59:52 +00:00
Magnus Olsen
de603dba17 Update the swedish translation by Harteex
svn path=/trunk/; revision=17803
2005-09-11 17:47:00 +00:00
Gunnar Dalsnes
fdafc67fbe -refcount reworking (simplification & improvement)
-make functions deal with pointers, not handles
-misc formatting

svn path=/trunk/; revision=17802
2005-09-11 14:48:32 +00:00
Eric Kohl
9e486c444b - CFGMGR32.DLL: Forward implemented functions to SETUPAPI.DLL.
- SETUPAPI.DLL: Use PNP_EnumerateSubKeys to implement CM_Enumerate_Classes_Ex.

svn path=/trunk/; revision=17801
2005-09-11 14:38:57 +00:00
Hervé Poussineau
61420d12f3 Signal USB device arrivals to PnP manager
svn path=/trunk/; revision=17800
2005-09-11 13:55:23 +00:00
Hervé Poussineau
cde1a0c17d Disable USB keyboard and mouse support, as they conflict with i8042prt driver.
We need to change kbdclass/mouclass to be an upper filter of keyboard/mouse device objects (which would become unnamed), and to support multiple keyboards/mice

svn path=/trunk/; revision=17799
2005-09-11 13:55:18 +00:00
Filip Navara
019de62105 Make _strtoui64 an alias of strtoull.
svn path=/trunk/; revision=17798
2005-09-11 13:05:33 +00:00
Filip Navara
c25a8a58af Fix strtoull implementation and add it to build files. Based on patch by Mark Junker <mjscod@gmx.de>.
svn path=/trunk/; revision=17797
2005-09-11 12:36:09 +00:00
Aleksey Bragin
a43952c66b updated wait_for_completion, should work similar to schedule_timeout.
svn path=/trunk/; revision=17796
2005-09-11 11:59:25 +00:00
Hervé Poussineau
3745fc25ff Let OHCI miniport use shared code in drivers/usb/miniport/common/*, instead of duplicating it
svn path=/trunk/; revision=17795
2005-09-11 11:40:43 +00:00
Hervé Poussineau
975f584df9 Display debug error message only when action fails
svn path=/trunk/; revision=17794
2005-09-11 09:23:16 +00:00
Art Yerkes
24a13ab689 Previously, the first character written to the buffer was random (off the
stack).  Not sure why this didn't blow up for others.  Make sure we fill
one character before placing one in the buffer.

svn path=/trunk/; revision=17793
2005-09-11 09:19:24 +00:00
Eric Kohl
ac5798e0c9 - Implement CM_Enumerate_Enumerators_ExA.
- Fix a typo in PNP_EnumerateSubKeys.

svn path=/trunk/; revision=17792
2005-09-11 08:45:02 +00:00
Hervé Poussineau
f535ffe39f xHCI:
* Fix value returned by IRP_MN_QUERY_CAPABILITIES and IOCTL_INTERNAL_USB_GET_ROOT_USB_DEVICE
* Remove debug output
USBHUB:
* Don't enumerate too much children. Display informations about them

svn path=/trunk/; revision=17791
2005-09-10 23:50:28 +00:00
Gé van Geldorp
98f577158f Fix some object/handle victims. Fixes bug 765.
svn path=/trunk/; revision=17790
2005-09-10 23:01:56 +00:00
Hartmut Birr
3a292fe93d - Acquire the temporary buffer from non paged pool in NtQueryDirectoryObject, because the buffer is accessed at DPC_LEVEL.
- Do always add an empty entry at the end of the buffer

svn path=/trunk/; revision=17789
2005-09-10 22:35:08 +00:00
Gé van Geldorp
829763c4d7 Handle .msi files
svn path=/trunk/; revision=17788
2005-09-10 20:19:23 +00:00
Gé van Geldorp
58c1ccc051 Also add registry entries when driver files are already present
svn path=/trunk/; revision=17787
2005-09-10 19:37:20 +00:00
Gé van Geldorp
3276e52050 Auto-determine base of DWORD registry entries.
Fixes bug 764.

svn path=/trunk/; revision=17786
2005-09-10 19:21:49 +00:00
Eric Kohl
f913bdb378 - Implement CM_Enumerate_Enumerators[_Ex]A/W
- Fix PNP_EnumerateSubKeys

svn path=/trunk/; revision=17785
2005-09-10 19:01:44 +00:00