reactos.git
11 years ago - Remove the work item from the work queue in ChewRemove
Cameron Gutman [Sun, 9 Nov 2008 15:55:55 +0000 (15:55 +0000)]
 - Remove the work item from the work queue in ChewRemove

svn path=/trunk/; revision=37264

11 years ago - Revert part of r37261
Cameron Gutman [Sun, 9 Nov 2008 15:35:18 +0000 (15:35 +0000)]
 - Revert part of r37261

svn path=/trunk/; revision=37262

11 years ago - Mark the irp pending before adding it to the queue
Cameron Gutman [Sun, 9 Nov 2008 15:21:59 +0000 (15:21 +0000)]
 - Mark the irp pending before adding it to the queue
 - Fix a few comments
 - Return a better status when a drive isn't present
 - Complete the read/write irp with IO_DISK_INCREMENT instead of IO_NO_INCREMENT

svn path=/trunk/; revision=37261

11 years agoSync to wine-0.9.60:
Eric Kohl [Sun, 9 Nov 2008 14:21:53 +0000 (14:21 +0000)]
Sync to wine-0.9.60:
- Rob Shearman <rob@codeweavers.com> Fri, 11 Apr 2008
widl: Support non-default calling conventions for object methods.

- Rob Shearman <rob@codeweavers.com> Fri, 11 Apr 2008
widl: Support non-default calling conventions for non-object functions.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Check that attributes applied to interfaces, functions and arguments are applicable and issue an error if not.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Check that attributes applied to typedefs and fields are applicable and issue an error otherwise.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Make the attrs parameter passed to start_typelib const.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: The odl attribute is valid for dispinterfaces.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Check that attributes are applicable for libraries,  modules, dispinterfaces and coclasses and otherwise issue an error.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Output a warning if duplicate attributes are specified.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Add support for the broadcast and idempotent operation attributes.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Write out TYPEFLAG, FUNCFLAG and VARFLAG flags for all attribute we currently parse.
Add FIXMEs for the remaining ones and remove the warning for unimplemented attribute types since we now support all the attributes that we parse.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Add functions to print an error or warning message using location information to enable these to be printed accurately when a check is done after an element is parsed.
Add location information to variable automatically, since this is will be useful for type checking of arguments.

- Rob Shearman <rob@codeweavers.com> Mon, 14 Apr 2008
widl: Add checking to arguments of non-local functions.
Check that out arguments have enough levels of indirection and that they don't derive from void * or a function pointer.

- Rob Shearman <rob@codeweavers.com> Tue, 15 Apr 2008
widl: Change alls calls to error in the parser to error_loc so that line number information is printed.

svn path=/trunk/; revision=37260

11 years ago- Don't hard code pixel size to 16bpp.
Gregor Schneider [Sun, 9 Nov 2008 14:00:31 +0000 (14:00 +0000)]
- Don't hard code pixel size to 16bpp.
- Fixes crashes in 8bpp and halved bitmaps in 32bpp.
- This SRCCOPY code is not in use atm and will probably stay this way because it's slower then the version in win32k/dib.

svn path=/trunk/; revision=37259

11 years agofix UNICODE redefined warning
Sylvain Petreolle [Sun, 9 Nov 2008 13:56:31 +0000 (13:56 +0000)]
fix UNICODE redefined warning

svn path=/trunk/; revision=37258

11 years agoJuan Sánchez Jurado <juan.s.jurado@gmail.com>
Aleksey Bragin [Sun, 9 Nov 2008 08:23:16 +0000 (08:23 +0000)]
Juan Sánchez Jurado <juan.s.jurado@gmail.com>
- Fixed HAL DMA problem that caused floppy driver not to work (the point was that function had to copy the read sector back to the MDL buffer and it was not doing that because of the problem with braces, broken in rev is 24464).
See issue #2287 for more details.

svn path=/trunk/; revision=37254

11 years ago- Sync inetcomm with Wine Head
Dmitry Chapyshev [Sat, 8 Nov 2008 07:14:34 +0000 (07:14 +0000)]
- Sync inetcomm with Wine Head
- Sync imnxport.idl and mimeole.idl

svn path=/trunk/; revision=37250

11 years ago- RSetServiceStatus: Don't return ERROR_INVALID_DATA when dwControlsAccepted = 0...
Michael Martin [Fri, 7 Nov 2008 19:10:39 +0000 (19:10 +0000)]
- RSetServiceStatus: Don't return ERROR_INVALID_DATA when dwControlsAccepted = 0. Services can and will do this, for example when dwCurrentState is SERVICE_START_PENDING. See bug #3817 for more info.

svn path=/trunk/; revision=37246

11 years ago- Fix build.
Aleksey Bragin [Fri, 7 Nov 2008 18:20:18 +0000 (18:20 +0000)]
- Fix build.

svn path=/trunk/; revision=37245

11 years ago- Add missing definitions to headers.
Aleksey Bragin [Fri, 7 Nov 2008 17:40:44 +0000 (17:40 +0000)]
- Add missing definitions to headers.
- Do not use "with tag" when freeing the system buffer, because drivers are allowed to re-allocate their own buffer, which may have a different tag.

svn path=/trunk/; revision=37244

11 years ago- Check for GetServiceConfig returning NULL, which occurs if entries for the service...
Michael Martin [Fri, 7 Nov 2008 13:39:11 +0000 (13:39 +0000)]
- Check for GetServiceConfig returning NULL, which occurs if entries for the service are not in registry.

svn path=/trunk/; revision=37243

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

svn path=/trunk/; revision=37220

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

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

svn path=/trunk/; revision=37206

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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

11 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