reactos.git
11 years agoThe real, definitive, Visual C++ support branch. Accept no substitutes
KJK::Hyperion [Sat, 25 Oct 2008 17:56:00 +0000 (17:56 +0000)]
The real, definitive, Visual C++ support branch. Accept no substitutes

svn path=/branches/the-real-msvc/; revision=36960

11 years agomodified dll/win32/kernel32/kernel32.rbuild
KJK::Hyperion [Sat, 25 Oct 2008 17:41:48 +0000 (17:41 +0000)]
modified   dll/win32/kernel32/kernel32.rbuild
   Disable exceptions and RTTI in kernel32_base
   Move icustubs.cpp closer to other NLS stuff

This commit dedicated to Stefan100

svn path=/trunk/; revision=36957

11 years agoI did not, in fact, test my commit
KJK::Hyperion [Sat, 25 Oct 2008 17:36:53 +0000 (17:36 +0000)]
I did not, in fact, test my commit

svn path=/trunk/; revision=36956

11 years agoMisc. typo fixes
Gregor Schneider [Sat, 25 Oct 2008 17:35:45 +0000 (17:35 +0000)]
Misc. typo fixes

svn path=/trunk/; revision=36955

11 years agomodified base/applications/screensavers/3dtext/3dtext.rbuild
KJK::Hyperion [Sat, 25 Oct 2008 17:32:54 +0000 (17:32 +0000)]
modified   base/applications/screensavers/3dtext/3dtext.rbuild
modified   lib/sdk/crt/crt.rbuild
   Split chkstk away from crt
   Link 3dtext to chkstk for Visual C++ builds (a gcc-built 3dtext would simply crash, I guess?)

modified   dll/cpl/access/display.c
modified   dll/cpl/access/general.c
modified   dll/cpl/access/keyboard.c
modified   dll/cpl/access/mouse.c
   Fixed signedness violations (thank you cl -Wall -W4)

modified   dll/win32/acledit/acledit.rbuild
modified   dll/win32/aclui/aclui.rbuild
   Removed empty stubs (thank you cl -Wall -W4)

modified   dll/win32/aclui/checklist.c
   Fixed signedness violations
   wcsnicmp is not a standard C routine
   BOOL is not a boolean
   Thank you cl -Wall -W4

modified   dll/win32/aclui/sidcache.c
   Marked possible overflow (thank you cl -Wall -W4)

modified   dll/win32/msvcrt/msvcrt.def
   __iob_func and __p_iob are the same thing
   Export non-conforming swprintf as _swprintf, too (will fix for real later)
   Thank you cl -Wall -W4

modified   include/ddk/winddk.h
   Zero-length array field in struct _SCATTER_GATHER_LIST
   Forward-declare structures out of argument lists
   Thank you cl -Wall -W4

modified   include/reactos/msvctarget.h
   No need to emulate Visual C++ flags when compiling with Visual C++

modified   lib/3rdparty/mingw/cpu_features.c
modified   lib/3rdparty/mingw/cpu_features.h
   Useless dependency from stdbool.h removed
   Now compiles with Visual C++ too

modified   lib/3rdparty/mingw/getopt.c
   Silence harmless warning

modified   lib/3rdparty/mingw/isascii.c
modified   lib/3rdparty/mingw/iscsym.c
modified   lib/3rdparty/mingw/iscsymf.c
modified   lib/3rdparty/mingw/toascii.c
   Undefine conflicting macro names before declaring the functions

modified   Makefile
   Visual C++ support is coming, did you bring your coat?

svn path=/trunk/; revision=36954

11 years ago- Do not send the WM_MOUSEACTIVATE message for a window that has no parent.
Michael Martin [Sat, 25 Oct 2008 16:08:59 +0000 (16:08 +0000)]
- Do not send the WM_MOUSEACTIVATE message for a window that has no parent.
- Fixes visual basic application crashes when clicking on form. See bug #3111 for more details.

svn path=/trunk/; revision=36950

11 years ago- Patch by hto: Do not wait until process is closed with process database locked...
James Tabor [Sat, 25 Oct 2008 15:33:02 +0000 (15:33 +0000)]
- Patch by hto: Do not wait until process is closed with process database locked. See Bug 3805.

svn path=/trunk/; revision=36948

11 years agoDon't export ScreenSaverProc and ScreenSaverConfigureDialog anymore
Colin Finck [Sat, 25 Oct 2008 15:15:54 +0000 (15:15 +0000)]
Don't export ScreenSaverProc and ScreenSaverConfigureDialog anymore
I don't know any app still needing these exports and even Windows screensavers don't export anything nowadays.

svn path=/trunk/; revision=36947

11 years agoReturn if the screensaver window couldn't be created to avoid a warning about using...
Colin Finck [Sat, 25 Oct 2008 15:14:09 +0000 (15:14 +0000)]
Return if the screensaver window couldn't be created to avoid a warning about using the uninitialized variable "msg".
Spotted by KJK & CL

svn path=/trunk/; revision=36946

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

svn path=/trunk/; revision=36945

11 years agoFix build broken in r36927
Colin Finck [Sat, 25 Oct 2008 14:49:51 +0000 (14:49 +0000)]
Fix build broken in r36927

The #ifdef's here are defined by the host, not by the target.
Therefore we can't check with #if defined(__x86_64__) whether we build for 64-bit. Probably a _TARGET_PE64 solution like we have for rsym is needed here to fix this properly also for the AMD64 port.

svn path=/trunk/; revision=36944

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

svn path=/trunk/; revision=36872

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

svn path=/trunk/; revision=36833

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

svn path=/trunk/; revision=36832

11 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

11 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

11 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

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

svn path=/trunk/; revision=36828

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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