Commit graph

54651 commits

Author SHA1 Message Date
Amine Khaldi ee3382a831 [MSTASK]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60334
2013-09-23 11:33:50 +00:00
Amine Khaldi 7882bfa033 [MSSIP32]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60333
2013-09-23 11:32:21 +00:00
Amine Khaldi f6a6c78b98 [MSSIGN32]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60332
2013-09-23 10:39:45 +00:00
Amine Khaldi 7e44da07b9 [MSRLE32]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60331
2013-09-23 10:17:50 +00:00
Alex Ionescu 27fd290e99 [NTOSKRNL]: Count should be initialized to zero. Thanks to MSVC for finding a bug.
svn path=/trunk/; revision=60330
2013-09-23 03:16:38 +00:00
Alex Ionescu 736b50b0db - Implement and export MmCommitSessionMappedView. No gurantees this works until ThFabba writes a test for it, but it does what Windows does :P, minus charging commit since we don't do that yet. Nothing in ROS calls this so guranteed 0 regressions.
svn path=/trunk/; revision=60329
2013-09-23 02:30:58 +00:00
Hermès Bélusca-Maïto 8b1a283ee8 [APITEST:POWRPROF]
Include stdio.h for printf function.

svn path=/trunk/; revision=60328
2013-09-22 21:52:27 +00:00
Timo Kreuzer 615266ca06 [DEBUG.H] Add a _WARN macro to emit compiler warning messages (also adds __STRLINE__ macro, being resolved to the current line number as a string token)
[NTOSKRNL] Fix some x64 issues and warn about unimplemented session space stuff on x64

svn path=/trunk/; revision=60327
2013-09-22 21:19:40 +00:00
Timo Kreuzer 3bc1b43dc1 [TELNET] Revert previous changes.
svn path=/trunk/; revision=60326
2013-09-22 21:13:56 +00:00
Timo Kreuzer bec4ac17fc [TELNET] Don't compile it on MSVC
[CMAKE] Use the same MSVC build flags for x64 as for x86
[SMLIB] Fix MSVC warnings
[MODULES] Don't include optional modules on x64
[NTOSKRNL] Add some missing globals and definitions for x64
[CSRSRV] Fix an MSVC warning

svn path=/trunk/; revision=60325
2013-09-22 21:04:06 +00:00
Timo Kreuzer 9ffa1e73af [PSEH]
Include only what's needed

svn path=/trunk/; revision=60324
2013-09-22 20:55:48 +00:00
Hermès Bélusca-Maïto 7591ba175d Say bye-bye to almost all of the deprecated CSR code, the one in use before the big architectural change of r58770 (only keep the part which was in usage in win32k, it may be useful later on).
svn path=/trunk/; revision=60323
2013-09-22 20:48:47 +00:00
Amine Khaldi 30dce6bb67 * Move resource files to the lang folders.
CORE-7470

svn path=/trunk/; revision=60322
2013-09-22 19:43:06 +00:00
Hermès Bélusca-Maïto 41539da879 Add extra-parenthesing.
svn path=/trunk/; revision=60321
2013-09-22 19:30:00 +00:00
Hermès Bélusca-Maïto 2c7388a0b1 [KMTESTS]
No need now to declare a NTSTATUS ExceptionStatus; variable to be able to use KmtStartSeh() / KmtEndSeh() macros; this is done automagically.

svn path=/trunk/; revision=60320
2013-09-22 19:28:21 +00:00
Hermès Bélusca-Maïto fe6644f895 [APITESTS]
- No need now to declare a NTSTATUS ExceptionStatus; variable to be able to use StartSeh() / EndSeh() macros; this is done automagically.
- Use explicitely unicode macros where it's needed.

svn path=/trunk/; revision=60319
2013-09-22 19:07:35 +00:00
Alex Ionescu e8b55a9f69 - Implement and export PsGetCurrentThreadWin32ThreadAndEnterCriticalRegion.
svn path=/trunk/; revision=60318
2013-09-22 18:54:58 +00:00
Alex Ionescu 7e3fbb3780 [NTOSKRNL]: Implement and export PsGetProcessSessionIdEx, and MmGetSessionIdEx. Dedicated to hbelusca. If you look at the diff (please don't), yes, this is seriously how it works in Windows.
svn path=/trunk/; revision=60317
2013-09-22 18:47:36 +00:00
Hermès Bélusca-Maïto 2cdfc40af8 [APITEST:WININET]
Make it use apitest.h

svn path=/trunk/; revision=60316
2013-09-22 18:19:56 +00:00
Hermès Bélusca-Maïto 2a026800b2 [WINHTTP:USER32]
Make it use apitest.h

svn path=/trunk/; revision=60315
2013-09-22 18:19:16 +00:00
Hermès Bélusca-Maïto f63c233859 [APITESTS:USER32]
Make it use apitest.h

svn path=/trunk/; revision=60314
2013-09-22 18:17:54 +00:00
Hermès Bélusca-Maïto 4b95e17c61 [ROSTESTS:APITESTS]
Introduce a "apitest.h" header gathering special things for apitests (SEH macros, wine/test.h inclusion, and so on...).

svn path=/trunk/; revision=60313
2013-09-22 17:52:42 +00:00
Amine Khaldi e62911d355 [MSRLE32]
* Move resource files to the lang folder.
CORE-7470

svn path=/trunk/; revision=60312
2013-09-22 16:57:15 +00:00
Amine Khaldi eb4d53ad8d [MSISYS.OCX]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60311
2013-09-22 16:53:31 +00:00
Amine Khaldi e26460061a [MSISIP]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60310
2013-09-22 16:47:51 +00:00
Amine Khaldi 28bb2a3573 [MSIMTF]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60309
2013-09-22 16:32:59 +00:00
Amine Khaldi 7d081ffd6c [MSI_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60308
2013-09-22 16:30:59 +00:00
Amine Khaldi d221b534b9 [MSI]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60307
2013-09-22 16:30:18 +00:00
Amine Khaldi b44def699b [MSGSM32.ACM]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60306
2013-09-22 16:28:18 +00:00
Amine Khaldi ef5fd265dc [MSG711.ACM]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60305
2013-09-22 16:25:27 +00:00
Amine Khaldi 6407f62d29 [MSCTF_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60304
2013-09-22 16:16:55 +00:00
Amine Khaldi f8872fa643 [MSCTF]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60303
2013-09-22 16:16:21 +00:00
Hermès Bélusca-Maïto 5b90b42861 [RTL]
- Implement and export RtlGetCriticalSectionRecursionCount (introduced in NT 5.2 SP1, see http://www.geoffchappell.com/studies/windows/win32/ntdll/history/names52.htm) which definition comes from http://processhacker.sourceforge.net/doc/ntrtl_8h.html#a26bd65dfad63985a247700c2c2ab9e86.
- Fix the return type of RtlSetCriticalSectionSpinCount.
- Export the already-existing RtlQueryInformationActiveActivationContext API.

RtlQueryInformationActiveActivationContext and RtlGetCriticalSectionRecursionCount are needed by Win2k3 user32.dll and winsrv.dll .

svn path=/trunk/; revision=60302
2013-09-22 15:14:24 +00:00
Hermès Bélusca-Maïto cb93b06d35 [NTOS]
- Fix disabling impersonation in PsDisableImpersonation, and
- Fix how we do restore impersonation in NtOpenThreadTokenEx.
Patch by Thomas Faber,
CORE-7476 #comment Patch committed in revision 60301, thanks :). Please retest the bug.

svn path=/trunk/; revision=60301
2013-09-22 00:26:31 +00:00
Jérôme Gardou ccafea6eee [MESA/OPENGL32]
- Disable un-used mesa features (ATI/NV programs) for a leaner build
 - Print a fixme instead of asserting in software version of wglGetProcAddress

svn path=/trunk/; revision=60300
2013-09-22 00:25:59 +00:00
Hermès Bélusca-Maïto 8ffc368a0c [NTOS]
Set the session ID to the process' associated PEB (introduced in revision 43476, the code erratically disappeared in revision 57011 when Alex fixed sessions).

svn path=/trunk/; revision=60299
2013-09-21 23:21:24 +00:00
Hermès Bélusca-Maïto ba62280d9e [NTOS]
- Fix Job object session ID setting and comparison; fix a list initialization.
- Correct some comments.
- As Alex noticed it 7 years and 2 months ago, in revision 23197, the ProcessSessionInformation case in the NtSetInformationProcess API doesn't set a new session ID for the given process anymore (checked by myself too), because it is set once and for all at process creation time and is stored inside the Process->Session structure managed by MM. Therefore fake changing it: we just return success if the user-defined value is the same as the session ID of the process, and otherwise we fail.

svn path=/trunk/; revision=60298
2013-09-21 22:59:24 +00:00
Amine Khaldi cfdd6612b1 [PSDK]
* Import inputscope.idl from Wine.

svn path=/trunk/; revision=60297
2013-09-21 21:04:03 +00:00
Hermès Bélusca-Maïto 26432ca94b [NTOS]
- Implement PsGetCurrentThreadProcess, PsGetCurrentThreadProcessId and PsGetCurrentThreadTeb based on their non-current versions.
- Fix PsGetThreadSessionId to call MmGetSessionId.
- Fix the return value type of PsGetJobSessionId.
- Remove an unneeded cast.

svn path=/trunk/; revision=60296
2013-09-21 20:46:42 +00:00
Amine Khaldi 575664c6f0 [MSCMS_WINETEST]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60295
2013-09-21 20:44:00 +00:00
Amine Khaldi 9c4a2e68c0 [MSCMS]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60294
2013-09-21 20:43:42 +00:00
Hermès Bélusca-Maïto 20a1d1968d [NTOS]: Fix declaration and definition of PsGetProcessSessionId: indeed, as PsGetCurrentProcessSessionId, we should call MmGetSessionId to retrieve the real process session id.
svn path=/trunk/; revision=60293
2013-09-21 20:14:22 +00:00
Hermès Bélusca-Maïto 4c6659967e [NTOS]
- Stubplement ObDeleteCapturedInsertInfo, which was added in Win2k3 (and is present in Vista+) and in Win2k SP4, according to http://www.geoffchappell.com/studies/windows/km/ntoskrnl/history/names50sp4.htm .
  Its prototype come from http://hi.baidu.com/_achillis/item/422140888137cb834514cf08 (this is a chinese article explaining some of the changes in the Object Manager from Windows XP to 7).
- Stubplement ObSetHandleAttributes, which was added in NT 5.1 (XP) (see http://www.geoffchappell.com/studies/windows/km/ntoskrnl/history/names51.htm); its prototype is given in http://processhacker.sourceforge.net/doc/ntfill_8h.html#a7f6e063aedf2354a7396b096830647d5 .
  Its second parameter, a pointer to a OBJECT_HANDLE_FLAG_INFORMATION structure, according to its definition in http://processhacker.sourceforge.net/doc/struct___o_b_j_e_c_t___h_a_n_d_l_e___f_l_a_g___i_n_f_o_r_m_a_t_i_o_n.html,
  appears to correspond to our OBJECT_HANDLE_ATTRIBUTE_INFORMATION structure defined in http://git.reactos.org/?p=reactos.git;a=blob;f=reactos/include/ndk/obtypes.h;hb=HEAD#l259 .

Those functions are needed by Win2k3's win32k.sys .

svn path=/trunk/; revision=60292
2013-09-21 19:52:44 +00:00
Amine Khaldi 47843717cb [MSCAT32]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60291
2013-09-21 19:51:32 +00:00
Amine Khaldi 7ae750c1d9 [MSADP32.ACM]
* Sync with Wine 1.7.1.
CORE-7469

svn path=/trunk/; revision=60290
2013-09-21 19:48:33 +00:00
Hermès Bélusca-Maïto 8ea614d505 [CSRSS]: Improve two dprints.
svn path=/trunk/; revision=60288
2013-09-21 18:38:30 +00:00
Hermès Bélusca-Maïto dd9e5ada7d [BASESRV]
Stubplement BaseSrvNlsLogon and BaseSrvNlsUpdateRegistryCache needed by Windows-2k3's WINSRV.DLL . Their return value types are unknown, but the number of parameters was obtained by reading http://wcwp.googlecode.com/svn/trunk/wcwp/bin/masm32/include/basesrv.inc .

svn path=/trunk/; revision=60287
2013-09-21 18:25:02 +00:00
Hermès Bélusca-Maïto 04c01edfae [USER32]
Stubplement IsSETEnabled, needed when testing WINSRV.DLL from Windows 2k3 SP1/2.
(this function determines whether the Shutdown Event Tracker is enabled, see http://undoc.airesoft.co.uk/user32.dll/IsSETEnabled.php for more information).

svn path=/trunk/; revision=60286
2013-09-21 17:52:06 +00:00
Jérôme Gardou a5bf1e54a1 [CMAKE]
- Update base addresses accordingly to latest opengl32/mesa updates

svn path=/trunk/; revision=60285
2013-09-21 15:42:48 +00:00
Jérôme Gardou fa32d8b17f [HIVESFT]
- remove reference to the not-used not-built-anymore mesa32 opengl ICD
Thank you, our relationship was great, but somehow ReactOS matured and you are not in the plan anymore. Fare thee well.

svn path=/trunk/; revision=60284
2013-09-21 15:30:42 +00:00