reactos.git
9 years ago[USBHUB][USBUHCI][CDROM_NEW]
Thomas Faber [Thu, 25 Sep 2014 12:41:40 +0000 (12:41 +0000)]
[USBHUB][USBUHCI][CDROM_NEW]
- Remove dead code. By Kudratov Olimjon.
CORE-8545

svn path=/trunk/; revision=64267

9 years ago[SECUR32][LSASRV][LSALIB]
Eric Kohl [Thu, 25 Sep 2014 12:37:19 +0000 (12:37 +0000)]
[SECUR32][LSASRV][LSALIB]
- Move the stubs LsaEnumerateLogonSessions, LsaGetLogonSessionData, LsaRegisterPolicyChangeNotification and LsaUnregisterPolicyChangeNotification from lsalib to secur32, because these functions are exported by secur32.dll only.
- Add new LPC connection code to secur32.dll for use by non-logon related functions.
- Implement LsaEnumerateLogonSessions in secur32.dll and LsapEnumLogonSessions in lsasrv.dll.

svn path=/trunk/; revision=64266

9 years ago[NTFS]
Pierre Schweitzer [Thu, 25 Sep 2014 06:36:14 +0000 (06:36 +0000)]
[NTFS]
Compute index record size on mount and save it.

svn path=/trunk/; revision=64265

9 years ago[CRT]
Timo Kreuzer [Wed, 24 Sep 2014 23:12:34 +0000 (23:12 +0000)]
[CRT]
Add arm stub for __chkstk, dedicated to Z98

svn path=/trunk/; revision=64264

9 years ago[BUTTERFLIES]
Sylvain Petreolle [Wed, 24 Sep 2014 22:18:51 +0000 (22:18 +0000)]
[BUTTERFLIES]
Fix MSVC build.
Dedicated to Hermès :p

svn path=/trunk/; revision=64263

9 years ago[WIN32K]
Timo Kreuzer [Wed, 24 Sep 2014 21:27:47 +0000 (21:27 +0000)]
[WIN32K]
- Improve performance of XFORMOBJ_bXformFixPoints by getting the integer values from the FLOATOBJ once instead of on every iteration

svn path=/trunk/; revision=64261

9 years ago[WIN32K]
Timo Kreuzer [Wed, 24 Sep 2014 21:23:03 +0000 (21:23 +0000)]
[WIN32K]
- Implement REGION_SubtractRectFromRgn
- Rewrite NtGdiExcludeClipRect, fixing a number of gdi32 apitests

svn path=/trunk/; revision=64260

9 years ago[EVENTVWR][TELNET][USETUP]
Thomas Faber [Wed, 24 Sep 2014 21:05:29 +0000 (21:05 +0000)]
[EVENTVWR][TELNET][USETUP]
- Remove dead code. Patch by Kudratov Olimjon.
CORE-8545

svn path=/trunk/; revision=64259

9 years ago[WINED3D]
Thomas Faber [Wed, 24 Sep 2014 20:58:00 +0000 (20:58 +0000)]
[WINED3D]
- Use correct FXCAPS constant in wined3d_get_device_caps. Spotted by Kudratov Olimjon.
CORE-8545

svn path=/trunk/; revision=64258

9 years ago[NDK]: A few minor updates.
Alex Ionescu [Wed, 24 Sep 2014 16:00:35 +0000 (16:00 +0000)]
[NDK]: A few minor updates.

svn path=/trunk/; revision=64256

9 years ago[GDI32_APITEST]
Timo Kreuzer [Wed, 24 Sep 2014 08:35:30 +0000 (08:35 +0000)]
[GDI32_APITEST]
Add tests for ExcludeClipRect, convert tabs to spaces

svn path=/trunk/; revision=64254

9 years ago[WIN32K]
Jérôme Gardou [Tue, 23 Sep 2014 23:28:22 +0000 (23:28 +0000)]
[WIN32K]
 - Add a debug print to help, well..., debugging.

svn path=/trunk/; revision=64253

9 years ago[HIVESFT]
Jérôme Gardou [Tue, 23 Sep 2014 23:28:08 +0000 (23:28 +0000)]
[HIVESFT]
 - Add the AddTrust Certificate root.
Now Oracle servers can be reached with SSL.

svn path=/trunk/; revision=64252

9 years ago[NTVDM]: Fix the PC speaker frequency, that was an octave higher than normal for...
Hermès Bélusca-Maïto [Tue, 23 Sep 2014 21:04:05 +0000 (21:04 +0000)]
[NTVDM]: Fix the PC speaker frequency, that was an octave higher than normal for the pacman.com game of CORE-8436, as well as in Dave and Rescue-Rover (because they use PIT mode 3, aka. square wave), but was normal for Advanced Netwars (which uses PIT mode 2, aka. rate generator). Now all those games get correct sound frequency.

svn path=/trunk/; revision=64251

9 years ago[WIN32K]
Timo Kreuzer [Tue, 23 Sep 2014 21:01:47 +0000 (21:01 +0000)]
[WIN32K]
- Make sure to make a copy of DC attribute fields before checking / using them
- Avoid breaking DC flags in IntGdiSetMode on failure
- Fix some comments

svn path=/trunk/; revision=64250

9 years ago[WIN32K]
Timo Kreuzer [Tue, 23 Sep 2014 20:21:13 +0000 (20:21 +0000)]
[WIN32K]
- Modify REGION_CropAndOffsetRegion to return the region complexity
- Improve NtGdiIntersectClipRect to only allocate a new region, if we don't have one yet, otherwise crop it using REGION_CropAndOffsetRegion

svn path=/trunk/; revision=64249

9 years ago[MSPATCHA]
Amine Khaldi [Tue, 23 Sep 2014 19:48:41 +0000 (19:48 +0000)]
[MSPATCHA]
* Import from Wine 1.7.27.
CORE-8550 #comment mspatcha.dll added in r64248.
CORE-8540

svn path=/trunk/; revision=64248

9 years ago[WIN32K]
Timo Kreuzer [Tue, 23 Sep 2014 19:32:38 +0000 (19:32 +0000)]
[WIN32K]
- Improve GetClipBox (we have a RAO region, make use of that, no need to check for Clip or Meta region and combine them with the vis region) and fix coordinates (result must be in logical coordinate space!)

svn path=/trunk/; revision=64247

9 years ago[ADVAPI32]
Sylvain Petreolle [Tue, 23 Sep 2014 18:53:42 +0000 (18:53 +0000)]
[ADVAPI32]
Addendum to r29929 :
Services have 30 seconds to start.
Fixes VMware Tools service startup.

svn path=/trunk/; revision=64246

9 years ago[MSI_WINETEST]
Amine Khaldi [Tue, 23 Sep 2014 18:33:25 +0000 (18:33 +0000)]
[MSI_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64245

9 years ago[MSI]
Amine Khaldi [Tue, 23 Sep 2014 18:32:48 +0000 (18:32 +0000)]
[MSI]
* Sync with Wine 1.7.27. Dedicated to Jérôme.
CORE-8540

svn path=/trunk/; revision=64244

9 years ago[PSDK]
Amine Khaldi [Tue, 23 Sep 2014 18:27:36 +0000 (18:27 +0000)]
[PSDK]
* Add MSITRANSFORM_VALIDATE enum.
CORE-8540

svn path=/trunk/; revision=64243

9 years ago[NTOS/MM]
Jérôme Gardou [Tue, 23 Sep 2014 18:06:47 +0000 (18:06 +0000)]
[NTOS/MM]
 - Simplify and fix MmCopyVirtualMemory, where the processes where not correctly detached on failure.
Fixes a few "Process xyz.exe" is a zombie.

svn path=/trunk/; revision=64242

9 years ago[HIVESFT]
Jérôme Gardou [Tue, 23 Sep 2014 18:06:36 +0000 (18:06 +0000)]
[HIVESFT]
 - Remove some useless certificates
 - Add the relevant root certificates for reactos.org and google.com

svn path=/trunk/; revision=64241

9 years ago[D3D8][D3D9][DDRAW][WINED3D]
Amine Khaldi [Tue, 23 Sep 2014 17:50:22 +0000 (17:50 +0000)]
[D3D8][D3D9][DDRAW][WINED3D]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64240

9 years ago[CMAKE/CLANG]
Amine Khaldi [Tue, 23 Sep 2014 17:44:42 +0000 (17:44 +0000)]
[CMAKE/CLANG]
* Enable PCH in Clang builds too now.
CORE-8516

svn path=/trunk/; revision=64239

9 years ago[CMAKE]
Amine Khaldi [Tue, 23 Sep 2014 17:43:18 +0000 (17:43 +0000)]
[CMAKE]
* Use the full path of the PCH file when including it.

svn path=/trunk/; revision=64238

9 years ago[NTDLL/LDR]
Jérôme Gardou [Tue, 23 Sep 2014 11:32:50 +0000 (11:32 +0000)]
[NTDLL/LDR]
 - Mark module entries as "load in progress" when pinning them.
CORE-7819 #comment Committed, as a lot of applications rely on this. Feel free to revert if you feel the change is not correct.

svn path=/trunk/; revision=64237

9 years ago[GDI32_APITEST]
Timo Kreuzer [Tue, 23 Sep 2014 11:16:56 +0000 (11:16 +0000)]
[GDI32_APITEST]
- Add tests for GetClipBox

svn path=/trunk/; revision=64236

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Mon, 22 Sep 2014 23:34:41 +0000 (23:34 +0000)]
[NTVDM]
Implement INT 10h, AH=0Bh function 01 (Set Palette) (for CGA modes), and half-plement INT 10h, AH=0Bh function 00 (Set Background/border color), adapted from DosBox.
The code needs a bit of cleaning.
Needed for a certain Pacman game :)

CORE-8436 #resolve #comment Fixed ;)

svn path=/trunk/; revision=64235

9 years ago[KSECDD]
Timo Kreuzer [Mon, 22 Sep 2014 22:46:10 +0000 (22:46 +0000)]
[KSECDD]
CORE-8542 #comment Disable read of performance counters until it has been investigated, what the exact CPU requirements are and how we can detect them. This will only lower the amount "random" entropy data, nothing severe. Should fix bugcheck on qemu.

svn path=/trunk/; revision=64234

9 years ago[NTFS]
Pierre Schweitzer [Mon, 22 Sep 2014 20:26:21 +0000 (20:26 +0000)]
[NTFS]
Also add missing defines about index size and index header for INDEX_ROOT attribute.
Implemented their support in NtfsDumpFileAttributes().

svn path=/trunk/; revision=64233

9 years ago[NTFS]
Pierre Schweitzer [Mon, 22 Sep 2014 19:59:45 +0000 (19:59 +0000)]
[NTFS]
Add missing defines about INDEX_ROOT attributes and collation rules.
Implemented their support in NtfsDumpFileAttributes().

Sources: http://ftp.kolibrios.org/users/Asper/docs/NTFS/ntfsdoc.html#attribute_index_root and Linux kernel.

svn path=/trunk/; revision=64232

9 years ago[FLTLIB]
Amine Khaldi [Mon, 22 Sep 2014 19:24:12 +0000 (19:24 +0000)]
[FLTLIB]
* Import from Wine 1.7.27.
CORE-8543 #resolve #comment Added in r64231.
CORE-8540

svn path=/trunk/; revision=64231

9 years ago[MSI]
Amine Khaldi [Mon, 22 Sep 2014 18:46:38 +0000 (18:46 +0000)]
[MSI]
* Remove some exports that do not exist in native.
* Reorder some exports.
CORE-8174

svn path=/trunk/; revision=64230

9 years ago[NTDLL_APITEST]
Jérôme Gardou [Mon, 22 Sep 2014 14:46:08 +0000 (14:46 +0000)]
[NTDLL_APITEST]
 - Add a test stressing the registry a lot. By "V".
ROSTESTS-141 #resolve #comment Committed, Thanks!

svn path=/trunk/; revision=64227

9 years ago[WIN32K]
Jérôme Gardou [Mon, 22 Sep 2014 14:33:06 +0000 (14:33 +0000)]
[WIN32K]
 - Add some debug prints helping diagnosing which GDI objects are locked when they should not be.
 - Plug a region (lock) leak
 - Remove some dead code.

svn path=/trunk/; revision=64226

9 years ago[NTOS/CM]
Jérôme Gardou [Mon, 22 Sep 2014 07:43:06 +0000 (07:43 +0000)]
[NTOS/CM]
 - Return the right index when the root subleaf is found.
 - Let's pretend I was nice enough to make the cells lexically sorted when in fact I just corrected a stupid binary search.
WARNING: this breaks ntoskrnl reading hive files produced before this revision. Sorry, this is a breaking change.
CORE-8524 #comment Committed, let's see what happens in the next days.

svn path=/trunk/; revision=64222

9 years ago[HELP]
Timo Kreuzer [Sun, 21 Sep 2014 22:21:09 +0000 (22:21 +0000)]
[HELP]
Fix russian resource file. Patch by gonzoMD

svn path=/trunk/; revision=64221

9 years ago[uxtheme]
Christoph von Wittich [Sun, 21 Sep 2014 17:54:33 +0000 (17:54 +0000)]
[uxtheme]
fix typos

svn path=/trunk/; revision=64220

9 years ago[WIN32K]
Jérôme Gardou [Sun, 21 Sep 2014 17:44:40 +0000 (17:44 +0000)]
[WIN32K]
 - Introduce the base of what should become a proper user object manager, with proper refcounting, handle management, cleanup callbacks and inter-object referencing.
Approved by Jim and Giannis.
CORE-8539 #resolve

svn path=/trunk/; revision=64219

9 years ago[AMSTREAM_WINETEST]
Amine Khaldi [Sun, 21 Sep 2014 17:43:12 +0000 (17:43 +0000)]
[AMSTREAM_WINETEST]
* Sync with Wine 1.7.27. A huge patch that demonstrates how much work has been done on this module.. I mean reduce diff to Wine ;p
CORE-8540

svn path=/trunk/; revision=64218

9 years ago[AMSTREAM]
Amine Khaldi [Sun, 21 Sep 2014 17:28:06 +0000 (17:28 +0000)]
[AMSTREAM]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64217

9 years ago[STRMBASE]
Amine Khaldi [Sun, 21 Sep 2014 17:18:11 +0000 (17:18 +0000)]
[STRMBASE]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64216

9 years ago[INCLUDES/WINE]
Amine Khaldi [Sun, 21 Sep 2014 17:13:18 +0000 (17:13 +0000)]
[INCLUDES/WINE]
* Update strmbase.h.
CORE-8540

svn path=/trunk/; revision=64215

9 years ago[TRANSLATIONS]
Amine Khaldi [Sun, 21 Sep 2014 16:14:12 +0000 (16:14 +0000)]
[TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=64213

9 years ago[HAL]
Timo Kreuzer [Sun, 21 Sep 2014 16:00:27 +0000 (16:00 +0000)]
[HAL]
Fix some function prototypes and avoid real ugly casts

svn path=/trunk/; revision=64212

9 years ago[NTDLL_WINETEST]
Amine Khaldi [Sat, 20 Sep 2014 20:08:51 +0000 (20:08 +0000)]
[NTDLL_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64209

9 years ago[PSDK]
Amine Khaldi [Sat, 20 Sep 2014 20:08:19 +0000 (20:08 +0000)]
[PSDK]
* Add missing FILE_PIPE_INFORMATION.

svn path=/trunk/; revision=64208

9 years ago[PSDK]
Amine Khaldi [Sat, 20 Sep 2014 19:38:33 +0000 (19:38 +0000)]
[PSDK]
* Add some missing definitions.
* Update SYSGEOTYPE.

svn path=/trunk/; revision=64207

9 years ago[KERNEL32_WINETEST]
Amine Khaldi [Sat, 20 Sep 2014 19:35:24 +0000 (19:35 +0000)]
[KERNEL32_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64206

9 years ago[WPP]
Amine Khaldi [Sat, 20 Sep 2014 18:53:11 +0000 (18:53 +0000)]
[WPP]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64205

9 years ago[UNICODE]
Amine Khaldi [Sat, 20 Sep 2014 18:37:02 +0000 (18:37 +0000)]
[UNICODE]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64204

9 years ago[DBGHELP]
Amine Khaldi [Sat, 20 Sep 2014 18:06:09 +0000 (18:06 +0000)]
[DBGHELP]
* Work around a Clang bug w.r.t. dwarf emission. Brought to you by the mighty Arty.
CORE-8516 #comment Now ReactOS can compile a bootcd with Clang, and it boots to shell. Only some PSEH bug(s) remain for it to be fully functional and ready for testman (I'm looking at you, Timo ;) )

svn path=/trunk/; revision=64203

9 years ago[CMAKE/CLANG]
Amine Khaldi [Sat, 20 Sep 2014 17:36:37 +0000 (17:36 +0000)]
[CMAKE/CLANG]
* Properly initialize compiler flags.
CORE-8516

svn path=/trunk/; revision=64202

9 years ago[SAMSRV]
Eric Kohl [Sat, 20 Sep 2014 13:45:12 +0000 (13:45 +0000)]
[SAMSRV]
Fix some really stupid typos.

svn path=/trunk/; revision=64201

9 years ago[WIN32K]
Jérôme Gardou [Fri, 19 Sep 2014 21:10:56 +0000 (21:10 +0000)]
[WIN32K]
 - revert r64197 and r64198

svn path=/trunk/; revision=64200

9 years ago[RPCRT4]
Eric Kohl [Fri, 19 Sep 2014 20:30:17 +0000 (20:30 +0000)]
[RPCRT4]
Addendum to r64053.
Fix EmbeddedPointerFree too. Patch by Alexandre Julliard.

svn path=/trunk/; revision=64199

9 years ago[WIN32K]
Jérôme Gardou [Fri, 19 Sep 2014 18:55:22 +0000 (18:55 +0000)]
[WIN32K]
 - Embarassing addendum to r64197

svn path=/trunk/; revision=64198

9 years ago[WIN32K]
Jérôme Gardou [Fri, 19 Sep 2014 18:21:06 +0000 (18:21 +0000)]
[WIN32K]
 - Allocate the the queue client event as a KERNEL_HANDLE
CORE-8539

svn path=/trunk/; revision=64197

9 years ago[GDI32]
Thomas Faber [Fri, 19 Sep 2014 17:51:04 +0000 (17:51 +0000)]
[GDI32]
- Fix MSVC build

svn path=/trunk/; revision=64196

9 years ago[OLEAUT32]
Thomas Faber [Fri, 19 Sep 2014 14:35:56 +0000 (14:35 +0000)]
[OLEAUT32]
- Sync MSVC version of call_method with GCC version. Patch by Timo Kreuzer.

svn path=/trunk/; revision=64195

9 years ago[PSEH3]
Thomas Faber [Fri, 19 Sep 2014 13:59:13 +0000 (13:59 +0000)]
[PSEH3]
- Don't clobber ebx in __SEH3$_RegisterTryLevelWithNonVolatiles (addendum to r64132)

svn path=/trunk/; revision=64194

9 years ago[WIN32K]
Jérôme Gardou [Thu, 18 Sep 2014 14:26:59 +0000 (14:26 +0000)]
[WIN32K]
 - Check the right variable for error condition

svn path=/trunk/; revision=64193

9 years ago[NTOSKRNL/AMD64]
Timo Kreuzer [Thu, 18 Sep 2014 14:10:41 +0000 (14:10 +0000)]
[NTOSKRNL/AMD64]
Actually revert the change to KiRaiseAssertion, it was correct before

svn path=/trunk/; revision=64192

9 years ago[NTOSKRNL/AMD64]
Timo Kreuzer [Thu, 18 Sep 2014 14:06:31 +0000 (14:06 +0000)]
[NTOSKRNL/AMD64]
- Fix trap flags in KiRaiseAssertion
- Add some asm debugcode

svn path=/trunk/; revision=64191

9 years ago[WIN32K]
Jérôme Gardou [Thu, 18 Sep 2014 13:27:02 +0000 (13:27 +0000)]
[WIN32K]
 - Fix error handling in NtGdiPathToRegion

svn path=/trunk/; revision=64190

9 years ago[WIN32K]
Jérôme Gardou [Thu, 18 Sep 2014 13:26:55 +0000 (13:26 +0000)]
[WIN32K]
 - Do not make callouts to user-mode while holding a lock on GDI objects.
Fixes crashes in user32_winetest:win and :msg

svn path=/trunk/; revision=64189

9 years ago[USER32_WINETEST]
Jérôme Gardou [Thu, 18 Sep 2014 13:04:59 +0000 (13:04 +0000)]
[USER32_WINETEST]
 - Compile as a GUI app

svn path=/trunk/; revision=64188

9 years ago[WIN32K]
Jérôme Gardou [Thu, 18 Sep 2014 12:09:19 +0000 (12:09 +0000)]
[WIN32K]
 - Enable all debug channels if DEBUGCHANNEL is set to "+all".
 - Fix GDI objects exclusive locks counting, fixing a memory corruption altogether.
 - Add a missing lock release on error path.
 - Add a debug print.

svn path=/trunk/; revision=64187

9 years ago[RTL]
Timo Kreuzer [Thu, 18 Sep 2014 10:39:54 +0000 (10:39 +0000)]
[RTL]
- Implement RtlpCloseRegistryHandle helper, which closes a registry key, if RTL_REGISTRY_HANDLE was not passed as RelativeTo
- Use RtlpCloseRegistryHandle whereever required, fixing some cases, where we unconditionally closed the handle

svn path=/trunk/; revision=64186

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Thu, 18 Sep 2014 00:16:17 +0000 (00:16 +0000)]
[NTVDM]
- Add dummy INT 18h (ROM Basic) and INT 19h (Bootstrap loader) interrupts. If INT 18h will never be implemented, INT 19h can be used one day...
- Add the standard bootstrap code snippets at F000:FFF0 and F000:E05B.
- For compatibility purposes, and nice info reporting via tools like Microsoft Diagnostics, or Symantec SysInfo, or whatever else..., register nice BIOS Copyright and Version strings. Also add a version string at the end of the BIOS.
- Fix our reported BIOS model.
- Add some temporary documentation (from Bochs BIOS) about the ROM BIOS compatibility entry-points that some apps may use (instead of passing through more documented & standard interfaces).

svn path=/trunk/; revision=64185

9 years ago[KERNEL32]
Timo Kreuzer [Wed, 17 Sep 2014 22:54:06 +0000 (22:54 +0000)]
[KERNEL32]
Update spec file with x64 specific functions

svn path=/trunk/; revision=64184

9 years ago[NTVDM]: Improve some dprints.
Hermès Bélusca-Maïto [Wed, 17 Sep 2014 21:22:04 +0000 (21:22 +0000)]
[NTVDM]: Improve some dprints.

svn path=/trunk/; revision=64183

9 years ago[USER32]
Jérôme Gardou [Wed, 17 Sep 2014 15:08:23 +0000 (15:08 +0000)]
[USER32]
 - Delete region on error path.
[WIN32SS]
 - Improve/add a few debug prints.

svn path=/trunk/; revision=64182

9 years ago[UXTHEME]
Jérôme Gardou [Wed, 17 Sep 2014 15:08:13 +0000 (15:08 +0000)]
[UXTHEME]
 - Allocate resources after the quick-return path

svn path=/trunk/; revision=64181

9 years ago[WIN32K]
Jérôme Gardou [Wed, 17 Sep 2014 12:12:28 +0000 (12:12 +0000)]
[WIN32K]
 - Silence a forgotten and very noisy DPRINT.

svn path=/trunk/; revision=64180

9 years ago[WIN32K]
Jérôme Gardou [Wed, 17 Sep 2014 12:01:34 +0000 (12:01 +0000)]
[WIN32K]
 - Return empty region in DceGetVisRgn if there is nothing to return.

svn path=/trunk/; revision=64179

9 years ago[WIN32K]
Jérôme Gardou [Wed, 17 Sep 2014 11:40:21 +0000 (11:40 +0000)]
[WIN32K]
 - Fix user-mode region attribute handling in IntGdiSetRegionOwner.

svn path=/trunk/; revision=64178

9 years ago[WIN32K]
Jérôme Gardou [Wed, 17 Sep 2014 09:54:27 +0000 (09:54 +0000)]
[WIN32K]
 - Slap *a bit* of sense in the way we use region objects and handles, avoiding a massive orgy of handle allocations, locks, leaks and so on.
The motto here being "if you don't need a valid user-mode handle, then chances are that you don't need one at all."
CORE-8506 #resolve #comment Stale region handles should not be passed anymore to user-mode apps now.

svn path=/trunk/; revision=64177

9 years ago[GDI32]
Jérôme Gardou [Wed, 17 Sep 2014 09:54:14 +0000 (09:54 +0000)]
[GDI32]
 - Fix up values got from win32k in GetOutlineTextMetrics and do not fail if the provided buffersize is only sizeof(OUTLINETEXTMETRICW).
CORE-8507 #resolve

svn path=/trunk/; revision=64176

9 years ago[NTDLL]
Timo Kreuzer [Tue, 16 Sep 2014 20:40:33 +0000 (20:40 +0000)]
[NTDLL]
- Add Etw trace api stubs (moved from avdapi32)
- Add exports for Etw* functions

[ADVAPI32]
- Add forwarders of trace api functions to ntdll Etw* functions

svn path=/trunk/; revision=64172

9 years ago[NTVDM]: We can specify device "command" procedures for each PS/2 port so that when...
Hermès Bélusca-Maïto [Tue, 16 Sep 2014 18:54:50 +0000 (18:54 +0000)]
[NTVDM]: We can specify device "command" procedures for each PS/2 port so that when one writes to port 0x60, one can write to the correct device "plugged" into it (keyboard, mouse). modularity++;

svn path=/trunk/; revision=64171

9 years ago[NTOS]: Do not break into kdbg because PopFlushVolumes is not fully implemented....
Hermès Bélusca-Maïto [Tue, 16 Sep 2014 18:43:16 +0000 (18:43 +0000)]
[NTOS]: Do not break into kdbg because PopFlushVolumes is not fully implemented. Fixes apparent BSOD when trying the "Hibernate" and "Stand By" options in the Task Manager.
CORE-8537 #resolve #comment Demote UNIMPLEMENTED_DBGBREAK for UNIMPLEMENTED in the non-implemented case of PopFlushVolumes. Fixes the apparent BSOD.

svn path=/trunk/; revision=64170

9 years ago[SAMSRV]
Eric Kohl [Tue, 16 Sep 2014 10:32:04 +0000 (10:32 +0000)]
[SAMSRV]
SampRemoveUserFromAllGroups:
- Do not treat a STATUS_MEMBER_NOT_IN_GROUP, returned by SampRemoveMemberFromGroup, as error but as success.
- Clear the Groups attribute at the end.

svn path=/trunk/; revision=64169

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 16 Sep 2014 00:51:15 +0000 (00:51 +0000)]
[NTVDM]
- Move the mouse driver to DOS since it's our 32bit version of mouse.com, in some sense,
- Temporarily disable the mouse user callbacks because currently they went called in a parallel thread than the CPU one, that caused CPU corruption,
- In the same way we currently trigger IRQ1 interrupts, we do the same for IRQ12,
- Make the console input pump more modular (and mouse presence detection code is WIP),
- Put keyboard code into a dedicated file (as done for the mouse),
- Adapt the existing PS/2 emulation code to support two PS/2 ports controlled by 1 controller. Please note that some documentations precise that the response byte (answer to a PS/2 controller command) is written directly to the PS/2 output port.

svn path=/trunk/; revision=64168

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Tue, 16 Sep 2014 00:25:40 +0000 (00:25 +0000)]
[NTVDM]
- Code formatting and precise an info in a comment,
- Remove an unneeded commented call, and
- Mention that INT 15h functions C1h and C2h need to be implemented for PS/2 support.

svn path=/trunk/; revision=64167

9 years ago[KDGDB]
Jérôme Gardou [Mon, 15 Sep 2014 22:05:21 +0000 (22:05 +0000)]
[KDGDB]
 - As pid and tid 0 have a special meaning in GDB, use off-by-one thread and process ID when communicating with it
 - Properly read registers and memory from foreign thread and processes. (This time it was tested and proved to work reliably. __writecr3 ftw!)
 - Loop the list of processes and threads when trying to find them from ID, as PsLookupProessByThreadId and friends can't be used since we can be at any IRQL.
 - Add a few more debug prints to help diagnosing problems.
CORE-8531

svn path=/trunk/; revision=64166

9 years ago[hivesys.inf]
Timo Kreuzer [Mon, 15 Sep 2014 21:42:47 +0000 (21:42 +0000)]
[hivesys.inf]
Fix a typo.

svn path=/trunk/; revision=64165

9 years ago[ADVAPI32_APITEST]
Timo Kreuzer [Mon, 15 Sep 2014 21:08:00 +0000 (21:08 +0000)]
[ADVAPI32_APITEST]
- Fix linux build

svn path=/trunk/; revision=64164

9 years ago[KSECDD]
Timo Kreuzer [Mon, 15 Sep 2014 21:05:38 +0000 (21:05 +0000)]
[KSECDD]
- Implement Encrypt / DecryptMemory in KSecDD (it uses AES for 16 byte aligned sizes, and 3DES for 8 byte aligned sizes)
- Install KSecDD
- Actually use KSecDD for Encryption from advapi32

svn path=/trunk/; revision=64163

9 years ago[ADVAPI32_APITEST]
Timo Kreuzer [Mon, 15 Sep 2014 21:04:03 +0000 (21:04 +0000)]
[ADVAPI32_APITEST]
- Add tests for RtlEncrypt/DecryptMemory

svn path=/trunk/; revision=64162

9 years ago[RAPPS]
Daniel Reimer [Mon, 15 Sep 2014 20:10:09 +0000 (20:10 +0000)]
[RAPPS]
Update Database for Kiel.
Add Foxit Reader to Database.

svn path=/trunk/; revision=64161

9 years ago[BOOTDATA]
Eric Kohl [Mon, 15 Sep 2014 12:25:45 +0000 (12:25 +0000)]
[BOOTDATA]
Set MaxSize and Retention for event logs.

svn path=/trunk/; revision=64160

9 years ago[EVENTLOG]
Eric Kohl [Mon, 15 Sep 2014 12:16:46 +0000 (12:16 +0000)]
[EVENTLOG]
- Read MaxSize and Retention from the Registry when a new log file is created.
- Use ntdll file functions instead of their kernel32 counterparts.

svn path=/trunk/; revision=64159

9 years ago[HAL]
Thomas Faber [Mon, 15 Sep 2014 10:58:53 +0000 (10:58 +0000)]
[HAL]
- Don't use svn:eol-style = native for PCI ids but then have the code expect CRLF. Should fix all devices being "Unknown device" on Unix builds.

svn path=/trunk/; revision=64158

9 years ago[PSDK]: Fix some structure definitions.
Hermès Bélusca-Maïto [Mon, 15 Sep 2014 00:07:46 +0000 (00:07 +0000)]
[PSDK]: Fix some structure definitions.

svn path=/trunk/; revision=64157

9 years ago[KDGDB]
Jérôme Gardou [Sun, 14 Sep 2014 22:50:10 +0000 (22:50 +0000)]
[KDGDB]
 - Fix an embarassing works-for-me but uncommited cast.
 - Add support for reading registers and memory from foreign threads. Highly experimental and nearly untested, use at your own risk.

svn path=/trunk/; revision=64156

9 years ago[DDK]
Jérôme Gardou [Sun, 14 Sep 2014 22:41:27 +0000 (22:41 +0000)]
[DDK]
 - Addendum to r64151
Complain on IRC, then complain on ros-dev, then steal fixes from your peers, then do as if nothing happened.

svn path=/trunk/; revision=64155

9 years ago[KDGDB]
Jérôme Gardou [Sun, 14 Sep 2014 20:45:30 +0000 (20:45 +0000)]
[KDGDB]
 - Always pass down the result of gdb_receive_packet up to KD, so that it knows when a breakin packet was received. (CTRL-C) now works!
 - Generalize the use of the Send <-> ManipulateState callbacks for a better code reading.
 - Get the exception context as soon as it is thrown (instead of playing with the PRCB)
 - Improve the way we attach to GDB: on the first KD call, we set KdContext->ControlCPending so that KD throws an exception. That way we can first initialize our KD stuff, and then quietly attach to GDB
 - Implement the 'p' (get one register) GDB request.
GDB is now much more reliable.

svn path=/trunk/; revision=64154