reactos.git
15 years agofix advpack_winetest build
Christoph von Wittich [Sat, 25 Oct 2008 14:16:58 +0000 (14:16 +0000)]
fix advpack_winetest build

svn path=/trunk/; revision=36943

15 years agoremove all version defines from rostests
Christoph von Wittich [Sat, 25 Oct 2008 14:04:03 +0000 (14:04 +0000)]
remove all version defines from rostests

svn path=/trunk/; revision=36942

15 years ago- Remove version defines.
Aleksey Bragin [Sat, 25 Oct 2008 14:00:02 +0000 (14:00 +0000)]
- Remove version defines.

svn path=/trunk/; revision=36941

15 years ago- Remove version defines.
Aleksey Bragin [Sat, 25 Oct 2008 12:16:25 +0000 (12:16 +0000)]
- Remove version defines.

svn path=/trunk/; revision=36940

15 years ago- Globalize ReactOS target version (there are a few overrides for our abuse of RegDel...
Aleksey Bragin [Sat, 25 Oct 2008 12:15:44 +0000 (12:15 +0000)]
- Globalize ReactOS target version (there are a few overrides for our abuse of RegDeleteTree API).

*** .rbuild files MUST NOT contain version definitions now, please pay attention to this when doing Wine-syncs, adding new modules, or applying old patches! ***
Same applies to source code files, header files, and other includables. Thanks to Marc Piulachs for doing the base work, which I continued, and which resulted in this commit.
See issue #2745 for more details.

svn path=/trunk/; revision=36939

15 years agoDmitry Gorbachev
Aleksey Bragin [Sat, 25 Oct 2008 11:09:33 +0000 (11:09 +0000)]
Dmitry Gorbachev
- Change include order to prevent redefinition of _pctype.
See issue #3801 for more details.

svn path=/trunk/; revision=36938

15 years ago- Change SetSysColorsTemp declaration
Dmitry Chapyshev [Sat, 25 Oct 2008 07:39:33 +0000 (07:39 +0000)]
- Change SetSysColorsTemp declaration

svn path=/trunk/; revision=36934

15 years agoDefWindowProcA/W:
Dmitry Chapyshev [Sat, 25 Oct 2008 07:37:48 +0000 (07:37 +0000)]
DefWindowProcA/W:
- Fix WM_GETTEXTLENGHT message
- Add WM_IME_NOTIFY message
- Implement WM_IME_KEYDOWN, WM_IME_KEYUP, WM_IME_SETCONTEXT, WM_IME_CHAR, WM_IME_STARTCOMPOSITION, WM_IME_COMPOSITION, WM_IME_ENDCOMPOSITION, WM_IME_SELECT, WM_IME_NOTIFY
- Remove CascadeWindows and TileWindows from window.c (it is already declared in mdi.c)
- Implement TileChildWindows, CascadeChildWindows, GetInternalWindowPos, SetSysColorsTemp
- Add checking params for GetProcessDefaultLayout, SetProcessDefaultLayout, GetMouseMovePointsEx, GetRawInputDeviceList
- LockSetForegroundWindow return TRUE
- GetRawInputBuffer, GetRawInputDeviceInfoA/W, DefRawInputProc, GetRawInputData, GetRegisteredRawInputDevices return 0
Based on Wine implementation

svn path=/trunk/; revision=36933

15 years ago- Sync iads.idl with wine
Dmitry Chapyshev [Sat, 25 Oct 2008 07:15:16 +0000 (07:15 +0000)]
- Sync iads.idl with wine
- Add some defines to winnt.h

svn path=/trunk/; revision=36932

15 years ago- Implement RtlFindCharInUnicodeString
Dmitry Chapyshev [Sat, 25 Oct 2008 07:12:41 +0000 (07:12 +0000)]
- Implement RtlFindCharInUnicodeString
- Implement RtlInitializeSListHead, RtlFirstEntrySList, RtlQueryDepthSList
Based on Wine implementation

svn path=/trunk/; revision=36931

15 years agomodified tools/rbuild/backend/mingw/modulehandler.cpp
KJK::Hyperion [Sat, 25 Oct 2008 02:52:24 +0000 (02:52 +0000)]
modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Allow static libraries to "link" to other static libraries
   Removed some dead code

modified   dll/nls/normaliz_redist/normaliz_redist.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
   No need to specify icu4ros explicitely anymore, thanks to the rbuild changes
   Make kernel32_base include normalize, rather than linking it as an external dependency of kernel32

svn path=/trunk/; revision=36929

15 years agomerge 36224 and 36910 from amd64 branch
Timo Kreuzer [Fri, 24 Oct 2008 22:13:45 +0000 (22:13 +0000)]
merge 36224 and 36910 from amd64 branch

svn path=/trunk/; revision=36928

15 years agomerge 36223 from amd64-branch
Timo Kreuzer [Fri, 24 Oct 2008 21:32:48 +0000 (21:32 +0000)]
merge 36223 from amd64-branch

svn path=/trunk/; revision=36927

15 years ago - Merge aicom-network-fixes up to r36921
Cameron Gutman [Fri, 24 Oct 2008 09:09:00 +0000 (09:09 +0000)]
 - Merge aicom-network-fixes up to r36921

svn path=/trunk/; revision=36922

15 years ago- Fix EPROFILE/KPROFILE.Segment member -- it is a pointer
Stefan Ginsberg [Thu, 23 Oct 2008 19:15:44 +0000 (19:15 +0000)]
- Fix EPROFILE/KPROFILE.Segment member -- it is a pointer

svn path=/trunk/; revision=36917

15 years ago- Fix Nt/ZwMapViewOfSection parameters (ULONG -> ULONG_PTR and SIZE_T) and the few...
Stefan Ginsberg [Thu, 23 Oct 2008 18:19:20 +0000 (18:19 +0000)]
- Fix Nt/ZwMapViewOfSection parameters (ULONG -> ULONG_PTR and SIZE_T) and the few callers which sent incorrect types
- Also fix MapViewOfFile/Ex parameters

svn path=/trunk/; revision=36915

15 years agoQuickfix for bug 3808
Timo Kreuzer [Thu, 23 Oct 2008 17:26:50 +0000 (17:26 +0000)]
Quickfix for bug 3808
Don't set SystemMetrics to -1, when there's no CurInfo. Apparently we initialize the metrics before we have a WindowStation. This code needs to be improved...
See issue #3808 for more details.

svn path=/trunk/; revision=36913

15 years ago- More 64-bit fixes
Stefan Ginsberg [Thu, 23 Oct 2008 17:05:40 +0000 (17:05 +0000)]
- More 64-bit fixes

svn path=/trunk/; revision=36912

15 years ago- 64-bit fixes (ULONG -> SIZE_T)
Stefan Ginsberg [Thu, 23 Oct 2008 15:56:27 +0000 (15:56 +0000)]
- 64-bit fixes (ULONG -> SIZE_T)

svn path=/trunk/; revision=36911

15 years ago- Fix bug 3782 take #2
Johannes Anderwald [Thu, 23 Oct 2008 06:15:43 +0000 (06:15 +0000)]
- Fix bug 3782 take #2
- Apply the fix to right source file and not to code which isnt build anymore

svn path=/trunk/; revision=36904

15 years ago- Fix bug 3782
Johannes Anderwald [Wed, 22 Oct 2008 18:40:36 +0000 (18:40 +0000)]
- Fix bug 3782
- Thanks to vicmarcel for bugtracking

svn path=/trunk/; revision=36897

15 years ago- Typo fix.
Aleksey Bragin [Wed, 22 Oct 2008 18:10:17 +0000 (18:10 +0000)]
- Typo fix.
See issue #3804 for more details.

svn path=/trunk/; revision=36896

15 years ago* Implement details status dialog
Johannes Anderwald [Wed, 22 Oct 2008 17:46:55 +0000 (17:46 +0000)]
* Implement details status dialog
* Update all languages with en-US resource file

svn path=/trunk/; revision=36895

15 years ago- Notify umpnpmgr about logon after the shell has initialized
Stefan Ginsberg [Wed, 22 Oct 2008 13:59:01 +0000 (13:59 +0000)]
- Notify umpnpmgr about logon after the shell has initialized
- This makes it possible to progress if userinit crashes due to heavy debug output (due to timing issues in its communication with umpnpmgr), which would leave you stranded with no shell. Not really a hack, as it doesn't hide or fix the crash -- just limits it to a missing "Pending device installations" prompt in case there are any pending. Also, it appears to be done the same way on Windows.

svn path=/trunk/; revision=36894

15 years ago- Fix an assertion by casting to internal structures correctly
Stefan Ginsberg [Wed, 22 Oct 2008 13:24:01 +0000 (13:24 +0000)]
- Fix an assertion by casting to internal structures correctly

svn path=/trunk/; revision=36893

15 years ago- Convert the string using the WideCharToMultiByte function and fix passed parameters
Johannes Anderwald [Wed, 22 Oct 2008 11:37:33 +0000 (11:37 +0000)]
- Convert the string using the WideCharToMultiByte function and fix passed parameters
- Always zero-terminate the converted buffer
- Remove querying NameServer / DhcpNameServer under Parameters key because it is not used and was not working
- Initialize PrivateNSEnum CurrentName member
- Make sure that only successfully converted NameServer get copied

svn path=/trunk/; revision=36892

15 years ago- Fix some debug prints
Stefan Ginsberg [Wed, 22 Oct 2008 11:16:52 +0000 (11:16 +0000)]
- Fix some debug prints

svn path=/trunk/; revision=36891

15 years ago- delete DhcpNameServer key when storing static Nameserver entries
Johannes Anderwald [Wed, 22 Oct 2008 09:21:33 +0000 (09:21 +0000)]
- delete DhcpNameServer key when storing static Nameserver entries

svn path=/trunk/; revision=36890

15 years ago- Query first for DhcpNameServer key value as this key is only present when DHCP...
Johannes Anderwald [Wed, 22 Oct 2008 09:13:15 +0000 (09:13 +0000)]
- Query first for DhcpNameServer key value as this key is only present when DHCP is activated

svn path=/trunk/; revision=36889

15 years ago- Delete old DhcpNameServer key when no nameservers could be obtained
Johannes Anderwald [Wed, 22 Oct 2008 09:00:33 +0000 (09:00 +0000)]
- Delete old DhcpNameServer key when no nameservers could be obtained
- Close registry key when done

svn path=/trunk/; revision=36888

15 years agoBug 3668: spanish inf files by Javier Remacha
Daniel Reimer [Wed, 22 Oct 2008 06:07:13 +0000 (06:07 +0000)]
Bug 3668: spanish inf files by Javier Remacha
Bug 3678: Greek translation for some media.inf files by Apostolos Alexiadis
Bug 3777: netcfgx and netshell translation update by Maciej Bialas

svn path=/trunk/; revision=36887

15 years ago - Merge aicom-network-fixes up to r36884
Cameron Gutman [Wed, 22 Oct 2008 01:31:00 +0000 (01:31 +0000)]
 - Merge aicom-network-fixes up to r36884

svn path=/trunk/; revision=36885

15 years ago- Correct an assertion after ARM system call changes in 34366
Stefan Ginsberg [Tue, 21 Oct 2008 21:02:16 +0000 (21:02 +0000)]
- Correct an assertion after ARM system call changes in 34366

svn path=/trunk/; revision=36880

15 years ago- Implement RtlQueryInformationActiveActivationContext and add new define. Wow, this...
James Tabor [Tue, 21 Oct 2008 19:49:17 +0000 (19:49 +0000)]
- Implement RtlQueryInformationActiveActivationContext and add new define. Wow, this one need some love from wine!

svn path=/trunk/; revision=36879

15 years ago- Correct wrong ID'ed type, it is an activation context basic information buffer.
James Tabor [Tue, 21 Oct 2008 19:29:37 +0000 (19:29 +0000)]
- Correct wrong ID'ed type, it is an activation context basic information buffer.

svn path=/trunk/; revision=36878

15 years ago- If data is going to be modified, CcPinRead should be used instead of CcMapData...
Aleksey Bragin [Tue, 21 Oct 2008 18:48:08 +0000 (18:48 +0000)]
- If data is going to be modified, CcPinRead should be used instead of CcMapData. Fix this.

svn path=/trunk/; revision=36877

15 years ago- Fix various compilation errors in SMP assembly (typos, missing jump labels and...
Stefan Ginsberg [Tue, 21 Oct 2008 18:34:06 +0000 (18:34 +0000)]
- Fix various compilation errors in SMP assembly (typos, missing jump labels and specifiers)
- Implement the SMP case in KiDispatchInterrupt -- on SMP we must raise IRQL to SYNCH_LEVEL, set the thread context swap busy flag and acquire the PRCB lock before calling KiQueueReadyThread and KiSwapContextInternal

svn path=/trunk/; revision=36876

15 years agoBring rosapps up to date with the rbuild changes of r36870
KJK::Hyperion [Tue, 21 Oct 2008 17:42:04 +0000 (17:42 +0000)]
Bring rosapps up to date with the rbuild changes of r36870

svn path=/trunk/; revision=36875

15 years ago- SMP SYNCH_LEVEL for x86 is IPI_LEVEL - 2 since 2K3
Stefan Ginsberg [Tue, 21 Oct 2008 16:23:06 +0000 (16:23 +0000)]
- SMP SYNCH_LEVEL for x86 is IPI_LEVEL - 2 since 2K3

svn path=/trunk/; revision=36874

15 years ago- Add missing KPCR_PRCB_IDLE_SCHEDULE offset
Stefan Ginsberg [Tue, 21 Oct 2008 15:32:49 +0000 (15:32 +0000)]
- Add missing KPCR_PRCB_IDLE_SCHEDULE offset

svn path=/trunk/; revision=36873

15 years ago- Fix NtUserCreateWindowEx.
James Tabor [Tue, 21 Oct 2008 14:51:14 +0000 (14:51 +0000)]
- Fix NtUserCreateWindowEx.

svn path=/trunk/; revision=36872

15 years ago- Add missing Cm (de)reference trace
Stefan Ginsberg [Tue, 21 Oct 2008 14:47:20 +0000 (14:47 +0000)]
- Add missing Cm (de)reference trace

svn path=/trunk/; revision=36871

15 years agomodified tools/rbuild/backend/mingw/modulehandler.cpp
KJK::Hyperion [Tue, 21 Oct 2008 13:51:49 +0000 (13:51 +0000)]
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
modified   tools/rbuild/module.cpp
   Split rules for .spec files as input files vs import libraries. .spec files can now be specified independently as <file>s (to generate and compile a .stubs.c file) and <importlibrary> (to generate and compile a .spec.def file)
   .spec files are now specified in <importlibrary>s directly (instead of pointing to the non-existing, generated .spec.def file. Whose idea was that? sounds like the doing of Arch Blackmann)
   Allow multiple modules to share a single .spec file without using <importlibrary base="...">
   Allow static libraries to use .spec files in <importlibrary>
   Emit comments in makefile.auto so rules can be traced back to the code that generated them

deleted    lib/debugsup/debugsup-ntos.def
added      lib/debugsup/debugsup-ntos.spec
modified   lib/debugsup/debugsup.rbuild
   .def -> .spec

<<hundreds of rbuild files>>
   Remove <file> entry for spec file if there are no stubs to compile
   .spec.def -> .spec in <importlibrary> entries

Soon: making all keyboard layouts use a single .spec file
Dedicated to: Samuel SerapiĆ³n, Stefan Ginsberg, and all the fellow team members who'll have an aneurysm at this commit

See issue #3746 for more details.

svn path=/trunk/; revision=36870

15 years ago- Plug in GetDeviceCaps for gdi.
James Tabor [Tue, 21 Oct 2008 02:56:36 +0000 (02:56 +0000)]
- Plug in GetDeviceCaps for gdi.

svn path=/trunk/; revision=36869

15 years ago- Finish shared info based on XP and update user connect.
James Tabor [Tue, 21 Oct 2008 00:23:49 +0000 (00:23 +0000)]
- Finish shared info based on XP and update user connect.

svn path=/trunk/; revision=36868

15 years ago- Quick setup for NtUserProcessConnect.
James Tabor [Mon, 20 Oct 2008 23:43:11 +0000 (23:43 +0000)]
- Quick setup for NtUserProcessConnect.

svn path=/trunk/; revision=36867

15 years ago- Quick setup for NtUserProcessConnect.
James Tabor [Mon, 20 Oct 2008 23:42:53 +0000 (23:42 +0000)]
- Quick setup for NtUserProcessConnect.

svn path=/trunk/; revision=36866

15 years ago - Merge aicom-network-fixes up to r36861
Cameron Gutman [Mon, 20 Oct 2008 21:57:06 +0000 (21:57 +0000)]
 - Merge aicom-network-fixes up to r36861

svn path=/trunk/; revision=36864

15 years ago- Add missing PUMDHPDEV.
James Tabor [Mon, 20 Oct 2008 19:37:03 +0000 (19:37 +0000)]
- Add missing PUMDHPDEV.

svn path=/trunk/; revision=36856

15 years ago- Add driver info for psdk, update local DC and fixed eng functions so that it can...
James Tabor [Mon, 20 Oct 2008 19:33:20 +0000 (19:33 +0000)]
- 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

15 years agodon't deref. null pointer in case NameServer key doesn't exist
Kamil Hornicek [Mon, 20 Oct 2008 17:06:13 +0000 (17:06 +0000)]
don't deref. null pointer in case NameServer key doesn't exist

svn path=/trunk/; revision=36849

15 years agoPrepare for a change of architecture.
Ged Murphy [Mon, 20 Oct 2008 14:49:59 +0000 (14:49 +0000)]
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

15 years ago- Move kernel32's baseaddress lower. Should fix problem with relocated kernel32 after...
Aleksey Bragin [Mon, 20 Oct 2008 08:17:04 +0000 (08:17 +0000)]
- Move kernel32's baseaddress lower. Should fix problem with relocated kernel32 after linking in the ICU library.

svn path=/trunk/; revision=36839

15 years ago- Update local DC structure and defines.
James Tabor [Mon, 20 Oct 2008 07:36:21 +0000 (07:36 +0000)]
- Update local DC structure and defines.

svn path=/trunk/; revision=36838

15 years ago- Cleanup IntGdiGetDeviceCaps, add more defines.
James Tabor [Mon, 20 Oct 2008 05:07:46 +0000 (05:07 +0000)]
- Cleanup IntGdiGetDeviceCaps, add more defines.

svn path=/trunk/; revision=36837

15 years ago- Set GetBkColor for callers.
James Tabor [Mon, 20 Oct 2008 04:07:42 +0000 (04:07 +0000)]
- Set GetBkColor for callers.

svn path=/trunk/; revision=36836

15 years ago- SVN maintenance
Stefan Ginsberg [Sun, 19 Oct 2008 19:17:01 +0000 (19:17 +0000)]
- SVN maintenance

svn path=/trunk/; revision=36833

15 years ago- SVN maintenance
Stefan Ginsberg [Sun, 19 Oct 2008 19:11:18 +0000 (19:11 +0000)]
- SVN maintenance

svn path=/trunk/; revision=36832

15 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Sun, 19 Oct 2008 17:35:22 +0000 (17:35 +0000)]
Win32 structure cleanup (WIP):
- remove DesktopHeapBase and DesktopHeapLimit from W32THREADINFO, use DESKTOPINFO members instead

svn path=/trunk/; revision=36831

15 years ago- VFAT fixes: Actually perform a mandatory call to CcPurgeCacheSection during file...
Aleksey Bragin [Sun, 19 Oct 2008 13:23:00 +0000 (13:23 +0000)]
- 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

15 years agoSync to wine-0.9.60:
Eric Kohl [Sun, 19 Oct 2008 12:30:41 +0000 (12:30 +0000)]
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

15 years ago- Revert 36827
Stefan Ginsberg [Sun, 19 Oct 2008 11:47:27 +0000 (11:47 +0000)]
- Revert 36827

svn path=/trunk/; revision=36828

15 years ago- Temporarily (for one revision) disable Winetest's advapi32 security test to see...
Stefan Ginsberg [Sun, 19 Oct 2008 11:40:48 +0000 (11:40 +0000)]
- 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

15 years ago- Thanks Tommy! Cleanup millimeter conversion.
James Tabor [Sun, 19 Oct 2008 04:52:48 +0000 (04:52 +0000)]
- Thanks Tommy! Cleanup millimeter conversion.

svn path=/trunk/; revision=36826

15 years ago- Add missing CAPS to psdk.
James Tabor [Sun, 19 Oct 2008 04:47:04 +0000 (04:47 +0000)]
- Add missing CAPS to psdk.
- Implemented NtGdiGetDeviceCapsAll.
- Now support primary display device capabilities in shared gdi handle table.

svn path=/trunk/; revision=36825

15 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Sun, 19 Oct 2008 02:05:41 +0000 (02:05 +0000)]
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

15 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Sun, 19 Oct 2008 01:06:30 +0000 (01:06 +0000)]
Win32 structure cleanup (WIP):
- use rpdeskParent instead of Desktop in WINDOWCLASS
- use PDESKTOP instead of DESKTOPINFO in several places

svn path=/trunk/; revision=36820

15 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Sun, 19 Oct 2008 00:43:54 +0000 (00:43 +0000)]
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

15 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Sun, 19 Oct 2008 00:39:40 +0000 (00:39 +0000)]
Win32 structure cleanup (WIP):
Add some members to usermode shared structures to be used soon.

svn path=/trunk/; revision=36818

15 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Sat, 18 Oct 2008 23:01:57 +0000 (23:01 +0000)]
Win32 structure cleanup (WIP):
Initialite THREADINFOs pClientInfo member

svn path=/trunk/; revision=36817

15 years agoAllocate enough memory for Value (problem was spotted by Pigglesworth)
Colin Finck [Sat, 18 Oct 2008 22:22:09 +0000 (22:22 +0000)]
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

15 years agoInitialize variables and close keys only if they were opened, based on wine code...
Gregor Schneider [Sat, 18 Oct 2008 21:38:25 +0000 (21:38 +0000)]
Initialize variables and close keys only if they were opened, based on wine code. Fixes CIDs 787, 788.

svn path=/trunk/; revision=36815

15 years agofix the fix, sorry
Kamil Hornicek [Sat, 18 Oct 2008 21:29:44 +0000 (21:29 +0000)]
fix the fix, sorry

svn path=/trunk/; revision=36814

15 years agofix resource leak, CID 611
Kamil Hornicek [Sat, 18 Oct 2008 21:07:45 +0000 (21:07 +0000)]
fix resource leak, CID 611

svn path=/trunk/; revision=36813

15 years agoMarcelo Slomp (mslomp@linuxmail.org):
Colin Finck [Sat, 18 Oct 2008 20:49:00 +0000 (20:49 +0000)]
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

15 years agoChange return type of PsGetCurrentProcessWin32Process to PVOID.
Timo Kreuzer [Sat, 18 Oct 2008 20:34:36 +0000 (20:34 +0000)]
Change return type of PsGetCurrentProcessWin32Process to PVOID.

svn path=/trunk/; revision=36811

15 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Sat, 18 Oct 2008 19:54:59 +0000 (19:54 +0000)]
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

15 years agoClose file after processing it. Fixes CIDs 626, 627.
Gregor Schneider [Sat, 18 Oct 2008 19:42:31 +0000 (19:42 +0000)]
Close file after processing it. Fixes CIDs 626, 627.

svn path=/trunk/; revision=36809

15 years ago- Fix ObIsKernelHandle routine to return what it should rather than always returning...
Stefan Ginsberg [Sat, 18 Oct 2008 15:04:26 +0000 (15:04 +0000)]
- 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

15 years ago- Fixed typo in SetMenuAndButtonStates. See bug 3792 for more info.
Michael Martin [Sat, 18 Oct 2008 11:49:25 +0000 (11:49 +0000)]
- 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

15 years ago - Merge aicom-network-fixes up to r36803
Cameron Gutman [Sat, 18 Oct 2008 04:32:30 +0000 (04:32 +0000)]
 - Merge aicom-network-fixes up to r36803

svn path=/trunk/; revision=36804

15 years agodraw disk usage bar from "used" to "free" (left to right)
Matthias Kupfer [Fri, 17 Oct 2008 21:54:03 +0000 (21:54 +0000)]
draw disk usage bar from "used" to "free" (left to right)

svn path=/trunk/; revision=36801

15 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Fri, 17 Oct 2008 21:07:24 +0000 (21:07 +0000)]
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

15 years ago* Store more settings in registry
Johannes Anderwald [Fri, 17 Oct 2008 20:01:58 +0000 (20:01 +0000)]
* Store more settings in registry

svn path=/trunk/; revision=36799

15 years ago* Fix retrieval of automatic DNS settings 2/2
Johannes Anderwald [Fri, 17 Oct 2008 19:04:00 +0000 (19:04 +0000)]
* Fix retrieval of automatic DNS settings 2/2

svn path=/trunk/; revision=36797

15 years ago* Fix retrieval of automatic DNS settings 1/2
Johannes Anderwald [Fri, 17 Oct 2008 19:03:11 +0000 (19:03 +0000)]
* Fix retrieval of automatic DNS settings 1/2

svn path=/trunk/; revision=36796

15 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Fri, 17 Oct 2008 18:22:06 +0000 (18:22 +0000)]
Win32 structure cleanup (WIP):
- Add pDeskInfo and PtiLink to THREADINFO

svn path=/trunk/; revision=36795

15 years ago* Set AutoconfigEnabled if DNS is acquired by DHCP
Johannes Anderwald [Fri, 17 Oct 2008 18:20:00 +0000 (18:20 +0000)]
* Set AutoconfigEnabled if DNS is acquired by DHCP
* Fix a handle leak

svn path=/trunk/; revision=36794

15 years ago* If there is no static nameserver entry, look up dynamically assigned one
Johannes Anderwald [Fri, 17 Oct 2008 18:00:06 +0000 (18:00 +0000)]
* If there is no static nameserver entry, look up dynamically assigned one

svn path=/trunk/; revision=36793

15 years agoWin32 structure cleanup (WIP):
Timo Kreuzer [Fri, 17 Oct 2008 17:19:04 +0000 (17:19 +0000)]
Win32 structure cleanup (WIP):
- remove AppCompatFlags from W32THREADINFO

svn path=/trunk/; revision=36792

15 years agoTypo: check for success of newest allocations.
Gregor Schneider [Fri, 17 Oct 2008 15:13:27 +0000 (15:13 +0000)]
Typo: check for success of newest allocations.

svn path=/trunk/; revision=36791

15 years ago* Convert ncpa to a simple wrapper which invokes netshell.dll IShellFolder
Johannes Anderwald [Fri, 17 Oct 2008 13:19:04 +0000 (13:19 +0000)]
* Convert ncpa to a simple wrapper which invokes netshell.dll IShellFolder
* Delete obsolete code

svn path=/trunk/; revision=36790

15 years agoWin32 structure cleanup part 3 / x:
Timo Kreuzer [Fri, 17 Oct 2008 13:09:56 +0000 (13:09 +0000)]
Win32 structure cleanup part 3 / x:
- rename DESKTOP_OBJECT to DESKTOP

svn path=/trunk/; revision=36789

15 years agoFix GetAppCompatFlags to use Teb->ClientInfo instead of Teb->Win32ThreadInfo, which...
Timo Kreuzer [Fri, 17 Oct 2008 11:18:57 +0000 (11:18 +0000)]
Fix GetAppCompatFlags to use Teb->ClientInfo instead of Teb->Win32ThreadInfo, which should be a kernel pointer.

svn path=/trunk/; revision=36788

15 years ago - Merge aicom-network-fixes up to r36785
Cameron Gutman [Fri, 17 Oct 2008 10:42:44 +0000 (10:42 +0000)]
 - Merge aicom-network-fixes up to r36785

svn path=/trunk/; revision=36787

15 years agoWin32 structure cleanup part 2 / x:
Timo Kreuzer [Fri, 17 Oct 2008 10:40:04 +0000 (10:40 +0000)]
Win32 structure cleanup part 2 / x:
- rename DESKTOP to DESKTOPINFO

svn path=/trunk/; revision=36786

15 years ago- Hide ncpa.cpl from control panel
Johannes Anderwald [Fri, 17 Oct 2008 10:21:15 +0000 (10:21 +0000)]
- Hide ncpa.cpl from control panel

svn path=/trunk/; revision=36783

15 years ago- Add comments to GetTextFaceW
Stefan Ginsberg [Fri, 17 Oct 2008 07:20:23 +0000 (07:20 +0000)]
- 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

15 years agoChecked code format, compiler has issues.
James Tabor [Fri, 17 Oct 2008 04:56:47 +0000 (04:56 +0000)]
Checked code format, compiler has issues.

svn path=/trunk/; revision=36781

15 years agoMove GetTextFaceAliasW to text.c.
James Tabor [Fri, 17 Oct 2008 04:34:21 +0000 (04:34 +0000)]
Move GetTextFaceAliasW to text.c.

svn path=/trunk/; revision=36780