reactos.git
8 years ago[SHELL32] Fix IDI_SHELL_EXTENDED_PROPERTIES, use the icons 6 and 7 for floppy drive...
Amine Khaldi [Wed, 17 Jun 2015 18:30:14 +0000 (18:30 +0000)]
[SHELL32] Fix IDI_SHELL_EXTENDED_PROPERTIES, use the icons 6 and 7 for floppy drive and remove floppy.ico. By Jared Smudde. CORE-9804

svn path=/trunk/; revision=68174

8 years ago[NTOSKRNL]
Pierre Schweitzer [Wed, 17 Jun 2015 18:23:39 +0000 (18:23 +0000)]
[NTOSKRNL]
Implement NtQuerySystemInformation - SystemNumaAvailableMemory
Stub out NtQuerySystemInformation - SystemPrefetcherInformation
Stub out NtQuerySystemInformation - SystemExtendedProcessInformation
Stub out NtQuerySystemInformation - SystemRecommendedSharedDataAlignment

svn path=/trunk/; revision=68173

8 years ago[CRYPTUI][NETSHELL] Add some missing DS_MODALFRAME. By Jared Smudde. CORE-9822
Amine Khaldi [Wed, 17 Jun 2015 17:32:48 +0000 (17:32 +0000)]
[CRYPTUI][NETSHELL] Add some missing DS_MODALFRAME. By Jared Smudde. CORE-9822

svn path=/trunk/; revision=68172

8 years ago[NTOSKRNL]
Pierre Schweitzer [Wed, 17 Jun 2015 17:28:19 +0000 (17:28 +0000)]
[NTOSKRNL]
Completely implement Complete NtQuerySystemInformation - SystemNumaProcessorMap

CORE-9680

svn path=/trunk/; revision=68171

8 years ago[APPLICATIONS] Properly track resource file dependencies. CORE-9806
Amine Khaldi [Wed, 17 Jun 2015 17:20:29 +0000 (17:20 +0000)]
[APPLICATIONS] Properly track resource file dependencies. CORE-9806

svn path=/trunk/; revision=68170

8 years ago[DEVMGR]
Ged Murphy [Wed, 17 Jun 2015 08:38:34 +0000 (08:38 +0000)]
[DEVMGR]
- Make sure the device nodes use the latest device status'

svn path=/trunk/; revision=68169

8 years ago[DEVMGMT]
Christoph von Wittich [Wed, 17 Jun 2015 08:24:05 +0000 (08:24 +0000)]
[DEVMGMT]
fix a typo

svn path=/trunk/; revision=68168

8 years ago[DEVMGR]
Ged Murphy [Wed, 17 Jun 2015 08:15:08 +0000 (08:15 +0000)]
[DEVMGR]
- Add the (not yet dynamic) context menu
- Implement right click node select

svn path=/trunk/; revision=68167

8 years ago[NTDLL_APITEST]
Thomas Faber [Wed, 17 Jun 2015 06:54:17 +0000 (06:54 +0000)]
[NTDLL_APITEST]
- Also test FileFsAttributeInformation in NtQueryVolumeInformationFile

svn path=/trunk/; revision=68166

8 years ago[DEVMGR]
Ged Murphy [Tue, 16 Jun 2015 21:13:28 +0000 (21:13 +0000)]
[DEVMGR]
- Move the devmgmt code to devmgr where it belongs and start to rewrite it (devmgmt_new wasn't a good design). It's not part of devmgr yet, I'll merge it and add it to the build when it's more complete.
- Add support for caching devices to speed up switching device views
- start to add dynamic context support so we can enable/disable, update and uninstall devices depending on its state.
- WIP

svn path=/trunk/; revision=68165

8 years ago[DEVMGMT]
Ged Murphy [Tue, 16 Jun 2015 12:45:24 +0000 (12:45 +0000)]
[DEVMGMT]
Add the icon back

svn path=/trunk/; revision=68164

8 years ago[DEVMGMT]
Ged Murphy [Tue, 16 Jun 2015 12:22:14 +0000 (12:22 +0000)]
[DEVMGMT]
The new device manager will be located in devmgr.dll

svn path=/trunk/; revision=68163

8 years ago[DEVMGR]
Ged Murphy [Tue, 16 Jun 2015 12:18:01 +0000 (12:18 +0000)]
[DEVMGR]
Make the header c++ friendly

svn path=/trunk/; revision=68162

8 years ago[NTDLL_APITEST]
Thomas Faber [Tue, 16 Jun 2015 11:40:51 +0000 (11:40 +0000)]
[NTDLL_APITEST]
- Fix GCC build

svn path=/trunk/; revision=68161

8 years ago[NTDLL_APITEST]
Thomas Faber [Tue, 16 Jun 2015 11:33:35 +0000 (11:33 +0000)]
[NTDLL_APITEST]
- Test FileFsVolumeInformation in NtQueryVolumeInformationFile test
CORE-9820

svn path=/trunk/; revision=68160

8 years ago[NTVDM]: Commit what I have in my local wc so far (and which is commitable & works):
Hermès Bélusca-Maïto [Mon, 15 Jun 2015 23:43:16 +0000 (23:43 +0000)]
[NTVDM]: Commit what I have in my local wc so far (and which is commitable & works):
- Simplify PicIRQComplete helper function.
- Set up temporary stack for the BIOS.
- Initialize the "User Data Area" that is found at 0050:xxxx (see http://helppc.netcore2k.net/table/memory-map for more details).
- Some INT --> UINT
- Simplify few macros.
- Simplify DOS initialization; add few functions that will be useful later on.
- Remove trailing whitespace.

svn path=/trunk/; revision=68159

8 years ago[USETUP]
Eric Kohl [Mon, 15 Jun 2015 22:44:12 +0000 (22:44 +0000)]
[USETUP]
Improve the recovery console:
- Add help texts.
- Implement the partinfo command which displays the partition table of the chosen drive.

svn path=/trunk/; revision=68158

8 years ago[UDFS] Remove definitions that exist in platform headers and use those instead.
Amine Khaldi [Mon, 15 Jun 2015 21:19:04 +0000 (21:19 +0000)]
[UDFS] Remove definitions that exist in platform headers and use those instead.

svn path=/trunk/; revision=68157

8 years ago[USETUP]
Eric Kohl [Mon, 15 Jun 2015 20:47:30 +0000 (20:47 +0000)]
[USETUP]
Fix broken filesystem detection.
- Treat FAT32 filesystems like FAT filesystems because we do not provide a FAT32 entry in the filesystemlist.
- HACK: Do not try to check an unidentified filesystem.

CORE-9815 #resolve

svn path=/trunk/; revision=68156

8 years ago[THEMEUI] Revert r67304 (Leverage add_registry_inf() as suggested by Timo). Figuring...
Amine Khaldi [Mon, 15 Jun 2015 20:42:08 +0000 (20:42 +0000)]
[THEMEUI] Revert r67304 (Leverage add_registry_inf() as suggested by Timo). Figuring out why that doesn't work is left as an exercise for the reader. See CORE-5984 for details.

svn path=/trunk/; revision=68155

8 years ago[CMAKE] Use a separate set for the optimization level in GCC release builds. We shoul...
Amine Khaldi [Mon, 15 Jun 2015 18:59:46 +0000 (18:59 +0000)]
[CMAKE] Use a separate set for the optimization level in GCC release builds. We should revisit this to see if we need this rbuild era block nowadays.

svn path=/trunk/; revision=68154

8 years ago[CMAKE] Disable treating warnings as errors in GCC release builds, at least until...
Amine Khaldi [Mon, 15 Jun 2015 18:48:38 +0000 (18:48 +0000)]
[CMAKE] Disable treating warnings as errors in GCC release builds, at least until we get everything under control, for example CORE-7885.

svn path=/trunk/; revision=68153

8 years ago[NTOS:CC]
Thomas Faber [Mon, 15 Jun 2015 18:44:08 +0000 (18:44 +0000)]
[NTOS:CC]
- Properly stub CcCanIWrite, CcDeferWrite, CcFastCopyRead, CcFastCopyWrite
CORE-9624

svn path=/trunk/; revision=68152

8 years ago[NDK][NTDLL][PSAPI] Correct the the names of two LDR_DATA_TABLE_ENTRY fields. Brought...
Amine Khaldi [Mon, 15 Jun 2015 18:38:57 +0000 (18:38 +0000)]
[NDK][NTDLL][PSAPI] Correct the the names of two LDR_DATA_TABLE_ENTRY fields. Brought to you by Mike Nordell aka tamlin. CORE-9817

svn path=/trunk/; revision=68151

8 years ago[CMAKE] Add some FIXMEs so these won't be forgotten.
Amine Khaldi [Mon, 15 Jun 2015 17:45:24 +0000 (17:45 +0000)]
[CMAKE] Add some FIXMEs so these won't be forgotten.

svn path=/trunk/; revision=68150

8 years ago[CMAKE] Disable debug sections compression in GCC release builds.
Amine Khaldi [Mon, 15 Jun 2015 17:35:29 +0000 (17:35 +0000)]
[CMAKE] Disable debug sections compression in GCC release builds.

svn path=/trunk/; revision=68149

8 years ago[CMAKE] Disable debugging related GCC flags in release mode.
Amine Khaldi [Mon, 15 Jun 2015 17:26:04 +0000 (17:26 +0000)]
[CMAKE] Disable debugging related GCC flags in release mode.

svn path=/trunk/; revision=68148

8 years ago[CMAKE] Disable rossym for GCC release builds.
Amine Khaldi [Mon, 15 Jun 2015 16:43:11 +0000 (16:43 +0000)]
[CMAKE] Disable rossym for GCC release builds.

svn path=/trunk/; revision=68147

8 years ago[UDFS]
Daniel Reimer [Mon, 15 Jun 2015 11:59:49 +0000 (11:59 +0000)]
[UDFS]
Use the same fix for the PIMAGE_NT_HEADERS32 redefinition which is bein used in uniata. Spotted by Thomas Faber

svn path=/trunk/; revision=68146

8 years ago[ARM arch]
Daniel Reimer [Mon, 15 Jun 2015 11:40:33 +0000 (11:40 +0000)]
[ARM arch]
PATCH: Get configure and host-tools building on arm again by Steven Edwards from dev-ml
+ adding Timo's portable sqrt variant to where it's needed to fix win32k build.
+ disabled the assert in sqrt.c for now.

svn path=/trunk/; revision=68145

8 years ago[UDFS]
Daniel Reimer [Mon, 15 Jun 2015 11:35:30 +0000 (11:35 +0000)]
[UDFS]
Fix compilation for AMD64 and ARM.
- It's no good idea to use the x86 ASM optimizations on any architecture. Luckily Alter made plain C++ ones for that case, too. Thus modify the #ifdefs a bit to use em.
- Fix a few directly used functions instead of the defined architecture fixed ones of em.
- After some discussion with Thomas Faber the ULONG vs UINT32 problems were resolved by using the same platform defines for all three architectures.
BUILDS? yes WORKS? Trololololo ^^

svn path=/trunk/; revision=68144

8 years ago[UDFS]
Daniel Reimer [Mon, 15 Jun 2015 01:35:25 +0000 (01:35 +0000)]
[UDFS]
VC makefiles and their deps are not needed for us.

svn path=/trunk/; revision=68143

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 14 Jun 2015 19:58:45 +0000 (19:58 +0000)]
[NTOSKRNL]
Complete NtQuerySystemInformation - SystemNumaProcessorMap stub so that it is possible to query the highest node number (and only that!)

CORE-9680

svn path=/trunk/; revision=68142

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 14 Jun 2015 19:27:19 +0000 (19:27 +0000)]
[NTOSKRNL]
Stub out NtSetSystemInformation - SystemLoadGdiDriverInSystemSpaceInformation
Stub out NtQuerySystemInformation - SystemNumaProcessorMap

svn path=/trunk/; revision=68141

8 years ago[KERNEL32]
Pierre Schweitzer [Sun, 14 Jun 2015 18:54:57 +0000 (18:54 +0000)]
[KERNEL32]
Fix stupidness, spotted by Thomas

svn path=/trunk/; revision=68140

8 years ago[TOOLS]
Hermès Bélusca-Maïto [Sun, 14 Jun 2015 18:13:50 +0000 (18:13 +0000)]
[TOOLS]
Improve bin2c by saving in a #define the size of the generated array, and specify this size in the declaration of the array so that doing sizeof(...) becomes possible. Use "unsigned char" as the (portable) type of the contents of the array.

[HAL]
Add PCHAR casts where needed to take into account the previous modifications.

svn path=/trunk/; revision=68139

8 years ago[NTVDM]: Allocate a dedicated block of memory for the mouse driver, in which we write...
Hermès Bélusca-Maïto [Sun, 14 Jun 2015 16:40:45 +0000 (16:40 +0000)]
[NTVDM]: Allocate a dedicated block of memory for the mouse driver, in which we write all the needed info (instead of putting them in the BIOS space). The INT32 stubs go in this region, too.

svn path=/trunk/; revision=68138

8 years ago[KERNEL32]
Pierre Schweitzer [Sun, 14 Jun 2015 16:00:27 +0000 (16:00 +0000)]
[KERNEL32]
Addendum to r68136: use appropriate define.
Spotted by Thomas

svn path=/trunk/; revision=68137

8 years ago[KERNEL32]
Pierre Schweitzer [Sun, 14 Jun 2015 15:52:28 +0000 (15:52 +0000)]
[KERNEL32]
Implement GetNumaHighestNodeNumber()
Implement GetNumaNodeProcessorMask()
Implement GetNumaProcessorNode()
Implement GetNumaAvailableMemoryNode()

They won't work yet though, given that the kernel mode counterpart is still unimplemented.

CORE-9680

svn path=/trunk/; revision=68136

8 years ago[NDK]
Pierre Schweitzer [Sun, 14 Jun 2015 15:49:39 +0000 (15:49 +0000)]
[NDK]
Add definition for SYSTEM_NUMA_INFORMATION

Source: http://fy5388.blog.163.com/blog/static/564995372009112711571197/

svn path=/trunk/; revision=68135

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Sun, 14 Jun 2015 15:35:38 +0000 (15:35 +0000)]
[NTVDM]
- Stubplement the font generator functions for text-mode.
- Store in plane 2+ the font ONLY in text mode (guilty r68085). Fixes spurious graphics corruption in gfx modes.
CORE-9791
CORE-9794 #resolve #comment Should be fixed in r68134.

svn path=/trunk/; revision=68134

8 years ago[MC]
Thomas Faber [Sun, 14 Jun 2015 11:19:02 +0000 (11:19 +0000)]
[MC]
- Add missing status codes STATUS_SMARTCARD_CERT_EXPIRED through STATUS_NO_S4U_PROT_SUPPORT.
CORE-8373

svn path=/trunk/; revision=68133

8 years ago[MSAFD]
Thomas Faber [Sun, 14 Jun 2015 08:03:15 +0000 (08:03 +0000)]
[MSAFD]
- Fix error mapping for STATUS_INVALID_CONNECTION
CORE-9810 CORE-9807 #resolve

svn path=/trunk/; revision=68132

8 years ago[AFD]
Thomas Faber [Sun, 14 Jun 2015 07:58:58 +0000 (07:58 +0000)]
[AFD]
- Immediately finish a zero-length request in TdiSendDatagram. This may not be completely correct (should possibly get forwarded to tcpip instead) but is better than asserting.
CORE-9810

svn path=/trunk/; revision=68131

8 years ago[AFD]
Thomas Faber [Sun, 14 Jun 2015 07:54:19 +0000 (07:54 +0000)]
[AFD]
- Don't leave the IRP queued if TdiSendDatagram does not perform its downcall. Complete it instead.
CORE-9810

svn path=/trunk/; revision=68130

8 years ago[AFD]
Thomas Faber [Sun, 14 Jun 2015 07:48:28 +0000 (07:48 +0000)]
[AFD]
- Fail sends on sockets that are not connected in AfdConnectedSocketWriteData
CORE-9810

svn path=/trunk/; revision=68129

8 years ago[PSDK]
Thomas Faber [Sun, 14 Jun 2015 07:44:06 +0000 (07:44 +0000)]
[PSDK]
- Add STATUS_INVALID_SIGNATURE through STATUS_PROTOCOL_NOT_SUPPORTED

svn path=/trunk/; revision=68128

8 years ago[NTOS|MM]
Aleksandar Andrejevic [Sun, 14 Jun 2015 04:07:11 +0000 (04:07 +0000)]
[NTOS|MM]
Addendum to 68126. The loader should return STATUS_INVALID_IMAGE_PROTECT
if e_lfanew is 0, or if the DOS stub appears too large due to a bad
e_lfanew. (Note: All plain MZ executables have an invalid e_lfanew)

svn path=/trunk/; revision=68127

8 years ago[NTOS|MM]
Aleksandar Andrejevic [Sun, 14 Jun 2015 01:37:56 +0000 (01:37 +0000)]
[NTOS|MM]
Return STATUS_INVALID_IMAGE_PROTECT if the NT header can't be read from the file.

svn path=/trunk/; revision=68126

8 years ago[FAST486]
Aleksandar Andrejevic [Sat, 13 Jun 2015 23:12:55 +0000 (23:12 +0000)]
[FAST486]
FPU exceptions are delayed until the next non-control FPU instruction.

svn path=/trunk/; revision=68125

8 years ago[USETUP]
Eric Kohl [Sat, 13 Jun 2015 23:11:57 +0000 (23:11 +0000)]
[USETUP]
AssignDriveLetters: Fix the code that assigns drive letters to logical partitions.

svn path=/trunk/; revision=68124

8 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 13 Jun 2015 19:18:25 +0000 (19:18 +0000)]
[NTOSKRNL]
- Set VadType = VadImageMap for image section mappings
- Rewrite MmGetFileNameForAddress and NtAreMappedFilesTheSame. Take into account that the first address must be an image section mapping
- Fixes a few kernel32_winetest:virtual tests
CORE-9736 #resolve

svn path=/trunk/; revision=68123

8 years ago[USETUP]
Eric Kohl [Sat, 13 Jun 2015 12:46:42 +0000 (12:46 +0000)]
[USETUP]
Allocate a disk layout buffer that is large enough to keep all partitions of the disk.

CORE-5818 resolve

svn path=/trunk/; revision=68122

8 years ago[AFD]
Thomas Faber [Sat, 13 Jun 2015 12:30:33 +0000 (12:30 +0000)]
[AFD]
- Probe for read access only in TdiSend/TdiSendDatagram
CORE-9807 resolve

svn path=/trunk/; revision=68121

8 years ago[WS2_32_APITEST]
Thomas Faber [Sat, 13 Jun 2015 12:29:07 +0000 (12:29 +0000)]
[WS2_32_APITEST]
- Add a test for send/sendto with a read-only buffer
CORE-9807

svn path=/trunk/; revision=68120

8 years ago[SERVMAN] Use a glob mechanism as resource files lists do not change often. CORE...
Amine Khaldi [Sat, 13 Jun 2015 11:41:32 +0000 (11:41 +0000)]
[SERVMAN] Use a glob mechanism as resource files lists do not change often. CORE-9806

svn path=/trunk/; revision=68119

8 years ago[SERVMAN] Properly track resource file dependencies. CORE-9806
Amine Khaldi [Sat, 13 Jun 2015 11:12:48 +0000 (11:12 +0000)]
[SERVMAN] Properly track resource file dependencies. CORE-9806

svn path=/trunk/; revision=68118

8 years ago[CMAKE] Introduce add_rc_deps() to take care of adding OBJECT_DEPENDS to rc source...
Amine Khaldi [Sat, 13 Jun 2015 11:05:03 +0000 (11:05 +0000)]
[CMAKE] Introduce add_rc_deps() to take care of adding OBJECT_DEPENDS to rc source files. CORE-9806

svn path=/trunk/; revision=68117

8 years ago[USER32][UXTHEME] Properly paint the general menubar when application is themed....
Amine Khaldi [Sat, 13 Jun 2015 11:00:24 +0000 (11:00 +0000)]
[USER32][UXTHEME] Properly paint the general menubar when application is themed. Brought to you by Stefano Toncich aka Tonix. CORE-9585

svn path=/trunk/; revision=68116

8 years ago[USETUP]
Eric Kohl [Sat, 13 Jun 2015 10:08:36 +0000 (10:08 +0000)]
[USETUP]
Get rid of CheckForLinuxFdiskPartitions.

svn path=/trunk/; revision=68115

8 years ago[USETUP]
Daniel Reimer [Fri, 12 Jun 2015 23:37:41 +0000 (23:37 +0000)]
[USETUP]
Update german language header.

svn path=/trunk/; revision=68114

8 years ago[USETUP]
Eric Kohl [Fri, 12 Jun 2015 22:56:36 +0000 (22:56 +0000)]
[USETUP]
Mark a disk as clean after the partition table has been written to the disk.

svn path=/trunk/; revision=68113

8 years ago[USETUP]
Eric Kohl [Fri, 12 Jun 2015 21:51:57 +0000 (21:51 +0000)]
[USETUP]
- Implement mandatory filesystem selection, formatting and filesystem checks for all new partitons.
- Implement optional filesystem selection, formatting and filesystem checks for formatted boot and install partitions.
- Enable installing ReactOS on primary partitions other than the first one. Usetup will install Freeloader on the first (or active) partition (aka boot partition) and install ReactOS on the chosen partition (aka install partition).

svn path=/trunk/; revision=68112

8 years ago[COMCTL32][EXPLORER][UXTHEME] Properly draw the taskbar rebar when themes are enabled...
Amine Khaldi [Fri, 12 Jun 2015 19:11:48 +0000 (19:11 +0000)]
[COMCTL32][EXPLORER][UXTHEME] Properly draw the taskbar rebar when themes are enabled. Brought to you by Stefano Toncich aka Tonix. CORE-8901

svn path=/trunk/; revision=68111

8 years ago[NTVDM]
Aleksandar Andrejevic [Fri, 12 Jun 2015 16:25:23 +0000 (16:25 +0000)]
[NTVDM]
Make fast memory hooks FASTCALL.
Only register the VGA memory hook for the region that needs to be hooked.

svn path=/trunk/; revision=68110

8 years ago[FAST486][NTVDM]
Aleksandar Andrejevic [Fri, 12 Jun 2015 03:30:40 +0000 (03:30 +0000)]
[FAST486][NTVDM]
Use FASTCALL instead of NTAPI. Merge EmulatorReadMemory with MemRead and
EmulatorWriteMemory with MemWrite.

svn path=/trunk/; revision=68109

8 years ago[NTVDM]: The DOS session ID specified in the NTVDM command line is in hexadecimal...
Hermès Bélusca-Maïto [Fri, 12 Jun 2015 01:19:19 +0000 (01:19 +0000)]
[NTVDM]: The DOS session ID specified in the NTVDM command line is in hexadecimal format (and not decimal!). Fixes NTVDM start with double-click after 9-10 launches, on ROS and Windows.

svn path=/trunk/; revision=68108

8 years ago[FAST486]
Aleksandar Andrejevic [Thu, 11 Jun 2015 21:52:46 +0000 (21:52 +0000)]
[FAST486]
The VM flag must be cleared before loading the new stack segment on a return
from v86 mode.

svn path=/trunk/; revision=68107

8 years ago[NTFS]
Pierre Schweitzer [Thu, 11 Jun 2015 20:54:01 +0000 (20:54 +0000)]
[NTFS]
- Use a lookaside list for FCB allocation
- Properly delete FCB in NtfsMountVolume()

svn path=/trunk/; revision=68106

8 years ago[HAL]
Christoph von Wittich [Thu, 11 Jun 2015 18:38:52 +0000 (18:38 +0000)]
[HAL]
replace ' laH' by TAG_HAL

svn path=/trunk/; revision=68105

8 years ago[LOCALSPL_APITEST]
Colin Finck [Wed, 10 Jun 2015 21:49:49 +0000 (21:49 +0000)]
[LOCALSPL_APITEST]
It's only the second disabled test, which is causing trouble for us, so reactivate the first one.
This also confirms that the problem is not related to SEH.

svn path=/branches/colins-printing-for-freedom/; revision=68104

8 years ago[DEVMGR]
Daniel Reimer [Wed, 10 Jun 2015 21:45:45 +0000 (21:45 +0000)]
[DEVMGR]
Replace all E/A (German Eingabe/Ausgabe) -> I/O (Input/Output) EXCEPT in the german RC file.

svn path=/trunk/; revision=68103

8 years ago[GDI32]
Daniel Reimer [Wed, 10 Jun 2015 12:04:51 +0000 (12:04 +0000)]
[GDI32]
[USER32]
Fix release build.

svn path=/trunk/; revision=68102

8 years ago[ROSHTTPD]
Daniel Reimer [Wed, 10 Jun 2015 12:01:01 +0000 (12:01 +0000)]
[ROSHTTPD]
Fix release build

svn path=/trunk/; revision=68101

8 years ago[USETUP] 1024 * 1024 is 1048576 not 1048756. Spotted by Mike Nordell aka tamlin....
Amine Khaldi [Wed, 10 Jun 2015 09:56:48 +0000 (09:56 +0000)]
[USETUP] 1024 * 1024 is 1048576 not 1048756. Spotted by Mike Nordell aka tamlin. CORE-9792

svn path=/trunk/; revision=68100

8 years ago[NTVDM]
Hermès Bélusca-Maïto [Wed, 10 Jun 2015 01:30:30 +0000 (01:30 +0000)]
[NTVDM]
- Some INT --> UINT fixes.
- Fix the third value of MemorySizes according to the specification, confirmed by Aleksander.

svn path=/trunk/; revision=68099

8 years ago[SYSSETUP][UNATTENDED] Add a way to disable Gecko install. Brought to you by V.
Amine Khaldi [Tue, 9 Jun 2015 23:20:33 +0000 (23:20 +0000)]
[SYSSETUP][UNATTENDED] Add a way to disable Gecko install. Brought to you by V.

svn path=/trunk/; revision=68098

8 years ago[RAPPS] Missed this bit.
Amine Khaldi [Tue, 9 Jun 2015 22:51:50 +0000 (22:51 +0000)]
[RAPPS] Missed this bit.

svn path=/trunk/; revision=68097

8 years ago[RAPPS] Fix the fact that the rapps download dialog uses the 32pixel icon for the...
Amine Khaldi [Tue, 9 Jun 2015 22:49:12 +0000 (22:49 +0000)]
[RAPPS] Fix the fact that the rapps download dialog uses the 32pixel icon for the download window. By Ismael Ferreras Morezuelas (IRC name swyter). CORE-9750

svn path=/trunk/; revision=68096

8 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 9 Jun 2015 19:22:52 +0000 (19:22 +0000)]
[NTVDM]
Implement cycle-based timing for VGA.

svn path=/trunk/; revision=68095

8 years ago[WIN32K]
Christoph von Wittich [Tue, 9 Jun 2015 17:43:00 +0000 (17:43 +0000)]
[WIN32K]
fix some file headers and typos

svn path=/trunk/; revision=68094

8 years ago[TRANSLATIONS]
Daniel Reimer [Tue, 9 Jun 2015 16:21:25 +0000 (16:21 +0000)]
[TRANSLATIONS]
Add/Update Chinese (zh-CN) translation by Henry Tang Ih
CORE-9003 #comment V5 patch committed, thx ^^

svn path=/trunk/; revision=68093

8 years ago[rapps]
Daniel Reimer [Tue, 9 Jun 2015 16:12:17 +0000 (16:12 +0000)]
[rapps]
Add zh-CN translation in RAPPS by Henry Tang Ih
CORE-9554 #resolve #comment Committed v4 and v5. Thx ^^

svn path=/trunk/; revision=68092

8 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 9 Jun 2015 14:48:30 +0000 (14:48 +0000)]
[NTVDM]
Properly clear the video memory when switching to a different mode.

svn path=/trunk/; revision=68091

8 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 9 Jun 2015 14:00:43 +0000 (14:00 +0000)]
[NTVDM]
Adjust Bda->ScreenColumns in graphics modes. Fix line wrapping.

svn path=/trunk/; revision=68090

8 years ago[LOCALSPL_APITEST]
Colin Finck [Tue, 9 Jun 2015 13:22:25 +0000 (13:22 +0000)]
[LOCALSPL_APITEST]
- Add more tests for fpEnumPrinters.
  For some reason, using SEH here works only once. We experience a hang in the testing process when you run the test again for a second time without restarting spoolsv. Needs more investigation.
- Ensure that the spooler service is running before starting any testing.
- Do proper cleanup in every case.

[LOCALSPL]
- Implement LocalEnumPrinters level 1 based on the API-Tests.
- Use DllAllocSplMem/DllFreeSplMem instead of HeapAlloc/HeapFree.
- Use AllocSplStr with DllFreeSplStr now that DuplicateStringW is gone.
- Use _countof where applicable.

[SPOOLSS]
- Found out that I was not the only one needing a wcsdup equivalent. My DuplicateStringW from localspl is actually exported as AllocSplStr in spoolss.
  This is actually part of a range of undocumented memory functions in spoolss, so implement and document AllocSplStr, DllAllocSplMem, DllFreeSplMem, DllFreeSplStr, ReallocSplMem and ReallocSplStr.
  Information about some of them was gathered through black box testing and DDK samples (down to Win95 DDK), which at least contained prototypes of them.
- Implement SplInitializeWinSpoolDrv based on the API-Test and simply return FALSE for SplIsUpgrade.

[SPOOLSS_APITEST]
- Add a test for ReallocSplStr, which was actually the most undocumented function of spoolss' memory functions.

[WINSPOOL]
SplInitializeWinSpoolDrv shows that we can't just auto-assign an ordinal to all winspool.drv functions. We even need to export some nameless functions by ordinal only.
Redo the whole .spec file based on the ordinals found in Windows Server 2003's winspool.drv. Trust WINE for the nameless stubs.

svn path=/branches/colins-printing-for-freedom/; revision=68089

8 years ago[NTVDM]: Fix INT 10h, AH=09h/0Ah by correctly advancing the write position (but scrol...
Hermès Bélusca-Maïto [Tue, 9 Jun 2015 12:47:58 +0000 (12:47 +0000)]
[NTVDM]: Fix INT 10h, AH=09h/0Ah by correctly advancing the write position (but scrolling is not supported in those functions), and make VidBiosDrawGlyph support using or not the attribute byte (for text modes only).

svn path=/trunk/; revision=68088

8 years ago[UDFS] Fix all GCC warnings! By V. with one little change by me to keep MSVC build...
Amine Khaldi [Tue, 9 Jun 2015 10:40:26 +0000 (10:40 +0000)]
[UDFS] Fix all GCC warnings! By V. with one little change by me to keep MSVC build working :)

svn path=/trunk/; revision=68087

8 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 9 Jun 2015 04:03:27 +0000 (04:03 +0000)]
[NTVDM]
Implement drawing characters for all supported video modes.

svn path=/trunk/; revision=68086

8 years ago[NTVDM]: Properly set the character height in the BDA per-mode (it appears that they...
Hermès Bélusca-Maïto [Tue, 9 Jun 2015 00:56:08 +0000 (00:56 +0000)]
[NTVDM]: Properly set the character height in the BDA per-mode (it appears that they are decorrelated, in video mode, with the CRTC settings, so I need to store the size separately instead of computing it by hand); correctly set the proper font when chaanging modes.

svn path=/trunk/; revision=68085

8 years ago[DEVMGR]
Eric Kohl [Mon, 8 Jun 2015 23:54:18 +0000 (23:54 +0000)]
[DEVMGR]
Display device relations.

svn path=/trunk/; revision=68084

8 years ago[UMPNPMGR]
Eric Kohl [Mon, 8 Jun 2015 23:29:59 +0000 (23:29 +0000)]
[UMPNPMGR]
Implement first part of PNP_GetDeviceList and PNP_GetDeviceListSize.

svn path=/trunk/; revision=68083

8 years ago[NTVDM]: Fix my fix (r68005) of fix of r68003 aka. properly set the FirstBoot variabl...
Hermès Bélusca-Maïto [Mon, 8 Jun 2015 21:06:28 +0000 (21:06 +0000)]
[NTVDM]: Fix my fix (r68005) of fix of r68003 aka. properly set the FirstBoot variable so that we can detect cold reboots.

svn path=/trunk/; revision=68082

8 years ago[UDFS]
Eric Kohl [Mon, 8 Jun 2015 19:54:46 +0000 (19:54 +0000)]
[UDFS]
Remove license, evaluation and demo features. They makes no sense in an open source driver.

svn path=/trunk/; revision=68081

8 years ago[LOCALSPL_APITEST]
Colin Finck [Mon, 8 Jun 2015 17:15:44 +0000 (17:15 +0000)]
[LOCALSPL_APITEST]
Write an API-Test for localspl.dll. As the original localspl.dll from Windows Server 2003 relies on proper initialization inside spoolsv.exe, we cannot test it standalone as usual.
To make testing possible anyway, this program basically does four things:

  - Injecting our testing code into spoolsv.exe.
  - Registering and running us as a service in the SYSTEM security context like spoolsv.exe, so that injection is possible at all.
  - Sending the test name and receiving the console output over named pipes.
  - Redirecting the received console output to stdout again, so it looks and feels like a standard API-Test.

Nevertheless, the testing code in fpEnumPrinters.c is still written like a usual test. The known ok(), skip(), etc. macros can be used as usual, their output is just redirected through the named pipes.
Thanks to Thomas for giving me the tip about injecting code into spoolsv! :)

svn path=/branches/colins-printing-for-freedom/; revision=68080

8 years ago[FAST486]
Aleksandar Andrejevic [Mon, 8 Jun 2015 15:56:19 +0000 (15:56 +0000)]
[FAST486]
Add constants for numeric limits.

svn path=/trunk/; revision=68079

8 years ago[FAST486]
Aleksandar Andrejevic [Mon, 8 Jun 2015 15:25:48 +0000 (15:25 +0000)]
[FAST486]
Fix IMUL. MINSHORT and MAXSHORT aren't good constants since they don't have
a (SHORT) cast, and (LONG)((SHORT)MINSHORT) is uglier than just using -32768.

svn path=/trunk/; revision=68078

8 years ago[MMSYS] Addendum to r68073. CORE-9580
Amine Khaldi [Mon, 8 Jun 2015 15:08:16 +0000 (15:08 +0000)]
[MMSYS] Addendum to r68073. CORE-9580

svn path=/trunk/; revision=68077

8 years ago[UDFS] Add a PCH.
Amine Khaldi [Mon, 8 Jun 2015 14:27:09 +0000 (14:27 +0000)]
[UDFS] Add a PCH.

svn path=/trunk/; revision=68076

8 years ago[UDFS] Explicitly mention the license (GPLv2).
Amine Khaldi [Mon, 8 Jun 2015 14:24:47 +0000 (14:24 +0000)]
[UDFS] Explicitly mention the license (GPLv2).

svn path=/trunk/; revision=68075