Commit graph

16868 commits

Author SHA1 Message Date
Thomas Bluemel
30da66ac75 pass the buffer size to GetEnvironmentVariable() in characters, not bytes!
svn path=/trunk/; revision=17968
2005-09-21 17:23:27 +00:00
Thomas Bluemel
78e6f0fce1 fixed some warnings
svn path=/trunk/; revision=17967
2005-09-21 17:22:45 +00:00
Richard Campbell
1e7a778c81 -small test commit
svn path=/trunk/; revision=17966
2005-09-21 17:09:33 +00:00
Thomas Bluemel
71a3db7178 fixed differences in signedness warnings
svn path=/trunk/; revision=17965
2005-09-21 15:32:53 +00:00
Filip Navara
8eece91bda Indentation fix.
svn path=/trunk/; revision=17964
2005-09-21 14:01:49 +00:00
Filip Navara
eca43c5532 Incomplete support for WS_EX_TRANSPARENT, should fix Task Manager painting bugs.
svn path=/trunk/; revision=17963
2005-09-21 13:49:09 +00:00
Steven Edwards
32e72ac4f3 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
2005-09-21 03:20:07 +00:00
Royce Mitchell III
de51245b10 remove extraneous \n's
svn path=/trunk/; revision=17961
2005-09-21 02:04:07 +00:00
Royce Mitchell III
5c0d0a5c3d give set/a access to "special" variables like errorlevel
svn path=/trunk/; revision=17960
2005-09-21 01:44:18 +00:00
Royce Mitchell III
d25cb331be msvc6 warning fix
svn path=/trunk/; revision=17959
2005-09-21 01:27:54 +00:00
Royce Mitchell III
48bf871025 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
2005-09-21 01:27:22 +00:00
Royce Mitchell III
d6475d7b86 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
2005-09-21 01:25:58 +00:00
Royce Mitchell III
7e3c246bc2 a few more tests to clarify parsing oddities based on my playing around
svn path=/trunk/; revision=17956
2005-09-21 01:23:44 +00:00
Royce Mitchell III
1b64b915a7 %1 %2 etc still work with set/a ( just not %foo% )
svn path=/trunk/; revision=17955
2005-09-21 01:22:56 +00:00
Royce Mitchell III
83471cc423 fix misunderstandings of if syntax
svn path=/trunk/; revision=17954
2005-09-20 20:43:15 +00:00
Royce Mitchell III
7b93cd135c fix escape removal
svn path=/trunk/; revision=17953
2005-09-20 20:32:48 +00:00
Royce Mitchell III
39fd46a7b3 remove now-pointless if statement
add a little more debug output

svn path=/trunk/; revision=17952
2005-09-20 20:13:16 +00:00
Martin Fuchs
d91a17bcbc - fix build for MinGW and VC++ environments
- fix Manifest descriptions
- ignore some immediate files

svn path=/trunk/; revision=17951
2005-09-20 19:51:27 +00:00
Royce Mitchell III
819d52f0da unrevert change - this change is correct and works in windows
svn path=/trunk/; revision=17950
2005-09-20 19:27:08 +00:00
Magnus Olsen
86b46b4572 Revert royce3 change from 17948 to 16488 it break choice in bat files, in some case.
svn path=/trunk/; revision=17949
2005-09-20 18:11:55 +00:00
Royce Mitchell III
4ec7b01faf 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
2005-09-20 16:38:02 +00:00
Filip Navara
dff3a0dd3a Restore the pre-r17946 UserGetAncestor behaviour and fix the code calling it.
svn path=/trunk/; revision=17947
2005-09-20 10:45:27 +00:00
Filip Navara
27f30a175b - SetParent shouldn't destroy menus.
- UserGetAncestor(Window, GA_ROOT) really shouldn't return NULL, in any case.

svn path=/trunk/; revision=17946
2005-09-20 10:31:57 +00:00
Filip Navara
0bec9aee61 Don't return NULL regions from DceGetVisRgn.
svn path=/trunk/; revision=17945
2005-09-20 10:29:05 +00:00
Filip Navara
1dc1b56c2f Fix parameter validation in WM_GETTEXT and GetWindowText.
svn path=/trunk/; revision=17944
2005-09-20 09:31:13 +00:00
Filip Navara
7936d2bbcf Support GCW_ATOM in GetClassLong.
svn path=/trunk/; revision=17943
2005-09-20 09:28:49 +00:00
Filip Navara
86ae753de1 Fix the order of window style setting.
svn path=/trunk/; revision=17942
2005-09-20 09:28:18 +00:00
Gé van Geldorp
ac73d1e005 Set eol-style
svn path=/trunk/; revision=17941
2005-09-20 08:00:00 +00:00
Gé van Geldorp
7ec5b38020 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
2005-09-20 07:58:28 +00:00
Gé van Geldorp
8528b9b411 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
2005-09-20 07:37:45 +00:00
Royce Mitchell III
bf84d47c16 hack fix to pass % to set/a unmolested
svn path=/trunk/; revision=17938
2005-09-19 23:00:25 +00:00
Royce Mitchell III
2d9a0aaa6c reformat code
svn path=/trunk/; revision=17937
2005-09-19 22:00:01 +00:00
Gé van Geldorp
f5ffc6c672 - 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
2005-09-19 21:11:41 +00:00
Hartmut Birr
047952c5a1 - 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
2005-09-19 20:01:29 +00:00
Filip Navara
1ddb0f87a0 Remove accidently commited debug code.
svn path=/trunk/; revision=17934
2005-09-19 15:16:00 +00:00
Filip Navara
fe51307bd2 Fix the taskbar button resizing to account for button spacing.
svn path=/trunk/; revision=17933
2005-09-19 15:15:22 +00:00
Filip Navara
e402efe2c3 - Fix region deleting and ownership for DCEs.
- Fix uninitialized hDC variable in painting code :)

svn path=/trunk/; revision=17932
2005-09-19 12:21:52 +00:00
Filip Navara
1d878e0ba5 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
2005-09-19 10:39:26 +00:00
Hervé Poussineau
0558c3abc5 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
2005-09-19 10:04:07 +00:00
Hervé Poussineau
243b1fc88f Automagically select computer type (UP/MP) during first stage setup
svn path=/trunk/; revision=17929
2005-09-19 08:11:43 +00:00
Filip Navara
f1ee99f91a - 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
2005-09-19 07:35:31 +00:00
Royce Mitchell III
07070d0d52 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
2005-09-19 05:42:01 +00:00
Royce Mitchell III
636cb4e66c fixed mistakes, extra tests illustrating problems with if command
svn path=/trunk/; revision=17926
2005-09-19 05:29:17 +00:00
Royce Mitchell III
1e9a958e20 move hard-coded strings to En.rc before GreatLord shoots me
svn path=/trunk/; revision=17925
2005-09-19 01:14:36 +00:00
Gunnar Dalsnes
acd5c47c18 -set last error (invalid handle) in cases where handle is NULL also
-remove GvG's workaround

svn path=/trunk/; revision=17924
2005-09-19 00:02:39 +00:00
Gunnar Dalsnes
5eaa4fda83 -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
2005-09-18 23:06:15 +00:00
Gé van Geldorp
17fba5a631 Set correct error code, IsWindow() depends on this
svn path=/trunk/; revision=17922
2005-09-18 21:48:56 +00:00
Royce Mitchell III
4837e8bf71 regression test for set /a - fails at the moment because 'if' is bork3d
svn path=/trunk/; revision=17921
2005-09-18 18:59:59 +00:00
Royce Mitchell III
0f792e01d4 fixes for UNICODE compilation
svn path=/trunk/; revision=17920
2005-09-18 18:58:11 +00:00
Alex Ionescu
ae1732c6b0 Make LogoffWindowsDialog exit the caller (ie: explorer) so that previous shutdown functionality is restored
svn path=/trunk/; revision=17919
2005-09-18 18:49:30 +00:00