Commit graph

33404 commits

Author SHA1 Message Date
Sylvain Petreolle 6276513100 fix UNICODE redefined warning
svn path=/trunk/; revision=37258
2008-11-09 13:56:31 +00:00
Aleksey Bragin abb8c42552 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
2008-11-09 08:23:16 +00:00
Dmitry Chapyshev 34b8a16cc7 - Sync inetcomm with Wine Head
- Sync imnxport.idl and mimeole.idl

svn path=/trunk/; revision=37250
2008-11-08 07:14:34 +00:00
Michael Martin 4d542fdfab - 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
2008-11-07 19:10:39 +00:00
Aleksey Bragin 2536c374eb - Fix build.
svn path=/trunk/; revision=37245
2008-11-07 18:20:18 +00:00
Aleksey Bragin 31ada60dd5 - 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
2008-11-07 17:40:44 +00:00
Michael Martin de0a39ef52 - Check for GetServiceConfig returning NULL, which occurs if entries for the service are not in registry.
svn path=/trunk/; revision=37243
2008-11-07 13:39:11 +00:00
Ged Murphy 6a787e6143 fix return logic typo
svn path=/trunk/; revision=37242
2008-11-07 12:58:33 +00:00
Ged Murphy ad7c2a347a Convert rpcss back to a service
svn path=/trunk/; revision=37241
2008-11-07 12:49:51 +00:00
Aleksey Bragin 7572fe233a - 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
2008-11-07 11:00:30 +00:00
Aleksey Bragin 294d584fb0 - 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
2008-11-07 10:52:49 +00:00
Aleksey Bragin 7dd446c187 - Sync rpcrt4_winetest too.
svn path=/trunk/; revision=37231
2008-11-06 20:12:22 +00:00
Stefan Ginsberg 87658f5321 - ASSERTify a hacky workaround -- this shouldn't happen anymore in ros
svn path=/trunk/; revision=37230
2008-11-06 19:21:46 +00:00
Aleksey Bragin 9d11125a93 - 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
2008-11-06 19:10:03 +00:00
Stefan Ginsberg def2221abb - Comment out unused, static PaintUnderLappers
svn path=/trunk/; revision=37228
2008-11-06 18:38:21 +00:00
Stefan Ginsberg 0952af92ec - Make Kdbg "bugcheck" command work -- Kdbg isn't re-entrant, so defer the bugcheck and exit the input loop
svn path=/trunk/; revision=37227
2008-11-06 18:33:56 +00:00
Stefan Ginsberg 06566a1756 - KdbpCmdBugCheck: Use correct bugcheck code
svn path=/trunk/; revision=37226
2008-11-06 18:03:57 +00:00
Aleksey Bragin f08921caf1 - Sync rpcrt4.dll to Wine-20081106. ros.diff and regtests aren't updated yet.
svn path=/trunk/; revision=37225
2008-11-06 17:35:54 +00:00
Aleksey Bragin ab7c1ded60 - Add endpoint mapping and DCE types IDL from Wine.
svn path=/trunk/; revision=37224
2008-11-06 12:23:44 +00:00
James Tabor c15d69d936 - 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
2008-11-06 11:55:08 +00:00
James Tabor 7438df3dcd - Fix Path drawing.
svn path=/trunk/; revision=37222
2008-11-06 11:48:51 +00:00
James Tabor 24b6d30dcb - Make sure we process path for Rectangles and Polygons.
svn path=/trunk/; revision=37221
2008-11-06 02:36:10 +00:00
KJK::Hyperion 7eff87cf56 Merging r37219
svn path=/trunk/; revision=37220
2008-11-06 00:24:40 +00:00
Johannes Anderwald 18640a8731 - Ancient member which is no longer used
svn path=/trunk/; revision=37216
2008-11-05 19:21:22 +00:00
Andrew Munger 93b068850c Fix a fencepost bug.
Correct a glaring typo.
Make code less ugly.

svn path=/trunk/; revision=37215
2008-11-05 19:19:56 +00:00
Stefan Ginsberg 7e33ef3d9e - Remove unnecessary typedef
svn path=/trunk/; revision=37214
2008-11-05 19:06:02 +00:00
Stefan Ginsberg d1cadc84e9 - Fix an array overflow
svn path=/trunk/; revision=37213
2008-11-05 18:00:24 +00:00
Aleksey Bragin b21beacd60 - 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
2008-11-05 17:03:04 +00:00
Aleksey Bragin 04b0bb8994 - Sync WRC to Wine-20081105 (a few nice bugfixes).
svn path=/trunk/; revision=37211
2008-11-05 16:16:19 +00:00
Aleksey Bragin e1f82ec004 - Update NLS files from Wine (without adding new ones though).
svn path=/trunk/; revision=37210
2008-11-05 16:10:32 +00:00
Daniel Reimer 559030c1fd Accidently commited a hack together with r37190. This will be reverted.
svn path=/trunk/; revision=37208
2008-11-05 15:32:27 +00:00
Aleksey Bragin 8a89143b07 - Update wmc to Wine-20081105 (mostly typo fixes).
svn path=/trunk/; revision=37207
2008-11-05 15:31:34 +00:00
Aleksey Bragin 4bdaa4f74c - Fix build.
svn path=/trunk/; revision=37206
2008-11-05 15:25:19 +00:00
Aleksey Bragin bef44e136e - Update winebuild to Wine-20081105. All ReactOS-specific stuff kept intact.
svn path=/trunk/; revision=37205
2008-11-05 15:14:58 +00:00
Aleksey Bragin c3be025536 - Update wpp to Wine-20081105.
svn path=/trunk/; revision=37204
2008-11-05 14:47:55 +00:00
Aleksey Bragin ca08af6ba3 - Update unicode lib to Wine-20081105 (~1.1.7 release).
svn path=/trunk/; revision=37203
2008-11-05 14:35:45 +00:00
James Tabor 0f59670d6e - Update Font types. Finish GetKerningPairs. Minor code cleanup.
svn path=/trunk/; revision=37201
2008-11-05 13:02:15 +00:00
Aleksey Bragin bf15620dbe - Remove a duplicate of _i64toa, ReactOS has it for quite some time now in CRT lib.
svn path=/trunk/; revision=37199
2008-11-05 09:42:42 +00:00
Aleksey Bragin da4a4656ca - Fix ncftp build.
svn path=/trunk/; revision=37198
2008-11-05 09:32:32 +00:00
KJK::Hyperion d4e2952aa7 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
2008-11-05 01:14:54 +00:00
James Tabor f08fcecb82 - Add and update Gdi entry flags.
svn path=/trunk/; revision=37195
2008-11-05 00:38:52 +00:00
James Tabor f46193a7d2 Patch by Daniel Zimmerman : Fix a lot of missing ExFreePoolWithTag. See bug 3848.
svn path=/trunk/; revision=37194
2008-11-04 23:49:07 +00:00
James Tabor be012b6c41 - Patch by hto: Fix bugs in Gdi32.dll and User32.dll, see bug 3847.
svn path=/trunk/; revision=37193
2008-11-04 23:32:11 +00:00
Sylvain Petreolle 7fddc37e2e remove unusable vb3 and vb4 runtimes from Downloader,
since their installers aren't in PE format.

svn path=/trunk/; revision=37192
2008-11-04 22:33:09 +00:00
Aleksey Bragin cb1ef2c505 - 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
2008-11-04 21:55:55 +00:00
Daniel Reimer 0bd254167c 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
2008-11-04 21:28:06 +00:00
Daniel Reimer f033a2955d 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
2008-11-04 21:27:56 +00:00
KJK::Hyperion 00ed4c1394 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
2008-11-04 18:16:58 +00:00
James Tabor 3940878911 - Fix RealizationInfo, it should use DC font not cFont if 0.
svn path=/trunk/; revision=37186
2008-11-04 13:05:47 +00:00
James Tabor 122fb58d8f - Fix code page and charector set support. More miscellaneous changes and fixes.
svn path=/trunk/; revision=37185
2008-11-04 12:49:49 +00:00