Commit graph

33299 commits

Author SHA1 Message Date
James Tabor a37f382661 - Finish shared info based on XP and update user connect.
svn path=/trunk/; revision=36868
2008-10-21 00:23:49 +00:00
James Tabor 899b4742f2 - Quick setup for NtUserProcessConnect.
svn path=/trunk/; revision=36867
2008-10-20 23:43:11 +00:00
James Tabor 8023ef974f - Quick setup for NtUserProcessConnect.
svn path=/trunk/; revision=36866
2008-10-20 23:42:53 +00:00
Cameron Gutman 459b97691b - Merge aicom-network-fixes up to r36861
svn path=/trunk/; revision=36864
2008-10-20 21:57:06 +00:00
James Tabor 3e5dc81771 - Add missing PUMDHPDEV.
svn path=/trunk/; revision=36856
2008-10-20 19:37:03 +00:00
James Tabor 328f8323ab - Add driver info for psdk, update local DC and fixed eng functions so that it can support user mode print drivers.
svn path=/trunk/; revision=36855
2008-10-20 19:33:20 +00:00
Kamil Hornicek a38d530792 don't deref. null pointer in case NameServer key doesn't exist
svn path=/trunk/; revision=36849
2008-10-20 17:06:13 +00:00
Ged Murphy b686c53533 Prepare for a change of architecture.
Instead of building all Wine tests as dlls, we'll revert back to separate processes, but redirect the client processes stdin, stdout and stderr to named pipes set by the parent.

svn path=/trunk/; revision=36844
2008-10-20 14:49:59 +00:00
Aleksey Bragin f3d835f4a1 - Move kernel32's baseaddress lower. Should fix problem with relocated kernel32 after linking in the ICU library.
svn path=/trunk/; revision=36839
2008-10-20 08:17:04 +00:00
James Tabor b307fac06c - Update local DC structure and defines.
svn path=/trunk/; revision=36838
2008-10-20 07:36:21 +00:00
James Tabor 17e03f6041 - Cleanup IntGdiGetDeviceCaps, add more defines.
svn path=/trunk/; revision=36837
2008-10-20 05:07:46 +00:00
James Tabor 4f32b668d4 - Set GetBkColor for callers.
svn path=/trunk/; revision=36836
2008-10-20 04:07:42 +00:00
Stefan Ginsberg 8be0d9711a - SVN maintenance
svn path=/trunk/; revision=36833
2008-10-19 19:17:01 +00:00
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