reactos.git
15 years agofix return logic typo
Ged Murphy [Fri, 7 Nov 2008 12:58:33 +0000 (12:58 +0000)]
fix return logic typo

svn path=/trunk/; revision=37242

15 years agoConvert rpcss back to a service
Ged Murphy [Fri, 7 Nov 2008 12:49:51 +0000 (12:49 +0000)]
Convert rpcss back to a service

svn path=/trunk/; revision=37241

15 years ago- Sync ole32 to Wine-20081105 (matching rpcrt4 sync). Tested with two versions of...
Aleksey Bragin [Fri, 7 Nov 2008 11:00:30 +0000 (11:00 +0000)]
- Sync ole32 to Wine-20081105 (matching rpcrt4 sync). Tested with two versions of FoxIt for bug #2361, it doesn't happen. Also tested with MS Office 2003 installation (which goes up to "Writing system registry values").
- Remove epm server building from rpcrt4, it belongs to rpcss.

svn path=/trunk/; revision=37240

15 years ago- Import rpcss from Wine. It has a serious disadvantage: it's not a real service...
Aleksey Bragin [Fri, 7 Nov 2008 10:52:49 +0000 (10:52 +0000)]
- Import rpcss from Wine. It has a serious disadvantage: it's not a real service, but a simple exe app, which (in ReactOS) just infinitely waits after being started. In order to turn it into a real startable/stoppable service, ole32 needs to be modified to make it proper. Which is probably against Wine policy of "let's hack it together to make it work somehow and forget about it".

svn path=/trunk/; revision=37239

15 years ago- Sync rpcrt4_winetest too.
Aleksey Bragin [Thu, 6 Nov 2008 20:12:22 +0000 (20:12 +0000)]
- Sync rpcrt4_winetest too.

svn path=/trunk/; revision=37231

15 years ago- ASSERTify a hacky workaround -- this shouldn't happen anymore in ros
Stefan Ginsberg [Thu, 6 Nov 2008 19:21:46 +0000 (19:21 +0000)]
- ASSERTify a hacky workaround -- this shouldn't happen anymore in ros

svn path=/trunk/; revision=37230

15 years ago- Update the _ros.diff. Usual changes are there (unfortunately incompatibilites in...
Aleksey Bragin [Thu, 6 Nov 2008 19:10:03 +0000 (19:10 +0000)]
- Update the _ros.diff. Usual changes are there (unfortunately incompatibilites in Wine still exist, RpcMgmtWaitForServerListen is still not implemented there, and their dependency on unix sockets is totally out of place). On the good side I could get rid of disabling unix-sockets stuff in source code by slightly improving unix_func.

svn path=/trunk/; revision=37229

15 years ago- Comment out unused, static PaintUnderLappers
Stefan Ginsberg [Thu, 6 Nov 2008 18:38:21 +0000 (18:38 +0000)]
- Comment out unused, static PaintUnderLappers

svn path=/trunk/; revision=37228

15 years ago- Make Kdbg "bugcheck" command work -- Kdbg isn't re-entrant, so defer the bugcheck...
Stefan Ginsberg [Thu, 6 Nov 2008 18:33:56 +0000 (18:33 +0000)]
- Make Kdbg "bugcheck" command work -- Kdbg isn't re-entrant, so defer the bugcheck and exit the input loop

svn path=/trunk/; revision=37227

15 years ago- KdbpCmdBugCheck: Use correct bugcheck code
Stefan Ginsberg [Thu, 6 Nov 2008 18:03:57 +0000 (18:03 +0000)]
- KdbpCmdBugCheck: Use correct bugcheck code

svn path=/trunk/; revision=37226

15 years ago- Sync rpcrt4.dll to Wine-20081106. ros.diff and regtests aren't updated yet.
Aleksey Bragin [Thu, 6 Nov 2008 17:35:54 +0000 (17:35 +0000)]
- Sync rpcrt4.dll to Wine-20081106. ros.diff and regtests aren't updated yet.

svn path=/trunk/; revision=37225

15 years ago- Add endpoint mapping and DCE types IDL from Wine.
Aleksey Bragin [Thu, 6 Nov 2008 12:23:44 +0000 (12:23 +0000)]
- Add endpoint mapping and DCE types IDL from Wine.

svn path=/trunk/; revision=37224

15 years ago- Fix WidenPath. Now Area.exe runs and crashes when using real hardware. That is...
James Tabor [Thu, 6 Nov 2008 11:55:08 +0000 (11:55 +0000)]
- Fix WidenPath. Now Area.exe runs and crashes when using real hardware. That is a good thing. We now know our Xorg based region code has problems. It allocates all the memory building PolyPolygon region data.

svn path=/trunk/; revision=37223

15 years ago- Fix Path drawing.
James Tabor [Thu, 6 Nov 2008 11:48:51 +0000 (11:48 +0000)]
- Fix Path drawing.

svn path=/trunk/; revision=37222

15 years ago- Make sure we process path for Rectangles and Polygons.
James Tabor [Thu, 6 Nov 2008 02:36:10 +0000 (02:36 +0000)]
- Make sure we process path for Rectangles and Polygons.

svn path=/trunk/; revision=37221

15 years agoMerging r37219
KJK::Hyperion [Thu, 6 Nov 2008 00:24:40 +0000 (00:24 +0000)]
Merging r37219

svn path=/trunk/; revision=37220

15 years ago- Ancient member which is no longer used
Johannes Anderwald [Wed, 5 Nov 2008 19:21:22 +0000 (19:21 +0000)]
- Ancient member which is no longer used

svn path=/trunk/; revision=37216

15 years agoFix a fencepost bug.
Andrew Munger [Wed, 5 Nov 2008 19:19:56 +0000 (19:19 +0000)]
Fix a fencepost bug.
Correct a glaring typo.
Make code less ugly.

svn path=/trunk/; revision=37215

15 years ago- Remove unnecessary typedef
Stefan Ginsberg [Wed, 5 Nov 2008 19:06:02 +0000 (19:06 +0000)]
- Remove unnecessary typedef

svn path=/trunk/; revision=37214

15 years ago- Fix an array overflow
Stefan Ginsberg [Wed, 5 Nov 2008 18:00:24 +0000 (18:00 +0000)]
- Fix an array overflow

svn path=/trunk/; revision=37213

15 years ago- Fix behavior of KeRundownQueue (save the next link before freeing it and use proper...
Aleksey Bragin [Wed, 5 Nov 2008 17:03:04 +0000 (17:03 +0000)]
- Fix behavior of KeRundownQueue (save the next link before freeing it and use proper locking and enumeration code).
- This fixes behavior of I/O completion ports (thanks to Stefan and Alex for testing, reporting and fixing).

svn path=/trunk/; revision=37212

15 years ago- Sync WRC to Wine-20081105 (a few nice bugfixes).
Aleksey Bragin [Wed, 5 Nov 2008 16:16:19 +0000 (16:16 +0000)]
- Sync WRC to Wine-20081105 (a few nice bugfixes).

svn path=/trunk/; revision=37211

15 years ago- Update NLS files from Wine (without adding new ones though).
Aleksey Bragin [Wed, 5 Nov 2008 16:10:32 +0000 (16:10 +0000)]
- Update NLS files from Wine (without adding new ones though).

svn path=/trunk/; revision=37210

15 years agoAccidently commited a hack together with r37190. This will be reverted.
Daniel Reimer [Wed, 5 Nov 2008 15:32:27 +0000 (15:32 +0000)]
Accidently commited a hack together with r37190. This will be reverted.

svn path=/trunk/; revision=37208

15 years ago- Update wmc to Wine-20081105 (mostly typo fixes).
Aleksey Bragin [Wed, 5 Nov 2008 15:31:34 +0000 (15:31 +0000)]
- Update wmc to Wine-20081105 (mostly typo fixes).

svn path=/trunk/; revision=37207

15 years ago- Fix build.
Aleksey Bragin [Wed, 5 Nov 2008 15:25:19 +0000 (15:25 +0000)]
- Fix build.

svn path=/trunk/; revision=37206

15 years ago- Update winebuild to Wine-20081105. All ReactOS-specific stuff kept intact.
Aleksey Bragin [Wed, 5 Nov 2008 15:14:58 +0000 (15:14 +0000)]
- Update winebuild to Wine-20081105. All ReactOS-specific stuff kept intact.

svn path=/trunk/; revision=37205

15 years ago- Update wpp to Wine-20081105.
Aleksey Bragin [Wed, 5 Nov 2008 14:47:55 +0000 (14:47 +0000)]
- Update wpp to Wine-20081105.

svn path=/trunk/; revision=37204

15 years ago- Update unicode lib to Wine-20081105 (~1.1.7 release).
Aleksey Bragin [Wed, 5 Nov 2008 14:35:45 +0000 (14:35 +0000)]
- Update unicode lib to Wine-20081105 (~1.1.7 release).

svn path=/trunk/; revision=37203

15 years ago- Update Font types. Finish GetKerningPairs. Minor code cleanup.
James Tabor [Wed, 5 Nov 2008 13:02:15 +0000 (13:02 +0000)]
- Update Font types. Finish GetKerningPairs. Minor code cleanup.

svn path=/trunk/; revision=37201

15 years ago- Remove a duplicate of _i64toa, ReactOS has it for quite some time now in CRT lib.
Aleksey Bragin [Wed, 5 Nov 2008 09:42:42 +0000 (09:42 +0000)]
- Remove a duplicate of _i64toa, ReactOS has it for quite some time now in CRT lib.

svn path=/trunk/; revision=37199

15 years ago- Fix ncftp build.
Aleksey Bragin [Wed, 5 Nov 2008 09:32:32 +0000 (09:32 +0000)]
- Fix ncftp build.

svn path=/trunk/; revision=37198

15 years agomodified lib/sdk/crt/conio/cprintf.c
KJK::Hyperion [Wed, 5 Nov 2008 01:14:54 +0000 (01:14 +0000)]
modified   lib/sdk/crt/conio/cprintf.c
   Call va_start before, and va_end after, each call to _vsnprintf

modified   ntoskrnl/ntoskrnl.pspec
   We pass all include directories and defines to the pspec preprocessor, so we can omit paths in pspec includes

svn path=/trunk/; revision=37196

15 years ago- Add and update Gdi entry flags.
James Tabor [Wed, 5 Nov 2008 00:38:52 +0000 (00:38 +0000)]
- Add and update Gdi entry flags.

svn path=/trunk/; revision=37195

15 years agoPatch by Daniel Zimmerman : Fix a lot of missing ExFreePoolWithTag. See bug 3848.
James Tabor [Tue, 4 Nov 2008 23:49:07 +0000 (23:49 +0000)]
Patch by Daniel Zimmerman : Fix a lot of missing ExFreePoolWithTag. See bug 3848.

svn path=/trunk/; revision=37194

15 years ago- Patch by hto: Fix bugs in Gdi32.dll and User32.dll, see bug 3847.
James Tabor [Tue, 4 Nov 2008 23:32:11 +0000 (23:32 +0000)]
- Patch by hto: Fix bugs in Gdi32.dll and User32.dll, see bug 3847.

svn path=/trunk/; revision=37193

15 years agoremove unusable vb3 and vb4 runtimes from Downloader,
Sylvain Petreolle [Tue, 4 Nov 2008 22:33:09 +0000 (22:33 +0000)]
remove unusable vb3 and vb4 runtimes from Downloader,
since their installers aren't in PE format.

svn path=/trunk/; revision=37192

15 years ago- Use ExInitializeSystemLookasideList instead of ExInitializeNPagedLookasideList...
Aleksey Bragin [Tue, 4 Nov 2008 21:55:55 +0000 (21:55 +0000)]
- Use ExInitializeSystemLookasideList instead of ExInitializeNPagedLookasideList for the internal I/O lookaside lists (just as it was done for the Ob lists a couple of months ago).
- Optimize lookaside allocation by using one large contiguous buffer instead of fragmented buffers for each CPU.
- Use NT structure names instead of ReactOS-only structures.
- Fixes some memory corruption issues when doing I/O completion (found by Stefan and winetests).

svn path=/trunk/; revision=37191

15 years agoBug 3830: Spanish netshell update and more by Javier Remacha
Daniel Reimer [Tue, 4 Nov 2008 21:28:06 +0000 (21:28 +0000)]
Bug 3830: Spanish netshell update and more by Javier Remacha
Bug 3833: Ukrainian translation update by Artem Reznikov
Bug 3834: another fix for slovak translationby Mario Kacmar

svn path=/trunk/; revision=37190

15 years agoBug 3830: Spanish netshell update and more by Javier Remacha
Daniel Reimer [Tue, 4 Nov 2008 21:27:56 +0000 (21:27 +0000)]
Bug 3830: Spanish netshell update and more by Javier Remacha
Bug 3833: Ukrainian translation update by Artem Reznikov
Bug 3834: another fix for slovak translationby Mario Kacmar

svn path=/trunk/; revision=37189

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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