reactos.git
18 years agofix argc type
Martin Fuchs [Sun, 17 Jul 2005 12:31:31 +0000 (12:31 +0000)]
fix argc type

svn path=/trunk/; revision=16615

18 years agoreplace old <defines.h> by <windows.h>
Martin Fuchs [Sun, 17 Jul 2005 12:31:16 +0000 (12:31 +0000)]
replace old <defines.h> by <windows.h>

svn path=/trunk/; revision=16614

18 years agoreplace old <defines.h> by <windows.h>
Martin Fuchs [Sun, 17 Jul 2005 12:30:09 +0000 (12:30 +0000)]
replace old <defines.h> by <windows.h>

svn path=/trunk/; revision=16613

18 years agoImplemented NtUser-GetMenuItemRect.
James Tabor [Sun, 17 Jul 2005 12:26:24 +0000 (12:26 +0000)]
Implemented NtUser-GetMenuItemRect.

svn path=/trunk/; revision=16612

18 years agoDPC stands for Deferred Procedure Call.
Filip Navara [Sun, 17 Jul 2005 12:24:15 +0000 (12:24 +0000)]
DPC stands for Deferred Procedure Call.

svn path=/trunk/; revision=16611

18 years agoAvoid GNU make warnings
Casper Hornstrup [Sun, 17 Jul 2005 11:15:55 +0000 (11:15 +0000)]
Avoid GNU make warnings

svn path=/trunk/; revision=16610

18 years agoAdd missing directory tag
Casper Hornstrup [Sun, 17 Jul 2005 11:07:14 +0000 (11:07 +0000)]
Add missing directory tag

svn path=/trunk/; revision=16609

18 years agoPrepare cmd for testing
Casper Hornstrup [Sun, 17 Jul 2005 10:57:38 +0000 (10:57 +0000)]
Prepare cmd for testing

svn path=/trunk/; revision=16608

18 years agoadd explorer-ro.rc
Martin Fuchs [Sun, 17 Jul 2005 10:40:43 +0000 (10:40 +0000)]
add explorer-ro.rc

svn path=/trunk/; revision=16607

18 years agoFix building of tests
Casper Hornstrup [Sun, 17 Jul 2005 10:20:18 +0000 (10:20 +0000)]
Fix building of tests

svn path=/trunk/; revision=16605

18 years agoremove winfile - it's superseded by winefile.
Martin Fuchs [Sun, 17 Jul 2005 09:56:38 +0000 (09:56 +0000)]
remove winfile - it's superseded by winefile.

svn path=/trunk/; revision=16604

18 years ago- Implement CM_Locate_DevNode_ExW, CM_Get_Device_ID_Size[_Ex] and CM_Get_Device_ID...
Eric Kohl [Sun, 17 Jul 2005 09:43:54 +0000 (09:43 +0000)]
- Implement CM_Locate_DevNode_ExW, CM_Get_Device_ID_Size[_Ex] and CM_Get_Device_ID[_Ex]W.
- Add flags for CM_Get_Global_State[_Ex].

svn path=/trunk/; revision=16603

18 years agoFixed the determining of the file from the output redirection.
Hartmut Birr [Sun, 17 Jul 2005 07:02:20 +0000 (07:02 +0000)]
Fixed the determining of the file from the output redirection.

svn path=/trunk/; revision=16602

18 years ago/D /Z are implement in ros cmd copy by BrandonTurner but reactos CopyFile and CopyFil...
Magnus Olsen [Sun, 17 Jul 2005 00:44:33 +0000 (00:44 +0000)]
/D /Z are implement in ros cmd copy by BrandonTurner but reactos CopyFile and CopyFileEx does not support it yet, for /D are COPY_FILE_ALLOW_DECRYPTED_DESTNATION for decypt the file when it copy to dest and /Z are COPY_FILE_RESTARTABLE for network. so it is working in windows

svn path=/trunk/; revision=16601

18 years agoadd CopyFileEx flags #define COPY_FILE_ALLOW_DECRYPTED_DESTINATION, COPY_FILE_FAIL_IF...
Magnus Olsen [Sat, 16 Jul 2005 23:44:16 +0000 (23:44 +0000)]
add CopyFileEx flags #define COPY_FILE_ALLOW_DECRYPTED_DESTINATION, COPY_FILE_FAIL_IF_EXISTS, COPY_FILE_RESTARTABLE, COPY_FILE_OPEN_SOURCE_FOR_WRITE

svn path=/trunk/; revision=16600

18 years ago- For bugs for in-string parameters.
Eric Kohl [Sat, 16 Jul 2005 23:21:36 +0000 (23:21 +0000)]
- For bugs for in-string parameters.
- Implement out-string parameters (untested).

svn path=/trunk/; revision=16599

18 years agoUsed the kernel base address from the loader structure instead MmSystemRangeStart.
Hartmut Birr [Sat, 16 Jul 2005 13:01:18 +0000 (13:01 +0000)]
Used the kernel base address from the loader structure instead MmSystemRangeStart.
MmSystemRangeStart isn't the base address with the 3GB switch.

svn path=/trunk/; revision=16597

18 years agoReplaced KERNEL_BASE by MmSystemRangeStart.
Hartmut Birr [Sat, 16 Jul 2005 12:35:34 +0000 (12:35 +0000)]
Replaced KERNEL_BASE by MmSystemRangeStart.

svn path=/trunk/; revision=16596

18 years agocrop mf logo to 30x280 and it showing right rember do not design higher that 280...
Magnus Olsen [Sat, 16 Jul 2005 12:18:16 +0000 (12:18 +0000)]
crop mf logo to 30x280 and it showing right rember do not design higher that 280 on the startmenu logo change.

svn path=/trunk/; revision=16595

18 years agoGetMenuStringA and GetMenuStringW inverted the MF_BYPOSITION parameter. Buffers were...
Jens Collin [Sat, 16 Jul 2005 11:45:28 +0000 (11:45 +0000)]
GetMenuStringA and GetMenuStringW inverted the MF_BYPOSITION parameter. Buffers were incorrectly copied in and wrong size returned in GetMenuItemInfoA ansi-structures.
GetMenuString now works the same on both windows and ROS.

svn path=/trunk/; revision=16594

18 years agoHUMA2000: Spanish translation
Maarten Bosma [Sat, 16 Jul 2005 10:23:10 +0000 (10:23 +0000)]
HUMA2000: Spanish translation

svn path=/trunk/; revision=16593

18 years ago- Fixed the size of the hyperspace area (thanks to Filip Navara).
Hartmut Birr [Sat, 16 Jul 2005 09:01:07 +0000 (09:01 +0000)]
- Fixed the size of the hyperspace area (thanks to Filip Navara).
- Enabled Pae mode in freeldr if it is requested.

svn path=/trunk/; revision=16592

18 years agopart1 of move bug from a volume to another have been solve, the part two are in React...
Magnus Olsen [Fri, 15 Jul 2005 19:15:59 +0000 (19:15 +0000)]
part1 of move bug from a volume to another have been solve, the part two are in Reactos MoveFileEx

svn path=/trunk/; revision=16591

18 years agoI should not write code when it is hot outside
Magnus Olsen [Fri, 15 Jul 2005 18:38:01 +0000 (18:38 +0000)]
I should not write code when it is hot outside
clean up a if statement for realloc

svn path=/trunk/; revision=16590

18 years agoin cress COPYCMD param search speed before w3seek does it
Magnus Olsen [Fri, 15 Jul 2005 18:31:42 +0000 (18:31 +0000)]
in cress COPYCMD param search speed before w3seek does it

svn path=/trunk/; revision=16589

18 years agolast try to fix NULL bug
Magnus Olsen [Fri, 15 Jul 2005 18:25:03 +0000 (18:25 +0000)]
last try to fix NULL bug

svn path=/trunk/; revision=16588

18 years agolast bugfix did forget use tchar * 512 in malloc I did only use 512 in malloc
Magnus Olsen [Fri, 15 Jul 2005 18:21:17 +0000 (18:21 +0000)]
last bugfix did forget use tchar * 512 in malloc I did only use 512 in malloc

svn path=/trunk/; revision=16587

18 years agodid forget check malloc and realloc was NULL and set size to zero. thx w3seek that...
Magnus Olsen [Fri, 15 Jul 2005 18:18:40 +0000 (18:18 +0000)]
did forget check malloc and realloc was NULL and set size to zero. thx w3seek that did see this mistake

svn path=/trunk/; revision=16586

18 years agoimplement $s
Magnus Olsen [Fri, 15 Jul 2005 17:46:26 +0000 (17:46 +0000)]
implement $s

svn path=/trunk/; revision=16585

18 years agobug fix $t so it write out time instead for "current time is xxxxxxx" not it write...
Magnus Olsen [Fri, 15 Jul 2005 17:31:12 +0000 (17:31 +0000)]
bug fix $t so it write out time instead for "current time is xxxxxxx" not it write the time. bug fix $h so it did jump back and erase the char that was there before.

svn path=/trunk/; revision=16584

18 years agocrop the height of mf new logo so it show right
Magnus Olsen [Fri, 15 Jul 2005 15:31:14 +0000 (15:31 +0000)]
crop the height of mf new logo so it show right

svn path=/trunk/; revision=16583

18 years agoRevert my last commit (r16578).
Hartmut Birr [Fri, 15 Jul 2005 15:30:23 +0000 (15:30 +0000)]
Revert my last commit (r16578).

svn path=/trunk/; revision=16582

18 years agorevert back startmenu.cpp the change are not complite for mf new logo
Magnus Olsen [Fri, 15 Jul 2005 15:25:34 +0000 (15:25 +0000)]
revert back startmenu.cpp the change are not complite for mf new logo

svn path=/trunk/; revision=16581

18 years agoupdate swedish .rc and rename it from sw to sv, remove the german part in swedish...
Magnus Olsen [Fri, 15 Jul 2005 15:22:26 +0000 (15:22 +0000)]
update swedish .rc and rename it from sw to sv, remove the german part in swedish rc. all swedish rc should have sv,

svn path=/trunk/; revision=16580

18 years agoForget set some error level and some msg that should have goto ConOut not to ConErr...
Magnus Olsen [Fri, 15 Jul 2005 14:50:46 +0000 (14:50 +0000)]
Forget set some error level and some msg that should have goto ConOut not to ConErr  so pipe are working with thuse msg

svn path=/trunk/; revision=16579

18 years agoFixed a test condition in IntWaitMessage.
Hartmut Birr [Fri, 15 Jul 2005 14:40:47 +0000 (14:40 +0000)]
Fixed a test condition in IntWaitMessage.

svn path=/trunk/; revision=16578

18 years agoReturned STATUS_NOT_IMPLEMENTED for requests other than read or write.
Hartmut Birr [Fri, 15 Jul 2005 14:29:58 +0000 (14:29 +0000)]
Returned STATUS_NOT_IMPLEMENTED for requests other than read or write.

svn path=/trunk/; revision=16577

18 years agofix a bug from me in COPYCMD check code it was two /V
Magnus Olsen [Fri, 15 Jul 2005 14:18:45 +0000 (14:18 +0000)]
fix a bug from me in COPYCMD check code it was two /V
it should only have been one /N = short file name (dos 8.3 file mname not /S)

svn path=/trunk/; revision=16576

18 years agofix errorlevel for copy. left to do is /D = copy encrypte file and decypte to destina...
Magnus Olsen [Fri, 15 Jul 2005 14:12:48 +0000 (14:12 +0000)]
fix errorlevel for copy. left to do is /D = copy encrypte file and decypte to destinations (NT3.51) /S = make destfile name 8.3 compatible (NT3.51) /Z = restart copy if it fails

svn path=/trunk/; revision=16575

18 years agoAdd environment variable COPYCMD to copy
Magnus Olsen [Fri, 15 Jul 2005 13:51:38 +0000 (13:51 +0000)]
Add environment variable COPYCMD to copy

svn path=/trunk/; revision=16574

18 years agoFix up WM_ENABLE ScrollBarWndProc. Looks like we can disable and enable SB Ctrls.
James Tabor [Fri, 15 Jul 2005 11:46:38 +0000 (11:46 +0000)]
Fix up WM_ENABLE ScrollBarWndProc. Looks like we can disable and enable SB Ctrls.

svn path=/trunk/; revision=16573

18 years agoFixed wParam in WM_ENABLE ScrollBarWndProc.
James Tabor [Fri, 15 Jul 2005 02:16:12 +0000 (02:16 +0000)]
Fixed wParam in WM_ENABLE ScrollBarWndProc.

svn path=/trunk/; revision=16572

18 years agoFixing WM_ENABLE ScrollBarWndProc. Tested it with 7-Zip, AbiWord, RegEdit and Winefil...
James Tabor [Fri, 15 Jul 2005 01:42:22 +0000 (01:42 +0000)]
Fixing WM_ENABLE ScrollBarWndProc. Tested it with 7-Zip, AbiWord, RegEdit and Winefile, all seem not to use it. Please test this.

svn path=/trunk/; revision=16571

18 years agodon't allow changing the allow and deny checkbox state to checked at the same time
Thomas Bluemel [Thu, 14 Jul 2005 21:57:57 +0000 (21:57 +0000)]
don't allow changing the allow and deny checkbox state to checked at the same time

svn path=/trunk/; revision=16569

18 years agoMark the DispatchingListEntry as removed (in MsqSendMessage).
Hartmut Birr [Thu, 14 Jul 2005 21:07:14 +0000 (21:07 +0000)]
Mark the DispatchingListEntry as removed (in MsqSendMessage).

svn path=/trunk/; revision=16568

18 years agofix the second bug for 1>text.txt pipe
Magnus Olsen [Thu, 14 Jul 2005 20:51:39 +0000 (20:51 +0000)]
fix the second bug for 1>text.txt pipe

svn path=/trunk/; revision=16567

18 years agofix echo osd 1>text: bug now it should pipe instead it is printing text out text...
Magnus Olsen [Thu, 14 Jul 2005 20:26:37 +0000 (20:26 +0000)]
fix echo osd 1>text: bug now it should pipe instead it is printing text out text on the screen. need to found the second bug now. but now this pipe are implement.

svn path=/trunk/; revision=16566

18 years agostd_output does handle the : as ms does at pipe and we have also extend it to handle...
Magnus Olsen [Thu, 14 Jul 2005 19:18:37 +0000 (19:18 +0000)]
std_output does handle the : as ms does at pipe and we have also extend it to handle >test.txt: that is not vaild on ms but it should need more code to handle the : as ms does. we can call it reactos extend at cmd

svn path=/trunk/; revision=16564

18 years agoChange some error msg from ConErr to ConOut for they are being pipe so the behover...
Magnus Olsen [Thu, 14 Jul 2005 18:39:07 +0000 (18:39 +0000)]
Change some error msg from ConErr to ConOut for they are being pipe so the behover are equal with ms windows cmd

svn path=/trunk/; revision=16563

18 years agoFix a weird bug in piping in some case if you pipe to no exists >pipe: then to a...
Magnus Olsen [Thu, 14 Jul 2005 18:16:57 +0000 (18:16 +0000)]
Fix a weird bug in piping in some case if you pipe to no exists >pipe: then to a exists >pipe: it did make cmd crash for createfile only SetLastErrror when it fails. and the old one was in the loop. to solv it is to rest the GetLastError code before it is call.

svn path=/trunk/; revision=16562

18 years agoBrandon Turner turnerb7@msu.edu Rewrite to clean up copy and support wildcard. and...
Magnus Olsen [Thu, 14 Jul 2005 14:51:35 +0000 (14:51 +0000)]
Brandon Turner turnerb7@msu.edu Rewrite to clean up copy and support wildcard. and alot of other small bugfix, like does not crash when a file does not exists.

svn path=/trunk/; revision=16561

18 years agoTypo fix. I was thinking oct not dec.
James Tabor [Thu, 14 Jul 2005 00:27:53 +0000 (00:27 +0000)]
Typo fix. I was thinking oct not dec.

svn path=/trunk/; revision=16560

18 years agoImplemented VkKeyScan, GetKeyboardTypeand, GetKeyboardLayout and some Wine ports.
James Tabor [Wed, 13 Jul 2005 23:22:20 +0000 (23:22 +0000)]
Implemented VkKeyScan, GetKeyboardTypeand, GetKeyboardLayout and some Wine ports.

svn path=/trunk/; revision=16559

18 years agoImplemented VkKeyScan, GetKeyboardTypeand GetKeyboardLayout.
James Tabor [Wed, 13 Jul 2005 23:19:59 +0000 (23:19 +0000)]
Implemented VkKeyScan, GetKeyboardTypeand GetKeyboardLayout.

svn path=/trunk/; revision=16558

18 years agoFixed the allocation of the buffer for the environment variable in ProcessInput.
Hartmut Birr [Wed, 13 Jul 2005 17:59:37 +0000 (17:59 +0000)]
Fixed the allocation of the buffer for the environment variable in ProcessInput.

svn path=/trunk/; revision=16557

18 years agoFixed a bug in IsConsoleHandle which was introduced by r16540.
Hartmut Birr [Wed, 13 Jul 2005 17:32:39 +0000 (17:32 +0000)]
Fixed a bug in IsConsoleHandle which was introduced by r16540.

svn path=/trunk/; revision=16556

18 years agoonly NULL-terminate the string in GetEnvironmentVariableW if the buffer size is great...
Thomas Bluemel [Wed, 13 Jul 2005 16:36:24 +0000 (16:36 +0000)]
only NULL-terminate the string in GetEnvironmentVariableW if the buffer size is greater than 0. Thanks to Joseph Galbraith for the hint

svn path=/trunk/; revision=16555

18 years agoFix macro to be optimized out, thanks to Filip
Alex Ionescu [Wed, 13 Jul 2005 15:46:59 +0000 (15:46 +0000)]
Fix macro to be optimized out, thanks to Filip

svn path=/trunk/; revision=16554

18 years agohandle memory allocation errors in GetEnvironmentVariable() and ensure the string...
Thomas Bluemel [Wed, 13 Jul 2005 15:09:52 +0000 (15:09 +0000)]
handle memory allocation errors in GetEnvironmentVariable() and ensure the string is always null-terminated

svn path=/trunk/; revision=16553

18 years agostop exporting MmCopyFromCaller and kin and make a local version in the
Art Yerkes [Wed, 13 Jul 2005 08:48:49 +0000 (08:48 +0000)]
stop exporting MmCopyFromCaller and kin and make a local version in the
last place we use it, now based on SEH.
we'll remove the copy from caller hack from ntoskrnl soon.

svn path=/trunk/; revision=16552

18 years agofix bizarre build error
Alex Ionescu [Wed, 13 Jul 2005 02:45:53 +0000 (02:45 +0000)]
fix bizarre build error

svn path=/trunk/; revision=16551

18 years agoSilence more warnings. Patch by Waxdragon.
Alex Ionescu [Wed, 13 Jul 2005 02:02:08 +0000 (02:02 +0000)]
Silence more warnings. Patch by Waxdragon.

svn path=/trunk/; revision=16550

18 years agoExpand the wine debug macros in all cases. the actual code will get optimized away...
Alex Ionescu [Wed, 13 Jul 2005 01:41:13 +0000 (01:41 +0000)]
Expand the wine debug macros in all cases. the actual code will get optimized away, but the variables will appear in use. removes about 100-150 warnings. also fix hidden build breakages when the macros are actually used. thanks to art

svn path=/trunk/; revision=16549

18 years agoFix executing applications. Sorry for the delay, this was like finding a needle in...
Alex Ionescu [Wed, 13 Jul 2005 00:11:11 +0000 (00:11 +0000)]
Fix executing applications. Sorry for the delay, this was like finding a needle in a hay stack. Gotta love splitting patches..

svn path=/trunk/; revision=16548

18 years agoAdd copyright notices and GPL headers to rbuild
Casper Hornstrup [Tue, 12 Jul 2005 16:47:34 +0000 (16:47 +0000)]
Add copyright notices and GPL headers to rbuild

svn path=/trunk/; revision=16547

18 years agoHave nci output files depend on input files
Casper Hornstrup [Tue, 12 Jul 2005 16:11:30 +0000 (16:11 +0000)]
Have nci output files depend on input files

svn path=/trunk/; revision=16546

18 years agoInstall freeloader installer.
Casper Hornstrup [Tue, 12 Jul 2005 15:04:17 +0000 (15:04 +0000)]
Install freeloader installer.

svn path=/trunk/; revision=16545

18 years agoAdd CM_Get_Global_State and CM_Get_Global_State_Ex prototypes.
Eric Kohl [Tue, 12 Jul 2005 12:29:25 +0000 (12:29 +0000)]
Add CM_Get_Global_State and CM_Get_Global_State_Ex prototypes.

svn path=/trunk/; revision=16544

18 years agoPart three of patch...
Alex Ionescu [Tue, 12 Jul 2005 05:00:33 +0000 (05:00 +0000)]
Part three of patch...
    - Created utils.c for the following new functions:
        * BasepCreateStack - Creates a stack for a Thread or Fiber
        * BasepInitializeContext - Initializes the Context for a Process, a Thread, or a Fiber
        * BasepConvertObjectAttributes - Creates a OBJECT_ATTRIBUTES structure based on Win32
                                         lpSecurityAttributes and name.
        * BasepFreestack - Frees the stack created in case of a failure inside code using it.
        * BasepMapFile - Converts a Win32 Path to NT Path and maps a file into a section.
        * Base 8-bit String conversion functions - Use new, more efficient way to select
          between OEM/ANSI strings, based on MSDN Article by Matt Pietrek. Other code needs
          to be chand to use them.
Also added the new ASM for the startup thunks. All of this is still unused and only being committed to simply the diff output. Credits go to Matt Pietrek and his excellent MSDN article for the 8-bit conversion functions and implementaion details.

svn path=/trunk/; revision=16543

18 years agoSecond part of patch, implements the new RTL functions which will be used (not used...
Alex Ionescu [Tue, 12 Jul 2005 04:41:41 +0000 (04:41 +0000)]
Second part of patch, implements the new RTL functions which will be used (not used by kernel yet).
    - RtlCreateUserProcess:
        * Created RtlpInitEnvironment to manage Environment Block creation. Rougly based on
          old KlInitPeb code but with some optimizations.
        * Don't ignore Process Security Descriptor if one was specified.
        * Don't ignore ZeroBits, get correct entrypoint, and don't assume PEB address.
        * Don't close handle of section before closing process handle on failure.
        * Support new undocumented flag which pre-allocates 1MB of memory for Native Processes
        * FIXME: Hande duplication should be done, but wasn't and still isn't.

    - RtlpCreateUserStack:
        * New function to create a stack for a Thread, similar to BasepCreateStack but
          has some differences related to StackCommit/StackReserve.
        * Also create Guard Page

    - RtlpFreeUserStack:
        * Undoes what the function above does, in case of failure in code using it.

    - RtlCreateUserThread:
        * Use the new functions instead of rosrtl.

    - RtlInitializeContext:
        * New function similar to BasepInitializeContext but;
            > Uses a single entrypoint, not many possible thunks like Kernel32 (no need)
            > The starting EFLAGS is Interrupts Enabled, not IOPL 3.
            > We don't initialize the same Context Flags
            > The initial context registers are different

    - RtlFreeUserThreadStack
        * Don't assume the TEB address

    - RtlExitUserThread
        * Remove deprecated stack-switching semantics and use new TEB flag to tell the Kernel
          to deallocate the stack for us.

svn path=/trunk/; revision=16542

18 years agoStart integrating and implementing key board functions. More Wine porting with ROS.
James Tabor [Tue, 12 Jul 2005 02:45:33 +0000 (02:45 +0000)]
Start integrating and implementing key board functions. More Wine porting with ROS.

svn path=/trunk/; revision=16541

18 years agoPartial patch of larger rosrtl removal patch. This one merely is a structure fix...
Alex Ionescu [Tue, 12 Jul 2005 01:56:14 +0000 (01:56 +0000)]
Partial patch of larger rosrtl removal patch. This one merely is a structure fix patch, and renames/corrects RTL_USER_PROCESS_INFORMATION (which had the totally wrong names) as well as updates the TEB to the latest version. It also fixes SECTION_IMAGE_INFORMATION to have the right format and names. Also, some callers of CreateProcessW are modified to not send a constant string as lpCommandLine (this was illegal and will crash on Windows/my patch). INITIAL_TEB was also renamed to the more correct fields, although they won't make sense with the current rosrtl/rtl implementation, the names will only make sense with the next patch. Finally NtTerminateThread was fixed to support sending NULL as handle, and PspExitThread was updated to work with the new FreestackOnExit flag, both of which will be used in the next patch.

svn path=/trunk/; revision=16540

18 years agoMove Interlocked* routines from ROSRTL to separate INTRLCK library since ROSRTL is...
Filip Navara [Mon, 11 Jul 2005 23:32:55 +0000 (23:32 +0000)]
Move Interlocked* routines from ROSRTL to separate INTRLCK library since ROSRTL is going to be removed.

svn path=/trunk/; revision=16539

18 years agoreturn the length of the string excluding the null-termination character on success...
Thomas Bluemel [Mon, 11 Jul 2005 20:30:33 +0000 (20:30 +0000)]
return the length of the string excluding the null-termination character on success in GetEnvironmentVariable(). Thanks to Hartmut.

svn path=/trunk/; revision=16536

18 years agoCheck for a valid console handle in SetConsoleMode.
Hartmut Birr [Mon, 11 Jul 2005 18:22:53 +0000 (18:22 +0000)]
Check for a valid console handle in SetConsoleMode.

svn path=/trunk/; revision=16535

18 years agoIPConfig Rewrite (Tim Jobling <tjob800@yahoo.co.uk>)
Alex Ionescu [Mon, 11 Jul 2005 17:55:15 +0000 (17:55 +0000)]
IPConfig Rewrite (Tim Jobling <tjob800@yahoo.co.uk>)
    *  Relicense to GPL.
    *  Display NodeType with meaningfull Human readable names.
    *  Exclusively use TCHAR strings.
    *  Display Physical Address, DHCP enabled state, IP Addresses/Netmasks,
    *  Default Gateway, DHCP server and DHCP Lease times.
    *  Parse command line options.
    *  Default to only showing the IP/SM/DG is no options specified
    *  Handel option: /All and /?
    *  Display message about all unimplemented options.
    *  Changed C++ style commenting to C style

svn path=/trunk/; revision=16534

18 years agoSebastian Gasiorek <zebasoftis@gmail.com>
Gé van Geldorp [Mon, 11 Jul 2005 07:51:09 +0000 (07:51 +0000)]
Sebastian Gasiorek <zebasoftis@gmail.com>
Polish resource files

svn path=/trunk/; revision=16533

18 years agoConnect UnrealizeObject and test debug prints. I assume arg count is one not two...
James Tabor [Mon, 11 Jul 2005 04:56:04 +0000 (04:56 +0000)]
Connect UnrealizeObject and test debug prints. I assume arg count is one not two. If wrong please correct me.

svn path=/trunk/; revision=16532

18 years agoFix error return for WIN_ListChildren.
James Tabor [Mon, 11 Jul 2005 02:43:24 +0000 (02:43 +0000)]
Fix error return for WIN_ListChildren.

svn path=/trunk/; revision=16531

18 years agoforget clean up after me
Magnus Olsen [Sun, 10 Jul 2005 22:23:00 +0000 (22:23 +0000)]
forget clean up after me

svn path=/trunk/; revision=16530

18 years agosecond try, thx w3seek found out it should be charterer not byte
Magnus Olsen [Sun, 10 Jul 2005 22:19:57 +0000 (22:19 +0000)]
second try, thx w3seek found out it should be charterer not byte

svn path=/trunk/; revision=16529

18 years agoThe return size calculation's of GetEnvironmentVariable string was wrong. Thx to...
Magnus Olsen [Sun, 10 Jul 2005 22:12:07 +0000 (22:12 +0000)]
The return size calculation's of GetEnvironmentVariable string was wrong. Thx to <Bizzy_D> to find out cd %windir% did not work. Now it will

svn path=/trunk/; revision=16528

18 years agoi386DX . <i386dx@hotmail.com>
Gé van Geldorp [Sun, 10 Jul 2005 22:05:48 +0000 (22:05 +0000)]
i386DX . <i386dx@hotmail.com>
Belgian (point/Flemish) keyboard layout

svn path=/trunk/; revision=16527

18 years agoquick dirty hack getting our copy working with 1>null by me
Magnus Olsen [Sun, 10 Jul 2005 21:26:51 +0000 (21:26 +0000)]
quick dirty hack getting our copy working with 1>null by me
so we can create reactos iso on ros. bug reported by harteex and Brandon Turner, thanks to Brandon to hunt down where the bug was.

svn path=/trunk/; revision=16526

18 years ago- Implement CM_Get_Global_State/CM_Get_Global_State_Ex.
Eric Kohl [Sun, 10 Jul 2005 11:49:10 +0000 (11:49 +0000)]
- Implement CM_Get_Global_State/CM_Get_Global_State_Ex.
- All RPC-Calls to umpnpmgr return CONFIGRET.

svn path=/trunk/; revision=16525

18 years agoFix a string length calculation bug in StringTableDuplicate.
Eric Kohl [Sat, 9 Jul 2005 15:22:07 +0000 (15:22 +0000)]
Fix a string length calculation bug in StringTableDuplicate.

svn path=/trunk/; revision=16524

18 years agoAdd dependence from pnp_client also, since in fact it uses it (includes pnp_c.h)...
Aleksey Bragin [Sat, 9 Jul 2005 13:23:05 +0000 (13:23 +0000)]
Add dependence from pnp_client also, since in fact it uses it (includes pnp_c.h). It worked before only because lib/setupapi depends on pnp_c, and it's build earlier than umpnpmgr.

svn path=/trunk/; revision=16523

18 years agofixed the prototypes of GetConsoleAlias, GetConsoleAliasExes and GetConsoleAliasesLength
Thomas Bluemel [Sat, 9 Jul 2005 10:31:30 +0000 (10:31 +0000)]
fixed the prototypes of GetConsoleAlias, GetConsoleAliasExes and GetConsoleAliasesLength

svn path=/trunk/; revision=16522

18 years agoImplement MDICascade, MDITile and WIN_ListChildren. This will help Winefile cascade...
James Tabor [Sat, 9 Jul 2005 08:54:43 +0000 (08:54 +0000)]
Implement MDICascade, MDITile and WIN_ListChildren. This will help Winefile cascade and tile windows. WIN_ListChildren is tmp located here in mdi.c for now.

svn path=/trunk/; revision=16521

18 years agoDon't rebuild the module if a library is changed. Relinking the module is enough.
Casper Hornstrup [Sat, 9 Jul 2005 07:50:48 +0000 (07:50 +0000)]
Don't rebuild the module if a library is changed. Relinking the module is enough.

svn path=/trunk/; revision=16520

18 years agoFix masking.
James Tabor [Sat, 9 Jul 2005 05:21:10 +0000 (05:21 +0000)]
Fix masking.

svn path=/trunk/; revision=16519

18 years agoKill debug print out.
James Tabor [Sat, 9 Jul 2005 04:54:01 +0000 (04:54 +0000)]
Kill debug print out.

svn path=/trunk/; revision=16518

18 years agoImplement ModifyMenu A & W.
James Tabor [Sat, 9 Jul 2005 04:23:34 +0000 (04:23 +0000)]
Implement ModifyMenu A & W.

svn path=/trunk/; revision=16517

18 years agoImplement GetMenuString A & W. Not fully tested.
James Tabor [Sat, 9 Jul 2005 04:19:35 +0000 (04:19 +0000)]
Implement GetMenuString A & W. Not fully tested.

svn path=/trunk/; revision=16516

18 years agoImplement CheckMenuRadioItem. Not fully tested.
James Tabor [Sat, 9 Jul 2005 04:15:44 +0000 (04:15 +0000)]
Implement CheckMenuRadioItem. Not fully tested.

svn path=/trunk/; revision=16515

18 years agoImplement DrawMenuBar.
James Tabor [Sat, 9 Jul 2005 04:11:36 +0000 (04:11 +0000)]
Implement DrawMenuBar.

svn path=/trunk/; revision=16514

18 years agoCheck automatic dependencies of referenced object library modules on make <module...
Casper Hornstrup [Fri, 8 Jul 2005 19:55:30 +0000 (19:55 +0000)]
Check automatic dependencies of referenced object library modules on make <module>_depends

svn path=/trunk/; revision=16513

18 years agoFixed enumerating the drive strings in SetupCreateDiskSpaceListW
Thomas Bluemel [Fri, 8 Jul 2005 19:51:37 +0000 (19:51 +0000)]
Fixed enumerating the drive strings in SetupCreateDiskSpaceListW

svn path=/trunk/; revision=16512

18 years agoallocate enough memory for strings, lstrlenW returns the length of the string in...
Thomas Bluemel [Fri, 8 Jul 2005 19:21:28 +0000 (19:21 +0000)]
allocate enough memory for strings, lstrlenW returns the length of the string in characters, not bytes.

svn path=/trunk/; revision=16511

18 years agoPE loader: corrected an assertion (fixes bug reported by GvG), added a sanity check...
KJK::Hyperion [Fri, 8 Jul 2005 16:37:07 +0000 (16:37 +0000)]
PE loader: corrected an assertion (fixes bug reported by GvG), added a sanity check, return STATUS_INVALID_IMAGE_PROTECT in case of unrecognized PE signature (to match Windows behavior), removed evil STATUS_UNSUCCESSFUL, corrected successful return code
Memory manager: return STATUS_INVALID_IMAGE_NOT_MZ when no loader accepts the format (to match Windows behavior)

svn path=/trunk/; revision=16510