Commit graph

16657 commits

Author SHA1 Message Date
Aleksey Bragin
8e8dbdf319 Initialize DeviceNumber to 0
svn path=/trunk/; revision=17857
2005-09-15 12:50:40 +00:00
Art Yerkes
f6cf8905f8 Took some advice from alex re: w32api headers. Use ..._DEFINED to override
items in the standard headers for different wordsize host.  wrc almost working
on 64-bit host.

svn path=/trunk/; revision=17856
2005-09-15 05:58:49 +00:00
Andrew Munger
ddaabb16b4 Added a text test to rosperf, and build as unicode.
svn path=/trunk/; revision=17855
2005-09-15 04:57:51 +00:00
Andrew Munger
a88a9fff19 Fix release build of string library
svn path=/trunk/; revision=17854
2005-09-15 04:51:14 +00:00
Filip Navara
0443a3b73c Update the IDC_* constants.
svn path=/trunk/; revision=17853
2005-09-14 22:13:22 +00:00
Filip Navara
d3a5c3f2bd Patricio Martínez Ros <silencium@wanadoo.es>
Spanish translation.

svn path=/trunk/; revision=17852
2005-09-14 21:07:04 +00:00
Filip Navara
b3abdb0812 Patricio Martínez Ros <silencium@wanadoo.es>
Spanish translation.

svn path=/trunk/; revision=17851
2005-09-14 21:06:35 +00:00
Andrew Munger
1b7481234a Fix regexpl so it properly prints a DWORD_LITTLE_ENDIAN.
svn path=/trunk/; revision=17850
2005-09-14 20:24:43 +00:00
Hervé Poussineau
5b76e2c8f8 Fix indentation of generated code, by letting Output method do its indenting job
svn path=/trunk/; revision=17849
2005-09-14 19:32:47 +00:00
Alex Ionescu
02eed3311f fix build
svn path=/trunk/; revision=17848
2005-09-14 02:03:17 +00:00
Alex Ionescu
e0eea608a6 ntoskrnl header cleanups
svn path=/trunk/; revision=17847
2005-09-14 01:44:19 +00:00
Alex Ionescu
e8dcb74344 ntoskrnl header cleanups
svn path=/trunk/; revision=17846
2005-09-14 01:05:50 +00:00
Alex Ionescu
a6f1511ecb ntoskrnl header cleanups
svn path=/trunk/; revision=17845
2005-09-13 23:48:54 +00:00
Alex Ionescu
11272023e5 Part 1 of <many> ntoskrnl header cleanups
svn path=/trunk/; revision=17844
2005-09-13 23:28:21 +00:00
Royce Mitchell III
10f2fdca23 zero out the struct and disable code that has no connection with reality - I'm thinking MIIM_STRING should be removed from flags also, but I have not tested with that change.
svn path=/trunk/; revision=17843
2005-09-13 23:04:32 +00:00
Alex Ionescu
4d1f146406 Filip doesn't like int3. Implemented Trap6 failure on bad stack and V86M syscall return
svn path=/trunk/; revision=17842
2005-09-13 20:26:57 +00:00
Alex Ionescu
99e5e010dc Properly bias frame, remove bugcheck added for debugging, re-add bugcheck removed for debugging
svn path=/trunk/; revision=17841
2005-09-13 20:13:05 +00:00
Alex Ionescu
736e7b9af0 Missing files...
svn path=/trunk/; revision=17840
2005-09-13 19:41:07 +00:00
Alex Ionescu
38b63156fa Sorry for the debug messages.
svn path=/trunk/; revision=17839
2005-09-13 19:34:48 +00:00
Alex Ionescu
7a5244c46d Some work-in-progress improvements and rethought of system-level code...notable improvemnts till now are: -The KTHREAD alterted flag is now properly set to FALSE during APC delivery during traps, -More support for PKEXCEPTION_FRAME has been added for future PPC/IA64/etc compatibility -Context to/from TrapFrame functions have been greatly fixed to allow for edited frames, special cases, exceptions and also have the necessary support for supporting sanitation based on PreviousMode - KDBG now shows the proper CS/SS at all times, previous hack was removed. - Systemcall code was optimized a bit and the trap code was made a lot more generic so that in can be made into macros (it currently isn't, for debugging purposes). - V86 Mode trap frame bias has now been added to make trap code a lot more generic and shareable in the future. -More support and fixes for future Debugging capabilities have been added. - Random other scalability and stability code. This is still being worked on, syscall.S looks nasty for now (visually)
svn path=/trunk/; revision=17838
2005-09-13 19:33:49 +00:00
Royce Mitchell III
3b0cfca870 rename variable and change parameters in call to find_last_not_of() to hopefully be a little more accurate to what it's doing
svn path=/trunk/; revision=17837
2005-09-13 19:11:37 +00:00
Royce Mitchell III
130efbb545 fix bug in GetBinutilsVersion()
svn path=/trunk/; revision=17836
2005-09-13 19:04:24 +00:00
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