Commit graph

17029 commits

Author SHA1 Message Date
Hartmut Birr
2914b8925b Used NtQueryFullAttributesFile instead of NtOpenFile/NtQueryInformationFile/NtClose in GetFileAttributesExW (suggested by Thomas Weidenmueller).
svn path=/trunk/; revision=18029
2005-09-24 18:09:06 +00:00
Hartmut Birr
e6a04cca76 Merged the main code from NtQueryAttributesFile and NtQueryFullAttributesFile to IopQueryAttributesFile.
Check the access to parameters in IopQueryAttributesFile if we are called from user mode because calling Zw functions from kernel mode will bypass all checks.

svn path=/trunk/; revision=18028
2005-09-24 18:04:13 +00:00
Filip Navara
ffb2fee46a Port the system message queue WM_MOUSEDOWN coalesce fix from win32k rewrite branch.
svn path=/trunk/; revision=18027
2005-09-24 17:34:09 +00:00
Thomas Bluemel
5f8c990b41 implemented RegCopyTreeW() (untested!)
svn path=/trunk/; revision=18026
2005-09-24 17:08:13 +00:00
Hervé Poussineau
5681e54736 If device instance id is not unique, prepend information from parent bus device
svn path=/trunk/; revision=18025
2005-09-24 13:19:25 +00:00
Gunnar Dalsnes
bd79c96a7d uncomment and add mutex asserts
svn path=/trunk/; revision=18024
2005-09-24 11:43:23 +00:00
Eric Kohl
f9725315fe - Implement CM_Get_Device_List_Size_ExW
svn path=/trunk/; revision=18023
2005-09-24 09:30:43 +00:00
Gunnar Dalsnes
5fa3cc8c0f -include/ndk/rtltypes.h: add MAX_ATOM_LEN define
-win32k: remove some NtUser syscalls and merge some NtUser syscalls
-crt/include/internal/file.h: correct spelling
-RtlAddAtomToAtomTable: check for max atom len
-RtlQueryAtomInAtomTable: fix bug. somehow lock wasnt always released.
-fix/reword windows classes impl. based on Wine. All but 2 winetests pass.
-ntoskrnl/rtl/atom.c: add fixme about global atom table
-remove desktop object lock
-dont link windows into the class object
-co_IntShellHookNotify: safely send notify messages
-misc win32k reorg/cleanup

svn path=/trunk/; revision=18022
2005-09-24 02:50:02 +00:00
Ged Murphy
ff4f5a654b First commit, mainly testing.
Cleanup code to follow ROS' coding style better
Remove tabs and trailing whitespace.

svn path=/trunk/; revision=18021
2005-09-23 21:46:54 +00:00
Gé van Geldorp
ce7453f9ed Fix RtlQueryAtomInAtomTable and add regression tests
svn path=/trunk/; revision=18020
2005-09-23 21:08:57 +00:00
Thomas Bluemel
128c57f209 imported shfolder.dll from WINE-20050830
svn path=/trunk/; revision=18019
2005-09-23 19:24:20 +00:00
Alex Ionescu
ea0f14b310 fix identation bug in 18016
svn path=/trunk/; revision=18018
2005-09-23 18:15:39 +00:00
Alex Ionescu
081b39d0ef Fix signalstate check in KGATE code; spotted by magey.
svn path=/trunk/; revision=18017
2005-09-23 16:31:06 +00:00
Alex Ionescu
c6d8b12b89 - Call IsDialogMessage before TranslateAccelerators, so that the accelerator's output, if any, appears in the proper window. Patch by Bletch <npwoods@mess.org>. Fixes bug 803.
svn path=/trunk/; revision=18016
2005-09-23 15:46:10 +00:00
Alex Ionescu
2be4bec4f1 - Return focus to run dialog after showing the file not found messagebox. Patch by brbak <mpd000@yahoo.de>
svn path=/trunk/; revision=18015
2005-09-23 15:42:40 +00:00
Thomas Bluemel
ff1322e0a3 use RegGetKeySecurity() directly to read the security information
svn path=/trunk/; revision=18014
2005-09-23 15:31:42 +00:00
Thomas Bluemel
0243833fef don't read the DACL if it's not present or if it's a NULL-DACL
svn path=/trunk/; revision=18013
2005-09-23 15:31:04 +00:00
Thomas Bluemel
7542d31c35 - fixed buffer size calculation in RtlLengthRequiredSid and RtlLengthSid
- use RtlCreateUnicodeString to allocate the string in RtlConvertSidToUnicodeString

svn path=/trunk/; revision=18012
2005-09-23 14:15:30 +00:00
Thomas Bluemel
528323ece7 minor optimization of RtlCreateUnicodeString: as the memory never overlaps, just copy the memory instead of moving it
svn path=/trunk/; revision=18011
2005-09-23 14:13:44 +00:00
Thomas Bluemel
4b69f7ad42 fixed signedness warning
svn path=/trunk/; revision=18010
2005-09-23 11:12:18 +00:00
Gé van Geldorp
5cf68f2c19 Remove dead file
svn path=/trunk/; revision=18009
2005-09-23 09:51:18 +00:00
Gé van Geldorp
7a74eefb29 Make GDB available for release builds
svn path=/trunk/; revision=18008
2005-09-23 09:23:14 +00:00
Gé van Geldorp
d735771108 Don't use uninitialized var
svn path=/trunk/; revision=18007
2005-09-23 09:17:38 +00:00
Hervé Poussineau
b7a7ffcfcd 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
2005-09-23 09:02:16 +00:00
Hervé Poussineau
0c7bb23c18 Cast the right pointer to the structure.
Fix bug 783. Thanks GvG.

svn path=/trunk/; revision=18005
2005-09-23 08:55:33 +00:00
Steven Edwards
9c356c1031 doing my good dead for the day
svn path=/trunk/; revision=18004
2005-09-23 07:32:21 +00:00
Alex Ionescu
33bce1ad24 Forgot these changes, sorry
svn path=/trunk/; revision=18003
2005-09-23 07:19:47 +00:00
Alex Ionescu
c6a32a07bd - 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
2005-09-23 06:37:14 +00:00
Alex Ionescu
d1d61051c9 Make TAB+ debug combos work again. Based on bugfix by Andrew Munger.
svn path=/trunk/; revision=18001
2005-09-23 06:32:47 +00:00
Alex Ionescu
43fc149042 Fix exception handling/PSEH. Fixes bug 797.
svn path=/trunk/; revision=18000
2005-09-23 06:25:38 +00:00
Steven Edwards
3d31bdc1fc Stefan Huehner <stefan@huehner.org>
Fix more -Wstrict-prototypes warnings.

svn path=/trunk/; revision=17999
2005-09-23 06:06:20 +00:00
Steven Edwards
4db49a2b8f 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
2005-09-23 06:04:44 +00:00
Steven Edwards
b3725418f0 Kevin Koltzau <kevin@plop.org> Enable/disable menu items based on edit control state.
svn path=/trunk/; revision=17997
2005-09-23 06:02:23 +00:00
Steven Edwards
94cc96262b Kevin Koltzau <kevin@plop.org> Handle notepad log feature.
svn path=/trunk/; revision=17996
2005-09-23 05:58:27 +00:00
Steven Edwards
05a74dc2dd Lauri Tulmin <lauri_@ut.ee> implement word wrap
svn path=/trunk/; revision=17995
2005-09-23 05:54:46 +00:00
Andrew Munger
1e482c105d Properly return status in iphplapi, and don't close the file handle before we use it in getNumInterfacesInt.
svn path=/trunk/; revision=17994
2005-09-23 03:50:03 +00:00
Thomas Bluemel
b64b3f38a0 mark ZwDuplicateToken as NTSYSAPI. thx to alex
svn path=/trunk/; revision=17993
2005-09-23 00:05:38 +00:00
Thomas Bluemel
c7781723f8 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
2005-09-22 23:50:38 +00:00
Thomas Bluemel
da28a303cc 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
2005-09-22 23:46:20 +00:00
Thomas Bluemel
775f129dc9 some Nt vs. Zw fixes
svn path=/trunk/; revision=17990
2005-09-22 23:23:00 +00:00
Thomas Bluemel
6ec323ac74 fixed gcc4 warning
svn path=/trunk/; revision=17989
2005-09-22 21:09:06 +00:00
Gé van Geldorp
d776d5b356 Bletch <npwoods@mess.org>:
- Implements key and value renaming
- Implements key deleting
- Implements New Key/String/Binary/DWORD option

svn path=/trunk/; revision=17988
2005-09-22 20:54:20 +00:00
Thomas Bluemel
c70c695868 fixed uninitialized variable warning
svn path=/trunk/; revision=17987
2005-09-22 20:44:10 +00:00
Filip Navara
5aab768c19 Handle some failure cases in better way.
svn path=/trunk/; revision=17986
2005-09-22 20:36:07 +00:00
Gé van Geldorp
cb0c6e6a48 Return atom length when requested. Fixes bug 793.
svn path=/trunk/; revision=17985
2005-09-22 20:24:50 +00:00
Filip Navara
e6e62c37b3 InfoTdiQueryInformationEx should return failure if no entity was found.
svn path=/trunk/; revision=17984
2005-09-22 20:17:55 +00:00
Thomas Bluemel
c87bac8d51 minor string initialization optimizations
svn path=/trunk/; revision=17983
2005-09-22 19:46:36 +00:00
Thomas Bluemel
ceb2e22d5f add selected principals to the list (doesn't modify the ACLs yet!)
svn path=/trunk/; revision=17982
2005-09-22 14:30:29 +00:00
Hervé Poussineau
4a4df71398 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
2005-09-22 11:20:52 +00:00
Hervé Poussineau
752fed43fb 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
2005-09-22 09:17:17 +00:00