Commit graph

16993 commits

Author SHA1 Message Date
Filip Navara
cee1aa7a0d Add TestAlert check to NtContinue.
svn path=/trunk/; revision=18043
2005-09-25 09:23:05 +00:00
Filip Navara
ceb0f5f1eb Fix up the indentation.
svn path=/trunk/; revision=18042
2005-09-25 09:22:22 +00:00
Andrew Munger
2f370af826 Fix getInterfaceInfoSet so GetInterfaceInfo returns only non-loopback adapters, however, we still return some incorrect info.
Silenced a DPRINT.

svn path=/trunk/; revision=18041
2005-09-25 04:55:16 +00:00
Nathan Woods
6e7b2b5af4 1. Moved windows styles pertaining to the edit control to main.h
2.  Stopped using WS_BORDER on the edit control


svn path=/trunk/; revision=18040
2005-09-25 00:35:13 +00:00
Nathan Woods
fd73ac02d7 Fixed property svn:eol-style
svn path=/trunk/; revision=18039
2005-09-25 00:12:12 +00:00
Gé van Geldorp
e8bb7ed8ff Fix GDB backtrace
svn path=/trunk/; revision=18038
2005-09-25 00:00:03 +00:00
Nathan Woods
3c14414c1d Notepad enhancements:
1.  Added line ending handling, so that Notepad can handle line endings other than CR/LF.  This is specified in a dropdown menu similar to the text encoding.  Consequently, I've moved text handling to a new file, text.c

2.  Implemented the Find command

3.  Changed some dialog titles to be 'Notepad' instead of 'ERROR', in line with how Windows notepad works.

4.  The edit control now has the style ES_NOHIDESEL specified


svn path=/trunk/; revision=18037
2005-09-24 23:45:05 +00:00
Thomas Bluemel
5f28a5ed9f removed obsolete goto statement
svn path=/trunk/; revision=18036
2005-09-24 20:37:53 +00:00
Hartmut Birr
1effd8ff68 Allow the system process and a process without a parent process to use all cpus on a smp machine, even if only the boot cpu is running.
svn path=/trunk/; revision=18035
2005-09-24 19:34:54 +00:00
Gé van Geldorp
7ee5d3ea71 This NtGdiCreateCompatableDC misspelling has annoyed me long enough now
svn path=/trunk/; revision=18034
2005-09-24 19:30:12 +00:00
Hartmut Birr
58cb9dc1d9 Set the MaximumLength of the returned string in IntGetFullWindowStationName.
svn path=/trunk/; revision=18033
2005-09-24 19:17:00 +00:00
Hartmut Birr
13355b8eff Do also alert the mouse thread in UserAcquireOrReleaseInputOwnership.
svn path=/trunk/; revision=18032
2005-09-24 19:15:24 +00:00
Hartmut Birr
33ad8f2571 - Moved the definition of REG_NOTIFY_CLASS from cm.h to winddk.h.
- Release the rundown protection if the callback function returns an error (in CmiCallRegisteredCallbacks).  
- Call the registry callback functions in most of the Nt/ZW registry functions.

svn path=/trunk/; revision=18031
2005-09-24 18:42:37 +00:00
Hartmut Birr
262c303ffb - Use the given buffer for getting the name of the parent.
- Check the length of the buffer.  
- Intialise the name string if it is necessary.

svn path=/trunk/; revision=18030
2005-09-24 18:28:04 +00:00
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