Thomas Bluemel [Wed, 21 Sep 2005 17:23:27 +0000 (17:23 +0000)]
pass the buffer size to GetEnvironmentVariable() in characters, not bytes!
svn path=/trunk/; revision=17968
Thomas Bluemel [Wed, 21 Sep 2005 17:22:45 +0000 (17:22 +0000)]
fixed some warnings
svn path=/trunk/; revision=17967
Richard Campbell [Wed, 21 Sep 2005 17:09:33 +0000 (17:09 +0000)]
-small test commit
svn path=/trunk/; revision=17966
Thomas Bluemel [Wed, 21 Sep 2005 15:32:53 +0000 (15:32 +0000)]
fixed differences in signedness warnings
svn path=/trunk/; revision=17965
Filip Navara [Wed, 21 Sep 2005 14:01:49 +0000 (14:01 +0000)]
Indentation fix.
svn path=/trunk/; revision=17964
Filip Navara [Wed, 21 Sep 2005 13:49:09 +0000 (13:49 +0000)]
Incomplete support for WS_EX_TRANSPARENT, should fix Task Manager painting bugs.
svn path=/trunk/; revision=17963
Steven Edwards [Wed, 21 Sep 2005 03:20:07 +0000 (03:20 +0000)]
Nathan Woods <npwoods _NOSPAM_at_NOSPAM cybercom.net> - Implement a working VS.NET backend, minor fixes to the vc6 backend
svn path=/trunk/; revision=17962
Royce Mitchell III [Wed, 21 Sep 2005 02:04:07 +0000 (02:04 +0000)]
remove extraneous \n's
svn path=/trunk/; revision=17961
Royce Mitchell III [Wed, 21 Sep 2005 01:44:18 +0000 (01:44 +0000)]
give set/a access to "special" variables like errorlevel
svn path=/trunk/; revision=17960
Royce Mitchell III [Wed, 21 Sep 2005 01:27:54 +0000 (01:27 +0000)]
msvc6 warning fix
svn path=/trunk/; revision=17959
Royce Mitchell III [Wed, 21 Sep 2005 01:27:22 +0000 (01:27 +0000)]
always strip '^' (unless it was preceded by an '^' itself), not just if it precedes the redirection symbols - fixes some of my test cases in seta_test.cmd
svn path=/trunk/; revision=17958
Royce Mitchell III [Wed, 21 Sep 2005 01:25:58 +0000 (01:25 +0000)]
fix debug output
remove my '!' code - don't know how I thought this was valid
restore part of code I removed previously that was breaking 'not' cases that need to execute and the right half of the == was longer than then left
svn path=/trunk/; revision=17957
Royce Mitchell III [Wed, 21 Sep 2005 01:23:44 +0000 (01:23 +0000)]
a few more tests to clarify parsing oddities based on my playing around
svn path=/trunk/; revision=17956
Royce Mitchell III [Wed, 21 Sep 2005 01:22:56 +0000 (01:22 +0000)]
%1 %2 etc still work with set/a ( just not %foo% )
svn path=/trunk/; revision=17955
Royce Mitchell III [Tue, 20 Sep 2005 20:43:15 +0000 (20:43 +0000)]
fix misunderstandings of if syntax
svn path=/trunk/; revision=17954
Royce Mitchell III [Tue, 20 Sep 2005 20:32:48 +0000 (20:32 +0000)]
fix escape removal
svn path=/trunk/; revision=17953
Royce Mitchell III [Tue, 20 Sep 2005 20:13:16 +0000 (20:13 +0000)]
remove now-pointless if statement
add a little more debug output
svn path=/trunk/; revision=17952
Martin Fuchs [Tue, 20 Sep 2005 19:51:27 +0000 (19:51 +0000)]
- fix build for MinGW and VC++ environments
- fix Manifest descriptions
- ignore some immediate files
svn path=/trunk/; revision=17951
Royce Mitchell III [Tue, 20 Sep 2005 19:27:08 +0000 (19:27 +0000)]
unrevert change - this change is correct and works in windows
svn path=/trunk/; revision=17950
Magnus Olsen [Tue, 20 Sep 2005 18:11:55 +0000 (18:11 +0000)]
Revert royce3 change from 17948 to 16488 it break choice in bat files, in some case.
svn path=/trunk/; revision=17949
Royce Mitchell III [Tue, 20 Sep 2005 16:38:02 +0000 (16:38 +0000)]
cmd's documentation says that env variables override the "built-ins" like %errorlevel% and such.
also fixed a couple msvc6 warnings and added a little documentation to the set/a code
svn path=/trunk/; revision=17948
Filip Navara [Tue, 20 Sep 2005 10:45:27 +0000 (10:45 +0000)]
Restore the pre-r17946 UserGetAncestor behaviour and fix the code calling it.
svn path=/trunk/; revision=17947
Filip Navara [Tue, 20 Sep 2005 10:31:57 +0000 (10:31 +0000)]
- SetParent shouldn't destroy menus.
- UserGetAncestor(Window, GA_ROOT) really shouldn't return NULL, in any case.
svn path=/trunk/; revision=17946
Filip Navara [Tue, 20 Sep 2005 10:29:05 +0000 (10:29 +0000)]
Don't return NULL regions from DceGetVisRgn.
svn path=/trunk/; revision=17945
Filip Navara [Tue, 20 Sep 2005 09:31:13 +0000 (09:31 +0000)]
Fix parameter validation in WM_GETTEXT and GetWindowText.
svn path=/trunk/; revision=17944
Filip Navara [Tue, 20 Sep 2005 09:28:49 +0000 (09:28 +0000)]
Support GCW_ATOM in GetClassLong.
svn path=/trunk/; revision=17943
Filip Navara [Tue, 20 Sep 2005 09:28:18 +0000 (09:28 +0000)]
Fix the order of window style setting.
svn path=/trunk/; revision=17942
Gé van Geldorp [Tue, 20 Sep 2005 08:00:00 +0000 (08:00 +0000)]
Set eol-style
svn path=/trunk/; revision=17941
Gé van Geldorp [Tue, 20 Sep 2005 07:58:28 +0000 (07:58 +0000)]
Saveliy Tretiakov <saveliyt@mail.ru>:
EventLog changes
- Implement basic file operations (WindowsNT compatible file format)
- Write events from lpc port to System Log
(to read these events, open \ReactOS\system32\config\SysEvent.evt in Windows
EventViewer)
- RPC server (stubs)
svn path=/trunk/; revision=17940
Gé van Geldorp [Tue, 20 Sep 2005 07:37:45 +0000 (07:37 +0000)]
Bletch <npwoods@mess.org>:
.lnk files (and other files with hidden file extension) got one character
truncated off the resulting filename.
svn path=/trunk/; revision=17939
Royce Mitchell III [Mon, 19 Sep 2005 23:00:25 +0000 (23:00 +0000)]
hack fix to pass % to set/a unmolested
svn path=/trunk/; revision=17938
Royce Mitchell III [Mon, 19 Sep 2005 22:00:01 +0000 (22:00 +0000)]
reformat code
svn path=/trunk/; revision=17937
Gé van Geldorp [Mon, 19 Sep 2005 21:11:41 +0000 (21:11 +0000)]
- Add ctrl support to (most) keyboard layouts. Only tested for kbdus, added
to a few other I was confident about. Still to do: kbddv, kbdgr, kbdru, kbdsg
- Prevent access outside array in TryToTranslateChar
- Revert r17830, it handles ctrl keys at the wrong location
This fixes bug 763.
svn path=/trunk/; revision=17936
Hartmut Birr [Mon, 19 Sep 2005 20:01:29 +0000 (20:01 +0000)]
- Read more information from the registry about the disks detected by the bios.
- Fixed the detection of disks with a signature of zero (in AddDiskToList).
- Update always the partition table if the modified flag is set.
- Create an unique disk signature.
- Declared some registry query structures in cmtype.h.
svn path=/trunk/; revision=17935
Filip Navara [Mon, 19 Sep 2005 15:16:00 +0000 (15:16 +0000)]
Remove accidently commited debug code.
svn path=/trunk/; revision=17934
Filip Navara [Mon, 19 Sep 2005 15:15:22 +0000 (15:15 +0000)]
Fix the taskbar button resizing to account for button spacing.
svn path=/trunk/; revision=17933
Filip Navara [Mon, 19 Sep 2005 12:21:52 +0000 (12:21 +0000)]
- Fix region deleting and ownership for DCEs.
- Fix uninitialized hDC variable in painting code :)
svn path=/trunk/; revision=17932
Filip Navara [Mon, 19 Sep 2005 10:39:26 +0000 (10:39 +0000)]
Partial clean-up of the painting functions:
- Get rid of the DCX_WINDOWPAINT flag (it wasn't used anyway).
- Remove the PaintPosted field from message queue, we don't need it.
- Use screen cooridnates for the WindowUpdate region instead of window relative ones.
- Fix the algorithm for retrieving paint messages to respect the painting order.
- Remove the NCUpdateRegion field from window object and calculate it on demand.
- Fix GetDCEx to take region in screen coordinates.
svn path=/trunk/; revision=17931
Hervé Poussineau [Mon, 19 Sep 2005 10:04:07 +0000 (10:04 +0000)]
Implement IRP_MN_QUERY_CAPABILITIES, IRP_MN_QUERY_RESOURCES, IRP_MN_QUERY_RESOURCE_REQUIREMENTS, IRP_MN_QUERY_DEVICE_TEXT for USB devices
Fix DeviceID and HardwareIDs identifiers returned for root hub (Vendor and Product IDs are still not initialized by Cromwell code)
Fix handling of removal IRPs for USB controller
svn path=/trunk/; revision=17930
Hervé Poussineau [Mon, 19 Sep 2005 08:11:43 +0000 (08:11 +0000)]
Automagically select computer type (UP/MP) during first stage setup
svn path=/trunk/; revision=17929
Filip Navara [Mon, 19 Sep 2005 07:35:31 +0000 (07:35 +0000)]
- Move the window showing/hiding notifications from co_WinPosShowWindow to co_WinPosSetWindowPos and fix up the top-level checks.
- Call the redraw routine on parent window if possible in co_WinPosSetWindowPos. Should fix bug #735.
svn path=/trunk/; revision=17928
Royce Mitchell III [Mon, 19 Sep 2005 05:42:01 +0000 (05:42 +0000)]
fix if command to work more like expected. seta_test.cmd gets much further now.
fixed some msvc6 warnings while I was in here
svn path=/trunk/; revision=17927
Royce Mitchell III [Mon, 19 Sep 2005 05:29:17 +0000 (05:29 +0000)]
fixed mistakes, extra tests illustrating problems with if command
svn path=/trunk/; revision=17926
Royce Mitchell III [Mon, 19 Sep 2005 01:14:36 +0000 (01:14 +0000)]
move hard-coded strings to En.rc before GreatLord shoots me
svn path=/trunk/; revision=17925
Gunnar Dalsnes [Mon, 19 Sep 2005 00:02:39 +0000 (00:02 +0000)]
-set last error (invalid handle) in cases where handle is NULL also
-remove GvG's workaround
svn path=/trunk/; revision=17924
Gunnar Dalsnes [Sun, 18 Sep 2005 23:06:15 +0000 (23:06 +0000)]
-added better LIST_FOR_EACH macros (ripped from wine) and fix their usage
-make hotkeys session global (they dont belong in winsta)
svn path=/trunk/; revision=17923
Gé van Geldorp [Sun, 18 Sep 2005 21:48:56 +0000 (21:48 +0000)]
Set correct error code, IsWindow() depends on this
svn path=/trunk/; revision=17922
Royce Mitchell III [Sun, 18 Sep 2005 18:59:59 +0000 (18:59 +0000)]
regression test for set /a - fails at the moment because 'if' is bork3d
svn path=/trunk/; revision=17921
Royce Mitchell III [Sun, 18 Sep 2005 18:58:11 +0000 (18:58 +0000)]
fixes for UNICODE compilation
svn path=/trunk/; revision=17920
Alex Ionescu [Sun, 18 Sep 2005 18:49:30 +0000 (18:49 +0000)]
Make LogoffWindowsDialog exit the caller (ie: explorer) so that previous shutdown functionality is restored
svn path=/trunk/; revision=17919
Alex Ionescu [Sun, 18 Sep 2005 18:46:15 +0000 (18:46 +0000)]
Fix shell32 spec file to properly export LogoffWindowsDialog as the proper ordinal (54) so that explorer won't crash on shutdown when calling it. Implement the LogoffWindowsDialog stub.
svn path=/trunk/; revision=17918
Royce Mitchell III [Sun, 18 Sep 2005 18:37:08 +0000 (18:37 +0000)]
fix escaping
svn path=/trunk/; revision=17917
Royce Mitchell III [Sun, 18 Sep 2005 17:52:28 +0000 (17:52 +0000)]
(hopefully) last bugfix to set /a - assignment works again
svn path=/trunk/; revision=17916
Royce Mitchell III [Sun, 18 Sep 2005 17:33:11 +0000 (17:33 +0000)]
fixed bugs in shifting (<<, >>, <<=, >>=)
eliminated some code duplication while I was in there.
svn path=/trunk/; revision=17915
Gunnar Dalsnes [Sun, 18 Sep 2005 16:56:33 +0000 (16:56 +0000)]
-remove meaningless use of winstas
-move syscalls to end of file
svn path=/trunk/; revision=17914
Hartmut Birr [Sun, 18 Sep 2005 15:25:34 +0000 (15:25 +0000)]
Revert my last changes.
svn path=/trunk/; revision=17913
Hartmut Birr [Sun, 18 Sep 2005 13:46:37 +0000 (13:46 +0000)]
The share disposition isn't necessary for FILE_READ_ATTRIBUTES.
svn path=/trunk/; revision=17912
Magnus Olsen [Sun, 18 Sep 2005 13:36:29 +0000 (13:36 +0000)]
revert my change from r17909. Thx hbirr to fix the bug with 17910.
svn path=/trunk/; revision=17911
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Magnus Olsen [Sat, 17 Sep 2005 16:02:37 +0000 (16:02 +0000)]
Update the swedish translation by Harteex.
svn path=/trunk/; revision=17896
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
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
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
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
Martin Fuchs [Sat, 17 Sep 2005 10:52:43 +0000 (10:52 +0000)]
add comment
svn path=/trunk/; revision=17891
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
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
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
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
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
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
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
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
Hartmut Birr [Fri, 16 Sep 2005 15:18:23 +0000 (15:18 +0000)]
Free all messages in LpcpDeletePort.
svn path=/trunk/; revision=17882
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
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
Hartmut Birr [Fri, 16 Sep 2005 14:50:25 +0000 (14:50 +0000)]
Dereference the port object in PspExitThread.
svn path=/trunk/; revision=17879
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
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
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
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
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
Brandon Turner [Fri, 16 Sep 2005 04:46:06 +0000 (04:46 +0000)]
forgot to free comspec, very sorry.
svn path=/trunk/; revision=17873
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
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
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
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