Commit graph

16815 commits

Author SHA1 Message Date
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
Gé van Geldorp
81441a8931 Slicencium <silencium@wanadoo.es>:
Fix precision bug (bug 775)

svn path=/trunk/; revision=17979
2005-09-22 07:24:08 +00:00
Thomas Bluemel
b06b7fb73a fixed some handle leaks in RegDeleteTree() in some failure cases
svn path=/trunk/; revision=17978
2005-09-21 23:56:52 +00:00
Gé van Geldorp
87dda98431 brbak <mpd000@yahoo.de>:
Reset on new calculation. Patch from bug 775.

svn path=/trunk/; revision=17977
2005-09-21 22:55:37 +00:00
Gé van Geldorp
c284fca775 brbak <mpd000@yahoo.de>:
fixes repositioning of text (from bug 749)

svn path=/trunk/; revision=17976
2005-09-21 22:48:52 +00:00
Hartmut Birr
080f8f4a31 - 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
2005-09-21 22:16:17 +00:00
Martin Fuchs
14d1c2cc63 - use size_t for buffer/string lengths instead of int
- define COUNTOF if not defined already

svn path=/trunk/; revision=17974
2005-09-21 21:54:52 +00:00
Martin Fuchs
d4358bfc5e - Bugfix for UTF-8 strings
- insert more XS_vsnprintf() calls
- additional comments
- struct XMLWriter

svn path=/trunk/; revision=17973
2005-09-21 21:44:39 +00:00
Thomas Bluemel
a8f183303f fixed some mismatching prototypes, sorry for breaking the build
svn path=/trunk/; revision=17972
2005-09-21 18:24:16 +00:00
Thomas Bluemel
7fd1af5d12 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
2005-09-21 17:57:07 +00:00
Thomas Bluemel
2e7c6d22ad fixed differences in signedness warnings
svn path=/trunk/; revision=17970
2005-09-21 17:37:08 +00:00
Thomas Bluemel
6f8faaa0d5 add missing function declarations
svn path=/trunk/; revision=17969
2005-09-21 17:28:14 +00:00
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