reactos.git
8 years ago[DEVMGR]
Ged Murphy [Mon, 19 Oct 2015 13:52:12 +0000 (13:52 +0000)]
[DEVMGR]
- Implement the add new hardware wizard
- fix stray header
CORE-10363

svn path=/trunk/; revision=69619

8 years agoMissed this file. Having a shocker today...
Ged Murphy [Mon, 19 Oct 2015 11:17:14 +0000 (11:17 +0000)]
Missed this file. Having a shocker today...

svn path=/trunk/; revision=69618

8 years ago[DEVMGR]
Ged Murphy [Mon, 19 Oct 2015 11:07:19 +0000 (11:07 +0000)]
[DEVMGR]
- Fixup a few missing languages. Hopefully I got them all this time.
- Add a new line to the end of the resources to keep msvc happy

svn path=/trunk/; revision=69617

8 years ago[DEVMGR]
Ged Murphy [Mon, 19 Oct 2015 10:55:22 +0000 (10:55 +0000)]
[DEVMGR]
- Add the missing resources and reinstate all languages.
- The new additions need translating

svn path=/trunk/; revision=69616

8 years ago[DEVMGR]
Ged Murphy [Mon, 19 Oct 2015 08:48:24 +0000 (08:48 +0000)]
[DEVMGR]
Add missing changes files

svn path=/trunk/; revision=69615

8 years ago[DEVMGR]
Ged Murphy [Mon, 19 Oct 2015 08:45:48 +0000 (08:45 +0000)]
[DEVMGR]
- Implement updating the device from the toolbar
- Add a message before uninstalling a device. Dedicated to Jared Smudde.

svn path=/trunk/; revision=69614

8 years ago[HAL]
Thomas Faber [Mon, 19 Oct 2015 08:00:47 +0000 (08:00 +0000)]
[HAL]
- Don't probe for EISA DMA capability on non-EISA machines (i.e. currently never). Patch by Andrey Kudravets.
CORE-9895 #resolve

svn path=/trunk/; revision=69613

8 years ago[DEVMGR]
Ged Murphy [Mon, 19 Oct 2015 07:04:17 +0000 (07:04 +0000)]
[DEVMGR]
- Explicitly state that we want to build DllMain without name mangling
See issue 10347 for more details.

svn path=/trunk/; revision=69612

8 years ago[SNDREC32] Improve the applications icon. By Henry Tang Ih. CORE-69611
Robert Naumann [Sun, 18 Oct 2015 22:43:14 +0000 (22:43 +0000)]
[SNDREC32] Improve the applications icon. By Henry Tang Ih. CORE-69611

svn path=/trunk/; revision=69611

8 years ago[SHELL32] Improve the recent documents icon. By Jared Smudde. CORE-10281
Robert Naumann [Sun, 18 Oct 2015 22:39:36 +0000 (22:39 +0000)]
[SHELL32] Improve the recent documents icon. By Jared Smudde. CORE-10281

svn path=/trunk/; revision=69610

8 years ago[USETUP] Add Malay translation. Patch by Henry Tang Ih with some additions by me...
Robert Naumann [Sun, 18 Oct 2015 22:32:44 +0000 (22:32 +0000)]
[USETUP] Add Malay translation. Patch by Henry Tang Ih with some additions by me. (Adding the missing strings is good, but you also have to tell ROS that it have to be used them) CORE-9890

svn path=/trunk/; revision=69609

8 years ago[KERNEL32]
Hermès Bélusca-Maïto [Sun, 18 Oct 2015 22:00:29 +0000 (22:00 +0000)]
[KERNEL32]
- GlobalMemoryStatusEx: Correctly compute ullTotalPageFile which should be in bytes, instead of in number of pages. Patch by contributor "kkat". CORE-10361
- GlobalMemoryStatusEx: Fail if the stored length in the data buffer is not what is expected by the API (required by the spec, see MSDN; on the contrary, GlobalMemoryStatus does not require that.)
- GlobalMemoryStatus: Correctly round up the reported total/available memory values, in case they are bigger than ~= 2GB.

svn path=/trunk/; revision=69608

8 years ago[the_other_devmgmt] Convert the bootstrap app back to C.
Hermès Bélusca-Maïto [Sun, 18 Oct 2015 21:27:23 +0000 (21:27 +0000)]
[the_other_devmgmt] Convert the bootstrap app back to C.

svn path=/trunk/; revision=69607

8 years ago(devmgmt) whitespace fix only.
Hermès Bélusca-Maïto [Sun, 18 Oct 2015 21:26:25 +0000 (21:26 +0000)]
(devmgmt) whitespace fix only.

svn path=/trunk/; revision=69606

8 years ago[MSCONFIG_NEW] C++ is coming. Resistance is futile.
Amine Khaldi [Sun, 18 Oct 2015 17:10:38 +0000 (17:10 +0000)]
[MSCONFIG_NEW] C++ is coming. Resistance is futile.

svn path=/trunk/; revision=69605

8 years ago[MSCONFIG_NEW]
Hermès Bélusca-Maïto [Sun, 18 Oct 2015 16:55:31 +0000 (16:55 +0000)]
[MSCONFIG_NEW]
- Fix duplicated resources.
- Implement the Tools tab. It reads the list of available tools (and their localized names & description) from an internal XML file. It can also load an external user-defined XML list of tools; see KB906569 for a description of what it is.
- XML stuff is implemented using COM. It is far easier to use COM with C++ than with C, hence the tools tab code and the XML parser are compiled as C++ whereas everything else is compiled in C. Therefore at the moment msconfig is hybrid C/C++; this is done using CMake magic.
CORE-9333

svn path=/trunk/; revision=69604

8 years ago[COMSUPP]: ConvertStringToBSTR and ConvertBSTRToString really work only on ANSI strings.
Hermès Bélusca-Maïto [Sun, 18 Oct 2015 16:44:56 +0000 (16:44 +0000)]
[COMSUPP]: ConvertStringToBSTR and ConvertBSTRToString really work only on ANSI strings.

svn path=/trunk/; revision=69603

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 18 Oct 2015 16:09:11 +0000 (16:09 +0000)]
[NTOSKRNL]
Don't keep spining forever in CcRosFlushDirtyPages() when flushing a dirty VACB fails on a RO volume.
This can be triggered with extX volumes and can prevent shutdown from succeeding

svn path=/trunk/; revision=69602

8 years ago[CONFIGURE.SH]
Pierre Schweitzer [Sun, 18 Oct 2015 15:47:20 +0000 (15:47 +0000)]
[CONFIGURE.SH]
Modify the script to take into account that now, host-tools are no longer required.

Because it needs RosBE 2.1.2 (update guys!) still provide a fallback method to allow using old build method with host-tools. In case you need it, just call configure.sh with-host-tools

svn path=/trunk/; revision=69601

8 years agoUSETUP: Do not ask to select language if just one language is available
Eric Kohl [Sun, 18 Oct 2015 13:52:51 +0000 (13:52 +0000)]
USETUP: Do not ask to select language if just one language is available
Patch by Carlo Bramini. Thanks a lot!
CORE-10322 #resolve

svn path=/trunk/; revision=69600

8 years ago[URLMON_WINETEST]
Thomas Faber [Sun, 18 Oct 2015 13:13:44 +0000 (13:13 +0000)]
[URLMON_WINETEST]
- Cancel the test if a failure situation is detected that will lead to a timeout
ROSTESTS-192
CORE-10360

svn path=/trunk/; revision=69599

8 years ago[MSAFD]
Eric Kohl [Sun, 18 Oct 2015 12:45:49 +0000 (12:45 +0000)]
[MSAFD]
TranslateNtStatusError: Translate STATUS_ACCESS_DENIED.
Patch by Jacob S. Preciado. Thanks a lot!
CORE-10290 #resolve

svn path=/trunk/; revision=69598

8 years ago[CMAKE] Enable the new style build by default. CORE-10121
Amine Khaldi [Sun, 18 Oct 2015 11:29:34 +0000 (11:29 +0000)]
[CMAKE] Enable the new style build by default. CORE-10121

svn path=/trunk/; revision=69597

8 years ago[CMAKE] We don't need this case anymore.
Amine Khaldi [Sun, 18 Oct 2015 11:21:56 +0000 (11:21 +0000)]
[CMAKE] We don't need this case anymore.

svn path=/trunk/; revision=69596

8 years ago[TRANSLATIONS] Traditional Chinese (zh-TW) translation update by Henry Tang Ih. CORE...
Amine Khaldi [Sun, 18 Oct 2015 11:19:05 +0000 (11:19 +0000)]
[TRANSLATIONS] Traditional Chinese (zh-TW) translation update by Henry Tang Ih. CORE-10001

svn path=/trunk/; revision=69595

8 years ago[WINE]
Thomas Faber [Sun, 18 Oct 2015 10:51:47 +0000 (10:51 +0000)]
[WINE]
- Make some test.h functions usable in apitests aka fix build

svn path=/trunk/; revision=69594

8 years ago[ATL]
Thomas Faber [Sun, 18 Oct 2015 10:46:11 +0000 (10:46 +0000)]
[ATL]
- Add CComHeapPtr implementation and tests. Patch by Mark Jansen.
CORE-10344 #resolve

svn path=/trunk/; revision=69593

8 years ago[BOOTLIB]
Thomas Faber [Sun, 18 Oct 2015 10:20:56 +0000 (10:20 +0000)]
[BOOTLIB]
- Correctly check ConsoleRemoteConstruct return value in ConsoleCreateRemoteConsole. Patch by Kudratov Olimjon.
CORE-10357 #resolve

svn path=/trunk/; revision=69592

8 years ago[WINDOWSCODECS]
Thomas Faber [Sun, 18 Oct 2015 09:45:12 +0000 (09:45 +0000)]
[WINDOWSCODECS]
- Fix some MSVC warnings

svn path=/trunk/; revision=69591

8 years ago[RTL]
Thomas Faber [Sun, 18 Oct 2015 09:32:52 +0000 (09:32 +0000)]
[RTL]
- Add missing OBJ_KERNEL_HANDLE in RtlOpenCurrentUser
CORE-10207

svn path=/trunk/; revision=69590

8 years ago[LIBXML]
Thomas Faber [Sun, 18 Oct 2015 08:39:56 +0000 (08:39 +0000)]
[LIBXML]
- Fix VS2013 build

svn path=/trunk/; revision=69589

8 years ago[LIBXML]
Thomas Faber [Sun, 18 Oct 2015 08:32:42 +0000 (08:32 +0000)]
[LIBXML]
- Fix MSVC incompatible declaration warning
- Silence MSVC unused variable warnings
- Get config.h slightly more in sync with upstream

svn path=/trunk/; revision=69588

8 years ago[CMAKE]
Thomas Faber [Sun, 18 Oct 2015 07:56:27 +0000 (07:56 +0000)]
[CMAKE]
- Reserve some more space for ntdll so that we're compatible with Windows's version (base 0x7c910000). Should fix VMware Hybrid builder

svn path=/trunk/; revision=69587

8 years ago[EXT2FS]
Thomas Faber [Sun, 18 Oct 2015 07:32:09 +0000 (07:32 +0000)]
[EXT2FS]
- Fix warnings

svn path=/trunk/; revision=69586

8 years ago[NTSTATUS]
Thomas Faber [Sun, 18 Oct 2015 07:05:14 +0000 (07:05 +0000)]
[NTSTATUS]
- Add some more status codes
CORE-8373

svn path=/trunk/; revision=69585

8 years ago[BUGCODES]
Thomas Faber [Sun, 18 Oct 2015 06:31:20 +0000 (06:31 +0000)]
[BUGCODES]
- Correct broken bug check code entry aka fix build

svn path=/trunk/; revision=69584

8 years ago[BUGCODES]
Thomas Faber [Sun, 18 Oct 2015 06:26:51 +0000 (06:26 +0000)]
[BUGCODES]
- Add some more bug check codes

svn path=/trunk/; revision=69583

8 years ago[COMSUPP]: Fix string length computations.
Hermès Bélusca-Maïto [Sun, 18 Oct 2015 02:14:21 +0000 (02:14 +0000)]
[COMSUPP]: Fix string length computations.

svn path=/trunk/; revision=69582

8 years ago[COMSUPP]
Hermès Bélusca-Maïto [Sun, 18 Oct 2015 01:20:20 +0000 (01:20 +0000)]
[COMSUPP]
Implement _com_util::ConvertStringToBSTR and _com_util::ConvertBSTRToString (needed by _bstr_t and _variant_t classes), inspired by the remarks made in http://www.codeproject.com/Articles/1969/BUG-in-com-util-ConvertStringToBSTR-and-com-util i.e. without reproducing the bugs of MS version.

svn path=/trunk/; revision=69581

8 years ago[AUTOCHK]
Pierre Schweitzer [Sat, 17 Oct 2015 23:08:52 +0000 (23:08 +0000)]
[AUTOCHK]
Register the ExtX provider to avoid the autochk error message on boot when an ExtX volume is present

CORE-10272

svn path=/trunk/; revision=69580

8 years ago[SHELL32]
Pierre Schweitzer [Sat, 17 Oct 2015 23:01:19 +0000 (23:01 +0000)]
[SHELL32]
Enable formatting a Ext volume from GUI.

Patch by Peter Hater

svn path=/trunk/; revision=69579

8 years ago[FILESYSTEMS]
Pierre Schweitzer [Sat, 17 Oct 2015 22:40:14 +0000 (22:40 +0000)]
[FILESYSTEMS]
This wasn't meant to be committed.

svn path=/trunk/; revision=69578

8 years ago[FS_REC]
Pierre Schweitzer [Sat, 17 Oct 2015 22:39:13 +0000 (22:39 +0000)]
[FS_REC]
Implement ExtX support in FS_REC, this allows it to autoload ext2fs.sys

Starting with this revision, browsing ExtX volumes in ReactOS works without any other modifications.

Thanks to Peter Hater for his initial work and to Thomas for his reviews

svn path=/trunk/; revision=69577

8 years ago[EXT2]
Pierre Schweitzer [Sat, 17 Oct 2015 22:35:20 +0000 (22:35 +0000)]
[EXT2]
[EXT2_NEW]
Get rid of old ext2 driver and use new one

svn path=/trunk/; revision=69576

8 years ago[PSDK]
Pierre Schweitzer [Sat, 17 Oct 2015 22:32:13 +0000 (22:32 +0000)]
[PSDK]
Mark (old) Linux partitions (notably extX volumes) as recognized by ReactOS in IsRecognizedPartition()
This is only enabled when building ReactOS.Otherwise, it matches Windows definition.

svn path=/trunk/; revision=69575

8 years ago[EXT2_NEW]
Pierre Schweitzer [Sat, 17 Oct 2015 22:29:09 +0000 (22:29 +0000)]
[EXT2_NEW]
Fix Linux build

svn path=/trunk/; revision=69574

8 years ago[VIDEOPRT]
Thomas Faber [Sat, 17 Oct 2015 19:31:46 +0000 (19:31 +0000)]
[VIDEOPRT]
- Don't try to incorrectly and unnecessarily parse multiple resource descriptors
CORE-10146

svn path=/trunk/; revision=69573

8 years ago[NOTEPAD] Set Lucida Console as the default font. By Ismael Ferreras Morezuelas....
Amine Khaldi [Sat, 17 Oct 2015 19:01:40 +0000 (19:01 +0000)]
[NOTEPAD] Set Lucida Console as the default font. By Ismael Ferreras Morezuelas. CORE-10316

svn path=/trunk/; revision=69572

8 years ago[NTOS:OB]
Thomas Faber [Sat, 17 Oct 2015 18:37:49 +0000 (18:37 +0000)]
[NTOS:OB]
- Create kernel handles if requested by the caller in ObDuplicateObject
CORE-10207

svn path=/trunk/; revision=69571

8 years ago[KMTESTS:OB]
Thomas Faber [Sat, 17 Oct 2015 17:41:43 +0000 (17:41 +0000)]
[KMTESTS:OB]
- Add a test showing that I was wrong and ZwDuplicateObject can get you a kernel handle after all
CORE-10207

svn path=/trunk/; revision=69570

8 years ago[NDIS]
Thomas Faber [Sat, 17 Oct 2015 16:24:14 +0000 (16:24 +0000)]
[NDIS]
- ZwDuplicateObject always returns user handles, so don't use it when we want a kernel handle.
CORE-10207

svn path=/trunk/; revision=69569

8 years ago[KMTESTS:OB]
Thomas Faber [Sat, 17 Oct 2015 16:11:12 +0000 (16:11 +0000)]
[KMTESTS:OB]
- Move handle tests from ObReference to ObHandle where they belong

svn path=/trunk/; revision=69568

8 years ago[KMTESTS]
Thomas Faber [Sat, 17 Oct 2015 15:56:52 +0000 (15:56 +0000)]
[KMTESTS]
- Sssh, these tests are secret

svn path=/trunk/; revision=69567

8 years ago[KMTESTS:OB]
Thomas Faber [Sat, 17 Oct 2015 15:50:25 +0000 (15:50 +0000)]
[KMTESTS:OB]
- Add ObHandle test that verifies a couple ZwDuplicateObject behaviors

svn path=/trunk/; revision=69566

8 years ago[TRANSLATIONS] Turkish translation update by Erdem Ersoy. CORE-10276
Amine Khaldi [Sat, 17 Oct 2015 14:51:49 +0000 (14:51 +0000)]
[TRANSLATIONS] Turkish translation update by Erdem Ersoy. CORE-10276

svn path=/trunk/; revision=69565

8 years ago[RAPPS] Turkish translation update by Erdem Ersoy. CORE-10276
Amine Khaldi [Sat, 17 Oct 2015 14:48:20 +0000 (14:48 +0000)]
[RAPPS] Turkish translation update by Erdem Ersoy. CORE-10276

svn path=/trunk/; revision=69564

8 years ago[GDI32] Improve the FILE header section. Brought to you by Adam Stachowicz. CORE...
Amine Khaldi [Sat, 17 Oct 2015 14:41:47 +0000 (14:41 +0000)]
[GDI32] Improve the FILE header section. Brought to you by Adam Stachowicz. CORE-10114

svn path=/trunk/; revision=69563

8 years ago[GDI32] Use NtGdiGetGlyphIndicesW() in GetCharacterPlacementW() as we do have it...
Amine Khaldi [Sat, 17 Oct 2015 14:37:35 +0000 (14:37 +0000)]
[GDI32] Use NtGdiGetGlyphIndicesW() in GetCharacterPlacementW() as we do have it. Fixes OpenOffice: v1.x.x garbled text. Brought to you by Vort. CORE-867

svn path=/trunk/; revision=69562

8 years ago[WIN32K][PSDK] Correct NtGdiGetGlyphIndicesW() pwc type. Brought to you by Vort....
Amine Khaldi [Sat, 17 Oct 2015 14:35:14 +0000 (14:35 +0000)]
[WIN32K][PSDK] Correct NtGdiGetGlyphIndicesW() pwc type. Brought to you by Vort. CORE-867

svn path=/trunk/; revision=69561

8 years ago[TRANSLATIONS] Spanish translation update by Ismael Ferreras Morezuelas. CORE-10325
Amine Khaldi [Sat, 17 Oct 2015 14:07:04 +0000 (14:07 +0000)]
[TRANSLATIONS] Spanish translation update by Ismael Ferreras Morezuelas. CORE-10325

svn path=/trunk/; revision=69560

8 years ago[NDK]: Add PsGetThreadFreezeCount declaration. Dedicated to James Tabor.
Hermès Bélusca-Maïto [Sat, 17 Oct 2015 11:39:05 +0000 (11:39 +0000)]
[NDK]: Add PsGetThreadFreezeCount declaration. Dedicated to James Tabor.
CORE-10078

svn path=/trunk/; revision=69559

8 years ago[PSDK]: Add missing conditional header inclusion.
Hermès Bélusca-Maïto [Fri, 16 Oct 2015 22:16:07 +0000 (22:16 +0000)]
[PSDK]: Add missing conditional header inclusion.

svn path=/trunk/; revision=69558

8 years ago[WIN32K]
Thomas Faber [Fri, 16 Oct 2015 15:33:19 +0000 (15:33 +0000)]
[WIN32K]
- Add missing include aka fix build
CORE-10217

svn path=/trunk/; revision=69557

8 years ago[WIN32K:NTUSER]
Thomas Faber [Fri, 16 Oct 2015 15:30:35 +0000 (15:30 +0000)]
[WIN32K:NTUSER]
- Terminate the RawInputThread on shutdown
CORE-10217 #resolve

svn path=/trunk/; revision=69556

8 years ago[WIN32K:NTUSER]
Thomas Faber [Fri, 16 Oct 2015 14:24:30 +0000 (14:24 +0000)]
[WIN32K:NTUSER]
- Don't try to dereference a handle

svn path=/trunk/; revision=69555

8 years ago[WIN32K]
Thomas Faber [Fri, 16 Oct 2015 14:04:19 +0000 (14:04 +0000)]
[WIN32K]
- Add some missing OBJ_KERNEL_HANDLE
CORE-10207

svn path=/trunk/; revision=69554

8 years ago[NTOS:EX]
Thomas Faber [Fri, 16 Oct 2015 13:28:40 +0000 (13:28 +0000)]
[NTOS:EX]
- Add missing OBJ_KERNEL_HANDLE and avoid handle leak in ExpGetCurrentUserUILanguage
CORE-10207

svn path=/trunk/; revision=69553

8 years ago[NTOS:CM]
Thomas Faber [Fri, 16 Oct 2015 13:20:00 +0000 (13:20 +0000)]
[NTOS:CM]
- Remove duplicate macro definitions

svn path=/trunk/; revision=69552

8 years ago- Fix pointer.
James Tabor [Fri, 16 Oct 2015 03:34:13 +0000 (03:34 +0000)]
- Fix pointer.

svn path=/trunk/; revision=69551

8 years ago- Fix mixing apples and widgets.
James Tabor [Fri, 16 Oct 2015 02:18:13 +0000 (02:18 +0000)]
- Fix mixing apples and widgets.

svn path=/trunk/; revision=69550

8 years ago[SysSetup]
James Tabor [Thu, 15 Oct 2015 23:39:37 +0000 (23:39 +0000)]
[SysSetup]
- Fix message processing while waiting for a process to end. See CORE-9342.

svn path=/trunk/; revision=69549

8 years ago[DEVMGR]
Ged Murphy [Thu, 15 Oct 2015 21:29:11 +0000 (21:29 +0000)]
[DEVMGR]
- Move all public interface functions to api.cpp
- Implement DeviceManager_ExecuteA

svn path=/trunk/; revision=69548

8 years ago[DEVMGMT]
Ged Murphy [Thu, 15 Oct 2015 18:04:33 +0000 (18:04 +0000)]
[DEVMGMT]
- Delete the old devmgmt and replace it with the new one.
- The new one is a temp container for devmgr.dll and simply calls DeviceManager_ExecuteW. Eventually mmc.exe will replace this module

svn path=/trunk/; revision=69547

8 years ago[DEVMGMT]
Ged Murphy [Thu, 15 Oct 2015 17:28:08 +0000 (17:28 +0000)]
[DEVMGMT]
- A few fixes and turn it on in the build to check the build machines are happy

svn path=/trunk/; revision=69546

8 years ago[DEVMGR]
Ged Murphy [Thu, 15 Oct 2015 17:21:37 +0000 (17:21 +0000)]
[DEVMGR]
- Kill off the old devmgr and replace it with the new one
- The new one now contains the (rewritten) device manager code, is now a C++ library and makes use of the recently improved ATL

svn path=/trunk/; revision=69545

8 years ago[DEVMGR]
Ged Murphy [Thu, 15 Oct 2015 17:08:22 +0000 (17:08 +0000)]
[DEVMGR]
More unix pleasers

svn path=/trunk/; revision=69544

8 years ago[DEVMGR]
Ged Murphy [Thu, 15 Oct 2015 16:57:35 +0000 (16:57 +0000)]
[DEVMGR]
Unixification

svn path=/trunk/; revision=69543

8 years agoChecking against the build machine
Ged Murphy [Thu, 15 Oct 2015 16:52:05 +0000 (16:52 +0000)]
Checking against the build machine

svn path=/trunk/; revision=69542

8 years ago[NTOS]
Stefan Ginsberg [Thu, 15 Oct 2015 16:10:50 +0000 (16:10 +0000)]
[NTOS]
Fix (last?) instance of treating hyperspace as global pages

svn path=/trunk/; revision=69541

8 years agoSomehow missed this in previous commit
Stefan Ginsberg [Thu, 15 Oct 2015 12:58:28 +0000 (12:58 +0000)]
Somehow missed this in previous commit

svn path=/trunk/; revision=69540

8 years ago[NTOS]
Stefan Ginsberg [Thu, 15 Oct 2015 12:56:19 +0000 (12:56 +0000)]
[NTOS]
Isolate KD a bit by replacing Rtl* memory routines with internal versions. Lets one put breakpoints inside kernel memcpy/memset without making KD very, very sad. Fix MmDbgCopyMemory to also not use RtlCopyMemory -- there is no need for it since it only performs 1-to-8 byte copies anyway. Minor fixes in the print/prompt routines.

svn path=/trunk/; revision=69539

8 years ago[DEVMGR]
Ged Murphy [Thu, 15 Oct 2015 10:39:06 +0000 (10:39 +0000)]
[DEVMGR]
Fix building with RosBE/g++

svn path=/trunk/; revision=69538

8 years ago[WIN32K:NTUSER]
Thomas Faber [Thu, 15 Oct 2015 09:50:12 +0000 (09:50 +0000)]
[WIN32K:NTUSER]
- THREADINFO::hEventQueueClient is a user handle. Treat it as such.
CORE-10207

svn path=/trunk/; revision=69537

8 years ago[WIN32K:NTUSER]
Thomas Faber [Thu, 15 Oct 2015 09:44:20 +0000 (09:44 +0000)]
[WIN32K:NTUSER]
- Don't perform thread initialization twice in csrss's UserInitialize thread
CORE-10339 #resolve

svn path=/trunk/; revision=69536

8 years ago[NPFS]
Thomas Faber [Thu, 15 Oct 2015 08:03:40 +0000 (08:03 +0000)]
[NPFS]
- Don't leave the critical region before releasing ERESOURCE

svn path=/trunk/; revision=69535

8 years ago[NTOS:APPHELP]
Thomas Faber [Thu, 15 Oct 2015 07:44:25 +0000 (07:44 +0000)]
[NTOS:APPHELP]
- Avoid excessive indentation
- Minor changes to conform better to kernel style

svn path=/trunk/; revision=69534

8 years ago[PARPORT]
Thomas Faber [Thu, 15 Oct 2015 07:16:39 +0000 (07:16 +0000)]
[PARPORT]
- Add missing OBJ_KERNEL_HANDLE
CORE-10207

svn path=/trunk/; revision=69533

8 years ago[NTOS]
Stefan Ginsberg [Thu, 15 Oct 2015 01:49:26 +0000 (01:49 +0000)]
[NTOS]
Fix mapping of working set list page -- it should be local.
Get rid of MI_MAKE_LOCAL_PAGE and use ValidKernelPdeLocal/ValidKernelPteLocal consistently. This is what they exist for!
We should now hopefully not be creating any global pages when we don't want them.
Next step; fix flushing.
Bonus: Use the right lock in MiSessionLeader

svn path=/trunk/; revision=69532

8 years ago[NTOS]
Stefan Ginsberg [Wed, 14 Oct 2015 20:42:18 +0000 (20:42 +0000)]
[NTOS]
Global pages may not have been enabled when KeFlushCurrentTb is first called, so don't enable them in there.

svn path=/trunk/; revision=69531

8 years ago[NTOS]
Stefan Ginsberg [Wed, 14 Oct 2015 19:33:35 +0000 (19:33 +0000)]
[NTOS]
Add super-complicated handling of global pages to KeFlushCurrentTb (pretty much the same code which has been in HalpFlushTLB for the past ~6 years). This should be all that is required to make this feature work (everything else being in place already), and *seems* to work fine but is disabled under a switch until tested thoroughly.

Global pages, an important optimization that allows for not flushing the whole x86 TLB every time CR3 is changed (typically on context switch to a new process, or during process attach/detach), relies on us doing extra work whenever we do alter a global page. This is likely where any bugs will have to be flushed out!

Fixup Ki386EnableGlobalPage while we are at it -- disable/restore interrupts properly, and verify PGE-bit isn't set (nothing should have touched it before this routine, which is responsible for initializing it, so we shouldn't have to disable it). Fix, but disable, the CPU-sync spin as well as there should be no particular reason to do this for PGE-enabling during initialization (no other processor will be messing with PTEs at this stage, as compared to a call to KeFlushEntireTb).

Everyone, repeat after me: Global pages are awesome!

svn path=/trunk/; revision=69528

8 years ago[TCPIP]
Thomas Faber [Wed, 14 Oct 2015 09:26:56 +0000 (09:26 +0000)]
[TCPIP]
- Add missing OBJ_KERNEL_HANDLE and close handles accordingly
CORE-10207

svn path=/trunk/; revision=69523

8 years ago[NDIS]
Thomas Faber [Wed, 14 Oct 2015 08:32:00 +0000 (08:32 +0000)]
[NDIS]
- Add missing OBJ_KERNEL_HANDLE
CORE-10207

svn path=/trunk/; revision=69522

8 years ago[PING]
Thomas Faber [Wed, 14 Oct 2015 07:24:09 +0000 (07:24 +0000)]
[PING]
- Check for invalid values passed to the -n option. Patch by Tim Crawford
CORE-10332 #resolve

svn path=/trunk/; revision=69521

8 years ago[DEVMGR]
Ged Murphy [Mon, 12 Oct 2015 20:44:54 +0000 (20:44 +0000)]
[DEVMGR]
More g++ fixes.
devmgr now compiles, just a few linker issues to fixup

svn path=/trunk/; revision=69519

8 years ago[ATL]
Ged Murphy [Mon, 12 Oct 2015 20:33:33 +0000 (20:33 +0000)]
[ATL]
Various g++ fixes

svn path=/trunk/; revision=69518

8 years ago[DEVMGR]
Ged Murphy [Mon, 12 Oct 2015 19:18:47 +0000 (19:18 +0000)]
[DEVMGR]
A few g++ fixes

svn path=/trunk/; revision=69517

8 years ago[NTDLL_APITEST]
Pierre Schweitzer [Mon, 12 Oct 2015 17:43:42 +0000 (17:43 +0000)]
[NTDLL_APITEST]
Fix test
Spotted by Alex

svn path=/trunk/; revision=69516

8 years ago[RTL]
Stefan Ginsberg [Mon, 12 Oct 2015 17:11:56 +0000 (17:11 +0000)]
[RTL]
Merge DbgBreakPointWithStatus and RtlpBreakWithStatusInstruction together as one function (the latter is just a label for KD), and add new macro necessary for this (MASM very much wants "::" on a global label inside a PROC local scope). Timo, you are awesome.

Bonus: Complement HEX()'s awesomeness with the other explicit radix specifiers.

svn path=/trunk/; revision=69515

8 years ago[MBEDTLS] Fix _CRT_SECURE_NO_DEPRECATE redefinition warnings.
Amine Khaldi [Mon, 12 Oct 2015 13:15:14 +0000 (13:15 +0000)]
[MBEDTLS] Fix _CRT_SECURE_NO_DEPRECATE redefinition warnings.

svn path=/trunk/; revision=69514

8 years ago[MBEDTLS] Missed these files in svn. Addendum to r69512. CORE-10318
Amine Khaldi [Mon, 12 Oct 2015 12:50:06 +0000 (12:50 +0000)]
[MBEDTLS] Missed these files in svn. Addendum to r69512. CORE-10318

svn path=/trunk/; revision=69513