reactos.git
16 years agoDon't check the share access for directories.
Hartmut Birr [Sun, 18 Sep 2005 13:10:43 +0000 (13:10 +0000)]
Don't check the share access for directories.

svn path=/trunk/; revision=17910

16 years agogive GetFileAttributesExW more NtOpenFile right to prevent reactos crash if u using...
Magnus Olsen [Sun, 18 Sep 2005 12:05:57 +0000 (12:05 +0000)]
give GetFileAttributesExW more NtOpenFile right to prevent reactos crash if u using CreateFile then  GetFileAttributesExW. It also fix a bug for me for livecd it booting on first try now in vmware. instead second or more booting try.

svn path=/trunk/; revision=17909

16 years agoClean up patch from filip, with small change from me, for MoveFileWithProgressW.
Magnus Olsen [Sun, 18 Sep 2005 11:18:28 +0000 (11:18 +0000)]
Clean up patch from filip, with small change from me, for MoveFileWithProgressW.

svn path=/trunk/; revision=17908

16 years agoImplement second part of move folder. Now we can move empty folder. we need add code...
Magnus Olsen [Sun, 18 Sep 2005 09:29:37 +0000 (09:29 +0000)]
Implement second part of move folder. Now we can move empty folder. we need add code for move folder with contain now.

svn path=/trunk/; revision=17907

16 years ago1) strip ^ escapes from text before processing set command
Royce Mitchell III [Sun, 18 Sep 2005 03:52:34 +0000 (03:52 +0000)]
1) strip ^ escapes from text before processing set command
2) recursive descent implementation of set /a - should fix bug 728
(In case anyone checks I realized there were some gaping holes in the implementation I posted to the ml, so this one is modified from it. This code could stand to benefit from a comprehensive feature/regression test.)

svn path=/trunk/; revision=17906

16 years agoFix user-mode stack trace regression caused by my exception patch. Traces are now...
Alex Ionescu [Sun, 18 Sep 2005 03:26:52 +0000 (03:26 +0000)]
Fix user-mode stack trace regression caused by my exception patch. Traces are now shown again

svn path=/trunk/; revision=17905

16 years ago_getch() doesn't echo the chars it retrieves and operates in raw mode.
Gé van Geldorp [Sat, 17 Sep 2005 22:33:53 +0000 (22:33 +0000)]
_getch() doesn't echo the chars it retrieves and operates in raw mode.

svn path=/trunk/; revision=17904

16 years agoDo not overwrite the disk signature, if we install the boot code into the mbr.
Hartmut Birr [Sat, 17 Sep 2005 22:00:35 +0000 (22:00 +0000)]
Do not overwrite the disk signature, if we install the boot code into the mbr.

svn path=/trunk/; revision=17903

16 years agoCount each handle which has pending events only once, independent of the number
Gé van Geldorp [Sat, 17 Sep 2005 21:22:47 +0000 (21:22 +0000)]
Count each handle which has pending events only once, independent of the number
of pending events. Fixes bug 779.

svn path=/trunk/; revision=17902

16 years agoFix some part of MoveFileExW Bug, Can not move folder, but it still can not move...
Magnus Olsen [Sat, 17 Sep 2005 21:02:38 +0000 (21:02 +0000)]
Fix some part of MoveFileExW Bug, Can not move folder, but it still can not move folder. some bit more work.

svn path=/trunk/; revision=17901

16 years agoAdd back support for older binutils versions
Gé van Geldorp [Sat, 17 Sep 2005 19:38:34 +0000 (19:38 +0000)]
Add back support for older binutils versions

svn path=/trunk/; revision=17900

16 years agoOpen handle to sfd.sys as asynchromous. This fixes bug 713.
Gé van Geldorp [Sat, 17 Sep 2005 19:30:05 +0000 (19:30 +0000)]
Open handle to sfd.sys as asynchromous. This fixes bug 713.

svn path=/trunk/; revision=17899

16 years agoBug fix dir *. it only show folders
Magnus Olsen [Sat, 17 Sep 2005 18:56:16 +0000 (18:56 +0000)]
Bug fix dir *. it only show folders

svn path=/trunk/; revision=17898

16 years ago- String id 0 becomes a reserved (invalid) id.
Eric Kohl [Sat, 17 Sep 2005 17:16:33 +0000 (17:16 +0000)]
- String id 0 becomes a reserved (invalid) id.
- StringTableStringFromId returns a pointer to an empty string if the string id is invalid.
This fixes the stringtable tests.

svn path=/trunk/; revision=17897

16 years agoUpdate the swedish translation by Harteex.
Magnus Olsen [Sat, 17 Sep 2005 16:02:37 +0000 (16:02 +0000)]
Update the swedish translation by Harteex.

svn path=/trunk/; revision=17896

16 years agoFix "numberf" function to correctly handle 'g' format specifier. Debugged by Michael...
Royce Mitchell III [Sat, 17 Sep 2005 13:48:38 +0000 (13:48 +0000)]
Fix "numberf" function to correctly handle 'g' format specifier. Debugged by Michael Fritscher <michael@fritscher.net>
(fixed a couple return values while I was in there)

svn path=/trunk/; revision=17895

16 years agoFix "numberf" function to correctly handle 'g' format specifier. Debugged by Michael...
Filip Navara [Sat, 17 Sep 2005 11:20:25 +0000 (11:20 +0000)]
Fix "numberf" function to correctly handle 'g' format specifier. Debugged by Michael Fritscher <michael@fritscher.net>.

svn path=/trunk/; revision=17894

16 years agoPatricio Martínez Ros <silencium@wanadoo.es>
Filip Navara [Sat, 17 Sep 2005 10:55:29 +0000 (10:55 +0000)]
Patricio Martínez Ros <silencium@wanadoo.es>
Spanish translation.

svn path=/trunk/; revision=17893

16 years agoadd new winefile icon images in 48x48 and 16x16 resolutions
Martin Fuchs [Sat, 17 Sep 2005 10:54:46 +0000 (10:54 +0000)]
add new winefile icon images in 48x48 and 16x16 resolutions

svn path=/trunk/; revision=17892

16 years agoadd comment
Martin Fuchs [Sat, 17 Sep 2005 10:52:43 +0000 (10:52 +0000)]
add comment

svn path=/trunk/; revision=17891

16 years agoHopefully the last in a series of fixes for size of maximized windows
Gé van Geldorp [Fri, 16 Sep 2005 21:15:58 +0000 (21:15 +0000)]
Hopefully the last in a series of fixes for size of maximized windows

svn path=/trunk/; revision=17890

16 years agoBletch <npwoods@mess.org>
Gé van Geldorp [Fri, 16 Sep 2005 20:13:26 +0000 (20:13 +0000)]
Bletch <npwoods@mess.org>
Partially implemented the treeview right-click menu on Regedit. Just supporting
Expand and Collapse for now, and also started work on renaming keys.

svn path=/trunk/; revision=17889

16 years agoRegQueryValueExW retrieves Unicode strings but the size must be specified in
Gé van Geldorp [Fri, 16 Sep 2005 19:47:44 +0000 (19:47 +0000)]
RegQueryValueExW retrieves Unicode strings but the size must be specified in
bytes. Fixes bug 770.

svn path=/trunk/; revision=17888

16 years agoDo some boundschecking on iOrder. Fixes bug 770.
Gé van Geldorp [Fri, 16 Sep 2005 18:18:48 +0000 (18:18 +0000)]
Do some boundschecking on iOrder. Fixes bug 770.

svn path=/trunk/; revision=17887

16 years agoFix release build of ntdll by adding __NO_CTYPE_INLINES to rtl.xml
Andrew Munger [Fri, 16 Sep 2005 18:07:19 +0000 (18:07 +0000)]
Fix release build of ntdll by adding __NO_CTYPE_INLINES to rtl.xml

svn path=/trunk/; revision=17886

16 years agoFix release build of dflat32, initalizing some vars and fixing one typo.
Andrew Munger [Fri, 16 Sep 2005 18:00:49 +0000 (18:00 +0000)]
Fix release build of dflat32, initalizing some vars and fixing one typo.

svn path=/trunk/; revision=17885

16 years agoFix "var might be used uninitialized" warning
Gé van Geldorp [Fri, 16 Sep 2005 17:53:40 +0000 (17:53 +0000)]
Fix "var might be used uninitialized" warning

svn path=/trunk/; revision=17884

16 years agoOnly access dwTypeData if the caller pronounced it valid.
Gé van Geldorp [Fri, 16 Sep 2005 15:34:19 +0000 (15:34 +0000)]
Only access dwTypeData if the caller pronounced it valid.

svn path=/trunk/; revision=17883

16 years agoFree all messages in LpcpDeletePort.
Hartmut Birr [Fri, 16 Sep 2005 15:18:23 +0000 (15:18 +0000)]
Free all messages in LpcpDeletePort.

svn path=/trunk/; revision=17882

16 years agostart even console apps in there own new window. caught by GvG.
Brandon Turner [Fri, 16 Sep 2005 15:18:07 +0000 (15:18 +0000)]
start even console apps in there own new window.  caught by GvG.

svn path=/trunk/; revision=17881

16 years agofix a bug in 'if exsist', it was only reading to the first space for the file name...
Brandon Turner [Fri, 16 Sep 2005 15:00:22 +0000 (15:00 +0000)]
fix a bug in 'if exsist', it was only reading to the first space for the file name, ignoring quotes and there fore searching for bad file names.

svn path=/trunk/; revision=17880

16 years agoDereference the port object in PspExitThread.
Hartmut Birr [Fri, 16 Sep 2005 14:50:25 +0000 (14:50 +0000)]
Dereference the port object in PspExitThread.

svn path=/trunk/; revision=17879

16 years agoSet errorlevel to 0 when user enters 'no' on del confirmation. this is how MS does it.
Brandon Turner [Fri, 16 Sep 2005 13:58:37 +0000 (13:58 +0000)]
Set errorlevel to 0 when user enters 'no' on del confirmation.  this is how MS does it.

svn path=/trunk/; revision=17878

16 years agoadded support for test on 2k,XP and 2k3. Check for a bug in our implementation and...
Steven Edwards [Fri, 16 Sep 2005 08:48:00 +0000 (08:48 +0000)]
added support for test on 2k,XP and 2k3. Check for a bug in our implementation and wrap it in a todo_wine block

svn path=/trunk/; revision=17877

16 years agoWhen searching for a file to execute, if you fail to find it using the first part...
Brandon Turner [Fri, 16 Sep 2005 05:51:20 +0000 (05:51 +0000)]
When searching for a file to execute, if you fail to find it using the first part of the input, try to use the full line input.  problem is really only seen when doing "start foo.bat".

svn path=/trunk/; revision=17876

16 years ago"start" or "start cmd" now opens a new cmd.exe in its own process. this is how MS...
Brandon Turner [Fri, 16 Sep 2005 05:35:43 +0000 (05:35 +0000)]
"start" or "start cmd" now opens a new cmd.exe in its own process.  this is how MS cmd does it.

svn path=/trunk/; revision=17875

16 years agolast time. fix a typo. im so sorry!
Brandon Turner [Fri, 16 Sep 2005 04:53:07 +0000 (04:53 +0000)]
last time.  fix a typo. im so sorry!

svn path=/trunk/; revision=17874

16 years agoforgot to free comspec, very sorry.
Brandon Turner [Fri, 16 Sep 2005 04:46:06 +0000 (04:46 +0000)]
forgot to free comspec, very sorry.

svn path=/trunk/; revision=17873

16 years agoUse compsec instead of "cmd" when trying to find cmd.exe
Brandon Turner [Fri, 16 Sep 2005 04:40:46 +0000 (04:40 +0000)]
Use compsec instead of "cmd" when trying to find cmd.exe

svn path=/trunk/; revision=17872

16 years agoFix some of the damage r17811 did to the GDB stub
Gé van Geldorp [Thu, 15 Sep 2005 22:07:35 +0000 (22:07 +0000)]
Fix some of the damage r17811 did to the GDB stub

svn path=/trunk/; revision=17871

16 years agoFix the tree at last, by reverting previous changes to RtlpCheckForActiveDebugger.
Aleksey Bragin [Thu, 15 Sep 2005 20:24:30 +0000 (20:24 +0000)]
Fix the tree at last, by reverting previous changes to RtlpCheckForActiveDebugger.

svn path=/trunk/; revision=17870

16 years agoRevert 17867:17866 change, introduced to temporarily fix tree-compiling. Made obsolet...
Aleksey Bragin [Thu, 15 Sep 2005 19:30:27 +0000 (19:30 +0000)]
Revert 17867:17866 change, introduced to temporarily fix tree-compiling. Made obsolete by rev. 17868.

svn path=/trunk/; revision=17869

16 years ago- Fix build, sorry.
Alex Ionescu [Thu, 15 Sep 2005 19:18:59 +0000 (19:18 +0000)]
- Fix build, sorry.

svn path=/trunk/; revision=17868

16 years agoFix compiling error, feel free to revert this when commiting missing changes (if...
Aleksey Bragin [Thu, 15 Sep 2005 19:14:42 +0000 (19:14 +0000)]
Fix compiling error, feel free to revert this when commiting missing changes (if it's not a typo).

svn path=/trunk/; revision=17867

16 years ago- Assign first the partitions to drive letters, which have a registry entry in Mounte...
Hartmut Birr [Thu, 15 Sep 2005 17:26:56 +0000 (17:26 +0000)]
- Assign first the partitions to drive letters, which have a registry entry in MountedDevices.
- Create for all partitions a registry entry in MountedDevices if none exists.
- Assign all partitions with arc names first and the others as second.

svn path=/trunk/; revision=17866

16 years ago- Fixed the creation of arc names. Only valid partitions should be linked to an arc...
Hartmut Birr [Thu, 15 Sep 2005 17:23:41 +0000 (17:23 +0000)]
- Fixed the creation of arc names. Only valid partitions should be linked to an arc names.
- Create arc names only for partitions on disks, which are visible by the bios.

svn path=/trunk/; revision=17865

16 years ago- Do only allow to install reactos on disks which are visible by the bios.
Hartmut Birr [Thu, 15 Sep 2005 17:19:31 +0000 (17:19 +0000)]
- Do only allow to install reactos on disks which are visible by the bios.
- Arrange the disks in the same sequence how they was detected by the bios.
- Create a registry entry in MountedDevices for each recognized partition.

svn path=/trunk/; revision=17864

16 years agoFixed the MP build.
Hartmut Birr [Thu, 15 Sep 2005 16:52:23 +0000 (16:52 +0000)]
Fixed the MP build.

svn path=/trunk/; revision=17863

16 years agoUsed the given registry path from DriverEntry to query the registry.
Hartmut Birr [Thu, 15 Sep 2005 16:46:17 +0000 (16:46 +0000)]
Used the given registry path from DriverEntry to query the registry.
This will also fix the bug in I8042ReadRegistry, which has append the string to an unicode string with an uninitialized length value.

svn path=/trunk/; revision=17862

16 years agoIf we have a PCI device, try to keep the IRQ assigned by the BIOS instead of forcing 0x9
Hervé Poussineau [Thu, 15 Sep 2005 15:57:28 +0000 (15:57 +0000)]
If we have a PCI device, try to keep the IRQ assigned by the BIOS instead of forcing 0x9

svn path=/trunk/; revision=17861

16 years agoReturn valid status
Alex Ionescu [Thu, 15 Sep 2005 14:07:37 +0000 (14:07 +0000)]
Return valid status

svn path=/trunk/; revision=17860

16 years agoRevert 17858 and fix all warnings at once.
Hervé Poussineau [Thu, 15 Sep 2005 13:25:32 +0000 (13:25 +0000)]
Revert 17858 and fix all warnings at once.
This fix may be strange at first sight, but original Linux code doesn't use "flags" variable at all. This fix is here only to prevent a warning and shouldn't break the behaviour of the code.

svn path=/trunk/; revision=17859

16 years agoInitialize flags variable to 0
Hervé Poussineau [Thu, 15 Sep 2005 12:57:11 +0000 (12:57 +0000)]
Initialize flags variable to 0

svn path=/trunk/; revision=17858

16 years agoInitialize DeviceNumber to 0
Aleksey Bragin [Thu, 15 Sep 2005 12:50:40 +0000 (12:50 +0000)]
Initialize DeviceNumber to 0

svn path=/trunk/; revision=17857

16 years agoTook some advice from alex re: w32api headers. Use ..._DEFINED to override
Art Yerkes [Thu, 15 Sep 2005 05:58:49 +0000 (05:58 +0000)]
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

16 years agoAdded a text test to rosperf, and build as unicode.
Andrew Munger [Thu, 15 Sep 2005 04:57:51 +0000 (04:57 +0000)]
Added a text test to rosperf, and build as unicode.

svn path=/trunk/; revision=17855

16 years agoFix release build of string library
Andrew Munger [Thu, 15 Sep 2005 04:51:14 +0000 (04:51 +0000)]
Fix release build of string library

svn path=/trunk/; revision=17854

16 years agoUpdate the IDC_* constants.
Filip Navara [Wed, 14 Sep 2005 22:13:22 +0000 (22:13 +0000)]
Update the IDC_* constants.

svn path=/trunk/; revision=17853

16 years agoPatricio Martínez Ros <silencium@wanadoo.es>
Filip Navara [Wed, 14 Sep 2005 21:07:04 +0000 (21:07 +0000)]
Patricio Martínez Ros <silencium@wanadoo.es>
Spanish translation.

svn path=/trunk/; revision=17852

16 years agoPatricio Martínez Ros <silencium@wanadoo.es>
Filip Navara [Wed, 14 Sep 2005 21:06:35 +0000 (21:06 +0000)]
Patricio Martínez Ros <silencium@wanadoo.es>
Spanish translation.

svn path=/trunk/; revision=17851

16 years agoFix regexpl so it properly prints a DWORD_LITTLE_ENDIAN.
Andrew Munger [Wed, 14 Sep 2005 20:24:43 +0000 (20:24 +0000)]
Fix regexpl so it properly prints a DWORD_LITTLE_ENDIAN.

svn path=/trunk/; revision=17850

16 years agoFix indentation of generated code, by letting Output method do its indenting job
Hervé Poussineau [Wed, 14 Sep 2005 19:32:47 +0000 (19:32 +0000)]
Fix indentation of generated code, by letting Output method do its indenting job

svn path=/trunk/; revision=17849

16 years agofix build
Alex Ionescu [Wed, 14 Sep 2005 02:03:17 +0000 (02:03 +0000)]
fix build

svn path=/trunk/; revision=17848

16 years agontoskrnl header cleanups
Alex Ionescu [Wed, 14 Sep 2005 01:44:19 +0000 (01:44 +0000)]
ntoskrnl header cleanups

svn path=/trunk/; revision=17847

16 years agontoskrnl header cleanups
Alex Ionescu [Wed, 14 Sep 2005 01:05:50 +0000 (01:05 +0000)]
ntoskrnl header cleanups

svn path=/trunk/; revision=17846

16 years agontoskrnl header cleanups
Alex Ionescu [Tue, 13 Sep 2005 23:48:54 +0000 (23:48 +0000)]
ntoskrnl header cleanups

svn path=/trunk/; revision=17845

16 years agoPart 1 of <many> ntoskrnl header cleanups
Alex Ionescu [Tue, 13 Sep 2005 23:28:21 +0000 (23:28 +0000)]
Part 1 of <many> ntoskrnl header cleanups

svn path=/trunk/; revision=17844

16 years agozero out the struct and disable code that has no connection with reality - I'm thinki...
Royce Mitchell III [Tue, 13 Sep 2005 23:04:32 +0000 (23:04 +0000)]
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

16 years agoFilip doesn't like int3. Implemented Trap6 failure on bad stack and V86M syscall...
Alex Ionescu [Tue, 13 Sep 2005 20:26:57 +0000 (20:26 +0000)]
Filip doesn't like int3. Implemented Trap6 failure on bad stack and V86M syscall return

svn path=/trunk/; revision=17842

16 years agoProperly bias frame, remove bugcheck added for debugging, re-add bugcheck removed...
Alex Ionescu [Tue, 13 Sep 2005 20:13:05 +0000 (20:13 +0000)]
Properly bias frame, remove bugcheck added for debugging, re-add bugcheck removed for debugging

svn path=/trunk/; revision=17841

16 years agoMissing files...
Alex Ionescu [Tue, 13 Sep 2005 19:41:07 +0000 (19:41 +0000)]
Missing files...

svn path=/trunk/; revision=17840

16 years agoSorry for the debug messages.
Alex Ionescu [Tue, 13 Sep 2005 19:34:48 +0000 (19:34 +0000)]
Sorry for the debug messages.

svn path=/trunk/; revision=17839

16 years agoSome work-in-progress improvements and rethought of system-level code...notable impro...
Alex Ionescu [Tue, 13 Sep 2005 19:33:49 +0000 (19:33 +0000)]
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

16 years agorename variable and change parameters in call to find_last_not_of() to hopefully...
Royce Mitchell III [Tue, 13 Sep 2005 19:11:37 +0000 (19:11 +0000)]
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

16 years agofix bug in GetBinutilsVersion()
Royce Mitchell III [Tue, 13 Sep 2005 19:04:24 +0000 (19:04 +0000)]
fix bug in GetBinutilsVersion()

svn path=/trunk/; revision=17836

16 years ago- Freed the path string for the keyboard dll.
Hartmut Birr [Tue, 13 Sep 2005 18:08:18 +0000 (18:08 +0000)]
- Freed the path string for the keyboard dll.
- Freed some strings in all cases.

svn path=/trunk/; revision=17835

16 years agoFixed the declaration of RtlPinAtomInAtomTable.
Hartmut Birr [Tue, 13 Sep 2005 18:04:00 +0000 (18:04 +0000)]
Fixed the declaration of RtlPinAtomInAtomTable.

svn path=/trunk/; revision=17834

16 years agoImplement QUERYESCSUPPORT escape in ExtEscape (returns FALSE always)
Gregor Anich [Tue, 13 Sep 2005 14:46:48 +0000 (14:46 +0000)]
Implement QUERYESCSUPPORT escape in ExtEscape (returns FALSE always)

svn path=/trunk/; revision=17832

16 years agoQuery support for opengl-driver-info escape before calling it and some other minor...
Gregor Anich [Tue, 13 Sep 2005 14:46:00 +0000 (14:46 +0000)]
Query support for opengl-driver-info escape before calling it and some other minor changes.

svn path=/trunk/; revision=17831

16 years agocopy&paste enhancement
Royce Mitchell III [Tue, 13 Sep 2005 14:34:48 +0000 (14:34 +0000)]
copy&paste enhancement
patch by "brbak"
(see bug 749)

svn path=/trunk/; revision=17830

16 years agofix crash in 'make msvc'
Royce Mitchell III [Tue, 13 Sep 2005 11:57:50 +0000 (11:57 +0000)]
fix crash in 'make msvc'

svn path=/trunk/; revision=17829

16 years agoadded LGPL license header to the code from Wine and Patrik Stridvall and Royce Mitche...
Steven Edwards [Tue, 13 Sep 2005 03:51:18 +0000 (03:51 +0000)]
added LGPL license header to the code from Wine and Patrik Stridvall and Royce Mitchell III as authors

svn path=/trunk/; revision=17828

16 years agostarted working on generation of msvc2kX project files. THESE ARE NOT CORRECT. Right...
Steven Edwards [Tue, 13 Sep 2005 03:46:22 +0000 (03:46 +0000)]
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

16 years agoKimmo Myllyvirta <kimmo.myllyvirta@gmail.com>
Hervé Poussineau [Mon, 12 Sep 2005 21:48:21 +0000 (21:48 +0000)]
Kimmo Myllyvirta <kimmo.myllyvirta@gmail.com>
Added Finnish resources.

svn path=/trunk/; revision=17826

16 years agosecurity audit of explorer code...
Royce Mitchell III [Mon, 12 Sep 2005 21:46:09 +0000 (21:46 +0000)]
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

16 years agomsvc6 warning fix - cast return value of SHAlloc()
Royce Mitchell III [Mon, 12 Sep 2005 20:07:29 +0000 (20:07 +0000)]
msvc6 warning fix - cast return value of SHAlloc()

svn path=/trunk/; revision=17824

16 years agomsvc6 warning fix - cast return value of SHAlloc()
Royce Mitchell III [Mon, 12 Sep 2005 20:04:49 +0000 (20:04 +0000)]
msvc6 warning fix - cast return value of SHAlloc()

svn path=/trunk/; revision=17823

16 years agofix breakage - sorry
Royce Mitchell III [Mon, 12 Sep 2005 19:58:34 +0000 (19:58 +0000)]
fix breakage - sorry

svn path=/trunk/; revision=17822

16 years agoDoCommand()
Magnus Olsen [Mon, 12 Sep 2005 19:50:16 +0000 (19:50 +0000)]
DoCommand()
Remove one more hardcode buffer size. Remove limit command to MAX_PATH. No check for limit command line-

svn path=/trunk/; revision=17821

16 years agoBletch <npwoods@mess.org>
Gé van Geldorp [Mon, 12 Sep 2005 17:10:00 +0000 (17:10 +0000)]
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

16 years agomsvc6 compatibility and small performance improvement in filename completion
Royce Mitchell III [Mon, 12 Sep 2005 16:06:53 +0000 (16:06 +0000)]
msvc6 compatibility and small performance improvement in filename completion

svn path=/trunk/; revision=17819

16 years agoio.h only exists for win32 - sorry *nix users
Royce Mitchell III [Mon, 12 Sep 2005 14:55:55 +0000 (14:55 +0000)]
io.h only exists for win32 - sorry *nix users

svn path=/trunk/; revision=17818

16 years agofix warning about unlink() being undeclared
Royce Mitchell III [Mon, 12 Sep 2005 14:33:57 +0000 (14:33 +0000)]
fix warning about unlink() being undeclared

svn path=/trunk/; revision=17817

16 years agoFix previous strangely incomplete NtRaiseException implementation and re-enable the...
Alex Ionescu [Mon, 12 Sep 2005 03:59:03 +0000 (03:59 +0000)]
Fix previous strangely incomplete NtRaiseException implementation and re-enable the ProbeForRead call that failed

svn path=/trunk/; revision=17816

16 years agoFix bug in KiUserExceptionDispatcher
Alex Ionescu [Mon, 12 Sep 2005 03:10:08 +0000 (03:10 +0000)]
Fix bug in KiUserExceptionDispatcher

svn path=/trunk/; revision=17815

16 years agoFix RtlpGetStackLimits to get the right limits if called in kernel-mode (separated...
Alex Ionescu [Mon, 12 Sep 2005 02:57:47 +0000 (02:57 +0000)]
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

16 years agopatch by Alex_Ionescu - fixes crash in usb driver on bootup in vmware
Royce Mitchell III [Mon, 12 Sep 2005 01:32:11 +0000 (01:32 +0000)]
patch by Alex_Ionescu - fixes crash in usb driver on bootup in vmware

svn path=/trunk/; revision=17813

16 years agodocument parameter names
Royce Mitchell III [Mon, 12 Sep 2005 01:31:24 +0000 (01:31 +0000)]
document parameter names

svn path=/trunk/; revision=17812

16 years agoMajor refactoring of the exception handling code + misc fixes:
Alex Ionescu [Sun, 11 Sep 2005 22:32:20 +0000 (22:32 +0000)]
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

16 years agoDo not compile cmd to unicode, if we do pipe will be 100% broken then.
Magnus Olsen [Sun, 11 Sep 2005 21:19:32 +0000 (21:19 +0000)]
Do not compile cmd to unicode, if we do pipe will be 100% broken then.

svn path=/trunk/; revision=17810