Commit graph

51323 commits

Author SHA1 Message Date
Thomas Faber 52c674ad76 [NTDSAPI][PRINTUI]
- Don't ignore DllMain

svn path=/trunk/; revision=56765
2012-06-20 22:54:30 +00:00
Sylvain Petreolle 6c9994b952 [WINED3D]
Fix wined3d entrypoint.
Should fix directdraw 7,8,9 apps.

svn path=/trunk/; revision=56764
2012-06-20 21:45:57 +00:00
Eric Kohl 490c8a5648 [SERVICES]
Code cleaning and removing bugs.
Patch by Hermès Bélusca.

I did not include the changes to EnumServicesStatusW because it does not improve the code but introduces an unnecessary exception.

See issue #7127 for more details.

svn path=/trunk/; revision=56763
2012-06-20 21:38:46 +00:00
Timo Kreuzer aa5e222460 [PSDK]
intsafe.h: add some more definitions



svn path=/trunk/; revision=56762
2012-06-20 19:16:44 +00:00
Thomas Faber 0eaead7945 [WININET]
- Fix sock_namelen type in FTP_Connect. Already sent to Wine.
- Fix warnings

svn path=/trunk/; revision=56761
2012-06-20 15:10:50 +00:00
Thomas Faber d0111bd3a0 [WININET]
- Sync to Wine 1.5.4. Resource files left untouched.
- Fix INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT if SSL support unavailable (already applied upstream)
See issue #7117 for more details.

svn path=/trunk/; revision=56760
2012-06-20 13:50:00 +00:00
Thomas Faber b2ba0a3a03 [WININET_WINETEST]
- Sync to Wine 1.5.4

svn path=/trunk/; revision=56759
2012-06-20 13:13:51 +00:00
Thomas Faber cbe36a0d88 [WININET][PSDK]
- Better mark ROS-specific changes
- Make wininet_ros.diff sensible
- Update wininet.h
See issue #7117 for more details.

svn path=/trunk/; revision=56758
2012-06-20 12:24:12 +00:00
Thomas Faber f0c893c3f6 [NTOSKRNL]
- tcpip is called too often. Don't spam the debug log.
See issue #7129 for more details.

svn path=/trunk/; revision=56757
2012-06-20 08:32:35 +00:00
Thomas Faber c5a2cddfc9 [WS2_32]
- Do not manually allocate an incompatible hostent structure in FindEntryInHosts. Use populate_hostent instead. Fixes buffer overflow in name resolution.
See issue #7126 for more details.

svn path=/trunk/; revision=56756
2012-06-20 00:57:53 +00:00
Thomas Faber da39b38e47 [WS2_32]
- Rewrite completely broken free_hostent and free_servent functions
- Readability improvements to check_hostent and populate_hostent

svn path=/trunk/; revision=56755
2012-06-19 23:51:28 +00:00
Eric Kohl 63e9d00bb0 [SERVICES]
Code cleaning and bugs correction.
Patch by Hermès Bélusca.

See issue #7128 for more details.

svn path=/trunk/; revision=56754
2012-06-19 21:16:10 +00:00
Timo Kreuzer c3b547453e [PSDK]
Add ULongMult

svn path=/trunk/; revision=56753
2012-06-19 20:17:54 +00:00
Timo Kreuzer c77bf54f11 [PSDK]
intsafe.h: Fix a typo

svn path=/trunk/; revision=56752
2012-06-19 20:13:00 +00:00
Thomas Faber f33159eb3e [WS2_32]
- Remove ridiculous hack.

svn path=/trunk/; revision=56751
2012-06-19 16:54:12 +00:00
Timo Kreuzer 75ac603cd4 [PSDK]
intsafe.h:
- Fix type redefinitions when ntdef.h is included
- Implement (Rtl)LongLongSub and (Rtl)UlongLongMult
- Add some more definitions
- misc fixes

svn path=/trunk/; revision=56750
2012-06-19 13:05:23 +00:00
Thomas Faber 9d043b385a [NTOSKRNL]
- Fix wait asserts to account for the Thread->WaitNext case
- At least output a warning in place of the assertion failure in KeWaitForMultipleObjects
See issue #7129 for more details.

svn path=/trunk/; revision=56749
2012-06-19 10:43:38 +00:00
Thomas Faber 07a7af33f2 [NTOSKRNL]
- Disable the assert in KeWaitForMultipleObjects for now, as tcpip isn't straightforward to fix
See issue #7129 for more details.

svn path=/trunk/; revision=56748
2012-06-19 09:47:13 +00:00
Thomas Faber e3eb92dddf [NTOSKRNL]
- Assert against waiting at DISPATCH_LEVEL

svn path=/trunk/; revision=56747
2012-06-19 08:24:32 +00:00
Thomas Faber 8479f39975 [FUSION_WINETEST] - Fix a warning. Already applied upstream.
[WS2_32_WINETEST] - Fix an ok(). Already applied upstream.

svn path=/trunk/; revision=56746
2012-06-19 03:53:47 +00:00
Daniel Reimer 817ab61c52 Update Rapps Links
svn path=/trunk/; revision=56745
2012-06-18 20:33:22 +00:00
Timo Kreuzer 42d3222c7d [PSDK/DDK]
Add intsafe.h and ntintsafe.h
(incomplete)

svn path=/trunk/; revision=56744
2012-06-17 16:38:58 +00:00
Timo Kreuzer 03bea4140f [PSDK]
Fix winnt.h include guard definition

svn path=/trunk/; revision=56743
2012-06-17 16:06:33 +00:00
Eric Kohl 6f12cdf02c [ADVAPI32]
RegCreateKeyExA/W and RegOpenKeyExA/W: Handle Option REG_OPTION_OPEN_LINK properly. This fixes four wine tests.

svn path=/trunk/; revision=56742
2012-06-17 15:35:35 +00:00
Eric Kohl ad9a9cc38c [BOOTDATA]
Add FailureActions to some services.
Patch by Hermès Bélusca.

See issue #7125 for more details.

svn path=/trunk/; revision=56741
2012-06-16 21:46:01 +00:00
Eric Kohl 235dd0a6d6 [SERVICES]
Correct behaviour of setting the service description.
Patch by Hermès Bélusca.

See issue #7124 for more details.

svn path=/trunk/; revision=56740
2012-06-16 20:36:17 +00:00
Eric Kohl 25dcec8bf3 [SERVICES]
Improve a check in RQueryServiceConfig2W and RQueryServiceConfig2A
Patch by Hermès Bélusca.

See issue #7123 for more details.

svn path=/trunk/; revision=56739
2012-06-16 20:00:55 +00:00
Eric Kohl bb5ffbd494 [SERVICES]
Implement SERVICE_CONFIG_FAILURE_ACTIONS case in RChangeServiceConfig2W.
Patch by Hermès Bélusca.

I moved the changes to RChangeServiceConfig2W into a new function (ScmSetFailureActions). I also removed the check for services that run in the services.exe process because ReactOS will not support this kind of services. We should use a separate process or svchost instead.

See issue #7122 for more details.

svn path=/trunk/; revision=56738
2012-06-16 18:32:08 +00:00
Thomas Faber b81d71cff3 [NTOSKRNL:MM]
- Do not ignore pool tag in ExFreePoolWithTag when freeing to a lookaside list

svn path=/trunk/; revision=56737
2012-06-15 07:27:45 +00:00
Thomas Faber 1fd67c9140 [NTOSKRNL]
- Fix build

svn path=/trunk/; revision=56736
2012-06-14 22:10:34 +00:00
Thomas Faber afdd96eaae [NTOSKRNL]
- Fix callback pool tags
- Fix a reference leak in PsSetCreateProcessNotifyRoutine
See issue #7120 for more details.

svn path=/trunk/; revision=56735
2012-06-14 22:06:24 +00:00
Thomas Faber 4cef479813 [KMTESTS]
- Add minimal ExCallback and PsNotify tests
See issue #7120 for more details.

svn path=/trunk/; revision=56734
2012-06-14 18:43:32 +00:00
Thomas Faber 3acf3b9507 [KMTESTS]
- Centralize frequently used macros

svn path=/trunk/; revision=56733
2012-06-14 17:48:14 +00:00
Art Yerkes e04fd2b536 [NTOSKRNL]
Actually remove the matching exclusive lock region when unlocking.

svn path=/trunk/; revision=56732
2012-06-14 16:19:01 +00:00
Amine Khaldi 23a661296c [CMAKE/MIDL]
* Alter the way we handle the dlldata generation with midl. This works around the warnings we get about multiple rules to generate proxy.dlldata.c.
* Brought to yo by Peter Kummel.

svn path=/trunk/; revision=56731
2012-06-14 11:06:23 +00:00
Thomas Faber 5821325f17 [KMTESTS]
- Return a boolean from ok()
- Add KmtGetPoolTag function to allow verifying pool tags used for allocations

svn path=/trunk/; revision=56730
2012-06-13 21:56:54 +00:00
Amine Khaldi 65b9ec7848 [STDOLE32.TLB]
* The previous msvc build fix wasn't proper. Back this out until we figure out a compatible one.

svn path=/trunk/; revision=56729
2012-06-13 10:38:13 +00:00
Art Yerkes eb169973ff [REGEDIT]
Implement silent mode so the winetest can run.

svn path=/trunk/; revision=56728
2012-06-13 01:39:02 +00:00
Art Yerkes cdb1c62cd1 [NTOSKRNL]
When a VAD is truncated using VirtualFree, truncate the corresponding MemoryArea
so new allocations will match in both spaces.

svn path=/trunk/; revision=56727
2012-06-12 22:31:54 +00:00
Jérôme Gardou 343744d08b [CMAKE]
WIN32 subsystem and the kernel deserve their own projects.

svn path=/trunk/; revision=56726
2012-06-12 22:28:46 +00:00
Eric Kohl cd7c0bf1da [SERVICES]
This new patch corrects bugs introduced in the implementation of
SERVICE_CONFIG_FAILURE_ACTIONS case in RQueryServiceConfig2W() and
RQueryServiceConfig2A().

Patch by Hermès Bélusca.


See issue #7101 for more details.

svn path=/trunk/; revision=56725
2012-06-12 21:42:57 +00:00
Art Yerkes 4ee63d0e0b [NTOSKRNL]
Withdraw a wait entry before mapping a page.

svn path=/trunk/; revision=56724
2012-06-12 20:41:13 +00:00
Jérôme Gardou 92cc620047 [NTGDI]
- fix potential NULL access. CID 702353

svn path=/trunk/; revision=56723
2012-06-12 19:21:55 +00:00
Eric Kohl 9c1cc14414 [SERVICES]
Automatically close handles and unlock database.
Patch by Hermès Bélusca.


See issue #7111 for more details.

svn path=/trunk/; revision=56722
2012-06-11 19:32:27 +00:00
Eric Kohl c8731b39d7 [SERVICES]
Removing the redundant function WaitForLSA() and use ScmWaitForLsa() instead.
Patch by Hermès Bélusca.

See issue #7110 for more details.

svn path=/trunk/; revision=56721
2012-06-11 19:02:00 +00:00
Amine Khaldi 916fe2874f [STDOLE32.TLB]
* Fix MSVC build and add the module to our build.

svn path=/trunk/; revision=56720
2012-06-11 18:06:27 +00:00
Thomas Faber 4738aa67a5 [NTOSKRNL:KDBG]
- Update i386-dis.c to CVS 1.48. Fixes some Intel syntax disassembly bugs.
- Use setjmp instead of _setjmp

svn path=/trunk/; revision=56719
2012-06-10 05:54:04 +00:00
Eric Kohl 1aad7fa8cc [SAMLIB][SAMSRV]
Implement SamEnumerateAliasesInDomain and SamrEnumerateAliasesInDomain. SamEnumerateAliasesInDomain does not return the names of the enumerated aliases, most likely due to a bug in rpcrt4.dll.

svn path=/trunk/; revision=56718
2012-06-09 23:34:42 +00:00
Thomas Faber bda4dc5078 [ACTXPRXY][URLMON]
- Use IRegistrar mechanism for registration. Fixes urlmon:misc and mshtml:dom crashes
See issue #7113 for more details.

svn path=/trunk/; revision=56717
2012-06-09 16:08:19 +00:00
Art Yerkes 17c51a305d [CMD]
Fix first argument of the target program so that paths with spaces aren't
reparsed by the c runtime as multiple arguments.

svn path=/trunk/; revision=56716
2012-06-09 02:55:15 +00:00