reactos.git
12 years agoKJK::Hyperion is proud to present "dllimport purity", another landmark commit that...
KJK::Hyperion [Tue, 4 Nov 2008 18:16:58 +0000 (18:16 +0000)]
KJK::Hyperion is proud to present "dllimport purity", another landmark commit that you should really build only after a "clean"
Disclaimer: in an uncharacteristic and daring move, I actually built, installed and booted this revision

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/module.cpp
modified   tools/rbuild/project.dtd
modified   tools/rbuild/rbuild.h
modified   include/crt/_mingw.h
   New module attribute iscrt for marking modules that implement a C runtime library
   New module attribute crt for compiling and linking modules to a specific C runtime library. Can be "ntdll" (for ntdll.dll) "msvcrt" (msvcrt.dll), "crt" (statically-linked runtime), "libcntpr" (libcntpr.lib), "dll" (one of the <library> entries specifies a CRT DLL) or "static". Defaults to "msvcrt" for Win32 modules, to "static" for CRT modules themselves, and to "dll" for drivers
   Define _DLL for code that compiles against a dynamically-linked CRT
   Define __MINGW_IMPORT and _CRTIMP according to whether _DLL is defined. We finally use __declspec(dllimport) somewhere, anywhere (SDK headers still don't use it)
   Bonus fix: actually use compiler-specific command line flags when compiling files

modified   lib/3rdparty/adns/adns.rbuild
modified   lib/3rdparty/libxml2/libxml2.rbuild
modified   lib/3rdparty/mingw/mingw.rbuild
   And for the downside: static libraries that will be linked to a module that links to the CRT dynamically have to be compiled for a dynamically-linked CRT, as well. Say it out aloud.

modified   base/applications/wordpad/wordpad.rbuild
modified   base/setup/usetup/usetup.rbuild
modified   dll/3rdparty/dxtn/dxtn.rbuild
modified   dll/3rdparty/freetype/freetype.rbuild
modified   dll/3rdparty/mesa32/mesa32.rbuild
modified   dll/cpl/desk/desk.rbuild
modified   dll/cpl/input/input.rbuild
modified   dll/cpl/intl/intl.rbuild
modified   dll/cpl/joy/joy.rbuild
modified   dll/cpl/main/main.rbuild
modified   dll/cpl/mmsys/mmsys.rbuild
modified   dll/cpl/odbccp32/odbccp32.rbuild
modified   dll/cpl/powercfg/powercfg.rbuild
modified   dll/cpl/sysdm/sysdm.rbuild
modified   dll/cpl/telephon/telephon.rbuild
modified   dll/cpl/timedate/timedate.rbuild
modified   dll/cpl/usrmgr/usrmgr.rbuild
modified   dll/directx/ddraw/ddraw.rbuild
modified   dll/directx/dsound/dsound.rbuild
modified   dll/directx/wine/wined3d/wined3d.rbuild
modified   dll/nls/idndl_redist/idndl_redist.rbuild
modified   dll/nls/normaliz_redist/normaliz_redist.rbuild
modified   dll/shellext/deskadp/deskadp.rbuild
modified   dll/shellext/deskmon/deskmon.rbuild
modified   dll/shellext/fontext/fontext.rbuild
modified   dll/win32/dhcpcsvc/dhcpcsvc.rbuild
modified   dll/win32/dnsapi/dnsapi.rbuild
modified   dll/win32/glu32/glu32.rbuild
modified   dll/win32/icmp/icmp.rbuild
modified   dll/win32/winmm/midimap/midimap.rbuild
modified   drivers/video/displays/framebuf/framebuf.rbuild
modified   drivers/video/displays/framebufacc/framebufacc.rbuild
modified   drivers/video/displays/vga/vgaddi.rbuild
modified   subsystems/win32/csrss/csrss.rbuild
modified   subsystems/win32/csrss/win32csr/win32csr.rbuild
modified   subsystems/win32/win32k/win32k.rbuild
   Don't specify msvcrt explicitely as a <library> if it's going to be linked implicitely as the CRT
   <library>libcntpr</library> -> crt="libcntpr"
   Remove miscellaneous unused <library> entries

modified   dll/win32/crtdll/crtdll.rbuild
modified   dll/win32/msvcrt20/msvcrt20.rbuild
modified   dll/win32/msvcrt40/msvcrt40.rbuild
modified   dll/win32/msvcrt/msvcrt.rbuild
   Mark CRT DLLs as CRT modules

modified   dll/win32/user32/windows/font.c
modified   include/reactos/wine/unicode.h
   Don't redefine or redeclare CRT functions

modified   dll/win32/ws2_32/include/ws2_32.h
   Arch, you idiot, it's defined in <stdlib.h>

modified   include/crt/ctype.h
modified   include/crt/wctype.h
   Don't import ctype routines that were already defined as inlines

modified   include/crt/stdio.h
modified   include/reactos/wine/config.h
   Avoid linking to libmingwex.a if possible

modified   base/applications/taskmgr/taskmgr.rbuild
modified   tools/nci/nci.mak
modified   tools/nci/ncitool.c
modified   dll/ntdll/ntdll.rbuild
   Mark ntdll module as a CRT
   New "ntsys" module to import just Nt/Zw from ntdll.dll. Avoids accidentally linking to ntdll.dll's CRT when importing system calls

modified   include/psdk/winternl.h
   Nope, it doesn't.

modified   base/applications/network/net/help.c
modified   base/applications/network/net/main.c
   Replace printf with puts, or GCC will do it on its own and link to the dllimport thunk for puts

modified   base/applications/network/ping/ping.c
   Removed broken, unnecessary workaround

modified   base/shell/cmd/cmd.rbuild
   Simplify cmd module

This commit dediHAPPY BIRTHDAY STEFAN GINSBERG <3 <3 <3

svn path=/trunk/; revision=37187

12 years ago- Fix RealizationInfo, it should use DC font not cFont if 0.
James Tabor [Tue, 4 Nov 2008 13:05:47 +0000 (13:05 +0000)]
- Fix RealizationInfo, it should use DC font not cFont if 0.

svn path=/trunk/; revision=37186

12 years ago- Fix code page and charector set support. More miscellaneous changes and fixes.
James Tabor [Tue, 4 Nov 2008 12:49:49 +0000 (12:49 +0000)]
- Fix code page and charector set support.  More miscellaneous changes and fixes.

svn path=/trunk/; revision=37185

12 years ago- Change params types for NtUserLockWindowUpdate
Dmitry Chapyshev [Tue, 4 Nov 2008 12:29:47 +0000 (12:29 +0000)]
- Change params types for NtUserLockWindowUpdate
- Implement LockWindowUpdate in user32 (but not implemented in win32k)

svn path=/trunk/; revision=37184

12 years ago- Update Russian translation
Dmitry Chapyshev [Tue, 4 Nov 2008 06:34:39 +0000 (06:34 +0000)]
- Update Russian translation

svn path=/trunk/; revision=37182

12 years ago- Update and fix CodePage and CharSet.
James Tabor [Tue, 4 Nov 2008 01:57:38 +0000 (01:57 +0000)]
- Update and fix CodePage and CharSet.

svn path=/trunk/; revision=37180

12 years ago- Apply changes to Hide / Show Network Notification setting on exit
Johannes Anderwald [Mon, 3 Nov 2008 22:13:24 +0000 (22:13 +0000)]
- Apply changes to Hide / Show Network Notification setting on exit

svn path=/trunk/; revision=37179

12 years ago- Check if IContextMenu_InvokeCommand succeeded
Johannes Anderwald [Mon, 3 Nov 2008 21:44:34 +0000 (21:44 +0000)]
- Check if IContextMenu_InvokeCommand succeeded
- Pass the identifiers of string as id to _InsertMenuItem function
- Should fix invoking control panel items

svn path=/trunk/; revision=37177

12 years agoCarlo Bramini (carlo.bramix@libero.it)
Colin Finck [Mon, 3 Nov 2008 21:23:57 +0000 (21:23 +0000)]
Carlo Bramini (carlo.bramix@libero.it)
- Fix the display of Line and Column in the Status Bar and add language resources for this

Patch was slightly modified by me to also react on WM_KEYDOWN messages, so that the line/column is already updated, when you're holding down the buttons. (like Windows' notepad does by the way)
We still have to keep WM_KEYUP though, otherwise this doesn't work properly when being used with Page Up/Page Down.

See issue #3702 for more details.

svn path=/trunk/; revision=37176

12 years ago- Dont display NCRP_QUERY_PROPERTY_UI when the notification object has already been...
Johannes Anderwald [Mon, 3 Nov 2008 18:42:56 +0000 (18:42 +0000)]
- Dont display NCRP_QUERY_PROPERTY_UI when the notification object has already been created

svn path=/trunk/; revision=37173

12 years agoExFreePool -> ExFreePoolWithTag
Christoph von Wittich [Mon, 3 Nov 2008 16:22:44 +0000 (16:22 +0000)]
ExFreePool -> ExFreePoolWithTag
Status != STATUS_SUCCESS -> !NT_SUCCESS(Status)

svn path=/trunk/; revision=37171

12 years agosome translations: GreatLordish -> English
Christoph von Wittich [Mon, 3 Nov 2008 14:39:03 +0000 (14:39 +0000)]
some translations: GreatLordish -> English

svn path=/trunk/; revision=37170

12 years ago- Several ExFreePool -> ExFreePoolWithTag changes (local allocations)
Gregor Schneider [Mon, 3 Nov 2008 13:26:03 +0000 (13:26 +0000)]
- Several ExFreePool -> ExFreePoolWithTag changes (local allocations)
- Tested for ~2 weeks now, no BAD_POOL_CALLER's so far

svn path=/trunk/; revision=37169

12 years agoStretchBlt:
Gregor Schneider [Mon, 3 Nov 2008 12:40:24 +0000 (12:40 +0000)]
StretchBlt:
- Enable unsupported bit depth dprint (4bpp)
- Respect the destination offset instead of always starting the blt at 0,0 (8/16bpp)
- Adapt routine from 8/16/32bpp, tested to be approx 15-25% faster than the old one (24bpp)

svn path=/trunk/; revision=37168

12 years ago- Move IsWow64Process to proc.c
Dmitry Chapyshev [Mon, 3 Nov 2008 12:27:39 +0000 (12:27 +0000)]
- Move IsWow64Process to proc.c
- Implement FatalAppExitW (based on Wine)

svn path=/trunk/; revision=37167

12 years ago- Implement IsWow64Process (based on Wine)
Dmitry Chapyshev [Mon, 3 Nov 2008 11:46:02 +0000 (11:46 +0000)]
- Implement IsWow64Process (based on Wine)

svn path=/trunk/; revision=37165

12 years ago- Implement GetCPInfoExA/W (not fully)
Dmitry Chapyshev [Mon, 3 Nov 2008 11:27:17 +0000 (11:27 +0000)]
- Implement GetCPInfoExA/W (not fully)
- Move CODEPAGE_ENTRY struct to header file
- Small fix HeapWalk

svn path=/trunk/; revision=37164

12 years ago- Cleanup UnrealizeObject and set dvNumAxes in CreateFontIndirect.
James Tabor [Mon, 3 Nov 2008 08:39:08 +0000 (08:39 +0000)]
- Cleanup UnrealizeObject and set dvNumAxes in CreateFontIndirect.

svn path=/trunk/; revision=37163

12 years ago- Implement HeapWalk (based on Wine)
Dmitry Chapyshev [Mon, 3 Nov 2008 08:37:50 +0000 (08:37 +0000)]
- Implement HeapWalk (based on Wine)

svn path=/trunk/; revision=37162

12 years ago- Fix C in RealizeFontInit.
James Tabor [Mon, 3 Nov 2008 07:04:04 +0000 (07:04 +0000)]
- Fix C in RealizeFontInit.

svn path=/trunk/; revision=37161

12 years ago- Remove locking in gdi batch.
James Tabor [Mon, 3 Nov 2008 06:52:42 +0000 (06:52 +0000)]
- Remove locking in gdi batch.

svn path=/trunk/; revision=37160

12 years ago- Add new function for locking text font objects when realized. This is for batching...
James Tabor [Mon, 3 Nov 2008 05:38:02 +0000 (05:38 +0000)]
- Add new function for locking text font objects when realized. This is for batching support.
- Batching works for selected fonts, due to a system initialization bug this is disabled.
- Miscellaneous changes and updates.

svn path=/trunk/; revision=37159

12 years agoidndl_redist and normaliz_redist aren't ready for prime time yet
KJK::Hyperion [Sun, 2 Nov 2008 22:03:31 +0000 (22:03 +0000)]
idndl_redist and normaliz_redist aren't ready for prime time yet

svn path=/trunk/; revision=37158

12 years agoReadBatchLine: Add a \n to the line if it doesn't already have one
Jeffrey Morlan [Sun, 2 Nov 2008 21:56:34 +0000 (21:56 +0000)]
ReadBatchLine: Add a \n to the line if it doesn't already have one

svn path=/trunk/; revision=37155

12 years ago- Remove WIN32_WINNT override.
Aleksey Bragin [Sun, 2 Nov 2008 19:12:20 +0000 (19:12 +0000)]
- Remove WIN32_WINNT override.

svn path=/trunk/; revision=37154

12 years ago- Remove WINVER definition.
Aleksey Bragin [Sun, 2 Nov 2008 19:07:00 +0000 (19:07 +0000)]
- Remove WINVER definition.
- Fix no-EOL-at-EOF warnings.

svn path=/trunk/; revision=37152

12 years ago- Stub out IoTranslateBusAddress, PoCancelDeviceNotify, PoRegisterDeviceNotify, PoReq...
Stefan Ginsberg [Sun, 2 Nov 2008 16:33:43 +0000 (16:33 +0000)]
- Stub out IoTranslateBusAddress, PoCancelDeviceNotify, PoRegisterDeviceNotify, PoRequestShutdownEvent, PoSetHiberRange and PoShutdownBugCheck
- Add missing KiCheckForSListAddress

svn path=/trunk/; revision=37151

12 years agoDmitry Gorbachev
Aleksey Bragin [Sun, 2 Nov 2008 15:15:37 +0000 (15:15 +0000)]
Dmitry Gorbachev
- Fix a bug in OEM to Unicode conversion code (wrong cast).
See issue #3837 for more details.

svn path=/trunk/; revision=37150

12 years ago- Sync 36654 to trunk
Stefan Ginsberg [Sun, 2 Nov 2008 14:08:49 +0000 (14:08 +0000)]
- Sync 36654 to trunk

svn path=/trunk/; revision=37149

12 years ago- Move functions out of freetype. Implemented FT: GetKerningPairs and RealizationInfo...
James Tabor [Sun, 2 Nov 2008 12:17:15 +0000 (12:17 +0000)]
- Move functions out of freetype. Implemented FT: GetKerningPairs and RealizationInfo. Other misc changes.

svn path=/trunk/; revision=37148

12 years ago- Stub out Ke386IoSetAccessProcess, Ke386SetIoAccessMap and Ke386QueryIoAccessMap
Stefan Ginsberg [Sun, 2 Nov 2008 11:48:24 +0000 (11:48 +0000)]
- Stub out Ke386IoSetAccessProcess, Ke386SetIoAccessMap and Ke386QueryIoAccessMap
- Reference: "The Simplest Device Drivers" http://www.freewebs.com/four-f/KmdTut/kmd03.html

svn path=/trunk/; revision=37147

12 years ago- Update FONTGDI and TEXTOBJ. Added support for FT WinFNT. Fixed FillTM so it can...
James Tabor [Sun, 2 Nov 2008 00:57:17 +0000 (00:57 +0000)]
- Update FONTGDI and TEXTOBJ. Added support for FT WinFNT. Fixed FillTM so it can pass underline and strike out support.

svn path=/trunk/; revision=37146

12 years agoArch Blackmann's rules for preprocessed spec files were quite broken (of course)...
KJK::Hyperion [Sat, 1 Nov 2008 23:23:02 +0000 (23:23 +0000)]
Arch Blackmann's rules for preprocessed spec files were quite broken (of course). Fixing them.
 * Add the module name to the name of the intermediate .spec file generated by the preprocessor. Fixes race condition in parallel builds of HAL targets
 * Pass module defines and includes to the preprocessor. Fixes a future bug that would have caused Aleksey to commit suicide and ReactOS to be forked into Debian GNU/ReactOS
 * Don't silently ignore stubs defined by .pspec files. What the hell, Arch?

Bonus improvement: cleaned up linker command, generating .exp files correctly as intermediate files with the appropriate dependencies. Happy Hallowmas!

svn path=/trunk/; revision=37145

12 years agoRemove all <file> entries for spec/pspec files that don't define any stubs (for real...
KJK::Hyperion [Sat, 1 Nov 2008 23:11:38 +0000 (23:11 +0000)]
Remove all <file> entries for spec/pspec files that don't define any stubs (for real this time)

svn path=/trunk/; revision=37144

12 years ago- Fix property for drawing.c.
James Tabor [Sat, 1 Nov 2008 23:04:56 +0000 (23:04 +0000)]
- Fix property for drawing.c.

svn path=/trunk/; revision=37143

12 years ago- Fix build, part of revision 37141.
James Tabor [Sat, 1 Nov 2008 22:54:34 +0000 (22:54 +0000)]
- Fix build, part of revision 37141.

svn path=/trunk/; revision=37142

12 years ago- Patch by Daniel Zimmerman: Implement FoldStringA/W from wine, see bug 3253.
James Tabor [Sat, 1 Nov 2008 22:44:54 +0000 (22:44 +0000)]
- Patch by Daniel Zimmerman: Implement FoldStringA/W from wine, see bug 3253.

svn path=/trunk/; revision=37141

12 years ago- Update from notes: NtUserInitialize.
James Tabor [Sat, 1 Nov 2008 22:12:38 +0000 (22:12 +0000)]
- Update from notes: NtUserInitialize.

svn path=/trunk/; revision=37140

12 years agoTransparentBlt:
Gregor Schneider [Sat, 1 Nov 2008 20:44:40 +0000 (20:44 +0000)]
TransparentBlt:
- Fix bits and offset calculation (8 << 2 is not 24!)
- Fixes Download! bitmap in 24bpp mode, see bug #1583

svn path=/trunk/; revision=37139

12 years agoSEH protect all remote calls to the Eventlog Service.
Eric Kohl [Sat, 1 Nov 2008 20:37:04 +0000 (20:37 +0000)]
SEH protect all remote calls to the Eventlog Service.

svn path=/trunk/; revision=37138

12 years ago- Reapply 35812:
Stefan Ginsberg [Sat, 1 Nov 2008 19:48:52 +0000 (19:48 +0000)]
- Reapply 35812:
- RtlDispatchException: Call vectored exception handlers before doing anything else
- KiUserExceptionDispatcher: Call RtlDispatchException directly as it now takes care of vectored handling
- Rename RtlpExecuteVectoredExceptionHandlers to RtlCallVectoredExceptionHandlers, and fix return type
- References: "New Vectored Exception Handling in Windows XP" by Matt Pietrek
- New in this revision: Only call vectored handlers in user mode, as there is no such thing in kernel mode

svn path=/trunk/; revision=37137

12 years ago- Fix release build -- attempt 2
Stefan Ginsberg [Sat, 1 Nov 2008 19:35:23 +0000 (19:35 +0000)]
- Fix release build -- attempt 2

svn path=/trunk/; revision=37136

12 years ago- Fix release build
Stefan Ginsberg [Sat, 1 Nov 2008 19:22:43 +0000 (19:22 +0000)]
- Fix release build

svn path=/trunk/; revision=37135

12 years ago- Enable building ntkrnlmp
Stefan Ginsberg [Sat, 1 Nov 2008 18:21:39 +0000 (18:21 +0000)]
- Enable building ntkrnlmp
- SMP kernel now compiles. It doesn't boot and it won't run as we lack ACPI, SMT, a (proper) MP HAL, IPI and more.
- Dedicated to Aleksey, Alex and KJK <3 <3 <3

svn path=/trunk/; revision=37134

12 years ago- Implement the MP case for KiTimerExpiration and KiTimerListExpire
Stefan Ginsberg [Sat, 1 Nov 2008 18:16:17 +0000 (18:16 +0000)]
- Implement the MP case for KiTimerExpiration and KiTimerListExpire

svn path=/trunk/; revision=37133

12 years ago- Refactor timer code to share more macros (see http://www.dcl.hpi.uni-potsdam.de...
Aleksey Bragin [Sat, 1 Nov 2008 15:33:05 +0000 (15:33 +0000)]
- Refactor timer code to share more macros (see dcl.hpi.uni-potsdam.de/research/WRK/?p=32).
- Implement expiring timers when the user changes the system time. Previously these timers would never expire if the time was set past their expiration points.
- Fix a bug in KiInsertTreeTimer where, if a timer expired while we inserted it, we kept its Inserted state to TRUE.
- Fix a bug where, when changing the system time, the modifications were not done in the correct order, possibly resulting in a race condition happening if someone else was checking the time simultaneously.
- Tested with winetest kernel32 timer.
- Thanks to Alex and Stefan.

svn path=/trunk/; revision=37132

12 years ago - Fix a cast
Cameron Gutman [Sat, 1 Nov 2008 14:38:44 +0000 (14:38 +0000)]
 - Fix a cast

svn path=/trunk/; revision=37131

12 years ago- Update NtUserInitialize and show where it belongs.
James Tabor [Sat, 1 Nov 2008 14:31:54 +0000 (14:31 +0000)]
- Update NtUserInitialize and show where it belongs.

svn path=/trunk/; revision=37130

12 years ago- Update NtGdiGetGlyphOutline and NtGdiGetGlyphIndicesW.
James Tabor [Sat, 1 Nov 2008 12:08:07 +0000 (12:08 +0000)]
- Update NtGdiGetGlyphOutline and NtGdiGetGlyphIndicesW.

svn path=/trunk/; revision=37128

12 years ago- Implement most of SMP KeFlushEntireTb (currently unused though)
Stefan Ginsberg [Sat, 1 Nov 2008 12:01:58 +0000 (12:01 +0000)]
- Implement most of SMP KeFlushEntireTb (currently unused though)
- Update KiTbFlushTimeStamp on both UP and MP after flushing

svn path=/trunk/; revision=37127

12 years ago- Disable old and unused IPI code, add new NT compatible stubs
Stefan Ginsberg [Sat, 1 Nov 2008 11:44:04 +0000 (11:44 +0000)]
- Disable old and unused IPI code, add new NT compatible stubs
- KiIpiSendRequest should be a fastcall named KiIpiSend, fix this and fix callers
- Implement most of SMP KeIpiGenericCall. Also use KiReverseStallIpiLock instead of an uninitialized "KiIpiLock"
- Fix KiIpiServiceRoutine -- 2nd argument should be PKEXCEPTION_FRAME

svn path=/trunk/; revision=37126

12 years ago - Make sure ThunkTable is not NULL before attempting to free it
Cameron Gutman [Sat, 1 Nov 2008 01:00:08 +0000 (01:00 +0000)]
 - Make sure ThunkTable is not NULL before attempting to free it
 - It gets set to NULL when the thunk is successfully added
 - I have no idea how this ever worked without this fix

svn path=/trunk/; revision=37125

12 years ago - Release the guarded mutex before we return
Cameron Gutman [Sat, 1 Nov 2008 00:36:24 +0000 (00:36 +0000)]
 - Release the guarded mutex before we return

svn path=/trunk/; revision=37124

12 years ago - Fix the check for too many devices
Cameron Gutman [Fri, 31 Oct 2008 23:59:49 +0000 (23:59 +0000)]
 - Fix the check for too many devices

svn path=/trunk/; revision=37121

12 years ago - We already do this in the SEH block. No need to do it twice.
Cameron Gutman [Fri, 31 Oct 2008 23:34:54 +0000 (23:34 +0000)]
 - We already do this in the SEH block. No need to do it twice.

svn path=/trunk/; revision=37120

12 years ago- Include zero byte in byte count to NtSetValueKey
Johannes Anderwald [Fri, 31 Oct 2008 23:34:34 +0000 (23:34 +0000)]
- Include zero byte in byte count to NtSetValueKey

svn path=/trunk/; revision=37119

12 years ago- Include zero byte in byte count to NtSetValueKey
Johannes Anderwald [Fri, 31 Oct 2008 23:21:15 +0000 (23:21 +0000)]
- Include zero byte in byte count to NtSetValueKey

svn path=/trunk/; revision=37118

12 years agoPass machine name to RpcStringBindingComposeA/W properly.
Eric Kohl [Fri, 31 Oct 2008 22:21:34 +0000 (22:21 +0000)]
Pass machine name to RpcStringBindingComposeA/W properly.

svn path=/trunk/; revision=37117

12 years agoEVENTLOG:
Eric Kohl [Fri, 31 Oct 2008 22:18:12 +0000 (22:18 +0000)]
EVENTLOG:
- Get rid of the globally created binding handle and use the WIDL-generated custom binding handles and context handles instead.
- Add workarounds to eventlogrpc.idl because WIDL is not yet able to handle attributes in typedefs correctly.

svn path=/trunk/; revision=37116

12 years agomerge 35742,35773,35780,35824,35969,36725,36952 from amd64 branch
Timo Kreuzer [Fri, 31 Oct 2008 21:28:09 +0000 (21:28 +0000)]
merge 35742,35773,35780,35824,35969,36725,36952 from amd64 branch

svn path=/trunk/; revision=37115

12 years ago* Implement disabling network adapter (WIP, not yet supported)
Johannes Anderwald [Fri, 31 Oct 2008 20:27:30 +0000 (20:27 +0000)]
* Implement disabling network adapter (WIP, not yet supported)

svn path=/trunk/; revision=37114

12 years ago- Update realization information and copyright notice for freetype.c.
James Tabor [Fri, 31 Oct 2008 18:56:23 +0000 (18:56 +0000)]
- Update realization information and copyright notice for freetype.c.

svn path=/trunk/; revision=37113

12 years ago- Display drive details for CDROMs
Johannes Anderwald [Fri, 31 Oct 2008 18:48:15 +0000 (18:48 +0000)]
- Display drive details for CDROMs
- Fix a bug in the free space calculation

svn path=/trunk/; revision=37112

12 years ago- Don't dereference inside an SEH block after doing unsafe writes, as this could...
Stefan Ginsberg [Fri, 31 Oct 2008 13:16:01 +0000 (13:16 +0000)]
- Don't dereference inside an SEH block after doing unsafe writes, as this could be missed in case a pointer is bad.

svn path=/trunk/; revision=37111

12 years ago- Add Documentation for netshell
Johannes Anderwald [Fri, 31 Oct 2008 11:26:23 +0000 (11:26 +0000)]
- Add Documentation for netshell

svn path=/trunk/; revision=37110

12 years ago- Make sure its DNS ServerList is NULL terminated
Johannes Anderwald [Thu, 30 Oct 2008 20:25:27 +0000 (20:25 +0000)]
- Make sure its DNS ServerList is NULL terminated

svn path=/trunk/; revision=37108

12 years ago- Fix ...
Johannes Anderwald [Thu, 30 Oct 2008 20:12:09 +0000 (20:12 +0000)]
- Fix ...

svn path=/trunk/; revision=37107

12 years ago- Try fix GetNetworkParams api
Johannes Anderwald [Thu, 30 Oct 2008 19:27:58 +0000 (19:27 +0000)]
- Try fix GetNetworkParams api

svn path=/trunk/; revision=37106

12 years ago- NtWrite/ReadFile: Don't hardcode Irp->RequestorMode to KernelMode! Instead, use...
Stefan Ginsberg [Thu, 30 Oct 2008 15:59:00 +0000 (15:59 +0000)]
- NtWrite/ReadFile: Don't hardcode Irp->RequestorMode to KernelMode! Instead, use the PreviousMode we saved earlier. This caused user mode APCs to be called from kernel mode, which is a...very...bad... idea.
- Spotted by bug 3607 and exposed by ntdll Winetests "file"
See issue #3607 for more details.

svn path=/trunk/; revision=37102

12 years agoImplement GetFontUnicodeRanges, port from wine. Tested with wine gdi32 font crosstests.
James Tabor [Thu, 30 Oct 2008 13:33:08 +0000 (13:33 +0000)]
Implement GetFontUnicodeRanges, port from wine. Tested with wine gdi32 font crosstests.

svn path=/trunk/; revision=37099

12 years agofix Armenian, Chinese, Hebrew, Hindi, Thai do not appear in the Input Language combo box
Christoph von Wittich [Thu, 30 Oct 2008 13:27:11 +0000 (13:27 +0000)]
fix Armenian, Chinese, Hebrew, Hindi, Thai do not appear in the Input Language combo box
patch by hto
See issue #3818 for more details.

svn path=/trunk/; revision=37098

12 years agoreplacement for the white power switch (better contrast for small resolutions)
Matthias Kupfer [Thu, 30 Oct 2008 13:09:58 +0000 (13:09 +0000)]
replacement for the white power switch (better contrast for small resolutions)

svn path=/trunk/; revision=37097

12 years ago- Forgot this one
Johannes Anderwald [Thu, 30 Oct 2008 12:44:25 +0000 (12:44 +0000)]
- Forgot this one

svn path=/trunk/; revision=37095

12 years ago- new directory for generic graphics (available in alterable format e.g. svg)
Matthias Kupfer [Thu, 30 Oct 2008 12:04:39 +0000 (12:04 +0000)]
- new directory for generic graphics (available in alterable format e.g. svg)
- replacement for shutdown/power off icon
- additional question mark icon (allows to change to tango desktop project icon set for message box icons)

svn path=/trunk/; revision=37094

12 years ago- Attempt to fix a bug 3255.
Dmitry Chapyshev [Thu, 30 Oct 2008 11:14:40 +0000 (11:14 +0000)]
- Attempt to fix a bug 3255.
By means of Christoph_vW.
Not tested.

svn path=/trunk/; revision=37093

12 years ago- Update Gdi GetFontLanguageInfo.
James Tabor [Thu, 30 Oct 2008 10:48:49 +0000 (10:48 +0000)]
- Update Gdi GetFontLanguageInfo.

svn path=/trunk/; revision=37092

12 years ago- Convert recovery option dialog to unicode
Johannes Anderwald [Thu, 30 Oct 2008 10:46:55 +0000 (10:46 +0000)]
- Convert recovery option dialog to unicode
- Simply & optimize LoadRecoveryOptions function
- CID 786

svn path=/trunk/; revision=37091

12 years ago- Implemented: GetFontLanguageInfo based on wine. GetLanguageID, it reads the registr...
James Tabor [Thu, 30 Oct 2008 10:46:27 +0000 (10:46 +0000)]
- Implemented: GetFontLanguageInfo based on wine. GetLanguageID, it reads the registry for default language type.
- Move more function in and out of freetype.c. Minor code fixes too.

svn path=/trunk/; revision=37090

12 years ago- Convert LoadSoundFiles to explictely to unicode
Johannes Anderwald [Thu, 30 Oct 2008 09:58:12 +0000 (09:58 +0000)]
- Convert LoadSoundFiles to explictely to unicode
- Fix 2 possible buffer overflows (CID 553)

svn path=/trunk/; revision=37087

12 years agofix 'Cast from pointer to integer of different size' in PickIconProc()
Christoph von Wittich [Thu, 30 Oct 2008 09:44:36 +0000 (09:44 +0000)]
fix 'Cast from pointer to integer of different size' in PickIconProc()
patch by hto
See issue #3828 for more details.

svn path=/trunk/; revision=37086

12 years ago- Add getting system font and icon size settings
Dmitry Chapyshev [Thu, 30 Oct 2008 09:41:37 +0000 (09:41 +0000)]
- Add getting system font and icon size settings
- Other small changes

svn path=/trunk/; revision=37085

12 years ago- Fix a memory leak (CID 625)
Johannes Anderwald [Thu, 30 Oct 2008 08:35:15 +0000 (08:35 +0000)]
- Fix a memory leak (CID 625)

svn path=/trunk/; revision=37084

12 years ago- Fix memory leak (CID 621)
Johannes Anderwald [Thu, 30 Oct 2008 08:28:50 +0000 (08:28 +0000)]
- Fix memory leak (CID 621)

svn path=/trunk/; revision=37083

12 years ago- Clean up resources on failure
Johannes Anderwald [Thu, 30 Oct 2008 08:23:53 +0000 (08:23 +0000)]
- Clean up resources on failure

svn path=/trunk/; revision=37082

12 years ago- Fix a potential buffer overflow in SH_ShowDriveProperties (CID 589)
Johannes Anderwald [Thu, 30 Oct 2008 07:59:55 +0000 (07:59 +0000)]
- Fix a potential buffer overflow in SH_ShowDriveProperties (CID 589)
- Fix a possible null dereference (CID 495)
- Fix initializing Recycle Bin Property dialog
- Add LVS_EX_FULLROWSELECT style

svn path=/trunk/; revision=37081

12 years ago- Fix displaying MAC of adapter
Johannes Anderwald [Thu, 30 Oct 2008 07:24:37 +0000 (07:24 +0000)]
- Fix displaying MAC of adapter

svn path=/trunk/; revision=37080

12 years agoMake the task bar top-most when necessary
Thomas Bluemel [Thu, 30 Oct 2008 01:58:24 +0000 (01:58 +0000)]
Make the task bar top-most when necessary

svn path=/trunk/; revision=37079

12 years ago- Move code out of freetype.c.
James Tabor [Thu, 30 Oct 2008 01:32:44 +0000 (01:32 +0000)]
- Move code out of freetype.c.
- Implement GetRasterizerCaps.
- From wine: Patch by Bobby Bingham: Add support for the GGO_UNHINTED flag in GetGlyphOutline.

svn path=/trunk/; revision=37078

12 years ago- Move FreeType support to freetype.c.
James Tabor [Wed, 29 Oct 2008 21:57:04 +0000 (21:57 +0000)]
- Move FreeType support to freetype.c.
- Add font.c to build system and picked our first victim to populate it.
- Implemented NtGdiSetTextJustification in text.c.

svn path=/trunk/; revision=37076

12 years ago- Fix kernel SMP intrinsics:
Stefan Ginsberg [Wed, 29 Oct 2008 21:08:20 +0000 (21:08 +0000)]
- Fix kernel SMP intrinsics:
- Correct typos and add missing casts
- Use IPI_APC in KiRequestApcInterrupt as we are requesting an APC IPI, not DPC
- Fix KiAcquireDispatcherObject (credit to Alex)
- Add missing SMP versions of KiAcquire/ReleaseDispatcherLockAtDpcLevel and KiAcquire/ReleaseTimerLock
- Stub out KiRundownThread for SMP

svn path=/trunk/; revision=37075

12 years agoMerging r37048, r37051, r37052, r37055 from the-real-msvc branch
KJK::Hyperion [Wed, 29 Oct 2008 20:06:44 +0000 (20:06 +0000)]
Merging r37048, r37051, r37052, r37055 from the-real-msvc branch

svn path=/trunk/; revision=37074

12 years ago- Implement VirtualMemoryInformationClass of MemorySectionName for NtQueryVirtualMemory.
Michael Martin [Wed, 29 Oct 2008 19:50:55 +0000 (19:50 +0000)]
- Implement VirtualMemoryInformationClass of MemorySectionName for NtQueryVirtualMemory.

svn path=/trunk/; revision=37073

12 years ago- Update width info structure.
James Tabor [Wed, 29 Oct 2008 19:44:12 +0000 (19:44 +0000)]
- Update width info structure.

svn path=/trunk/; revision=37072

12 years ago- Launch Network Connections ShellFolder when clicking Network Places' properties
Johannes Anderwald [Wed, 29 Oct 2008 17:49:00 +0000 (17:49 +0000)]
- Launch Network Connections ShellFolder when clicking Network Places' properties
- Dedicated to gabriel_it

svn path=/trunk/; revision=37071

12 years agoDon't decide whether to preprocess .spec files based on Kernel-Mode vs. User-Mode...
Colin Finck [Wed, 29 Oct 2008 16:42:03 +0000 (16:42 +0000)]
Don't decide whether to preprocess .spec files based on Kernel-Mode vs. User-Mode, but on the file extension.
.pspec files are preprocessed now, while .spec files aren't. A change like this was already done in the amd64 branch before KJK rewrote the .spec stuff in rbuild.

- Renamed currently preprocessed .spec files to .pspec and changed that in the .rbuild files appropriately
- Renamed "IsWineModule" to "IsSpecDefinitionFile",  the new name is more appropriate
- Removed some checks for uppercased file extensions, we neither use them in our tree nor it will totally work as we only support them in a few places

Commit dedicated to Timo ;-)

svn path=/trunk/; revision=37070

12 years ago- KeSetTimerEx: When canceling the insertion of an expired timer, don't forget to...
Stefan Ginsberg [Wed, 29 Oct 2008 16:24:36 +0000 (16:24 +0000)]
- KeSetTimerEx: When canceling the insertion of an expired timer, don't forget to exit the dispatcher and return. Fixes crashes exposed by kernel32 Winetest "timer", caused by KiTimerTableListHead suddenly having broken entries.
- Also fix a comment -- KiExitDispatcher doesn't release the dispatcher lock, it is done in KxInsertTimer

svn path=/trunk/; revision=37068

12 years ago- Improve error checking
Johannes Anderwald [Wed, 29 Oct 2008 16:19:09 +0000 (16:19 +0000)]
- Improve error checking
- Remove extensions which should be hidden (*.lnk)
- CID 82

svn path=/trunk/; revision=37067

12 years ago- MmMapViewOfSection: Don't forget to unlock the address space before returning ...
Stefan Ginsberg [Wed, 29 Oct 2008 16:10:20 +0000 (16:10 +0000)]
- MmMapViewOfSection: Don't forget to unlock the address space before returning -- fixes a bugcheck revealed by kernel32 Winetest "virtual"

svn path=/trunk/; revision=37064

12 years ago* Try to invoke items by executing the default context menu action
Johannes Anderwald [Wed, 29 Oct 2008 16:00:28 +0000 (16:00 +0000)]
* Try to invoke items by executing the default context menu action
* Fixes executing of items like network connections folder whose items are no file system objects
* Colin's wish list (1/2) :)

svn path=/trunk/; revision=37063

12 years ago- Delete Gateway Address from TcpipSettings when the gateway has been removed
Johannes Anderwald [Wed, 29 Oct 2008 14:12:29 +0000 (14:12 +0000)]
- Delete Gateway Address from TcpipSettings when the gateway has been removed
- Correctly check if there is Gateway set when initializing
- Delete all old routes when applying changes
- Add new gateway when applying changes

svn path=/trunk/; revision=37059