Commit graph

16896 commits

Author SHA1 Message Date
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
Alex Ionescu
523371b73d 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
2005-09-18 18:46:15 +00:00
Royce Mitchell III
891e470c6d fix escaping
svn path=/trunk/; revision=17917
2005-09-18 18:37:08 +00:00
Royce Mitchell III
9cd240b08f (hopefully) last bugfix to set /a - assignment works again
svn path=/trunk/; revision=17916
2005-09-18 17:52:28 +00:00
Royce Mitchell III
f28d0d895f fixed bugs in shifting (<<, >>, <<=, >>=)
eliminated some code duplication while I was in there.

svn path=/trunk/; revision=17915
2005-09-18 17:33:11 +00:00
Gunnar Dalsnes
098082f49d -remove meaningless use of winstas
-move syscalls to end of file

svn path=/trunk/; revision=17914
2005-09-18 16:56:33 +00:00
Hartmut Birr
45694d291d Revert my last changes.
svn path=/trunk/; revision=17913
2005-09-18 15:25:34 +00:00
Hartmut Birr
dbb79dd925 The share disposition isn't necessary for FILE_READ_ATTRIBUTES.
svn path=/trunk/; revision=17912
2005-09-18 13:46:37 +00:00
Magnus Olsen
ed7f5f3976 revert my change from r17909. Thx hbirr to fix the bug with 17910.
svn path=/trunk/; revision=17911
2005-09-18 13:36:29 +00:00
Hartmut Birr
0cfadced6f Don't check the share access for directories.
svn path=/trunk/; revision=17910
2005-09-18 13:10:43 +00:00
Magnus Olsen
065786c3b7 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
2005-09-18 12:05:57 +00:00
Magnus Olsen
fd30631edf Clean up patch from filip, with small change from me, for MoveFileWithProgressW.
svn path=/trunk/; revision=17908
2005-09-18 11:18:28 +00:00
Magnus Olsen
42acc38f81 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
2005-09-18 09:29:37 +00:00
Royce Mitchell III
989e287e31 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
2005-09-18 03:52:34 +00:00
Alex Ionescu
3682544d27 Fix user-mode stack trace regression caused by my exception patch. Traces are now shown again
svn path=/trunk/; revision=17905
2005-09-18 03:26:52 +00:00
Gé van Geldorp
670b82330c _getch() doesn't echo the chars it retrieves and operates in raw mode.
svn path=/trunk/; revision=17904
2005-09-17 22:33:53 +00:00
Hartmut Birr
f8852fda40 Do not overwrite the disk signature, if we install the boot code into the mbr.
svn path=/trunk/; revision=17903
2005-09-17 22:00:35 +00:00
Gé van Geldorp
5f8481f284 Count each handle which has pending events only once, independent of the number
of pending events. Fixes bug 779.

svn path=/trunk/; revision=17902
2005-09-17 21:22:47 +00:00
Magnus Olsen
8e38aa25a1 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
2005-09-17 21:02:38 +00:00
Gé van Geldorp
90fedad977 Add back support for older binutils versions
svn path=/trunk/; revision=17900
2005-09-17 19:38:34 +00:00
Gé van Geldorp
f47052c1a7 Open handle to sfd.sys as asynchromous. This fixes bug 713.
svn path=/trunk/; revision=17899
2005-09-17 19:30:05 +00:00
Magnus Olsen
fdb70af10b Bug fix dir *. it only show folders
svn path=/trunk/; revision=17898
2005-09-17 18:56:16 +00:00
Eric Kohl
13fa268dc1 - 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
2005-09-17 17:16:33 +00:00