Commit graph

15676 commits

Author SHA1 Message Date
Alex Ionescu
8f5a8d1f57 - Use correct wine debug functions
svn path=/trunk/; revision=16777
2005-07-27 01:38:51 +00:00
Magnus Olsen
6ea556e014 fix errorlevel for type, the r16766 was Brandon Turner patch sorry I forgt menoty his name.
svn path=/trunk/; revision=16776
2005-07-27 01:38:00 +00:00
Thomas Bluemel
961df2a275 export these stubs: AddAccessAllowedObjectAce, AddAccessDeniedObjectAce, AddAuditAccessObjectAce, CreatePrivateObjectSecurityEx, CreatePrivateObjectSecurityWithMultipleInheritance, ConvertToAutoInheritPrivateObjectSecurity, EqualDomainSid, GetWindowsAccountDomainSid and CreateWellKnownSid
svn path=/trunk/; revision=16775
2005-07-27 01:31:34 +00:00
Alex Ionescu
020c2e8477 - Fix warnings
svn path=/trunk/; revision=16774
2005-07-27 01:26:16 +00:00
Alex Ionescu
ffcb5d176a - Fix warnings
svn path=/trunk/; revision=16773
2005-07-27 01:22:46 +00:00
Alex Ionescu
2596f83747 - Fix warnings.
svn path=/trunk/; revision=16772
2005-07-27 01:14:00 +00:00
Alex Ionescu
71333e755e - Add wine_dbgstr_w
- Revert changes, msiexec is shared.

svn path=/trunk/; revision=16771
2005-07-27 01:12:53 +00:00
Alex Ionescu
0359f3c1eb - Fix warnings
- Print unicode strings normally with %S instead of wine macro.

svn path=/trunk/; revision=16770
2005-07-27 01:09:38 +00:00
Alex Ionescu
bbd697daa6 - Fix warnings
- Revert to wZ, gcc is being stupid.

svn path=/trunk/; revision=16769
2005-07-27 01:02:51 +00:00
Alex Ionescu
c8370e3506 - Fix warnings
svn path=/trunk/; revision=16768
2005-07-27 00:55:36 +00:00
Alex Ionescu
e5d3501d91 - Fix warnings
svn path=/trunk/; revision=16767
2005-07-27 00:54:07 +00:00
Magnus Olsen
b4ee0d0b03 update the english text for type
svn path=/trunk/; revision=16766
2005-07-27 00:50:24 +00:00
Magnus Olsen
a06de608ff add /P as param for Type, from PCDOS by Brandon Turner
svn path=/trunk/; revision=16765
2005-07-27 00:05:34 +00:00
Filip Navara
dac7500f25 Do not dereference NULL pointers and this time for real.
svn path=/trunk/; revision=16764
2005-07-26 22:51:03 +00:00
Filip Navara
09e1dd8b9b Do not dereference NULL pointers.
svn path=/trunk/; revision=16763
2005-07-26 22:40:03 +00:00
Thomas Bluemel
cbb15fff51 implemented GetNamedSecurityA/W and SetNamedSecurityInfoA/W and forward them to the MARTA provider
svn path=/trunk/; revision=16762
2005-07-26 22:21:02 +00:00
Hartmut Birr
13b2222c28 reverted last change
svn path=/trunk/; revision=16761
2005-07-26 21:33:38 +00:00
Thomas Bluemel
b0faf4f537 - implemented GetSecurityInfo and SetSecurityInfo which just check and/or transform parameters and pass the call to the MARTA provider
- added missing definitions to w32api

svn path=/trunk/; revision=16760
2005-07-26 21:20:55 +00:00
Thomas Bluemel
5887e9c4c9 added an initial MARTA provider (only two functions stubbed)
svn path=/trunk/; revision=16759
2005-07-26 21:17:06 +00:00
Hartmut Birr
9c8f710c8a Lock the handle table if we trying to get a pointer from a handle.
svn path=/trunk/; revision=16758
2005-07-26 19:46:07 +00:00
Hartmut Birr
2c31fcac60 Used IoQueryFileInformation and IoSetInformation instead of ZwQueryInformationFile and ZwSetInformationFile to remove some overhead.
svn path=/trunk/; revision=16757
2005-07-26 19:38:33 +00:00
Hartmut Birr
522a0e59cd Silence debug messages.
svn path=/trunk/; revision=16756
2005-07-26 19:35:22 +00:00
Hartmut Birr
1bae97d5ce - Remove the permanent flag from an object if ObInserObject failed (in IoCreateFile).
- Bypass the driver for FilePositionInformation and FileAlignmentInformation in NtQueryInformationFile and NtSetInformationFile.

svn path=/trunk/; revision=16755
2005-07-26 19:31:41 +00:00
Hartmut Birr
dd90242aa7 Acquire always the apc lock if we are modifying the apc queue.
svn path=/trunk/; revision=16754
2005-07-26 19:21:27 +00:00
Hartmut Birr
ec8a1499ee - Forgot one change to KeAcquireSpinLockAtDpcLevel.
svn path=/trunk/; revision=16753
2005-07-26 19:15:08 +00:00
Hartmut Birr
3cccb4ec8d - Fixed the broken implementation of KeFlushQueueApc.
- Fixed some locking operations with two spin locks.

svn path=/trunk/; revision=16752
2005-07-26 19:11:25 +00:00
Filip Navara
dfaa3196ee Yet another fix to WinPosActivateOtherWindow, we should search only for top-level windows next to the window we're about to deactivate.
svn path=/trunk/; revision=16751
2005-07-26 19:02:31 +00:00
Filip Navara
b165c36180 Don't steal foreground window focus from other applications in WinPosActivateOtherWindow and remove incorrect code for searching top-most windows.
svn path=/trunk/; revision=16750
2005-07-26 17:46:48 +00:00
Filip Navara
2ce933f05b Fix reverting of focus to owner windows.
svn path=/trunk/; revision=16749
2005-07-26 16:34:48 +00:00
Filip Navara
609a60c719 Add check for global handles to NtGdiDeleteDC, this prevents applications from destroying DCs that are part of DCEs.
svn path=/trunk/; revision=16748
2005-07-26 16:03:46 +00:00
Filip Navara
fc8add5154 Don't use DeleteDC on DC handles returned by GetDC.
svn path=/trunk/; revision=16747
2005-07-26 15:47:26 +00:00
Filip Navara
1d059a1ddf Implement ValidateRect.
svn path=/trunk/; revision=16746
2005-07-26 15:21:41 +00:00
Alex Ionescu
cdfdfa0b8b - Allow file debug prints to happen at IRQL > DISPATCH_LEVEL, but don't queue a work item until we are at <= DISPATCH. Fixes /DEBUGPORT=FILE freeze/crash/bug.
svn path=/trunk/; revision=16745
2005-07-26 15:15:18 +00:00
Alex Ionescu
b8f8df7565 - Various Microsoft DDK/PSDK compatibility fixes and some MSVC stuff too.
- Fix PSECURITY_DESCRIPTOR_RELATIVE names.c
 - Don't use rtltypes.h as a replacement for normal stdlib headers.
 - Fix a HAL header fixme.

svn path=/trunk/; revision=16744
2005-07-26 14:00:45 +00:00
Thomas Bluemel
9acecc8bdd add uxtheme.dll and objsel.dll to the bootcd
svn path=/trunk/; revision=16743
2005-07-26 13:50:18 +00:00
Thomas Bluemel
20dbd58c45 show the object picker dialog when clicking the Add button
svn path=/trunk/; revision=16742
2005-07-26 13:42:15 +00:00
Thomas Bluemel
1d403604a1 import objsel.dll from wine-20050726
svn path=/trunk/; revision=16741
2005-07-26 13:40:31 +00:00
Magnus Olsen
095f3025fb update the En.rc for del by Brandon Turner and me
svn path=/trunk/; revision=16740
2005-07-26 13:24:44 +00:00
Magnus Olsen
06abc8209f Implement /S /F and code clean up by Brandon Turner
svn path=/trunk/; revision=16739
2005-07-26 13:15:50 +00:00
Thomas Bluemel
d7702b47f9 removed some MmCopyTo/FromCaller calls from win32k's GDI
svn path=/trunk/; revision=16738
2005-07-26 12:22:55 +00:00
Filip Navara
e0cd2dc6bf Fix some bugs in DIB mapping code to prevent instant system crashes.
svn path=/trunk/; revision=16737
2005-07-26 11:22:48 +00:00
Filip Navara
11c02111f0 Properly setup the I/O stack location in IopSecurityFile.
svn path=/trunk/; revision=16736
2005-07-26 11:00:15 +00:00
Filip Navara
ead342935a Don't allow setting menu for child windows in IntSetMenu.
svn path=/trunk/; revision=16735
2005-07-26 10:35:13 +00:00
Filip Navara
c5646382a5 #include "csrss.h" -> #include <csrss.h>
svn path=/trunk/; revision=16734
2005-07-26 08:55:25 +00:00
Filip Navara
3f77d0e91e #include "rtl.h" -> #include <rtl.h>
svn path=/trunk/; revision=16733
2005-07-26 08:40:02 +00:00
Filip Navara
d2bc064abf #include "rtl.h" -> #include <rtl.h>
svn path=/trunk/; revision=16732
2005-07-26 08:39:07 +00:00
Alex Ionescu
f3622d33aa - Remove ROSRTL. The era is over. Thanks to Filip for his help during the last month.
svn path=/trunk/; revision=16731
2005-07-26 04:52:11 +00:00
Alex Ionescu
1e8c8e3fe6 - Final ROSRTL removal patch. The next patch will remove the actual library and code.
- Changes:
    - CreateProcess
        * Cleanup creation of the initial thread using new utility functions and remove rosrtl
        * Almost entirely rewrote the function to support features such as:
            - SxS (locally only, patch will follow),
            - SFP (SAFER) (locally only, patch will follow),
            - DllPaths (locally only, patch will follow), 
            - Proper process environment/paramter block creation
            - Proper console handle management (needs more work in kernel32/csr),
            - Tokens/CreateProcessAsUser (locally only, patch will follow), 
            - Simpler code for path lookup, and more robust.
            - Support for "auto-correction" (see Raymond Chen's blog)
            - 16-bit/NE detection
            - A variety of creation flags are now properly supported
            - Added support for an undocumented-yet-known (see comment) shell flag
            - Alert for flags we don't support yet
            - Catch invalid flag combinations and other caller errors
            - Improve and correct path searcing to use documented behaviours
            - Created a multitude of helper functions to make the code easier to read
              and allow them to be used for other apis as time goes on.
    
    - BaseProcessStartup
        * Call NtSetThreadInformation to let the Kernel know of the Thread's Start Address.
        * Correct prototype of Thread Startup function for this case.

This fixes MANY things, some of which may not be evident, and possibly creates regressions which I have not yet seen but will try to correct. Some of these may be caused by the fact that I've seen code send CreateProcessW incorrect flags. Some things of note: DO NOT send partial names as "lpApplicationName". It's not supposed to work unless you're in the same current directory. Also, do NOT send CREATE_UNICODE_ENVIRONMENT if you don't have a unicode environement, and vice-versa. I've seen lots of code doing mistakes related to this. I hope you appreciate this patch and won't all jump on me for possbile regressions :(.

svn path=/trunk/; revision=16730
2005-07-26 04:14:10 +00:00
Alex Ionescu
286cccb1de - Fix compilation if redzone detection is diabled.
svn path=/trunk/; revision=16729
2005-07-26 00:50:17 +00:00
Alex Ionescu
55234f6094 - Don't try to get the length of a possibly empty string. This fixes many menu applications (such as WinRAR). However I'm now getting a bug due to a double-free. It seems a GDI Object is being freed twice. Can anyone check this out please?
svn path=/trunk/; revision=16728
2005-07-26 00:43:19 +00:00