reactos.git
9 years ago[PSDK]
Jérôme Gardou [Wed, 8 Oct 2014 19:50:23 +0000 (19:50 +0000)]
[PSDK]
 - Fix mismatch between DEV_BROADCAST_DEVICEINTERFACE_W and  DEV_BROADCAST_DEVICEINTERFACE_A
 - Add  DEV_BROADCAST_HANDLE structure definition

svn path=/trunk/; revision=64620

9 years ago[NTOS/SE]
Jérôme Gardou [Wed, 8 Oct 2014 19:50:14 +0000 (19:50 +0000)]
[NTOS/SE]
 - Correctly reference/dereference token object when the set token is already in use.

svn path=/trunk/; revision=64619

9 years ago[NTFS]
Pierre Schweitzer [Wed, 8 Oct 2014 19:45:33 +0000 (19:45 +0000)]
[NTFS]
- Add missing defines about file attributes
- Implement NtfsFCBIsDirectory()

Source: http://bos.asmhackers.net/docs/filesystems/ntfs/filename.html

svn path=/trunk/; revision=64618

9 years ago[NTFS]
Pierre Schweitzer [Wed, 8 Oct 2014 19:32:21 +0000 (19:32 +0000)]
[NTFS]
- Add a directory entry into FCB which will be a copy of the $FILE_NAME attribute of the FILE record. Though, it won't contain the name itself (in the FCB instead), so keep first char NULL and length 0.
- Implement its support (which requires opening the FILE record 5 first) for root FCB creation.

svn path=/trunk/; revision=64617

9 years ago[WINDOWSCODECS_WINETEST]
Amine Khaldi [Wed, 8 Oct 2014 19:32:14 +0000 (19:32 +0000)]
[WINDOWSCODECS_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64616

9 years ago[WINDOWSCODECS]
Amine Khaldi [Wed, 8 Oct 2014 19:30:33 +0000 (19:30 +0000)]
[WINDOWSCODECS]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64615

9 years ago[NTFS]
Pierre Schweitzer [Wed, 8 Oct 2014 19:25:00 +0000 (19:25 +0000)]
[NTFS]
ReadFileRecord() returns a NTSTATUS

svn path=/trunk/; revision=64614

9 years ago[PSDK]
Amine Khaldi [Wed, 8 Oct 2014 19:19:01 +0000 (19:19 +0000)]
[PSDK]
* Update iads.idl.
CORE-8540

svn path=/trunk/; revision=64613

9 years ago[WBEMPROX_WINETEST]
Amine Khaldi [Wed, 8 Oct 2014 19:18:00 +0000 (19:18 +0000)]
[WBEMPROX_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64612

9 years ago[WBEMPROX]
Amine Khaldi [Wed, 8 Oct 2014 19:17:38 +0000 (19:17 +0000)]
[WBEMPROX]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64611

9 years ago[NTFS]
Pierre Schweitzer [Wed, 8 Oct 2014 19:12:48 +0000 (19:12 +0000)]
[NTFS]
- Remove magic value usage in NtfsDumpFileAttributes()
- Implement GetFileNameFromRecord() which returns the $FILE_NAME attribute from a FILE record
- On record lookup, also return the MFT index of the found record
- Finally implement NtfsMakeFCBFromDirEntry() which allows creating a FCB from a dir entry. It is still incomplete though, it doesn't copy any data yet from the entry

svn path=/trunk/; revision=64610

9 years ago[VBSCRIPT_WINETEST]
Amine Khaldi [Wed, 8 Oct 2014 19:03:40 +0000 (19:03 +0000)]
[VBSCRIPT_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64609

9 years ago[VBSCRIPT]
Amine Khaldi [Wed, 8 Oct 2014 19:03:07 +0000 (19:03 +0000)]
[VBSCRIPT]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64608

9 years ago[USP10_WINETEST]
Amine Khaldi [Wed, 8 Oct 2014 18:56:31 +0000 (18:56 +0000)]
[USP10_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64607

9 years ago[USP10]
Amine Khaldi [Wed, 8 Oct 2014 18:56:19 +0000 (18:56 +0000)]
[USP10]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64606

9 years ago[STI_WINETEST]
Amine Khaldi [Wed, 8 Oct 2014 18:47:38 +0000 (18:47 +0000)]
[STI_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64605

9 years ago[SHDOCVW_WINETEST]
Amine Khaldi [Wed, 8 Oct 2014 18:42:31 +0000 (18:42 +0000)]
[SHDOCVW_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64604

9 years ago[SHDOCVW]
Amine Khaldi [Wed, 8 Oct 2014 18:42:09 +0000 (18:42 +0000)]
[SHDOCVW]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64603

9 years ago[SCRRUN_WINETEST]
Amine Khaldi [Wed, 8 Oct 2014 18:04:21 +0000 (18:04 +0000)]
[SCRRUN_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64602

9 years ago[SCRRUN]
Amine Khaldi [Wed, 8 Oct 2014 18:03:53 +0000 (18:03 +0000)]
[SCRRUN]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64601

9 years ago[SCHANNEL]
Amine Khaldi [Wed, 8 Oct 2014 18:02:25 +0000 (18:02 +0000)]
[SCHANNEL]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64600

9 years ago[RSAENH_WINETEST]
Amine Khaldi [Wed, 8 Oct 2014 18:01:39 +0000 (18:01 +0000)]
[RSAENH_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64599

9 years ago[RSAENH]
Amine Khaldi [Wed, 8 Oct 2014 18:01:22 +0000 (18:01 +0000)]
[RSAENH]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64598

9 years ago[CMAKE/MSVC]
Amine Khaldi [Wed, 8 Oct 2014 17:55:55 +0000 (17:55 +0000)]
[CMAKE/MSVC]
* We don't need to set /implib, we generate our own.

svn path=/trunk/; revision=64597

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 07:38:56 +0000 (07:38 +0000)]
[NTOSKRNL]
Fix a status code

svn path=/trunk/; revision=64595

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 00:32:03 +0000 (00:32 +0000)]
[NTOSKRNL]
Move calculation of commit charge to MiInsertVadEx.

svn path=/trunk/; revision=64594

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 00:31:49 +0000 (00:31 +0000)]
[NTOSKRNL]
Modify MiCreatePebOrTeb to use MiInsertVadEx instead of doing everything "by hand". No, this does not "change Windows behavior". The TEB creation works exactly as before, and the only difference in the PEB creation is that if the first attempt fails, we will no longer try again from the top of the address space. But since this cannot fail in the first place, at least not due to the VA range not being free, another attempt would be pointless anyway!

svn path=/trunk/; revision=64593

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 00:31:43 +0000 (00:31 +0000)]
[NTOSKRNL]
Lock the workingset before inserting a node into the address space in MiInsertVad

svn path=/trunk/; revision=64592

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 00:31:35 +0000 (00:31 +0000)]
[NTOSKRNL]
- Improve the random address base code in MiCreatePebOrTeb to actually make sense and not rely on retarded hacks implicitly hardcoding the PEB size in pages into the random value generation.

svn path=/trunk/; revision=64591

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 00:31:28 +0000 (00:31 +0000)]
[NTOSKRNL]
- Add missing dereference on failure in MiMapViewOfDataSection
- Simplify some code

svn path=/trunk/; revision=64590

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 00:31:17 +0000 (00:31 +0000)]
[NTOSKRNL]
Implement MiInsertVadEx, replacing duplicated code from NtAllocateVirtualMemory and MiMapViewOfDataSection

svn path=/trunk/; revision=64589

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 00:31:09 +0000 (00:31 +0000)]
[NTOSKRNL]
Slightly refactor MiMapViewOfDataSection and NtAllocateVirtualMemory

svn path=/trunk/; revision=64588

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 00:30:57 +0000 (00:30 +0000)]
[NTOSKRNL]
Release AddressCreationLock in MiCreatePebOrTeb on failure path

svn path=/trunk/; revision=64587

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 00:30:50 +0000 (00:30 +0000)]
[NTOSKRNL]
Move acquisition of PFN lock into MmAllocPage and MmDereferencePage

svn path=/trunk/; revision=64586

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 00:30:37 +0000 (00:30 +0000)]
[NTOSKRNL]
Small impovement to NtFreeVirtualMemory to make things clearer

svn path=/trunk/; revision=64585

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 00:30:30 +0000 (00:30 +0000)]
[NTOSKRNL]
Refactor CcRosMapVacb a bit

svn path=/trunk/; revision=64584

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 8 Oct 2014 00:30:15 +0000 (00:30 +0000)]
[NTOSKRNL]
Move MmMapMemoryArea to Cc and rename it to CcRosMapVacb

svn path=/trunk/; revision=64583

9 years ago[ADVAPI32]
Timo Kreuzer [Tue, 7 Oct 2014 22:07:44 +0000 (22:07 +0000)]
[ADVAPI32]
Hey Arch, stop spamming my debug logs!

svn path=/trunk/; revision=64582

9 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 7 Oct 2014 22:02:12 +0000 (22:02 +0000)]
[NTOSKRNL]
Silence some annoying DPRINTs

svn path=/trunk/; revision=64581

9 years ago[NTFS]
Pierre Schweitzer [Mon, 6 Oct 2014 20:51:41 +0000 (20:51 +0000)]
[NTFS]
- Implement NtfsDirFindFile()
- Enable again NtfsMakeFCBFromDirEntry() and fix its prototype but disable its implementation yet

svn path=/trunk/; revision=64577

9 years ago[NTFS]
Pierre Schweitzer [Mon, 6 Oct 2014 19:28:41 +0000 (19:28 +0000)]
[NTFS]
Not being working (yet) doesn't mean you can leak mem!

svn path=/trunk/; revision=64576

9 years ago[EVENTVWR]
Amine Khaldi [Mon, 6 Oct 2014 18:47:17 +0000 (18:47 +0000)]
[EVENTVWR]
* Minor style change.

svn path=/trunk/; revision=64575

9 years ago[CMAKE]
Amine Khaldi [Mon, 6 Oct 2014 18:43:37 +0000 (18:43 +0000)]
[CMAKE]
* Target shdocvw_v1 doesn't exist, don't depend on it.

svn path=/trunk/; revision=64574

9 years ago[PSDK]
Amine Khaldi [Mon, 6 Oct 2014 18:42:46 +0000 (18:42 +0000)]
[PSDK]
* Update wincrypt.h.
CORE-8540

svn path=/trunk/; revision=64573

9 years ago[RICHED20_WINETEST]
Amine Khaldi [Mon, 6 Oct 2014 18:42:09 +0000 (18:42 +0000)]
[RICHED20_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64572

9 years ago[RICHED20]
Amine Khaldi [Mon, 6 Oct 2014 18:41:33 +0000 (18:41 +0000)]
[RICHED20]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64571

9 years ago[RASAPI32]
Amine Khaldi [Mon, 6 Oct 2014 18:40:17 +0000 (18:40 +0000)]
[RASAPI32]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64570

9 years ago[PROPSYS]
Amine Khaldi [Mon, 6 Oct 2014 18:39:23 +0000 (18:39 +0000)]
[PROPSYS]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64569

9 years ago[PDH]
Amine Khaldi [Mon, 6 Oct 2014 18:37:50 +0000 (18:37 +0000)]
[PDH]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64568

9 years ago[CMAKE]
Amine Khaldi [Mon, 6 Oct 2014 18:36:01 +0000 (18:36 +0000)]
[CMAKE]
* Target build_header doesn't exist, don't depend on it.

svn path=/trunk/; revision=64567

9 years ago[DEVMGR]
Eric Kohl [Mon, 6 Oct 2014 18:35:17 +0000 (18:35 +0000)]
[DEVMGR]
- Replace the call to DevInstallW by InstallDevInst in the device properties.
- Also call InstallDevInst from the device problem wizard.
CORE-6350 #resolve

svn path=/trunk/; revision=64566

9 years ago[PSAPI_WINETEST]
Amine Khaldi [Mon, 6 Oct 2014 18:32:06 +0000 (18:32 +0000)]
[PSAPI_WINETEST]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64565

9 years ago[OLEDLG]
Amine Khaldi [Mon, 6 Oct 2014 18:31:15 +0000 (18:31 +0000)]
[OLEDLG]
* Sync with Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=64564

9 years ago[CMAKE]
Amine Khaldi [Mon, 6 Oct 2014 18:29:45 +0000 (18:29 +0000)]
[CMAKE]
* Don't add a dependency on a file.

svn path=/trunk/; revision=64563

9 years ago[CMAKE]
Amine Khaldi [Mon, 6 Oct 2014 18:24:38 +0000 (18:24 +0000)]
[CMAKE]
* Target oleaut32_typelibs doesn't exist, don't depend on it.

svn path=/trunk/; revision=64562

9 years ago[PSDK]
Amine Khaldi [Mon, 6 Oct 2014 18:22:59 +0000 (18:22 +0000)]
[PSDK]
* Update propsys.idl.
CORE-8540

svn path=/trunk/; revision=64561

9 years ago[CMAKE]
Amine Khaldi [Mon, 6 Oct 2014 18:22:07 +0000 (18:22 +0000)]
[CMAKE]
* Don't add a dependency on a file.

svn path=/trunk/; revision=64560

9 years ago[DEVMGR]
Eric Kohl [Mon, 6 Oct 2014 15:33:56 +0000 (15:33 +0000)]
[DEVMGR]
Fix indentation. No code changes!

svn path=/trunk/; revision=64559

9 years ago[NEWDEV]
Eric Kohl [Mon, 6 Oct 2014 14:23:36 +0000 (14:23 +0000)]
[NEWDEV]
- Implement InstallDevInst.
- Display different wizard titles for the instller and update wizard.
- Add header titles to the wizard pages.
- Add new header file for private functions.

svn path=/trunk/; revision=64558

9 years ago[DEVMGR]
Eric Kohl [Mon, 6 Oct 2014 12:36:11 +0000 (12:36 +0000)]
[DEVMGR]
Add a space between the hexadecimal and decimal IRQ numbers in the device resource list.

svn path=/trunk/; revision=64557

9 years ago[DEVMGR]
Eric Kohl [Mon, 6 Oct 2014 08:44:20 +0000 (08:44 +0000)]
[DEVMGR]
Fix the width of the resource list view.

svn path=/trunk/; revision=64556

9 years agoThese are the keyboard status flags (unused at the moment).
Hermès Bélusca-Maïto [Sun, 5 Oct 2014 22:48:56 +0000 (22:48 +0000)]
These are the keyboard status flags (unused at the moment).

svn path=/trunk/; revision=64555

9 years agoFix comment.
Hermès Bélusca-Maïto [Sun, 5 Oct 2014 22:48:13 +0000 (22:48 +0000)]
Fix comment.

svn path=/trunk/; revision=64554

9 years ago[NTVDM]: disable the cpu level dprints.
Hermès Bélusca-Maïto [Sun, 5 Oct 2014 22:47:37 +0000 (22:47 +0000)]
[NTVDM]: disable the cpu level dprints.

svn path=/trunk/; revision=64553

9 years ago[MKHIVE] Create reparse points, and use them instead of pseudo-connections between...
Hervé Poussineau [Sun, 5 Oct 2014 21:30:57 +0000 (21:30 +0000)]
[MKHIVE] Create reparse points, and use them instead of pseudo-connections between cells

svn path=/trunk/; revision=64552

9 years ago[NTOS/MM]
Jérôme Gardou [Sun, 5 Oct 2014 20:37:30 +0000 (20:37 +0000)]
[NTOS/MM]
 - Silence some DPRINTs

svn path=/trunk/; revision=64551

9 years ago[ADVAPI32]
Jérôme Gardou [Sun, 5 Oct 2014 20:19:49 +0000 (20:19 +0000)]
[ADVAPI32]
 - Kill also the debug print in the W version.

svn path=/trunk/; revision=64550

9 years ago[ADVAPI32]
Jérôme Gardou [Sun, 5 Oct 2014 20:17:43 +0000 (20:17 +0000)]
[ADVAPI32]
 - Clean up a leftover debug print

svn path=/trunk/; revision=64549

9 years ago[MKHIVE] Remove dead code and unused structure fields
Hervé Poussineau [Sun, 5 Oct 2014 19:46:00 +0000 (19:46 +0000)]
[MKHIVE] Remove dead code and unused structure fields

Use MEMKEY/PMEMKEY names to represent registry key node in memory.

svn path=/trunk/; revision=64548

9 years ago[MKHIVE] Remove key name in our custom registry tree; use cell index instead
Hervé Poussineau [Sun, 5 Oct 2014 19:45:37 +0000 (19:45 +0000)]
[MKHIVE] Remove key name in our custom registry tree; use cell index instead

svn path=/trunk/; revision=64547

9 years ago[CHARMAP]
Kamil Hornicek [Sun, 5 Oct 2014 14:55:15 +0000 (14:55 +0000)]
[CHARMAP]
- remove dead code
CID 1237028

[SETUPAPI]
- fix swapped arguments
CID 1237062

svn path=/trunk/; revision=64546

9 years ago[NTOS/SE]
Jérôme Gardou [Sun, 5 Oct 2014 14:20:08 +0000 (14:20 +0000)]
[NTOS/SE]
 - Do not fail when setting the same primary token for a process.
 - Fake equality of tokens when both of them are (not) restricted.
CORE-8554 #resolve #comment JRE-7u65 now installs fine

svn path=/trunk/; revision=64545

9 years ago[ADVAPI32]
Jérôme Gardou [Sun, 5 Oct 2014 14:19:53 +0000 (14:19 +0000)]
[ADVAPI32]
 - Add a few debug prints.

svn path=/trunk/; revision=64544

9 years ago[DEVMGR]
Eric Kohl [Sun, 5 Oct 2014 12:40:22 +0000 (12:40 +0000)]
[DEVMGR]
- Include "precomp.h" instead of <windef.h>.
- Use UNIMPLEMENTED again.

svn path=/trunk/; revision=64543

9 years ago[DEVMGR]
Eric Kohl [Sun, 5 Oct 2014 12:34:07 +0000 (12:34 +0000)]
[DEVMGR]
Replace UNIMPLMENTED by FIXME.

svn path=/trunk/; revision=64542

9 years ago[DEVMGR]
Eric Kohl [Sun, 5 Oct 2014 12:25:05 +0000 (12:25 +0000)]
[DEVMGR]
Use a new debug channel 'devmgr' instead of DPRINTFs.

svn path=/trunk/; revision=64541

9 years ago[uxtheme]
Christoph von Wittich [Sun, 5 Oct 2014 11:02:11 +0000 (11:02 +0000)]
[uxtheme]
fix a typo

svn path=/trunk/; revision=64540

9 years ago[MSI]
Jérôme Gardou [Sun, 5 Oct 2014 10:02:34 +0000 (10:02 +0000)]
[MSI]
 - Revert unwanted change

svn path=/trunk/; revision=64539

9 years ago[LIBWINE]
Jérôme Gardou [Sun, 5 Oct 2014 09:57:11 +0000 (09:57 +0000)]
[LIBWINE]
 - Add support for the +tid debug channel, prefixing every traces with the current thread ID.

svn path=/trunk/; revision=64538

9 years ago[NTOS/MM]
Jérôme Gardou [Sun, 5 Oct 2014 09:57:02 +0000 (09:57 +0000)]
[NTOS/MM]
 - Do not assert in case of stack overflow, just let the page fault handler raise STATUS_STACK_OVERFLOW

svn path=/trunk/; revision=64537

9 years ago[MSI]
Jérôme Gardou [Sun, 5 Oct 2014 09:56:48 +0000 (09:56 +0000)]
[MSI]
 - Do not use PCH with auto-generated files.

svn path=/trunk/; revision=64536

9 years ago[SETUPAPI]
Eric Kohl [Sun, 5 Oct 2014 08:55:55 +0000 (08:55 +0000)]
[SETUPAPI]
Add overlay icons to the class image list.

svn path=/trunk/; revision=64535

9 years ago[DEVMGMT]
Eric Kohl [Sun, 5 Oct 2014 08:53:51 +0000 (08:53 +0000)]
[DEVMGMT]
- Reimplement the 'list by device type' function. The old implementation did not list devices as 'unknown devices' if they had no device class GUID or an unknown class GUID.
- Use overlay images to indicate problems on a device.

svn path=/trunk/; revision=64534

9 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 5 Oct 2014 08:49:15 +0000 (08:49 +0000)]
[NTOSKRNL]
Kill MiZeroFillSection

svn path=/trunk/; revision=64533

9 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 5 Oct 2014 07:16:01 +0000 (07:16 +0000)]
[NTOSKRNL]
Remove obsolete FreePage parameter from MmDeleteVirtualMapping

svn path=/trunk/; revision=64532

9 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 5 Oct 2014 06:33:34 +0000 (06:33 +0000)]
[NTOSKRNL]
Apply indentation of 4 spaces, no code change.

svn path=/trunk/; revision=64531

9 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 4 Oct 2014 22:41:47 +0000 (22:41 +0000)]
[NTOSKRNL]
Fix compilation with MI_TRACE_PFNS and MSVC

svn path=/trunk/; revision=64530

9 years ago[USETUP]
Jérôme Gardou [Sat, 4 Oct 2014 21:24:16 +0000 (21:24 +0000)]
[USETUP]
 - Fix potential buffer overflow

svn path=/trunk/; revision=64529

9 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 4 Oct 2014 21:17:27 +0000 (21:17 +0000)]
[NTOSKRNL]
- Implement MiIncrementAvailablePages and MiDecrementAvailablePages factoring out duplicated code from a number of locations
- Get rid of MiAllocatePfn. Any further comment would result in excessive use of curse words.

svn path=/trunk/; revision=64528

9 years ago[GCC/CMAKE]
Jérôme Gardou [Sat, 4 Oct 2014 20:26:14 +0000 (20:26 +0000)]
[GCC/CMAKE]
 - Add a way to conditionally use the GCC stack protector.
Just add -DSTACK_PROTECTOR:BOOL=TRUE as argument to configure.cmd/sh

svn path=/trunk/; revision=64527

9 years ago[CMAKE]
Jérôme Gardou [Sat, 4 Oct 2014 20:25:57 +0000 (20:25 +0000)]
[CMAKE]
 - Introduce the kerneldll module type (like kernelmodedriver, but ending with .dll) and use it in various places
 - vfatx.dll whould in fact be a native DLL

svn path=/trunk/; revision=64526

9 years ago[KERNEL32]
Jérôme Gardou [Sat, 4 Oct 2014 20:25:35 +0000 (20:25 +0000)]
[KERNEL32]
 - Always allocate a guard page at the bottom of the stack.
It doesn't depend on it being reserved or committed, it just has to be here.

svn path=/trunk/; revision=64525

9 years ago[MSPAINT]
Pierre Schweitzer [Sat, 4 Oct 2014 15:41:38 +0000 (15:41 +0000)]
[MSPAINT]
- Check for correct allocation
- Don't leak in case of file opening failure

svn path=/trunk/; revision=64524

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Sat, 4 Oct 2014 15:41:29 +0000 (15:41 +0000)]
[NTVDM]
- Move registers code into cpu/
- Implement getIntelRegistersPointer.

svn path=/trunk/; revision=64523

9 years ago[PSDK/XDK]: Don't hardcode "80" in the CONTEXT structure, but use the correct define.
Hermès Bélusca-Maïto [Sat, 4 Oct 2014 14:40:59 +0000 (14:40 +0000)]
[PSDK/XDK]: Don't hardcode "80" in the CONTEXT structure, but use the correct define.

svn path=/trunk/; revision=64522

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Sat, 4 Oct 2014 13:36:17 +0000 (13:36 +0000)]
[NTVDM]
- Move almost all the DOS command launch thread into dem.c,
- Rework the code so that now, when we want to either load our BIOS32 or a custom one, we start their execution at F000:FFF0 as it should be,
- For modularity purposes (ie. to be able one day to load real OSes in our ntvdm), implement INT 19h (bootstrap loader) so that it calls a (temporary) dos bootsector loader that writes some bootstrap code at 0000:7c00, then the INT 19h runs this code, that has as an effect to load our DOS32 (for a real OS, the MBR code goes to 0000:7c00 and is then run).

svn path=/trunk/; revision=64521

9 years ago[EVENTVWR]
Sylvain Petreolle [Sat, 4 Oct 2014 13:34:19 +0000 (13:34 +0000)]
[EVENTVWR]
-Fix use of unitialized handle for the waiting dialog.
-Allocate the size of one event for each event, not the amount of all events.

svn path=/trunk/; revision=64520

9 years ago[CRT]
Thomas Faber [Sat, 4 Oct 2014 12:03:37 +0000 (12:03 +0000)]
[CRT]
- Add __fastfail intrinsic implementation for GCC and MSVC <= 2010. Patch by Timo Kreuzer.
CORE-8419

svn path=/trunk/; revision=64519

9 years ago[NTOS:FORMATTING]
Thomas Faber [Sat, 4 Oct 2014 08:43:15 +0000 (08:43 +0000)]
[NTOS:FORMATTING]
- Remove some trailing whitespace

svn path=/trunk/; revision=64518

9 years ago[NTVDM]: DPRINT the CPU level for diagnostics purposes.
Hermès Bélusca-Maïto [Sat, 4 Oct 2014 00:18:39 +0000 (00:18 +0000)]
[NTVDM]: DPRINT the CPU level for diagnostics purposes.

svn path=/trunk/; revision=64517