Thomas Bluemel [Fri, 23 Sep 2005 15:31:04 +0000 (15:31 +0000)]
don't read the DACL if it's not present or if it's a NULL-DACL
svn path=/trunk/; revision=18013
Thomas Bluemel [Fri, 23 Sep 2005 14:15:30 +0000 (14:15 +0000)]
- fixed buffer size calculation in RtlLengthRequiredSid and RtlLengthSid
- use RtlCreateUnicodeString to allocate the string in RtlConvertSidToUnicodeString
svn path=/trunk/; revision=18012
Thomas Bluemel [Fri, 23 Sep 2005 14:13:44 +0000 (14:13 +0000)]
minor optimization of RtlCreateUnicodeString: as the memory never overlaps, just copy the memory instead of moving it
svn path=/trunk/; revision=18011
Thomas Bluemel [Fri, 23 Sep 2005 11:12:18 +0000 (11:12 +0000)]
fixed signedness warning
svn path=/trunk/; revision=18010
Gé van Geldorp [Fri, 23 Sep 2005 09:51:18 +0000 (09:51 +0000)]
Remove dead file
svn path=/trunk/; revision=18009
Gé van Geldorp [Fri, 23 Sep 2005 09:23:14 +0000 (09:23 +0000)]
Make GDB available for release builds
svn path=/trunk/; revision=18008
Gé van Geldorp [Fri, 23 Sep 2005 09:17:38 +0000 (09:17 +0000)]
Don't use uninitialized var
svn path=/trunk/; revision=18007
Hervé Poussineau [Fri, 23 Sep 2005 09:02:16 +0000 (09:02 +0000)]
Report correctly USB device class and subclass when the device reports only one interface and the class is not defined in the device descriptor
svn path=/trunk/; revision=18006
Hervé Poussineau [Fri, 23 Sep 2005 08:55:33 +0000 (08:55 +0000)]
Cast the right pointer to the structure.
Fix bug 783. Thanks GvG.
svn path=/trunk/; revision=18005
Steven Edwards [Fri, 23 Sep 2005 07:32:21 +0000 (07:32 +0000)]
doing my good dead for the day
svn path=/trunk/; revision=18004
Alex Ionescu [Fri, 23 Sep 2005 07:19:47 +0000 (07:19 +0000)]
Forgot these changes, sorry
svn path=/trunk/; revision=18003
Alex Ionescu [Fri, 23 Sep 2005 06:37:14 +0000 (06:37 +0000)]
- Fix a bunch of various bugs in the Rtl String routines, mostly subtle (ie: fail AFTER writing maximum length, not before (some apps might depend on it), fix completely broken RtlAnsiCharToUnicodeChar prototype and functionality, don't clear buffers when we shouldn't/clear buffers when we should...)
- Also cleanup formatting of the file
- Use Index member from Rtl...To...N API when null-terminating the strings.
- Various optimizations and simplifications in some of the loops.
- Remove some duplicated code.
- Notes about special handling where required, also implement it in some parts.
- Add more failure cases.
- Return correct status codes on failures.
svn path=/trunk/; revision=18002
Alex Ionescu [Fri, 23 Sep 2005 06:32:47 +0000 (06:32 +0000)]
Make TAB+ debug combos work again. Based on bugfix by Andrew Munger.
svn path=/trunk/; revision=18001
Alex Ionescu [Fri, 23 Sep 2005 06:25:38 +0000 (06:25 +0000)]
Fix exception handling/PSEH. Fixes bug 797.
svn path=/trunk/; revision=18000
Steven Edwards [Fri, 23 Sep 2005 06:06:20 +0000 (06:06 +0000)]
Stefan Huehner <stefan@huehner.org>
Fix more -Wstrict-prototypes warnings.
svn path=/trunk/; revision=17999
Steven Edwards [Fri, 23 Sep 2005 06:04:44 +0000 (06:04 +0000)]
Dmitry Timoshkov <dmitry@codeweavers.com> Fix the usage of COLOR_xxx constants in the place of the window's class hbrBackground.
svn path=/trunk/; revision=17998
Steven Edwards [Fri, 23 Sep 2005 06:02:23 +0000 (06:02 +0000)]
Kevin Koltzau <kevin@plop.org> Enable/disable menu items based on edit control state.
svn path=/trunk/; revision=17997
Steven Edwards [Fri, 23 Sep 2005 05:58:27 +0000 (05:58 +0000)]
Kevin Koltzau <kevin@plop.org> Handle notepad log feature.
svn path=/trunk/; revision=17996
Steven Edwards [Fri, 23 Sep 2005 05:54:46 +0000 (05:54 +0000)]
Lauri Tulmin <lauri_@ut.ee> implement word wrap
svn path=/trunk/; revision=17995
Andrew Munger [Fri, 23 Sep 2005 03:50:03 +0000 (03:50 +0000)]
Properly return status in iphplapi, and don't close the file handle before we use it in getNumInterfacesInt.
svn path=/trunk/; revision=17994
Thomas Bluemel [Fri, 23 Sep 2005 00:05:38 +0000 (00:05 +0000)]
mark ZwDuplicateToken as NTSYSAPI. thx to alex
svn path=/trunk/; revision=17993
Thomas Bluemel [Thu, 22 Sep 2005 23:50:38 +0000 (23:50 +0000)]
some Nt vs. Zw fixes; these functions shouldn't be used in ntoskrnl but since they're shared there's a chance they could be used
svn path=/trunk/; revision=17992
Thomas Bluemel [Thu, 22 Sep 2005 23:46:20 +0000 (23:46 +0000)]
some Nt vs. Zw fixes; these functions shouldn't be used in ntoskrnl but since they're shared there's a chance they could be used
svn path=/trunk/; revision=17991
Thomas Bluemel [Thu, 22 Sep 2005 23:23:00 +0000 (23:23 +0000)]
some Nt vs. Zw fixes
svn path=/trunk/; revision=17990
Thomas Bluemel [Thu, 22 Sep 2005 21:09:06 +0000 (21:09 +0000)]
fixed gcc4 warning
svn path=/trunk/; revision=17989
Gé van Geldorp [Thu, 22 Sep 2005 20:54:20 +0000 (20:54 +0000)]
Bletch <npwoods@mess.org>:
- Implements key and value renaming
- Implements key deleting
- Implements New Key/String/Binary/DWORD option
svn path=/trunk/; revision=17988
Thomas Bluemel [Thu, 22 Sep 2005 20:44:10 +0000 (20:44 +0000)]
fixed uninitialized variable warning
svn path=/trunk/; revision=17987
Filip Navara [Thu, 22 Sep 2005 20:36:07 +0000 (20:36 +0000)]
Handle some failure cases in better way.
svn path=/trunk/; revision=17986
Gé van Geldorp [Thu, 22 Sep 2005 20:24:50 +0000 (20:24 +0000)]
Return atom length when requested. Fixes bug 793.
svn path=/trunk/; revision=17985
Filip Navara [Thu, 22 Sep 2005 20:17:55 +0000 (20:17 +0000)]
InfoTdiQueryInformationEx should return failure if no entity was found.
svn path=/trunk/; revision=17984
Thomas Bluemel [Thu, 22 Sep 2005 19:46:36 +0000 (19:46 +0000)]
minor string initialization optimizations
svn path=/trunk/; revision=17983
Thomas Bluemel [Thu, 22 Sep 2005 14:30:29 +0000 (14:30 +0000)]
add selected principals to the list (doesn't modify the ACLs yet!)
svn path=/trunk/; revision=17982
Hervé Poussineau [Thu, 22 Sep 2005 11:20:52 +0000 (11:20 +0000)]
Fix IRP_MJ_PNP / IRP_MN_QUERY_ID / BusQueryHardwareIDs for root USB hubs.
The vendor and device IDs are not filled in Cromwell code, so ask directly the PCI device to retrieve the information
svn path=/trunk/; revision=17981
Hervé Poussineau [Thu, 22 Sep 2005 09:17:17 +0000 (09:17 +0000)]
Fix IRP_MJ_PNP / IRP_MN_QUERY_DEVICE_TEXT / DeviceTextLocationInformation for USB devices
I was mis-using usb_get_string() method...
svn path=/trunk/; revision=17980
Gé van Geldorp [Thu, 22 Sep 2005 07:24:08 +0000 (07:24 +0000)]
Slicencium <silencium@wanadoo.es>:
Fix precision bug (bug 775)
svn path=/trunk/; revision=17979
Thomas Bluemel [Wed, 21 Sep 2005 23:56:52 +0000 (23:56 +0000)]
fixed some handle leaks in RegDeleteTree() in some failure cases
svn path=/trunk/; revision=17978
Gé van Geldorp [Wed, 21 Sep 2005 22:55:37 +0000 (22:55 +0000)]
brbak <mpd000@yahoo.de>:
Reset on new calculation. Patch from bug 775.
svn path=/trunk/; revision=17977
Gé van Geldorp [Wed, 21 Sep 2005 22:48:52 +0000 (22:48 +0000)]
brbak <mpd000@yahoo.de>:
fixes repositioning of text (from bug 749)
svn path=/trunk/; revision=17976
Hartmut Birr [Wed, 21 Sep 2005 22:16:17 +0000 (22:16 +0000)]
- Do only create a registry entry for partitions if the signature of the disk is non zero.
- Do only mount partitions from a registry key if the signature is non zero.
- Do delete all registry keys for non existing partitions.
svn path=/trunk/; revision=17975
Martin Fuchs [Wed, 21 Sep 2005 21:54:52 +0000 (21:54 +0000)]
- use size_t for buffer/string lengths instead of int
- define COUNTOF if not defined already
svn path=/trunk/; revision=17974
Martin Fuchs [Wed, 21 Sep 2005 21:44:39 +0000 (21:44 +0000)]
- Bugfix for UTF-8 strings
- insert more XS_vsnprintf() calls
- additional comments
- struct XMLWriter
svn path=/trunk/; revision=17973
Thomas Bluemel [Wed, 21 Sep 2005 18:24:16 +0000 (18:24 +0000)]
fixed some mismatching prototypes, sorry for breaking the build
svn path=/trunk/; revision=17972
Thomas Bluemel [Wed, 21 Sep 2005 17:57:07 +0000 (17:57 +0000)]
some arc names might be longer than 100 characters, increase the buffer size to 255 characters for now to fix a buffer overflow during startup
svn path=/trunk/; revision=17971
Thomas Bluemel [Wed, 21 Sep 2005 17:37:08 +0000 (17:37 +0000)]
fixed differences in signedness warnings
svn path=/trunk/; revision=17970
Thomas Bluemel [Wed, 21 Sep 2005 17:28:14 +0000 (17:28 +0000)]
add missing function declarations
svn path=/trunk/; revision=17969
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