Commit Graph

166 Commits

Author SHA1 Message Date
Christoph von Wittich
893ccc059d -allow to stop the service
-listen for rpc calls

svn path=/trunk/; revision=40133
2009-03-20 13:43:43 +00:00
Johannes Anderwald
c8eaa18003 - Experimental implementation of _RpcEnumInterfaces
- If'd out as GetIfEntry2 is not yet implemented

svn path=/trunk/; revision=40104
2009-03-19 16:57:46 +00:00
Timo Kreuzer
2a59efd748 merge r40095 from amd64 branch
svn path=/trunk/; revision=40097
2009-03-18 19:28:54 +00:00
Christoph von Wittich
aaa5075d3d -implement WlanScan and WlanEnumInterfaces
-add some more NDIS definitions

svn path=/trunk/; revision=40055
2009-03-16 09:22:25 +00:00
Christoph von Wittich
60a57f4c8a stub wlan rpcserver
svn path=/trunk/; revision=40053
2009-03-16 08:08:03 +00:00
Christoph von Wittich
c16fc76360 add a dummy wlansvc
svn path=/trunk/; revision=40033
2009-03-15 13:55:41 +00:00
Johannes Anderwald
586e8ccb95 - Start automatically sysaudio / wdmaud when audiosrv is started
svn path=/trunk/; revision=39775
2009-02-26 18:29:15 +00:00
Dmitry Gorbachev
2e93c4c1d9 - Remove extra semicolons. Amine Khaldi, bug #3980.
- Fix a warning (bug) in ADNS library.

svn path=/trunk/; revision=39391
2009-02-04 16:26:02 +00:00
Christoph von Wittich
56c6d214ab remove allowwarnings=true
svn path=/trunk/; revision=38885
2009-01-18 12:09:55 +00:00
KJK::Hyperion
936851e20d Sync widl, comcat, ole32, oleaut32 and rpcrt4 to wine 1.1.12
widl can now automatically generate boilerplate code for DLLs hosting RPC proxies (and ole32 and oleaut32 now use this feature): invoke the generation automatically from rbuild rules for rpcproxy modules

svn path=/trunk/; revision=38774
2009-01-15 17:52:35 +00:00
Christoph von Wittich
12e91a347c fix msvc build
svn path=/trunk/; revision=38664
2009-01-09 14:38:59 +00:00
Gregor Schneider
5cbeb4ca6b Compile audiosrv warning free by defining array parts of GUIDs with braces
svn path=/trunk/; revision=38610
2009-01-06 18:09:51 +00:00
Michael Martin
a7e5b19f4c - Lets try this again. Re-implement inet_aton so that it does not fail in 255.255.255.255. See bug 3962 for more info.
svn path=/trunk/; revision=38364
2008-12-27 02:54:03 +00:00
Michael Martin
c5c0af3081 - Revert r38346 as its incorrect fix. Real problem is implementation of inet_aton in compat.c. So back to address 255.255.255.255 failing.
svn path=/trunk/; revision=38351
2008-12-26 10:38:21 +00:00
Michael Martin
10d052aa36 - ipv4addrs should search for decimals not spaces when calling strtok. See bug 3962 for more info.
svn path=/trunk/; revision=38346
2008-12-25 12:43:32 +00:00
Michael Martin
21c30014ed - Update structs and flags to correct names based on documentation.
svn path=/trunk/; revision=38327
2008-12-24 12:14:30 +00:00
Stefan Ginsberg
728213a13c - DHCP: strlwr -> _strlwr and remove allowwarnings=true
svn path=/trunk/; revision=38322
2008-12-24 09:20:04 +00:00
Timo Kreuzer
f6eb8adfb6 Replace all deprecate functions like wcsicmp with the new ones, like _wcsicmp in our own code. Define __WINESRC__ or _CRT_NONSTDC_NO_DEPRECATE where neccessary in 3rd party code to silence warnings about deprecated functions, that the upcoming crt header update will create. Remove allowwarnings="true" from telnet.
svn path=/trunk/; revision=38291
2008-12-23 01:23:25 +00:00
Timo Kreuzer
79f756b317 Add ssize_t to rosdhcp.h, as ms crt headers (and so our future crt headers) don't define it.
svn path=/trunk/; revision=38276
2008-12-22 20:25:44 +00:00
Stefan Ginsberg
8270c55829 - Revert 38233 as it kills dhcp.exe
svn path=/trunk/; revision=38247
2008-12-21 20:35:19 +00:00
Michael Martin
7907aea509 - Preform the if (!Adapter) check before setting adapter to 0. Fixes Debug message reporting that the adapter was rejected.
svn path=/trunk/; revision=38233
2008-12-21 16:36:03 +00:00
Dmitry Gorbachev
c63a203efa Put inline functions into header files.
svn path=/trunk/; revision=37921
2008-12-07 23:40:23 +00:00
Hervé Poussineau
2a8bf4162a Fix a race condition between umpnpmgr service and CMP_WaitNoPendingInstallEvents API.
svn path=/trunk/; revision=37894
2008-12-06 12:54:24 +00:00
Dmitry Gorbachev
7e3410d2b3 Silence compiler warnings (8/11).
svn path=/trunk/; revision=37830
2008-12-03 17:34:49 +00:00
KJK::Hyperion
1bd07ee187 modified include/reactos/probe.h
Workaround for gcc 4.1.3. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054#c7

modified   ntoskrnl/include/internal/mm.h
   gcc 4.3.2 doesn't like to be told to inline MmAcquirePageListLock

modified   ntoskrnl/include/internal/probe.h
   Cleaning up after TSVN's buggy "apply patch"

modified   subsystems/win32/win32k/ntuser/message.c
   Silence a gcc 4.3.2 warning (possibly incorrectly)

modified   dll/directx/ddraw/ddraw.rbuild
modified   dll/win32/gdi32/gdi32.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   dll/win32/psapi/psapi.rbuild
modified   dll/win32/setupapi/setupapi.rbuild
modified   dll/win32/syssetup/syssetup.rbuild
modified   dll/win32/user32/user32.rbuild
modified   drivers/input/kbdclass/kbdclass.rbuild
modified   drivers/input/mouclass/mouclass.rbuild
modified   drivers/network/afd/afd.rbuild
modified   drivers/network/tcpip/tcpip.rbuild
modified   lib/rtl/rtl.rbuild
modified   subsystems/win32/win32k/win32k.rbuild
modified   subsystems/win32/win32k/objects/gdiobj.c
   gcc 4.1.3 workarounds. See embedded comments

modified   base/services/eventlog/eventlog.h
modified   dll/win32/advapi32/advapi32.h
   Removed superfluous includes of pseh/pseh.h

modified   dll/directx/ddraw/Ddraw/ddraw_displaymode.c
modified   dll/directx/ddraw/Ddraw/ddraw_main.c
modified   dll/directx/ddraw/Ddraw/ddraw_setcooperativelevel.c
modified   dll/directx/ddraw/Ddraw/GetCaps.c
modified   dll/directx/ddraw/Ddraw/GetDeviceIdentifier.c
modified   dll/directx/ddraw/main.c
modified   dll/directx/ddraw/rosdraw.h
modified   dll/directx/ddraw/Surface/surface_main.c
   ddraw migrated to PSEH 2.0

modified   dll/win32/gdi32/include/precomp.h
modified   dll/win32/gdi32/misc/misc.c
modified   dll/win32/gdi32/objects/bitmap.c
   gdi32 migrated to PSEH 2.0

modified   dll/win32/kernel32/except/except.c
modified   dll/win32/kernel32/file/find.c
modified   dll/win32/kernel32/k32.h
modified   dll/win32/kernel32/mem/isbad.c
modified   dll/win32/kernel32/misc/console.c
modified   dll/win32/kernel32/process/procsup.c
modified   dll/win32/kernel32/string/lstring.c
modified   dll/win32/kernel32/thread/thread.c
   kernel32 migrated to PSEH 2.0

modified   dll/win32/psapi/precomp.h
modified   dll/win32/psapi/psapi.c
   psapi migrated to PSEH 2.0

modified   dll/win32/setupapi/cfgmgr.c
modified   dll/win32/setupapi/setupapi_private.h
   setupapi migrated to PSEH 2.0

modified   dll/win32/syssetup/wizard.c
   syssetup migrated to PSEH 2.0

modified   dll/win32/user32/include/user32.h
modified   dll/win32/user32/windows/class.c
modified   dll/win32/user32/windows/text.c
modified   dll/win32/user32/windows/window.c
   user32 migrated to PSEH 2.0

modified   drivers/input/kbdclass/kbdclass.c
modified   drivers/input/kbdclass/kbdclass.h
   kbdclass migrated to PSEH 2.0

modified   drivers/input/mouclass/mouclass.c
modified   drivers/input/mouclass/mouclass.h
   mouclass migrated to PSEH 2.0

modified   drivers/network/afd/afd/info.c
modified   drivers/network/afd/afd/lock.c
modified   drivers/network/afd/afd/tdi.c
modified   drivers/network/afd/afd/tdiconn.c
   afd migrated to PSEH 2.0

modified   drivers/network/lan/lan/lan.c
   lan migrated to PSEH 2.0

modified   drivers/network/tcpip/tcpip/dispatch.c
   tcpip migrated to PSEH 2.0

modified   lib/rtl/debug.c
modified   lib/rtl/res.c
modified   lib/rtl/rtl.h
modified   lib/rtl/unicode.c
modified   lib/rtl/workitem.c
   rtl migrated to PSEH 2.0

modified   ntoskrnl/include/precomp.h
   ntoskrnl migrated to PSEH 2.0

modified   subsystems/csr/csrsrv/api.c
   csrsrv migrated to PSEH 2.0

modified   subsystems/win32/win32k/eng/bitblt.c
modified   subsystems/win32/win32k/eng/mem.c
modified   subsystems/win32/win32k/include/mmcopy.h
modified   subsystems/win32/win32k/misc/copy.c
modified   subsystems/win32/win32k/ntuser/callback.c
modified   subsystems/win32/win32k/ntuser/class.c
modified   subsystems/win32/win32k/ntuser/clipboard.c
modified   subsystems/win32/win32k/ntuser/cursoricon.c
modified   subsystems/win32/win32k/ntuser/display.c
modified   subsystems/win32/win32k/ntuser/hook.c
modified   subsystems/win32/win32k/ntuser/input.c
modified   subsystems/win32/win32k/ntuser/kbdlayout.c
modified   subsystems/win32/win32k/ntuser/menu.c
modified   subsystems/win32/win32k/ntuser/misc.c
modified   subsystems/win32/win32k/ntuser/ntstubs.c
modified   subsystems/win32/win32k/ntuser/painting.c
modified   subsystems/win32/win32k/ntuser/simplecall.c
modified   subsystems/win32/win32k/ntuser/sysparams.c
modified   subsystems/win32/win32k/ntuser/window.c
modified   subsystems/win32/win32k/objects/bitblt.c
modified   subsystems/win32/win32k/objects/bitmaps.c
modified   subsystems/win32/win32k/objects/brush.c
modified   subsystems/win32/win32k/objects/cliprgn.c
modified   subsystems/win32/win32k/objects/color.c
modified   subsystems/win32/win32k/objects/coord.c
modified   subsystems/win32/win32k/objects/dc.c
modified   subsystems/win32/win32k/objects/dcutil.c
modified   subsystems/win32/win32k/objects/dibobj.c
modified   subsystems/win32/win32k/objects/fillshap.c
modified   subsystems/win32/win32k/objects/font.c
modified   subsystems/win32/win32k/objects/freetype.c
modified   subsystems/win32/win32k/objects/icm.c
modified   subsystems/win32/win32k/objects/line.c
modified   subsystems/win32/win32k/objects/path.c
modified   subsystems/win32/win32k/objects/pen.c
modified   subsystems/win32/win32k/objects/print.c
modified   subsystems/win32/win32k/objects/region.c
modified   subsystems/win32/win32k/objects/text.c
modified   subsystems/win32/win32k/pch.h
   win32k migrated to PSEH 2.0

svn path=/trunk/; revision=37776
2008-11-30 19:28:11 +00:00
Stefan Ginsberg
b137725c9a - Kill off more STDCALL
svn path=/trunk/; revision=37762
2008-11-30 11:16:55 +00:00
KJK::Hyperion
0cc5134395 modified include/psdk/rpc.h
Implemented RPC exception handling macros with PSEH 2.0

modified   base/services/rpcss/rpcss.rbuild
modified   dll/win32/rpcrt4/rpcrt4.rbuild
   RPC proxy stubs now depend on pseh. We should really add pseh as a link dependency automatically in rbuild, but, eh

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Compile RPC proxy stubs with -fno-unit-at-a-time due to a GCC bug. See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17982 and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054

svn path=/trunk/; revision=37614
2008-11-24 13:05:40 +00:00
Michael Martin
c6e8145135 - Added EventSource structure for keeping track of EventLog Source name and associated Log File.
- Added and Implemented ElfCreateEventLogHandle and ElfDeleteEventLogHandle.

svn path=/trunk/; revision=37519
2008-11-21 15:40:47 +00:00
Johannes Anderwald
3414ea909e - Fix length check
- CID 556/R2

svn path=/trunk/; revision=37304
2008-11-12 14:23:36 +00:00
Michael Martin
f67c2cda8c - PRPC_UNICODE_STRING is the same as PUNICODE_STRING. Correct DPRINT1 for those types.
svn path=/trunk/; revision=37274
2008-11-10 10:21:00 +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
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
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
Eric Kohl
5de1f53be7 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
2008-10-31 22:18:12 +00:00
Johannes Anderwald
c2a7f9fd0f - Fix storing the DhcpIpAddress key
svn path=/trunk/; revision=37038
2008-10-28 10:32:07 +00:00
Aleksey Bragin
323b029e49 - Print out event GUID if it's unknown in umpnpmgr.
- Fix a typo in vdmmain.c.

svn path=/trunk/; revision=36989
2008-10-26 14:38:50 +00:00
Aleksey Bragin
64bd93d803 - Globalize ReactOS target version (there are a few overrides for our abuse of RegDeleteTree API).
*** .rbuild files MUST NOT contain version definitions now, please pay attention to this when doing Wine-syncs, adding new modules, or applying old patches! ***
Same applies to source code files, header files, and other includables. Thanks to Marc Piulachs for doing the base work, which I continued, and which resulted in this commit.
See issue #2745 for more details.

svn path=/trunk/; revision=36939
2008-10-25 12:15:44 +00:00
Johannes Anderwald
627d39b522 - Delete old DhcpNameServer key when no nameservers could be obtained
- Close registry key when done

svn path=/trunk/; revision=36888
2008-10-22 09:00:33 +00:00
Johannes Anderwald
eed100a55c * Store more settings in registry
svn path=/trunk/; revision=36799
2008-10-17 20:01:58 +00:00
Johannes Anderwald
b12ad06d48 * Fix retrieval of automatic DNS settings 2/2
svn path=/trunk/; revision=36797
2008-10-17 19:04:00 +00:00
Eric Kohl
527202ad87 Cast returned handle values correctly.
svn path=/trunk/; revision=36574
2008-09-28 13:48:31 +00:00
Art Yerkes
6276f8ea51 Fix possible overrun of the last byte of dbuf (coverity 552).
svn path=/trunk/; revision=36419
2008-09-23 08:43:49 +00:00
Art Yerkes
9b1a7c47bd some detritus exposed by coverity.
svn path=/trunk/; revision=36409
2008-09-23 05:58:51 +00:00
Christoph von Wittich
73669f0581 fix a no newline @ end of file warning
svn path=/trunk/; revision=36236
2008-09-14 13:11:49 +00:00
Cameron Gutman
e941fb914b - Patch by Michael Martin (aka bugboy) <martinmnet at hotmail dot com>
- changed dhcp to write nameserver to dhcpnameserver registry key vice nameserver
 - changed iphlpapi to return dhcpnameserver if nameserver is empty
 - set NameServer to empty string in nettcpip.inf
 - see bug 2392

svn path=/trunk/; revision=35956
2008-09-05 01:00:32 +00:00
Eric Kohl
0f370b9bf7 Add a missing VOID.
svn path=/trunk/; revision=35918
2008-09-03 21:51:21 +00:00
Eric Kohl
cfa76e5fd6 Add a spooler service skeleton. Now the Service-Winetests can be used unmodified.
svn path=/trunk/; revision=35916
2008-09-03 20:57:51 +00:00
Ged Murphy
f2b500d25c Fix return value so we exit ServerMain correctly, thus we now see all log until death
svn path=/trunk/; revision=35871
2008-09-02 08:21:13 +00:00
Ged Murphy
4695ff389c allow the log file to be opened whilst the service is running
svn path=/trunk/; revision=35870
2008-09-02 08:05:25 +00:00