reactos.git
8 years agoFix member size in the SETUP_LOADER_BLOCK structure.
Hermès Bélusca-Maïto [Fri, 2 Jan 2015 23:10:44 +0000 (23:10 +0000)]
Fix member size in the SETUP_LOADER_BLOCK structure.

svn path=/trunk/; revision=65943

8 years ago[FAST486]
Aleksandar Andrejevic [Fri, 2 Jan 2015 21:19:31 +0000 (21:19 +0000)]
[FAST486]
Implement the FWAIT instruction.
Fix FPU exception handling. Implement exception masking.
Fix several other bugs and wrong definitions.

svn path=/trunk/; revision=65942

8 years ago[CONSRV]: We can return the real NTSTATUS code instead of a STATUS_UNSUCCESSFUL....
Hermès Bélusca-Maïto [Fri, 2 Jan 2015 20:32:44 +0000 (20:32 +0000)]
[CONSRV]: We can return the real NTSTATUS code instead of a STATUS_UNSUCCESSFUL. Noticed by Thomas some time ago. I kept the STATUS_UNSUCCESSFUL first because I didn't want to change the returned status code as it was before the changes of r65449. But I changed my mind since then! d8^)

svn path=/trunk/; revision=65941

8 years ago[FAST486]
Aleksandar Andrejevic [Fri, 2 Jan 2015 18:29:30 +0000 (18:29 +0000)]
[FAST486]
Split the D8/DC opcode handler into two handlers to eliminate the extra branch.
Implement opcode DF (New instructions: FBLD and FBSTP).

svn path=/trunk/; revision=65940

8 years ago[CRYPT32] Remove redundant code_page pragma. Remove redundant cryptres.h inclusion.
Amine Khaldi [Fri, 2 Jan 2015 14:14:17 +0000 (14:14 +0000)]
[CRYPT32] Remove redundant code_page pragma. Remove redundant cryptres.h inclusion.

svn path=/trunk/; revision=65939

8 years ago[MSPAINT] partially apply patch by swyter (bugfixes only). See CORE-5644
Benedikt Freisen [Fri, 2 Jan 2015 13:58:25 +0000 (13:58 +0000)]
[MSPAINT] partially apply patch by swyter (bugfixes only). See CORE-5644

svn path=/trunk/; revision=65938

8 years ago[TRANSLATIONS] Additional Spanish locale fixes and enhancements by Ismael Ferreras...
Amine Khaldi [Fri, 2 Jan 2015 13:08:07 +0000 (13:08 +0000)]
[TRANSLATIONS] Additional Spanish locale fixes and enhancements by Ismael Ferreras Morezuelas. CORE-9014

svn path=/trunk/; revision=65937

8 years ago[MSGINA] Remember the previous choice in the shutdown dialog. Brought to you by Ricar...
Amine Khaldi [Fri, 2 Jan 2015 11:20:35 +0000 (11:20 +0000)]
[MSGINA] Remember the previous choice in the shutdown dialog. Brought to you by Ricardo Hanke. CORE-8992

svn path=/trunk/; revision=65936

8 years ago[FAST486]
Aleksandar Andrejevic [Thu, 1 Jan 2015 22:51:21 +0000 (22:51 +0000)]
[FAST486]
Fix several serious bugs in Fast486FpuToInteger.
Halfplement opcode 0xDD (everything except FRSTOR and FSAVE).
Cleanup the code a little bit.

svn path=/trunk/; revision=65935

8 years ago[FAST486]
Aleksandar Andrejevic [Thu, 1 Jan 2015 19:20:44 +0000 (19:20 +0000)]
[FAST486]
Implement opcode 0xDE (New instructions: FADDP, FMULP, FCOMPP, FSUBRP, FSUBP, FDIVRP and FDIVP).
Fix a bug in the 0xD8/0xDC opcode handler.

svn path=/trunk/; revision=65934

8 years ago[FAST486]
Aleksandar Andrejevic [Thu, 1 Jan 2015 18:05:45 +0000 (18:05 +0000)]
[FAST486]
Implement opcode 0xDA (FIADD, FIMUL, FICOM, FICOMP, FISUB, FISUBR, FIDIV, FIDIVR and FUCOMPP).

svn path=/trunk/; revision=65933

8 years ago[SETUPAPI] Handle Strings section with sub-language neutral
Hervé Poussineau [Thu, 1 Jan 2015 17:08:19 +0000 (17:08 +0000)]
[SETUPAPI] Handle Strings section with sub-language neutral

svn path=/trunk/; revision=65932

8 years ago[WIN32K]
Timo Kreuzer [Thu, 1 Jan 2015 15:14:45 +0000 (15:14 +0000)]
[WIN32K]
"unfix" ROP_TO_ROP4, it was correct before, but the used ROP in NtGdiInvertRgn was not correct. Fixes display of shortcuts.

svn path=/trunk/; revision=65931

8 years ago[MSGINA]
Giannis Adamopoulos [Thu, 1 Jan 2015 11:55:50 +0000 (11:55 +0000)]
[MSGINA]
- Implement initializing themes as msdn suggests. We don't have shsvcs.dll yet but it doesn't harm to make our gina themes ready.
See http://support.microsoft.com/kb/KbView/322047

svn path=/trunk/; revision=65930

8 years ago[WINLOGON]
Giannis Adamopoulos [Thu, 1 Jan 2015 11:43:40 +0000 (11:43 +0000)]
[WINLOGON]
- Implement calling SetWindowStationUser
See http://msdn.microsoft.com/en-us/library/windows/desktop/aa380571%28v=vs.85%29.aspx and  http://msdn.microsoft.com/en-us/library/windows/desktop/aa446670%28v=vs.85%29.aspx

svn path=/trunk/; revision=65929

8 years ago[FAST486]
Aleksandar Andrejevic [Thu, 1 Jan 2015 04:25:09 +0000 (04:25 +0000)]
[FAST486]
Finish implementing FPU opcode 0xDB (FILD, FIST, FISTP, FLD, FSTP).

svn path=/trunk/; revision=65927

8 years ago[REACTOS]: Versioning for 2015, and...
Hermès Bélusca-Maïto [Wed, 31 Dec 2014 23:00:30 +0000 (23:00 +0000)]
[REACTOS]: Versioning for 2015, and...

... Happy New Year 2015 for everybody!

☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´

⋱★⋰⋱☆⋰⋱★⋰⋱☆⋰⋱☆⋰⋱★⋰⋱☆⋰⋱★⋰⋱☆⋰
░░░░░░█░█ █▀█ █▀█ █▀█ █░█░░░░░░
░░░░░░█▀█ █▀█ █▀▀ █▀▀ ▀█▀░░░░░░
░░░░░░▀░▀ ▀░▀ ▀░░ ▀░░ ░▀░░░░░░░
█▄░█ █▀▀ █░█░█░░█░█ █▀▀ █▀█ █▀█
█░██ █▀▀ █░█░█░░▀█▀ █▀▀ █▀█ ██▀
▀░░▀ ▀▀▀ ░▀▀▀░░░░▀░ ▀▀▀ ▀░▀ ▀░▀
⋱☆⋰⋱★⋰⋱☆⋰⋱★⋰⋱★⋰⋱☆⋰⋱★⋰⋱☆⋰⋱★⋰

░░░▄████▄░▄███▄░░▄██░██████░░░
░░░▀▀░▄██░██░██░████░██▄▄▄░░░░
░░░░▄██▀░░██░██░░░██░▄▄░▀██░░░
░░░██████░▀███▀░░░██░▀████▀░░░

☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´☆.¸¸.•´

svn path=/trunk/; revision=65926

8 years ago[ICONS]
Hermès Bélusca-Maïto [Wed, 31 Dec 2014 22:26:19 +0000 (22:26 +0000)]
[ICONS]
- Use a better icon for the bootcd.
- Replace the GUI ReactOS Setup program icon with a better one, copied from msiexec (just to note, the "setup" icon from shell32 and appwiz are the same as msiexec one). Inspired from CORE-8971.

svn path=/trunk/; revision=65925

8 years agoMaybe the last committed patch of year 2014!
Hermès Bélusca-Maïto [Wed, 31 Dec 2014 21:22:49 +0000 (21:22 +0000)]
Maybe the last committed patch of year 2014!

[CMD]
Enhance the "ver" command, specifying the OS on which cmd.exe runs (that can be different from ReactOS!) and the reported OS version when using the $V prompt format specifier.
Patch by Lee Schroeder, with modifications by me, see the report for more details.
CORE-8970 #resolve #comment Committed in revision 65924, thanks!

svn path=/trunk/; revision=65924

8 years ago[USETUP]
Eric Kohl [Wed, 31 Dec 2014 20:51:56 +0000 (20:51 +0000)]
[USETUP]
You can install ReactOS on 'unpartitioned space' again. Usetup will create a primary partition that spans the whole unpartitioned space, format the partition and install ReactOS on that partition.

svn path=/trunk/; revision=65923

8 years ago[TRANSLATIONS] Spanish translation update by Ismael Ferreras Morezuelas. CORE-8991
Amine Khaldi [Wed, 31 Dec 2014 19:16:03 +0000 (19:16 +0000)]
[TRANSLATIONS] Spanish translation update by Ismael Ferreras Morezuelas. CORE-8991

svn path=/trunk/; revision=65922

8 years ago[WIN32K]
Timo Kreuzer [Wed, 31 Dec 2014 17:10:59 +0000 (17:10 +0000)]
[WIN32K]
Use the correct flags member in the DC to mark the RAO region dirty.

svn path=/trunk/; revision=65921

8 years ago[WIN32K]
Timo Kreuzer [Wed, 31 Dec 2014 16:22:23 +0000 (16:22 +0000)]
[WIN32K]
Mark RAO region as dirty in NtGdiSelectBitmap, hopefully fixes CORE-8989

svn path=/trunk/; revision=65920

8 years ago[WIN32K]
Timo Kreuzer [Wed, 31 Dec 2014 15:15:44 +0000 (15:15 +0000)]
[WIN32K]
Rewrite IntEngMaskBlt to work with device managed surfaces. Should fix CORE-7821 and CORE-8711

svn path=/trunk/; revision=65919

8 years ago[WIN32K]
Timo Kreuzer [Wed, 31 Dec 2014 15:15:39 +0000 (15:15 +0000)]
[WIN32K]
Fix calculation of the source point in EngCopyBits for complex clipping regions. One might assume that this function is so essential, that it would do at least the most basic stuff correctly, but ...

svn path=/trunk/; revision=65918

8 years ago[FREELDR]
Pierre Schweitzer [Wed, 31 Dec 2014 13:04:04 +0000 (13:04 +0000)]
[FREELDR]
Display an error message with the file name in case we cannot get a file size over PXE.

This makes the error message "(../../boot/freeldr/freeldr/fs/pxe.c:107) err: PxeCall(0x25, 0000E8DE) failed with exit=1 status=0x1" in case of PXE boot less dramatic: it is expected not to find NTBOOTDD.SYS

svn path=/trunk/; revision=65917

8 years ago[USETUP]
Eric Kohl [Wed, 31 Dec 2014 10:09:28 +0000 (10:09 +0000)]
[USETUP]
Move the code that updates the partition type from FormatPartitionPage to a separate function (UpdatePartitionType) and call it from SelectPartitionPage. This fixes the creation of primary partitions.

svn path=/trunk/; revision=65916

8 years ago[WIN32K]: Some whitespace fixes. This gives me also the occasion to test few things:
Hermès Bélusca-Maïto [Tue, 30 Dec 2014 21:58:12 +0000 (21:58 +0000)]
[WIN32K]: Some whitespace fixes. This gives me also the occasion to test few things:

░░░░░░█ █ █▀▀ █   █   █▀█░░░░░
░░░░░░█▀█ █▀▀ █ ▄ █ ▄ █ █░░░░░
░░░░░░▀ ▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀░░░░░

░░░░░░█ █ █▀▀ █   █   █▀█░░░░░
░░░░░░█▀█ █▀▀ █ ▄ █ ▄ █ █░░░░░
░░░░░░▀ ▀ ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀░░░░░

!error RosBuild: dance
RosBuild: dance
RosKGB: hi!

svn path=/trunk/; revision=65915

8 years ago[WIN32K]
Timo Kreuzer [Tue, 30 Dec 2014 21:03:13 +0000 (21:03 +0000)]
[WIN32K]
- Fix definition of ROP_TO_ROP4
- Move some macros to intgdi.h
- Fix coordinate space mismatch in IntGdiBitBltRgn and IntGdiFillRgn
Fixes console window selection

svn path=/trunk/; revision=65914

8 years ago[USETUP]
Eric Kohl [Tue, 30 Dec 2014 20:17:27 +0000 (20:17 +0000)]
[USETUP]
InstallDirectoryPage1: Initialize DestinationRootPath. ReactOS can be installed on an existing partition again.
CORE-8984 #resolve

svn path=/trunk/; revision=65913

8 years ago[WIN32K]
Timo Kreuzer [Tue, 30 Dec 2014 19:38:41 +0000 (19:38 +0000)]
[WIN32K]
Make sure the PDEV is locked before dereferencing the DC's surface

svn path=/trunk/; revision=65912

8 years ago[WIN32K]
Timo Kreuzer [Tue, 30 Dec 2014 19:38:37 +0000 (19:38 +0000)]
[WIN32K]
Simplify updating prgnVis in NtGdiSelectBitmap

svn path=/trunk/; revision=65911

8 years ago[WIN32K]
Timo Kreuzer [Tue, 30 Dec 2014 19:38:07 +0000 (19:38 +0000)]
[WIN32K]
- Rewrite NtGdiInvertRgn to not violate locking order
- Remove DceUpdateVisRgn from DC_vPrepareDCsForBlit: It is not GDI's task to handle Window clipping, it violates locking order, it's slow, it's ugly to call USER functions from GDI internals, it's a hack. I couldn't see any clipping regression, if you find anything, let me know.

svn path=/trunk/; revision=65910

8 years ago[FREELDR]
Pierre Schweitzer [Tue, 30 Dec 2014 13:51:41 +0000 (13:51 +0000)]
[FREELDR]
Simplify the stack management in PxeCallApi(), we don't need that much

svn path=/trunk/; revision=65909

8 years ago[GDI32]
Timo Kreuzer [Tue, 30 Dec 2014 13:21:48 +0000 (13:21 +0000)]
[GDI32]
Remove some breakpoints and add some DPRINTs.

svn path=/trunk/; revision=65908

8 years ago[FREELDR]
Pierre Schweitzer [Tue, 30 Dec 2014 13:14:33 +0000 (13:14 +0000)]
[FREELDR]
Tab -> spaces

svn path=/trunk/; revision=65907

8 years ago[CALC]
Hermès Bélusca-Maïto [Tue, 30 Dec 2014 12:21:04 +0000 (12:21 +0000)]
[CALC]
Use RegCreateKeyEx to be able to create the settings registry key in case it doesn't already exist.
Patch by Ricardo Hanke.
CORE-8986 #resolve #comment Fixed, thanks!

svn path=/trunk/; revision=65906

8 years ago[FREELDR] Make the disk read buffer size dynamic
Hervé Poussineau [Tue, 30 Dec 2014 11:53:09 +0000 (11:53 +0000)]
[FREELDR] Make the disk read buffer size dynamic

CORE-8772 CORE-8899 #resolve #comment Should be fixed in r65904. Thanks for reporting.

svn path=/trunk/; revision=65905

8 years ago[RAMDISK] Send the right DeviceObject in IRP_MN_QUERY_DEVICE_RELATIONS
Hervé Poussineau [Tue, 30 Dec 2014 11:53:05 +0000 (11:53 +0000)]
[RAMDISK] Send the right DeviceObject in IRP_MN_QUERY_DEVICE_RELATIONS

svn path=/trunk/; revision=65904

8 years ago[RAMDISK] Set correct device object in drive extension
Hervé Poussineau [Mon, 29 Dec 2014 23:21:25 +0000 (23:21 +0000)]
[RAMDISK] Set correct device object in drive extension

This allows booting ReactOS livecd using PXE.

Welcome ReactOS to the world of computers without harddisk/cdrom.

svn path=/trunk/; revision=65903

8 years ago[RAMDISK]
Pierre Schweitzer [Mon, 29 Dec 2014 23:14:42 +0000 (23:14 +0000)]
[RAMDISK]
Implement RamdiskQueryDeviceRelations() when the device is a drive

According to Hervé, this allows booting ReactOS livecd using PXE (with one of his patch).

svn path=/trunk/; revision=65902

8 years ago[RAMDISK]
Pierre Schweitzer [Mon, 29 Dec 2014 22:55:21 +0000 (22:55 +0000)]
[RAMDISK]
Simplify & use IoCopyCurrentIrpStackLocationToNext()

svn path=/trunk/; revision=65901

8 years ago[RAMDISK]
Pierre Schweitzer [Mon, 29 Dec 2014 22:42:11 +0000 (22:42 +0000)]
[RAMDISK]
- Implement RamdiskQueryCapabilities() which is used in case of IRP_MJ_PNP + IRP_MN_QUERY_CAPABILITIES
- Implement RamdiskQueryDeviceText() which is used in case of IRP_MJ_PNP + IRP_MN_QUERY_DEVICE_TEXT
- Implement RamdiskQueryBusInformation() which is used in case of IRP_MJ_PNP + IRP_MN_QUERY_BUS_INFORMATION
- Implement RamdiskIoCompletionRoutine() which is the completion routine in case of IRP forwarding
- Also implement support for IRP_MJ_PNP + IRP_MN_START_DEVICE
- Define the RamdiskDiskInterface GUID

This slowly gets RamDisk driver PnP compliant...

svn path=/trunk/; revision=65900

8 years ago[USETUP]
Eric Kohl [Mon, 29 Dec 2014 21:23:30 +0000 (21:23 +0000)]
[USETUP]
Change the partition creation workflow, so that the user is forced to choose a file system type and format a partition after it has been created.

svn path=/trunk/; revision=65899

8 years ago[RAMDISK]
Pierre Schweitzer [Mon, 29 Dec 2014 21:22:49 +0000 (21:22 +0000)]
[RAMDISK]
Wait for 1 min max but don't limit the number of acquire, ie: swap inverted args.
This fixes ASSERT on use.

Spotted by Hervé

svn path=/trunk/; revision=65898

8 years ago[RAPPS]
Hermès Bélusca-Maïto [Mon, 29 Dec 2014 21:12:06 +0000 (21:12 +0000)]
[RAPPS]
Finish Japanese translation, fix by Ai Asano and reported by Marco Maria Emanuele Bartucci.
CORE-8983 #resolve #comment Fixed, thanks!

svn path=/trunk/; revision=65897

8 years ago[RAMDISK]
Pierre Schweitzer [Mon, 29 Dec 2014 20:41:15 +0000 (20:41 +0000)]
[RAMDISK]
Define the GUID_BUS_TYPE_RAMDISK GUID

svn path=/trunk/; revision=65896

8 years ago[RAMDISK]
Pierre Schweitzer [Mon, 29 Dec 2014 18:00:50 +0000 (18:00 +0000)]
[RAMDISK]
Implement RamdiskQueryId() which is used in case of IRP_MJ_PNP + IRP_MN_QUERY_ID

svn path=/trunk/; revision=65895

8 years ago[WHOAMI]
Aleksandar Andrejevic [Mon, 29 Dec 2014 16:20:00 +0000 (16:20 +0000)]
[WHOAMI]
Use ANSI when printing to the console. Fix the logic of LookupPrivilegeDisplayNameW.
Patch by Ismael Ferreras Morezuelas.

CORE-8965 #resolve #comment Committed in revision r65894. Thanks!

svn path=/trunk/; revision=65894

8 years ago[GDI32]
Timo Kreuzer [Mon, 29 Dec 2014 14:25:30 +0000 (14:25 +0000)]
[GDI32]
Import metafile code from wine. The wine code is unmodified (please keep it that way) and used through a wrapper function dispatcher and some helpers. Fixes 1931 wine tests.

svn path=/trunk/; revision=65893

8 years ago[WIN32K]
Timo Kreuzer [Mon, 29 Dec 2014 14:16:16 +0000 (14:16 +0000)]
[WIN32K]
Simplify and fix calculation of biCompression in GreGetDIBitsInternal

svn path=/trunk/; revision=65892

8 years ago[WIN32K]
Hermès Bélusca-Maïto [Mon, 29 Dec 2014 13:56:28 +0000 (13:56 +0000)]
[WIN32K]
- Add global user heap (un)map helper functions that will be used in other portions of code.
- For consistency purpose also add the note about the mapping in desktop.c (see r65863 for what I mean).
- Temporarily add many trace messages.

svn path=/trunk/; revision=65891

8 years ago[NTOS:IO] Add some debug prints for remove locks
Hervé Poussineau [Mon, 29 Dec 2014 13:16:07 +0000 (13:16 +0000)]
[NTOS:IO] Add some debug prints for remove locks

svn path=/trunk/; revision=65890

8 years ago[GDI32]
Timo Kreuzer [Mon, 29 Dec 2014 13:12:29 +0000 (13:12 +0000)]
[GDI32]
In Escape() make use of GdiGetDcAttr(), GreatLordish -> English and fix copy-pasta in comments, improve formatting, remove some code that (attention euphemism) wasn't exactly correct.

svn path=/trunk/; revision=65889

8 years ago[GDI32]
Timo Kreuzer [Mon, 29 Dec 2014 13:12:23 +0000 (13:12 +0000)]
[GDI32]
Fix some parameters in the spec file

svn path=/trunk/; revision=65888

8 years ago[WINE]
Timo Kreuzer [Mon, 29 Dec 2014 13:12:15 +0000 (13:12 +0000)]
[WINE]
Add LOGBRUSH16 and LOGPEN16 to wingdi16.h

svn path=/trunk/; revision=65887

8 years ago[WIN32K]
Timo Kreuzer [Mon, 29 Dec 2014 13:12:10 +0000 (13:12 +0000)]
[WIN32K]
Implement GdiGetEMFRestorDc case in NtGdiGetDCDword

svn path=/trunk/; revision=65886

8 years ago[WIN32K]
Timo Kreuzer [Mon, 29 Dec 2014 13:12:05 +0000 (13:12 +0000)]
[WIN32K]
- Implement GreCreateCompatibleDC, allowing to pass in a boolean value, specifying the DC type (normal or "alternative" DC, aka metafile DC)
- Properly implement NtGdiCreateMetafileDC around GreCreateCompatibleDC

svn path=/trunk/; revision=65885

8 years ago[WIN32K]
Timo Kreuzer [Mon, 29 Dec 2014 13:11:59 +0000 (13:11 +0000)]
[WIN32K]
- Implement NtGdiGetObjectBitmapHandle
- Set BR_IS_DIBPALCOLORS in IntGdiCreateDIBBrush

svn path=/trunk/; revision=65884

8 years ago[GDI32]
Timo Kreuzer [Mon, 29 Dec 2014 13:11:54 +0000 (13:11 +0000)]
[GDI32]
In DeleteObject handle ALTDC type, factor out GdiDeleteBrushOrPen, improve code a bit

svn path=/trunk/; revision=65883

8 years ago[GDI32]
Timo Kreuzer [Mon, 29 Dec 2014 13:11:48 +0000 (13:11 +0000)]
[GDI32]
Improve client object code

svn path=/trunk/; revision=65882

8 years ago[GDI32]
Timo Kreuzer [Mon, 29 Dec 2014 13:11:40 +0000 (13:11 +0000)]
[GDI32]
Improve GetROP2and SetROP2

svn path=/trunk/; revision=65881

8 years ago[GDI32]
Timo Kreuzer [Mon, 29 Dec 2014 13:11:35 +0000 (13:11 +0000)]
[GDI32]
- Do not call BitBlt from StretchBlt when extension matches, this is handled in win32k
- Use GdiGetDcAttr

svn path=/trunk/; revision=65880

8 years ago[GDI32]
Timo Kreuzer [Mon, 29 Dec 2014 13:11:31 +0000 (13:11 +0000)]
[GDI32]
Improve code in painting.c:
- Add annotations
- Use consitent formatting
- Use better parameter/variable names

svn path=/trunk/; revision=65879

8 years ago[GDI32]
Timo Kreuzer [Mon, 29 Dec 2014 13:11:27 +0000 (13:11 +0000)]
[GDI32]
Move PatBlt, GetROP2 and SetROP2 to appropriate source files

svn path=/trunk/; revision=65878

8 years ago[GDI32]
Timo Kreuzer [Mon, 29 Dec 2014 13:11:07 +0000 (13:11 +0000)]
[GDI32]
Add anotations to arc.c, replace an instance of the ugly gfx_worker with an RCAST() macro

svn path=/trunk/; revision=65877

8 years ago[TRANSLATIONS] Chinese (zh-CN) translation update by Henry Tang Ih. CORE-8935
Amine Khaldi [Mon, 29 Dec 2014 12:56:47 +0000 (12:56 +0000)]
[TRANSLATIONS] Chinese (zh-CN) translation update by Henry Tang Ih. CORE-8935

svn path=/trunk/; revision=65876

8 years ago[PSDK]
Timo Kreuzer [Mon, 29 Dec 2014 12:28:56 +0000 (12:28 +0000)]
[PSDK]
Fix copypasta from r65873

svn path=/trunk/; revision=65875

8 years ago[SHELL32]
Giannis Adamopoulos [Mon, 29 Dec 2014 12:24:03 +0000 (12:24 +0000)]
[SHELL32]
* Give focus to the def view control when CDesktopBrowser gets focus.
CORE-8980

svn path=/trunk/; revision=65874

8 years ago[PSDK]
Timo Kreuzer [Mon, 29 Dec 2014 12:01:23 +0000 (12:01 +0000)]
[PSDK]
Improve some prototypes in wingdi.h

svn path=/trunk/; revision=65873

8 years ago[RAMDISK] Explicit the relation type check
Hervé Poussineau [Mon, 29 Dec 2014 09:07:01 +0000 (09:07 +0000)]
[RAMDISK] Explicit the relation type check

svn path=/trunk/; revision=65872

8 years ago[RAMDISK] White space fixes
Hervé Poussineau [Mon, 29 Dec 2014 09:06:58 +0000 (09:06 +0000)]
[RAMDISK] White space fixes

svn path=/trunk/; revision=65871

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 28 Dec 2014 22:48:08 +0000 (22:48 +0000)]
[NTOSKRNL]
Use the PIP_REGISTRY_DATA() for DevicePropertyInstallState case in IoGetDeviceProperty()

svn path=/trunk/; revision=65870

8 years ago[RAMDISK]
Pierre Schweitzer [Sun, 28 Dec 2014 22:37:55 +0000 (22:37 +0000)]
[RAMDISK]
Implement support for IOCTL_DISK_CHECK_VERIFY, IOCTL_STORAGE_CHECK_VERIFY, IOCTL_STORAGE_CHECK_VERIFY2, IOCTL_CDROM_CHECK_VERIFY

svn path=/trunk/; revision=65869

8 years ago[NTOS:IOMGR] When booting from a ramdisk, always assign drive letter X: to it
Hervé Poussineau [Sun, 28 Dec 2014 22:33:17 +0000 (22:33 +0000)]
[NTOS:IOMGR] When booting from a ramdisk, always assign drive letter X: to it

The only incomplete part to boot the LiveCD from PXE is some support in ramdisk.sys

svn path=/trunk/; revision=65868

8 years ago[NTOS:PNPMGR] Implement IoGetDeviceProperty/DevicePropertyInstallState case
Hervé Poussineau [Sun, 28 Dec 2014 22:33:11 +0000 (22:33 +0000)]
[NTOS:PNPMGR] Implement IoGetDeviceProperty/DevicePropertyInstallState case

svn path=/trunk/; revision=65867

8 years ago[FREELDR] Add missing dependency (required by scsiport.c)
Hervé Poussineau [Sun, 28 Dec 2014 22:15:34 +0000 (22:15 +0000)]
[FREELDR] Add missing dependency (required by scsiport.c)

svn path=/trunk/; revision=65866

8 years ago[WHOAMI] Better error message when we're unable to find the logon SID
Hervé Poussineau [Sun, 28 Dec 2014 22:15:08 +0000 (22:15 +0000)]
[WHOAMI] Better error message when we're unable to find the logon SID

svn path=/trunk/; revision=65865

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 28 Dec 2014 21:29:32 +0000 (21:29 +0000)]
[NTOSKRNL]
Add missing specifiers

svn path=/trunk/; revision=65864

8 years ago[WIN32K]
Hermès Bélusca-Maïto [Sun, 28 Dec 2014 20:50:35 +0000 (20:50 +0000)]
[WIN32K]
A bit of code reorganization:
- move a maximum of typedefs into their corresponding headers,
- move user heap functionality into a dedicated header,
- add a note in some functions that the first heap mapping entry in the W32 process info structure is dedicated for the global user heap mapping,
- remove extra-parenthesis in casts.

svn path=/trunk/; revision=65863

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 28 Dec 2014 18:31:06 +0000 (18:31 +0000)]
[NTOSKRNL]
- In case of AssignSecurityDescriptor operation in IopGetSetSecurityObject(), put the security descriptor in cache before attempting the assignement
- In IopUnloadDevice(), don't attempt to free the security descriptor, let this to Ob by just derefencing it. Spotted & fixed by Thomas.

This unregresses VMware Tools installation.

CORE-7991

svn path=/trunk/; revision=65862

8 years ago[WIN32K]
Hermès Bélusca-Maïto [Sun, 28 Dec 2014 15:28:00 +0000 (15:28 +0000)]
[WIN32K]
Split init code into GDI part and USER part. Don't use Eng* functions to initialize the InputIdleEvent.
Part 2/x

svn path=/trunk/; revision=65861

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 28 Dec 2014 13:15:14 +0000 (13:15 +0000)]
[NTOSKRNL]
Also lock IopSecurityResource during access check in IopParseDevice

svn path=/trunk/; revision=65860

8 years ago[MSI]
Thomas Faber [Sun, 28 Dec 2014 13:05:48 +0000 (13:05 +0000)]
[MSI]
- Apply Wine commit f41ac94e (msi: Include the terminating null in the buffer size for decoded stream names.) by Hans Leidekker. Fixes a stack buffer overflow when installing VMware Tools.

svn path=/trunk/; revision=65859

8 years ago[WIN32K]: Rework a bit the initialization code to modularize it a bit (some parts...
Hermès Bélusca-Maïto [Sun, 28 Dec 2014 13:00:28 +0000 (13:00 +0000)]
[WIN32K]: Rework a bit the initialization code to modularize it a bit (some parts to be reused in other places). Part 1/x

svn path=/trunk/; revision=65858

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 28 Dec 2014 12:57:58 +0000 (12:57 +0000)]
[NTOSKRNL]
Acquire IopSecurityResource exclusive when required. Spotted by Thomas.

svn path=/trunk/; revision=65857

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 28 Dec 2014 10:05:29 +0000 (10:05 +0000)]
[NTOSKRNL]
- Implement IopGetDeviceAttachmentBase() which allows getting the base device of the device stack given any device object in it
- Implement IopGetDevicePDO() which returns the physical device object of the device stack given any device object in it
- Implement IopSetDeviceSecurityDescriptor() which will swap the old security descriptor of a device object with a new provided one
- Implement IopSetDeviceSecurityDescriptors() which will swap the old security descriptor with a new provided one in all the device objects from the lowest provided to the uppest provided one.
- Fix a fixme in IopGetSetSecurityObject(), the operation SetSecurityDescriptor is now fully implemented for both PDO & DO.

This is required by VMware driver vmci.sys.
Even though, the installation doesn't get any better; it just changes the BSOD, we now face a memory corruption (in SE).

CORE-7991

svn path=/trunk/; revision=65856

8 years ago[USETUP]
Eric Kohl [Sun, 28 Dec 2014 09:16:41 +0000 (09:16 +0000)]
[USETUP]
Update the on-disk partition tables immediately after modifying the in-memory tables.

svn path=/trunk/; revision=65855

8 years ago[RAPPS]
Aleksey Bragin [Sat, 27 Dec 2014 22:19:36 +0000 (22:19 +0000)]
[RAPPS]
- Add another tiny text-editor Akelpad, which works "good enough" in ReactOS.
Suggested by sergeygraf@yandex.ru, patch created by rechitskiy@reactos.org

svn path=/trunk/; revision=65854

8 years ago[ADVAPI/LSASRV] Implement LookupPrivilegeDisplayNameA, LookupPrivilegeDisplayNameW...
Hervé Poussineau [Sat, 27 Dec 2014 19:57:42 +0000 (19:57 +0000)]
[ADVAPI/LSASRV] Implement LookupPrivilegeDisplayNameA, LookupPrivilegeDisplayNameW, LsaLookupPrivilegeDisplayName, LsarLookupPrivilegeDisplayName

Also partly implement LsarpLookupPrivilegeDisplayName (currently, privilege description is the same as privilege name)

svn path=/trunk/; revision=65853

8 years ago[WIN32K]
Hermès Bélusca-Maïto [Sat, 27 Dec 2014 19:16:05 +0000 (19:16 +0000)]
[WIN32K]
- Put GDI initialization function(s) in a dedicated file.
- Whitespace fixes...

svn path=/trunk/; revision=65852

8 years ago[FRAMEDYN]
David Quintana [Sat, 27 Dec 2014 14:04:32 +0000 (14:04 +0000)]
[FRAMEDYN]
* Actually use the right declaration. Fixes MSVC builds.

svn path=/trunk/; revision=65851

8 years ago[NTOSKRNL]
Pierre Schweitzer [Sat, 27 Dec 2014 13:46:00 +0000 (13:46 +0000)]
[NTOSKRNL]
Rename IopSecurityFile() to IopGetSetSecurityObject()

svn path=/trunk/; revision=65850

8 years ago[FRAMEDYN]
Pierre Schweitzer [Sat, 27 Dec 2014 13:33:14 +0000 (13:33 +0000)]
[FRAMEDYN]
Partly implement the Provider class from WMI.
This allows VMware Tools installer to complain a bit less about imports not found.

The installation still fails and still ends with a BSOD though.

CORE-7991

svn path=/trunk/; revision=65849

8 years ago[RAPPS]
Daniel Reimer [Sat, 27 Dec 2014 13:00:03 +0000 (13:00 +0000)]
[RAPPS]
Add WINE Mono to RAPPS
CORE-8871 #resolve #comment Added to RApps DB.

svn path=/trunk/; revision=65848

8 years ago[USETUP]
Eric Kohl [Sat, 27 Dec 2014 12:33:59 +0000 (12:33 +0000)]
[USETUP]
- Re-enable the partition size check and display a warning if the install partition is too small.
- Update the required install partition size to 550MB.

svn path=/trunk/; revision=65847

8 years ago[USETUP]
Eric Kohl [Sat, 27 Dec 2014 10:15:32 +0000 (10:15 +0000)]
[USETUP]
AddPartitionToDisk: Initialize DiskEntry pointer for existing partition entries.

svn path=/trunk/; revision=65846

8 years ago[Win32ss]
James Tabor [Sat, 27 Dec 2014 06:59:29 +0000 (06:59 +0000)]
[Win32ss]
- Add header for Ime information. Setup support for Ime types and hot keys.
- Finish keyboard processing changes and call Imm process key for callback to user mode.

svn path=/trunk/; revision=65845

8 years ago[w32knapi]
James Tabor [Sat, 27 Dec 2014 06:33:48 +0000 (06:33 +0000)]
[w32knapi]
- Add Imm.h.

svn path=/trunk/; revision=65844

8 years ago[Include]
James Tabor [Sat, 27 Dec 2014 04:18:17 +0000 (04:18 +0000)]
[Include]
- Add mod switch for SAS hotkey support.
- Add ImmProcessKey return flags, works the same as ImmProcessHotKey for WinCE.

svn path=/trunk/; revision=65843