Commit graph

33336 commits

Author SHA1 Message Date
Stefan Ginsberg ee68bb094f - SVN maintenance
svn path=/trunk/; revision=36832
2008-10-19 19:11:18 +00:00
Timo Kreuzer 86f07d739d Win32 structure cleanup (WIP):
- remove DesktopHeapBase and DesktopHeapLimit from W32THREADINFO, use DESKTOPINFO members instead

svn path=/trunk/; revision=36831
2008-10-19 17:35:22 +00:00
Aleksey Bragin fc64051142 - VFAT fixes: Actually perform a mandatory call to CcPurgeCacheSection during file deletion (fixes real NT5 cache manager attempts to write section of a deleted file).
- VFAT fixes: When querying FileStandardInformation, NT's fastfat driver sets NumberOfLinks to 1, ours sets it to 0 somewhy. Change to 1 for compatibility.
- A couple of debug prints improvements in VFAT.
- Comment out UNIMPLEMENTED in CcPurgeCacheSection to prevent debug messages flood.

svn path=/trunk/; revision=36830
2008-10-19 13:23:00 +00:00
Eric Kohl 0690324f95 Sync to wine-0.9.60:
- Rob Shearman <rob@codeweavers.com> Wed, 26 Mar 2008
widl: Support using context handles as the binding handle in client functions.

- Rob Shearman <rob@codeweavers.com> Thu, 27 Mar 2008
widl: Use is_string_type for detecting strings in write_typeformatstring_var to make it consistent with write_remoting_arg.

- Rob Shearman <rob@codeweavers.com> Thu, 27 Mar 2008
widl: Add support for generic binding handles.

- Rob Shearman <rob@codeweavers.com> Thu, 27 Mar 2008
widl: Fix detection of non-pointer context handles.

- Rob Shearman <rob@codeweavers.com> Thu, 27 Mar 2008
widl: Make sure that string types are always written out by write_string_tfs and not write_simple_pointer.

- Rob Shearman <rob@codeweavers.com> Mon, 31 Mar 2008
widl: Parse typedefs of function pointers.

- Rob Shearman <rob@codeweavers.com> Tue, 1 Apr 2008
widl: Be more strict about where semicolons can appear in IDL files.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Add a function to get the return type of a parsed function.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Store function and function pointer types completely within type_t type.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Support parsing calling conventions for function identifiers.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Support __fastcall and __pascal calling conventions.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Add a newline between function prototypes for non-object interfaces.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Fix the writing out of function pointers with more than one level of indirection.

- Rob Shearman <rob@codeweavers.com> Wed, 2 Apr 2008
widl: Turn on verbose errors, which gives a little more information in the case of a syntax error.

- Dan Hipschman <dsh@linux.ucla.edu> Thu, 3 Apr 2008
widl: Fix a mistake in an ordered list (keywords).


svn path=/trunk/; revision=36829
2008-10-19 12:30:41 +00:00
Stefan Ginsberg c2a9e1f979 - Revert 36827
svn path=/trunk/; revision=36828
2008-10-19 11:47:27 +00:00
Stefan Ginsberg b90c9f3490 - Temporarily (for one revision) disable Winetest's advapi32 security test to see how far build server survives -- will be reverted in next commit
svn path=/trunk/; revision=36827
2008-10-19 11:40:48 +00:00
James Tabor efd40fb07e - Thanks Tommy! Cleanup millimeter conversion.
svn path=/trunk/; revision=36826
2008-10-19 04:52:48 +00:00
James Tabor 7d22914162 - Add missing CAPS to psdk.
- Implemented NtGdiGetDeviceCapsAll.
- Now support primary display device capabilities in shared gdi handle table.

svn path=/trunk/; revision=36825
2008-10-19 04:47:04 +00:00
Timo Kreuzer e77f768a09 Win32 structure cleanup (WIP):
- replace hKernelHeap and HeapLimit from DESKTOPINFO with pvDesktopBase and pvDesktopLimit- replace hDesktopHeap with pheapDesktop in DESKTOP
- use PWIN32HEAP for the heap handle and use this and only this as the handle.
- Use the real base address for pvDesktopBase, instead of a copy of the heap handle

svn path=/trunk/; revision=36824
2008-10-19 02:05:41 +00:00
Timo Kreuzer 2f79d7bdbc Win32 structure cleanup (WIP):
- use rpdeskParent instead of Desktop in WINDOWCLASS
- use PDESKTOP instead of DESKTOPINFO in several places

svn path=/trunk/; revision=36820
2008-10-19 01:06:30 +00:00
Timo Kreuzer e287c51858 Win32 structure cleanup (WIP):
- make use of pdesktop member in WINDOW structure
- replace usage of Wnd->ti->Desktop with Wnd->pdesktop->DesktopInfo

svn path=/trunk/; revision=36819
2008-10-19 00:43:54 +00:00
Timo Kreuzer 891379c597 Win32 structure cleanup (WIP):
Add some members to usermode shared structures to be used soon.

svn path=/trunk/; revision=36818
2008-10-19 00:39:40 +00:00
Timo Kreuzer 6d76cb42e5 Win32 structure cleanup (WIP):
Initialite THREADINFOs pClientInfo member

svn path=/trunk/; revision=36817
2008-10-18 23:01:57 +00:00
Colin Finck c9a04929cc Allocate enough memory for Value (problem was spotted by Pigglesworth)
This problem was revealed by r36797 (thanks to aicom, elhoir, Lone_Rifle and vicmarcal for the help with regression testing)

Fixes ipconfig, ping and other network apps crashing with a buffer overflow.

svn path=/trunk/; revision=36816
2008-10-18 22:22:09 +00:00
Gregor Schneider eb2c5f864c Initialize variables and close keys only if they were opened, based on wine code. Fixes CIDs 787, 788.
svn path=/trunk/; revision=36815
2008-10-18 21:38:25 +00:00
Kamil Hornicek edb9e011a3 fix the fix, sorry
svn path=/trunk/; revision=36814
2008-10-18 21:29:44 +00:00
Kamil Hornicek aa7f022cbc fix resource leak, CID 611
svn path=/trunk/; revision=36813
2008-10-18 21:07:45 +00:00
Colin Finck 290a31c692 Marcelo Slomp (mslomp@linuxmail.org):
- Prevent a redefinition of _pctype in newer GCC versions (like 4.3.2)

See issue #3598 for more details.

svn path=/trunk/; revision=36812
2008-10-18 20:49:00 +00:00
Timo Kreuzer 35fe207a58 Change return type of PsGetCurrentProcessWin32Process to PVOID.
svn path=/trunk/; revision=36811
2008-10-18 20:34:36 +00:00
Timo Kreuzer a0cd996949 Win32 structure cleanup (WIP):
- Add ppi to THREADINFO and initialize it
- Initialize THREADINFO.PtiLink and DESKTOP.PtiList and link the thread to it's desktop

svn path=/trunk/; revision=36810
2008-10-18 19:54:59 +00:00
Gregor Schneider ab0284e40d Close file after processing it. Fixes CIDs 626, 627.
svn path=/trunk/; revision=36809
2008-10-18 19:42:31 +00:00
Stefan Ginsberg cd8f013010 - Fix ObIsKernelHandle routine to return what it should rather than always returning FALSE (Note: the macro version we use internally is correct)
svn path=/trunk/; revision=36808
2008-10-18 15:04:26 +00:00
Michael Martin 13005080b5 - Fixed typo in SetMenuAndButtonStates. See bug 3792 for more info.
- Pass correct size for ServiceStatusProcess to QueryServiceStatusEx which prevents trashing the next services information in Info buffer.
- Added missing CloseServiceHandle calls.

svn path=/trunk/; revision=36807
2008-10-18 11:49:25 +00:00
Cameron Gutman 36f0316d51 - Merge aicom-network-fixes up to r36803
svn path=/trunk/; revision=36804
2008-10-18 04:32:30 +00:00
Matthias Kupfer fc86d60e95 draw disk usage bar from "used" to "free" (left to right)
svn path=/trunk/; revision=36801
2008-10-17 21:54:03 +00:00
Timo Kreuzer 9353696890 Win32 structure cleanup (WIP):
- Use CLIENTINFO.ulClientDelta instead of W32THREADINFO.DesktopHeapDelta
- Remove DesktopHeapDelta from W32THREADINFO- Add PtiList to DESKTOP
- Add pClientInfo to THREADINFO

svn path=/trunk/; revision=36800
2008-10-17 21:07:24 +00:00
Johannes Anderwald eed100a55c * Store more settings in registry
svn path=/trunk/; revision=36799
2008-10-17 20:01:58 +00:00
Johannes Anderwald b12ad06d48 * Fix retrieval of automatic DNS settings 2/2
svn path=/trunk/; revision=36797
2008-10-17 19:04:00 +00:00
Johannes Anderwald 71d93bc857 * Fix retrieval of automatic DNS settings 1/2
svn path=/trunk/; revision=36796
2008-10-17 19:03:11 +00:00
Timo Kreuzer 8d9c365f88 Win32 structure cleanup (WIP):
- Add pDeskInfo and PtiLink to THREADINFO

svn path=/trunk/; revision=36795
2008-10-17 18:22:06 +00:00
Johannes Anderwald 905c093675 * Set AutoconfigEnabled if DNS is acquired by DHCP
* Fix a handle leak

svn path=/trunk/; revision=36794
2008-10-17 18:20:00 +00:00
Johannes Anderwald 521eec8b76 * If there is no static nameserver entry, look up dynamically assigned one
svn path=/trunk/; revision=36793
2008-10-17 18:00:06 +00:00
Timo Kreuzer e81d786ce9 Win32 structure cleanup (WIP):
- remove AppCompatFlags from W32THREADINFO

svn path=/trunk/; revision=36792
2008-10-17 17:19:04 +00:00
Gregor Schneider 87fd2c6cad Typo: check for success of newest allocations.
svn path=/trunk/; revision=36791
2008-10-17 15:13:27 +00:00
Johannes Anderwald 2edf0dbef8 * Convert ncpa to a simple wrapper which invokes netshell.dll IShellFolder
* Delete obsolete code

svn path=/trunk/; revision=36790
2008-10-17 13:19:04 +00:00
Timo Kreuzer 65e82782c9 Win32 structure cleanup part 3 / x:
- rename DESKTOP_OBJECT to DESKTOP

svn path=/trunk/; revision=36789
2008-10-17 13:09:56 +00:00
Timo Kreuzer 2e9e3c99e6 Fix GetAppCompatFlags to use Teb->ClientInfo instead of Teb->Win32ThreadInfo, which should be a kernel pointer.
svn path=/trunk/; revision=36788
2008-10-17 11:18:57 +00:00
Cameron Gutman 187ed1777f - Merge aicom-network-fixes up to r36785
svn path=/trunk/; revision=36787
2008-10-17 10:42:44 +00:00
Timo Kreuzer 9c8b2fd447 Win32 structure cleanup part 2 / x:
- rename DESKTOP to DESKTOPINFO

svn path=/trunk/; revision=36786
2008-10-17 10:40:04 +00:00
Johannes Anderwald e18ac2ee40 - Hide ncpa.cpl from control panel
svn path=/trunk/; revision=36783
2008-10-17 10:21:15 +00:00
Stefan Ginsberg 0bdd03839a - Add comments to GetTextFaceW
- Apology to GreatLord, his code was correct and I fail -- hint: don't code and commit at late night ;0)

svn path=/trunk/; revision=36782
2008-10-17 07:20:23 +00:00
James Tabor e2447c3d0f Checked code format, compiler has issues.
svn path=/trunk/; revision=36781
2008-10-17 04:56:47 +00:00
James Tabor bc4ca08f94 Move GetTextFaceAliasW to text.c.
svn path=/trunk/; revision=36780
2008-10-17 04:34:21 +00:00
KJK::Hyperion 8c7bebfed8 - test GetTextFaceW instead of GetTextFaceA
- test that:
    - the last error is never set
    - the buffer size is ignored if the buffer is NULL
    - the buffer size is returned if the buffer is non-NULL and too small
    - the function fails if a non-NULL buffer has a size <= 0
 - allocate the DC for a GDI test with a GDI routine (CreateCompatibleDC) instead of an USER routine (GetDC)

svn path=/trunk/; revision=36779
2008-10-17 00:28:47 +00:00
Cameron Gutman 97d55c7685 - Fix livecd font substitution
svn path=/trunk/; revision=36778
2008-10-17 00:04:53 +00:00
KJK::Hyperion 0e8851de86 You can't make this shit up.
svn path=/trunk/; revision=36777
2008-10-17 00:00:55 +00:00
KJK::Hyperion f60c12e03a The original GetTextFaceW implementation (r28730) was right all along, except GDI APIs don't usually set the last error (GetTextFaceW doesn't). The conditional was non-intuitive but nevertheless correct (tested under Windows Vista SP1). This commit negates the conditional (the AND form is more readable) and switches the "if" branches, and removes the call to SetLastError. If Coverity really flagged this, it could mean the bug is actually in NtGdiGetTextFaceW
svn path=/trunk/; revision=36776
2008-10-16 23:49:31 +00:00
Stefan Ginsberg a8052c7bb2 - More correct check for GetTextFaceW
svn path=/trunk/; revision=36775
2008-10-16 20:21:00 +00:00
Timo Kreuzer 2f5ea4625b Tests for GetTextFace
svn path=/trunk/; revision=36774
2008-10-16 20:16:38 +00:00
Stefan Ginsberg 6e6e3d15c7 - Unbreak GetTextFaceA/W, broken since 28730 by GreatLord
svn path=/trunk/; revision=36773
2008-10-16 20:02:22 +00:00