reactos.git
6 years ago[VIDEOPRT]
Eric Kohl [Sat, 10 May 2014 21:15:36 +0000 (21:15 +0000)]
[VIDEOPRT]
Fix buggy monitor device id decode routine.
This patch is dedicated to Christoph von Wittlich.

svn path=/trunk/; revision=63224

6 years ago[CRT]
Amine Khaldi [Sat, 10 May 2014 20:38:26 +0000 (20:38 +0000)]
[CRT]
* Update MSVCRT_CHECK_PMT and co.
* Update the use of MSVCRT_INVALID_PMT throughout our code.
* Fix the return of _ltoa_s() in some case. Fixes a couple msvcrt:string tests.
CORE-8080

svn path=/trunk/; revision=63223

6 years ago[KMTEST]
Timo Kreuzer [Sat, 10 May 2014 17:19:53 +0000 (17:19 +0000)]
[KMTEST]
Add a temp hack that allows to compile kmtest_drv with either the current incompatible object type data imports or with the fixed ones

svn path=/trunk/; revision=63222

6 years ago[WIN32K]
Timo Kreuzer [Sat, 10 May 2014 16:43:13 +0000 (16:43 +0000)]
[WIN32K]
Fix comments for some systemcalls, noticed by Giannis

svn path=/trunk/; revision=63221

6 years ago[KS/NTOSKRNL/WIN32K] Fix MSVC warnings
Timo Kreuzer [Sat, 10 May 2014 14:33:37 +0000 (14:33 +0000)]
[KS/NTOSKRNL/WIN32K] Fix MSVC warnings
[WMILIB] Don't put it in a cab file, so we can use it in first stage
[DDK/VDDSVC.H] use the 16 bit interface only on MIPS
[WINE/PORT.H] WIN32 -> _WIN32
[NTOSKRNL] KfAcquire/ReleaseSpinLock -> KeAcquire/ReleaseSpinLock
[NTOSKRNL] Make sure KeUpdateSystemTime returns properly on non-x86 builds

svn path=/trunk/; revision=63220

6 years ago[MSVCRT] Fix export of __uncaught_exception
Timo Kreuzer [Sat, 10 May 2014 14:16:11 +0000 (14:16 +0000)]
[MSVCRT] Fix export of __uncaught_exception
[MSHTML] Add x64 asm wrappers

svn path=/trunk/; revision=63219

6 years ago[SPEC2DEF]
Timo Kreuzer [Sat, 10 May 2014 14:12:20 +0000 (14:12 +0000)]
[SPEC2DEF]
Improve the previous fix.

svn path=/trunk/; revision=63218

6 years ago[SPEC2DEF]
Timo Kreuzer [Sat, 10 May 2014 13:55:09 +0000 (13:55 +0000)]
[SPEC2DEF]
Add support for adding aliases when exporting data by specifying the -withalias switch. This will cause MS LINK to generate _FooVar as an alias alias for _imp__FooVar. While this looks wrong and is not the way you usually handle data imports, this is what we have in the DDK for a number of data exports like KdDebuggerNotPresent, IoFileObjectType, ..., which we currently define in an incompatible way. Remove stdcall decorations on non-x86 builds

svn path=/trunk/; revision=63217

6 years ago[CPPRT]
Timo Kreuzer [Sat, 10 May 2014 12:01:17 +0000 (12:01 +0000)]
[CPPRT]
Add an alias for __CxxFrameHandler3 on x64 builds

svn path=/trunk/; revision=63216

6 years ago[Win32k]
James Tabor [Sat, 10 May 2014 11:38:52 +0000 (11:38 +0000)]
[Win32k]
- Patch by Huw Campbell : Fixes maximizing Explorer window, the horizontal scroll bar is not painted correctly. See CORE-6249.

svn path=/trunk/; revision=63215

6 years ago[KS]
Timo Kreuzer [Sat, 10 May 2014 10:02:09 +0000 (10:02 +0000)]
[KS]
Fix some prototypes and some MSVC/x64 warnings

svn path=/trunk/; revision=63214

6 years ago[RPCRT4]
Amine Khaldi [Sat, 10 May 2014 09:37:38 +0000 (09:37 +0000)]
[RPCRT4]
* Fix the ros_diff.

svn path=/trunk/; revision=63213

6 years ago[KSECDD]
Timo Kreuzer [Sat, 10 May 2014 09:16:50 +0000 (09:16 +0000)]
[KSECDD]
Fix 64 bit compilation

svn path=/trunk/; revision=63212

6 years ago[KERNEL32] Fix GetTickCount on 64 bit architecture
Timo Kreuzer [Sat, 10 May 2014 08:37:45 +0000 (08:37 +0000)]
[KERNEL32] Fix GetTickCount on 64 bit architecture
[RTL] Implement RtlGetTickCount (currently a copy of GetTickCount from kernel32)
[NTDLL] Export RtlGetTickCount as NtGetTickCount and ZwGetTickCount

svn path=/trunk/; revision=63211

6 years ago- Fix API see CORE-8107.
James Tabor [Fri, 9 May 2014 23:08:56 +0000 (23:08 +0000)]
- Fix API see CORE-8107.

svn path=/trunk/; revision=63210

6 years ago[NTVDM]
Hermès Bélusca-Maïto [Fri, 9 May 2014 22:07:49 +0000 (22:07 +0000)]
[NTVDM]
Factor the shift of the interlaced high bit out of the for(...) loop (since the interlaced high bit is not modified anymore after), and add extra parentheses.

svn path=/trunk/; revision=63209

6 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 9 May 2014 21:56:40 +0000 (21:56 +0000)]
[NTVDM]
Replace the temporary CGA hack with a working solution.
CORE-8177 #comment CGA should work as of r63208.

svn path=/trunk/; revision=63208

6 years ago[NTVDM]
Hermès Bélusca-Maïto [Fri, 9 May 2014 20:47:31 +0000 (20:47 +0000)]
[NTVDM]
Fix logic. Caught by Victor Martinez (private communication).

svn path=/trunk/; revision=63207

6 years ago[CABMAN]
Hermès Bélusca-Maïto [Fri, 9 May 2014 20:25:41 +0000 (20:25 +0000)]
[CABMAN]
In any case, we are returning the (!= success) status in case we failed to perform the file copy, so just test for != success just one time.
Patch by Victor Martinez.
CORE-8189 #resolve

svn path=/trunk/; revision=63206

6 years ago[CDMAKE]
Hermès Bélusca-Maïto [Fri, 9 May 2014 19:58:27 +0000 (19:58 +0000)]
[CDMAKE]
Simplify the conditional checks; pointed by Victor Martinez.
CORE-8190 #resolve

svn path=/trunk/; revision=63205

6 years ago[ntdll]
Christoph von Wittich [Fri, 9 May 2014 05:07:51 +0000 (05:07 +0000)]
[ntdll]
fix parameter check in RtlFindActivationContextSectionString

svn path=/trunk/; revision=63204

6 years ago[kernel32_winetest]
Christoph von Wittich [Fri, 9 May 2014 04:46:18 +0000 (04:46 +0000)]
[kernel32_winetest]
don't skip test_typelib_section anymore

svn path=/trunk/; revision=63203

6 years ago[RPCRT4]
Hermès Bélusca-Maïto [Fri, 9 May 2014 01:57:43 +0000 (01:57 +0000)]
[RPCRT4]
Detect whether we are connecting to a pipe on the local machine and use the \\.\ prefix instead of the full machine name.
This patch modifies ReactOS-specific code (that was introduced by Eric in revision 53630) (Wine still supports only local pipes), so I also update our rpcrt4_ros.diff file accordingly, r63201 with respect to the latest Wine 1.7.17 rpcrt4 code.

CORE-6561 #resolve
CORE-6562 #resolve
CORE-7562 #comment Partly solved in revision 63202. Please retest.

svn path=/trunk/; revision=63202

6 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 9 May 2014 00:34:10 +0000 (00:34 +0000)]
[NTVDM]
Fix the previous two fixes. Tests show that the first line is actually treated
as an even-numbered line.

svn path=/trunk/; revision=63201

6 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 9 May 2014 00:23:19 +0000 (00:23 +0000)]
[NTVDM]
Add a comment which explains the weird check for odd-numbered lines.

svn path=/trunk/; revision=63200

6 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 9 May 2014 00:15:40 +0000 (00:15 +0000)]
[NTVDM]
Fix CGA emulation in shift interleave mode.
CORE-8177 #comment Possibly fixed. Can you redo your tests with r63199?

svn path=/trunk/; revision=63199

6 years ago[IEFRAME]
Thomas Faber [Thu, 8 May 2014 21:40:58 +0000 (21:40 +0000)]
[IEFRAME]
- Fix IID comparison in ShellUIHelper2_QueryInterface. Patch by Víctor Martínez
CORE-8158 #resolve

svn path=/trunk/; revision=63197

6 years ago[QUARTZ]
Thomas Faber [Thu, 8 May 2014 19:58:21 +0000 (19:58 +0000)]
[QUARTZ]
- Fix a trace check. Patch by Víctor Martínez
CORE-8152 #resolve

svn path=/trunk/; revision=63195

6 years ago[KERNEL32][NTDLL]
Amine Khaldi [Thu, 8 May 2014 14:14:01 +0000 (14:14 +0000)]
[KERNEL32][NTDLL]
* Sync ActCtx related code with Wine 1.7.17.
* I'll let you find out how many tests that fixes ;)
* Dedicated to Christoph von Wittich.
CORE-8080

svn path=/trunk/; revision=63192

6 years ago[NDK]
Amine Khaldi [Thu, 8 May 2014 14:09:06 +0000 (14:09 +0000)]
[NDK]
* Add RtlFindActivationContextSectionGuid().

svn path=/trunk/; revision=63191

6 years ago[WINE/PORT]
Amine Khaldi [Thu, 8 May 2014 14:08:20 +0000 (14:08 +0000)]
[WINE/PORT]
* Fix interlocked_cmpxchg_ptr and interlocked_xchg_ptr.

svn path=/trunk/; revision=63190

6 years ago[NTDLL]
Amine Khaldi [Thu, 8 May 2014 14:07:36 +0000 (14:07 +0000)]
[NTDLL]
* Export NtGetTickCount().
CORE-8174

svn path=/trunk/; revision=63189

6 years ago[MSDMO]
Thomas Faber [Thu, 8 May 2014 13:24:09 +0000 (13:24 +0000)]
[MSDMO]
- Actually copy output string in IEnumDMO_fnNext. Patch by Víctor Martínez
CORE-8151 #resolve

svn path=/trunk/; revision=63188

6 years ago[SHLWAPI]
Thomas Faber [Thu, 8 May 2014 12:54:22 +0000 (12:54 +0000)]
[SHLWAPI]
- Revert 24342314 unintended changes

svn path=/trunk/; revision=63187

6 years ago[User32]
James Tabor [Thu, 8 May 2014 12:46:01 +0000 (12:46 +0000)]
[User32]
- Fixed regression from r63183. See CORE-7967.

svn path=/trunk/; revision=63186

6 years ago[SHLWAPI]
Thomas Faber [Thu, 8 May 2014 12:43:10 +0000 (12:43 +0000)]
[SHLWAPI]
- Fix copypasta in PathRelativePathToW. Patch by Víctor Martínez
CORE-8162 #resolve

svn path=/trunk/; revision=63185

6 years ago[User32]
James Tabor [Wed, 7 May 2014 22:25:16 +0000 (22:25 +0000)]
[User32]
- Fixed more wine tests. WM_UNINITMENUPOPUP is called before destroying pop up menu window.

svn path=/trunk/; revision=63183

6 years ago[BASESRV]
Aleksandar Andrejevic [Tue, 6 May 2014 22:17:26 +0000 (22:17 +0000)]
[BASESRV]
Don't set the process handle in BaseSrvCheckVDM.
Close the process handle when removing the console record.

svn path=/trunk/; revision=63182

6 years ago- Silence traces.
James Tabor [Tue, 6 May 2014 18:58:08 +0000 (18:58 +0000)]
- Silence traces.

svn path=/trunk/; revision=63181

6 years ago- Enable last of the menu tests.
James Tabor [Tue, 6 May 2014 18:10:10 +0000 (18:10 +0000)]
- Enable last of the menu tests.

svn path=/trunk/; revision=63180

6 years ago[Win32k]
James Tabor [Tue, 6 May 2014 18:09:07 +0000 (18:09 +0000)]
[Win32k]
- Utilize the new menu structures and use item array instead of the list method. Make sure your applications Appends are in order (reference Mdi.c). Sync ported more wine code too.
- See CORE-5605, CORE-7447, CORE-7967 (Main Bug), CORE-8098 and CORE-8107

svn path=/trunk/; revision=63179

6 years agoFix build.
Aleksandar Andrejevic [Tue, 6 May 2014 17:11:45 +0000 (17:11 +0000)]
Fix build.

svn path=/trunk/; revision=63178

6 years ago[BRANCHES]
Aleksandar Andrejevic [Tue, 6 May 2014 17:06:47 +0000 (17:06 +0000)]
[BRANCHES]
Merge the NTVDM branch back to trunk. New/changed components are: ntvdm, fast486, basesrv,
ntdll, kernel32 and csrsrv.

svn path=/trunk/; revision=63177

6 years agoSync up to trunk head before merging.
Aleksandar Andrejevic [Tue, 6 May 2014 16:07:19 +0000 (16:07 +0000)]
Sync up to trunk head before merging.

svn path=/branches/ntvdm/; revision=63176

6 years ago[CMAKE]
Pierre Schweitzer [Tue, 6 May 2014 15:42:54 +0000 (15:42 +0000)]
[CMAKE]
Fix unwanted change brought with r62933.
This disables ccache build by default on Unix plateforms.

CORE-8176

svn path=/trunk/; revision=63174

6 years ago- Update test to 1.7.18.
James Tabor [Tue, 6 May 2014 15:42:03 +0000 (15:42 +0000)]
- Update test to 1.7.18.

svn path=/trunk/; revision=63173

6 years ago[User32]
James Tabor [Tue, 6 May 2014 15:41:01 +0000 (15:41 +0000)]
[User32]
- Patch by Andrew Eikum : Allow setting horizontal extent even without WS_HSCROLL. Only update listbox horizontal scroll info if WS_HSCROLL is set.

svn path=/trunk/; revision=63172

6 years ago[CMAKE]
Pierre Schweitzer [Mon, 5 May 2014 21:06:13 +0000 (21:06 +0000)]
[CMAKE]
This was not meant to be committed. Sorry.

svn path=/trunk/; revision=63171

6 years ago[CMAKE]
Pierre Schweitzer [Mon, 5 May 2014 21:03:20 +0000 (21:03 +0000)]
[CMAKE]
Don't activate specific warnings for release builds

svn path=/trunk/; revision=63170

6 years ago[rtl/actctx]
Christoph von Wittich [Mon, 5 May 2014 18:28:01 +0000 (18:28 +0000)]
[rtl/actctx]
reduce some more differences to wine

svn path=/trunk/; revision=63169

6 years ago[FORMATTING]
Eric Kohl [Sun, 4 May 2014 22:03:00 +0000 (22:03 +0000)]
[FORMATTING]
No code changes!

svn path=/trunk/; revision=63168

6 years ago[PSEH3]
Pierre Schweitzer [Sun, 4 May 2014 21:18:05 +0000 (21:18 +0000)]
[PSEH3]
And while we're at it, disable -Wshadow where it's required

svn path=/trunk/; revision=63167

6 years ago[PSEH3]
Pierre Schweitzer [Sun, 4 May 2014 21:01:41 +0000 (21:01 +0000)]
[PSEH3]
Actually, in previous patch, wrong diagnostic context was being saved (and thus, restored).
Properly save and restore it now.
The drawback of this is that we have to let it run over finally and except blocks to have proper builds with -Wdeclaration-after-statement.

Spotted by Thomas.

CORE-8172

svn path=/trunk/; revision=63166

6 years ago[GDI32]
Amine Khaldi [Sun, 4 May 2014 19:17:52 +0000 (19:17 +0000)]
[GDI32]
* Actually this is the order of exports.
CORE-8174

svn path=/trunk/; revision=63165

6 years ago[GDI32]
Amine Khaldi [Sun, 4 May 2014 18:56:37 +0000 (18:56 +0000)]
[GDI32]
* Improve some param types.
* Remove some redundant commented out exports.
* Do not export GdiGetBitmapBitsSize().
* Fix the order of some exports.
CORE-8174

svn path=/trunk/; revision=63164

6 years ago[USER32]
Amine Khaldi [Sun, 4 May 2014 18:29:59 +0000 (18:29 +0000)]
[USER32]
* Export IsProcess16Bit() and IsWow64Message().
CORE-8174

svn path=/trunk/; revision=63163

6 years ago[CMAKE]
Pierre Schweitzer [Sun, 4 May 2014 18:11:11 +0000 (18:11 +0000)]
[CMAKE]
Enable -Wdeclaration-after-statement for C builds

svn path=/trunk/; revision=63162

6 years ago[PSEH3]
Pierre Schweitzer [Sun, 4 May 2014 18:10:08 +0000 (18:10 +0000)]
[PSEH3]
Kill -Wdeclaration-after-statement when it's required.

PSEH tests are still green

svn path=/trunk/; revision=63161

6 years ago[USER32]
Amine Khaldi [Sun, 4 May 2014 18:06:06 +0000 (18:06 +0000)]
[USER32]
* Zap WindowFromPhysicalPoint().
[WIN32K]
* Zap NtUserWindowFromPhysicalPoint().
CORE-8174

svn path=/trunk/; revision=63160

6 years ago[USER32]
Amine Khaldi [Sun, 4 May 2014 18:02:07 +0000 (18:02 +0000)]
[USER32]
* Zap SetProcessDPIAware().
CORE-8174

svn path=/trunk/; revision=63159

6 years ago* Fix a copy pasta. Spotted by Erdem Ersoy.
Amine Khaldi [Sun, 4 May 2014 17:02:07 +0000 (17:02 +0000)]
* Fix a copy pasta. Spotted by Erdem Ersoy.

svn path=/trunk/; revision=63158

6 years ago[CRT]
Amine Khaldi [Sun, 4 May 2014 16:58:49 +0000 (16:58 +0000)]
[CRT]
* Sync __pxcptinfoptrs() with Wine 1.7.17.
* Update __thread_data structure.
CORE-8108 #resolve
CORE-8080

svn path=/trunk/; revision=63157

6 years ago[CMAKE]
Pierre Schweitzer [Sun, 4 May 2014 09:49:21 +0000 (09:49 +0000)]
[CMAKE]
Enable -Wold-style-declaration for C builds

svn path=/trunk/; revision=63155

6 years ago[REACTOS]
Pierre Schweitzer [Sun, 4 May 2014 09:47:52 +0000 (09:47 +0000)]
[REACTOS]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63154

6 years ago[UXTHEME]
Pierre Schweitzer [Sun, 4 May 2014 09:46:57 +0000 (09:46 +0000)]
[UXTHEME]
Properly declare with static

svn path=/trunk/; revision=63153

6 years ago[WIN32SS]
Pierre Schweitzer [Sun, 4 May 2014 09:45:42 +0000 (09:45 +0000)]
[WIN32SS]
Properly declare with FORCEINLINE
Properly declare with static

svn path=/trunk/; revision=63152

6 years ago[PSEH2]
Pierre Schweitzer [Sun, 4 May 2014 09:43:38 +0000 (09:43 +0000)]
[PSEH2]
Properly declare with register

svn path=/trunk/; revision=63151

6 years ago[NMIDEBUG]
Pierre Schweitzer [Sun, 4 May 2014 09:42:28 +0000 (09:42 +0000)]
[NMIDEBUG]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63150

6 years ago[BOOTVID]
Pierre Schweitzer [Sun, 4 May 2014 09:41:58 +0000 (09:41 +0000)]
[BOOTVID]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63149

6 years ago[NTDLL]
Pierre Schweitzer [Sun, 4 May 2014 09:41:01 +0000 (09:41 +0000)]
[NTDLL]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63148

6 years ago[HALX86]
Pierre Schweitzer [Sun, 4 May 2014 09:39:44 +0000 (09:39 +0000)]
[HALX86]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63147

6 years ago[NPFS]
Pierre Schweitzer [Sun, 4 May 2014 09:38:36 +0000 (09:38 +0000)]
[NPFS]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63146

6 years ago[WS2HELP]
Pierre Schweitzer [Sun, 4 May 2014 09:16:11 +0000 (09:16 +0000)]
[WS2HELP]
Properly declare with static and __inline

svn path=/trunk/; revision=63145

6 years ago[MSAFD]
Pierre Schweitzer [Sun, 4 May 2014 09:15:06 +0000 (09:15 +0000)]
[MSAFD]
Properly declare with FORCEINLINE

svn path=/trunk/; revision=63144

6 years ago[NTOS:KE]
Thomas Faber [Sun, 4 May 2014 08:42:02 +0000 (08:42 +0000)]
[NTOS:KE]
- Unconditionally perform APC and IRQL checks on user call exit

svn path=/trunk/; revision=63143

6 years ago[WIN32K:NTGDI]
Thomas Faber [Sun, 4 May 2014 08:38:44 +0000 (08:38 +0000)]
[WIN32K:NTGDI]
- Release device context semaphores in failure cases of GreExtTextOutW
CORE-8169 #resolve

svn path=/trunk/; revision=63142

6 years ago[EXPLORER]
Hermès Bélusca-Maïto [Sat, 3 May 2014 21:16:19 +0000 (21:16 +0000)]
[EXPLORER]
Do not hide file extensions by default.
A side effect is that it will make zz_word_viewer_2003:2.copy_text test going further.

svn path=/trunk/; revision=63140

6 years ago[PIPEREAD]
Pierre Schweitzer [Sat, 3 May 2014 18:52:00 +0000 (18:52 +0000)]
[PIPEREAD]
Prevent null buffer dereference

svn path=/trunk/; revision=63139

6 years ago[CMD]
Hermès Bélusca-Maïto [Sat, 3 May 2014 18:07:07 +0000 (18:07 +0000)]
[CMD]
Fix _tcsncat usage. Patch by Victor Martinez.
CORE-8149 #resolve

svn path=/trunk/; revision=63138

6 years ago[IPCONFIG]
Hermès Bélusca-Maïto [Sat, 3 May 2014 17:58:26 +0000 (17:58 +0000)]
[IPCONFIG]
Fix lines inversion, based on a patch by Victor Martinez.
CORE-8146 #resolve

svn path=/trunk/; revision=63137

6 years ago... and also, please open your eyes (upper vs. lowercase letters).
Hermès Bélusca-Maïto [Sat, 3 May 2014 17:25:52 +0000 (17:25 +0000)]
... and also, please open your eyes (upper vs. lowercase letters).

svn path=/trunk/; revision=63136

6 years agoArch, please do not mix up ANSI vs. UNICODE string functions, do you?
Hermès Bélusca-Maïto [Sat, 3 May 2014 17:24:22 +0000 (17:24 +0000)]
Arch, please do not mix up ANSI vs. UNICODE string functions, do you?

svn path=/trunk/; revision=63135

6 years ago[FTP]
Hermès Bélusca-Maïto [Sat, 3 May 2014 17:22:35 +0000 (17:22 +0000)]
[FTP]
Fix some strncat usage.
Patch by Victor Martinez.
CORE-8145 #resolve

svn path=/trunk/; revision=63134

6 years ago[APITEST:USER32]
Hermès Bélusca-Maïto [Sat, 3 May 2014 17:08:39 +0000 (17:08 +0000)]
[APITEST:USER32]
Fix problematic for() loops.
Patch by Victor Martinez Calvo, thanks :)
ROSTESTS-136 #resolve

svn path=/trunk/; revision=63133

6 years ago[NTOSKRNL]
Aleksandar Andrejevic [Sat, 3 May 2014 16:39:21 +0000 (16:39 +0000)]
[NTOSKRNL]
Remove the e_lfarlc check. It fails on perfectly valid executables.

svn path=/branches/ntvdm/; revision=63132

6 years ago[TELNET]
Thomas Faber [Sat, 3 May 2014 13:58:02 +0000 (13:58 +0000)]
[TELNET]
- Use correct string length when reporting cursor position. Patch by Víctor Martínez
CORE-8147 #resolve

svn path=/trunk/; revision=63131

6 years ago[BEEPMIDI]
Thomas Faber [Sat, 3 May 2014 13:18:27 +0000 (13:18 +0000)]
[BEEPMIDI]
- Write MIDIOUTCAPSW::szPname in a type-safe manner. By Víctor Martínez
CORE-8154 #resolve

svn path=/trunk/; revision=63130

6 years agoSync with trunk revision 63128.
Hermès Bélusca-Maïto [Sat, 3 May 2014 12:58:22 +0000 (12:58 +0000)]
Sync with trunk revision 63128.

svn path=/branches/ntvdm/; revision=63129

6 years ago[NETAPI32]
Thomas Faber [Sat, 3 May 2014 12:53:58 +0000 (12:53 +0000)]
[NETAPI32]
- Import recent fixes and new stubs from Wine
- Note that Wine is using Samba's libnetapi to implement many functions these days (not included here), so it may be worth having a look at porting that work to ROS.
CORE-8160 #resolve

svn path=/trunk/; revision=63128

6 years ago[I8042PRT]
Thomas Faber [Sat, 3 May 2014 11:17:57 +0000 (11:17 +0000)]
[I8042PRT]
- Do not prematurely complete IRP_MN_FILTER_RESOURCE_REQUIREMENTS or IRP_MN_QUERY_PNP_DEVICE_STATE
- Do not handle IRP_MN_QUERY_DEVICE_RELATIONS.BusRelations. We're not the bus driver!
- Correctly stub the (mandatory!) dispatch functions for IRP_MJ_POWER and IRP_MJ_SYSTEM_CONTROL
CORE-8142 #resolve

svn path=/trunk/; revision=63127

6 years ago[I8042PRT]
Timo Kreuzer [Sat, 3 May 2014 11:04:52 +0000 (11:04 +0000)]
[I8042PRT]
Apply a workaround by hto to fix mouse / touchpad on some notebooks.
CORE-6901

svn path=/trunk/; revision=63126

6 years ago[KERNEL32][BASESRV]
Aleksandar Andrejevic [Sat, 3 May 2014 02:34:40 +0000 (02:34 +0000)]
[KERNEL32][BASESRV]
Move the console/ID checking code from kernel32 to basesrv.

svn path=/branches/ntvdm/; revision=63125

6 years ago[KERNEL32][NTVDM]
Aleksandar Andrejevic [Sat, 3 May 2014 02:13:51 +0000 (02:13 +0000)]
[KERNEL32][NTVDM]
In BaseCheckVDM, return a task ID of 0 if there is a console.
In CommandThreadProc, make sure the loop executes at least once.
Also, if a session ID is given, there is no parent console, so there is no need to wait
for further commands.

svn path=/branches/ntvdm/; revision=63124

6 years ago[BASESRV]
Aleksandar Andrejevic [Fri, 2 May 2014 23:00:10 +0000 (23:00 +0000)]
[BASESRV]
Don't accept NULL as a valid console handle.

svn path=/branches/ntvdm/; revision=63122

6 years ago[NTVDM][KERNEL32]
Aleksandar Andrejevic [Fri, 2 May 2014 22:23:34 +0000 (22:23 +0000)]
[NTVDM][KERNEL32]
Send the specified task ID to CSRSS in GetNextVDMCommand.
In ntvdm, parse the command line parameters to find the session ID, and pass it in
every call to GetNextVDMCommand.

svn path=/branches/ntvdm/; revision=63121

6 years ago[BASESRV]
Aleksandar Andrejevic [Fri, 2 May 2014 21:45:16 +0000 (21:45 +0000)]
[BASESRV]
In BaseSrvGetConsoleRecord and GetConsoleRecordBySessionId, check if the console record was not found instead
of returning the last one in the list.
In BaseSrvCheckVDM, return the session ID to the caller.

svn path=/branches/ntvdm/; revision=63120

6 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 2 May 2014 21:17:05 +0000 (21:17 +0000)]
[NTVDM]
Restore the console to normal size while no DOS task is running and keep track
of the cursor position.
Adapted from a patch by Hermès Bélusca-Maïto.

svn path=/branches/ntvdm/; revision=63119

6 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 2 May 2014 18:49:15 +0000 (18:49 +0000)]
[NTVDM]
Initialize the reference counts of the DOS console handles.

svn path=/branches/ntvdm/; revision=63118

6 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 2 May 2014 18:24:40 +0000 (18:24 +0000)]
[NTVDM]
Use VdmRunning to keep the state of the whole VDM, not a VDM task.
Add an event whose signaled state determines the state of the VDM task.
Use FILE_SHARE_READ when opening executables.

svn path=/branches/ntvdm/; revision=63116

6 years ago[KERNEL32]
Hermès Bélusca-Maïto [Fri, 2 May 2014 17:11:13 +0000 (17:11 +0000)]
[KERNEL32]
Compare against "NE", not "N" only. Caught by Victor Martinez, thanks ;)
CORE-8159 #resolve

svn path=/branches/ntvdm/; revision=63113