reactos.git
9 years ago[FREELDR]: Whitespace fixes only.
Hermès Bélusca-Maïto [Sun, 4 Jan 2015 16:42:37 +0000 (16:42 +0000)]
[FREELDR]: Whitespace fixes only.

svn path=/trunk/; revision=65972

9 years ago[FMIFS]
Eric Kohl [Sun, 4 Jan 2015 15:34:23 +0000 (15:34 +0000)]
[FMIFS]
Implement Format().

svn path=/trunk/; revision=65971

9 years ago[KERNEL32]
Eric Kohl [Sun, 4 Jan 2015 15:28:43 +0000 (15:28 +0000)]
[KERNEL32]
Tabs -> Spaces

svn path=/trunk/; revision=65970

9 years ago[USETUP]
Eric Kohl [Sun, 4 Jan 2015 13:53:45 +0000 (13:53 +0000)]
[USETUP]
- Revert partiton code to pre-r65855.

svn path=/trunk/; revision=65969

9 years ago[FREELDR]: Do the same thing as how we fill out the ARC disk block elsewhere.
Hermès Bélusca-Maïto [Sun, 4 Jan 2015 13:01:14 +0000 (13:01 +0000)]
[FREELDR]: Do the same thing as how we fill out the ARC disk block elsewhere.

svn path=/trunk/; revision=65968

9 years ago[FREELDR]: Use boolean value.
Hermès Bélusca-Maïto [Sun, 4 Jan 2015 12:49:38 +0000 (12:49 +0000)]
[FREELDR]: Use boolean value.

svn path=/trunk/; revision=65967

9 years ago[FAST486]
Aleksandar Andrejevic [Sat, 3 Jan 2015 22:24:40 +0000 (22:24 +0000)]
[FAST486]
Fix FPU exceptions (again).

svn path=/trunk/; revision=65966

9 years agoTab2Space changes.
Hermès Bélusca-Maïto [Sat, 3 Jan 2015 22:18:36 +0000 (22:18 +0000)]
Tab2Space changes.

svn path=/trunk/; revision=65965

9 years ago[FREELDR][INCLUDES]
Hermès Bélusca-Maïto [Sat, 3 Jan 2015 20:45:34 +0000 (20:45 +0000)]
[FREELDR][INCLUDES]
- ARC disk functions return ARC_STATUS codes (that are ULONG btw, not LONG). Fix prototypes where needed.
- Rearrange a bit our arc.h header by putting together related structures.

[FREELDR]
- Remove arcemul/time.c (put functions back into machine.c). ARC functions should use some SYSTEM_PARAMETER_BLOCK firmware vector array instead...

svn path=/trunk/; revision=65964

9 years ago[FREELDR]
Hermès Bélusca-Maïto [Sat, 3 Jan 2015 16:51:26 +0000 (16:51 +0000)]
[FREELDR]
- Move inXfile and rtl code into a lib subdir,
- Minor comment formatting.

svn path=/trunk/; revision=65963

9 years ago[USETUP]
Eric Kohl [Sat, 3 Jan 2015 15:33:22 +0000 (15:33 +0000)]
[USETUP]
Implement pre-install 'select format' and 'format' pages. These enable the user to re-format an existing install partitition.

CORE-9005 #resolve

svn path=/trunk/; revision=65962

9 years ago[FAST486][NTVDM]
Aleksandar Andrejevic [Sat, 3 Jan 2015 15:16:41 +0000 (15:16 +0000)]
[FAST486][NTVDM]
Use an external interrupt for the FPU when the NE bit of CR0 is cleared.

svn path=/trunk/; revision=65961

9 years ago[ROSAPPS] Convert resource files to UTF-8. By Alvin Wong. CORE-9021
Amine Khaldi [Sat, 3 Jan 2015 10:58:32 +0000 (10:58 +0000)]
[ROSAPPS] Convert resource files to UTF-8. By Alvin Wong. CORE-9021

svn path=/trunk/; revision=65960

9 years ago[BUSLOGIC][EXPLORER_OLD][EXT2][FDEBUG][MSDMO] Convert resource files to UTF-8. By...
Amine Khaldi [Sat, 3 Jan 2015 10:48:28 +0000 (10:48 +0000)]
[BUSLOGIC][EXPLORER_OLD][EXT2][FDEBUG][MSDMO] Convert resource files to UTF-8. By Alvin Wong. CORE-9021

svn path=/trunk/; revision=65959

9 years ago[KEYBOARD] Convert resource files to UTF-8. By Alvin Wong. CORE-9021
Amine Khaldi [Sat, 3 Jan 2015 10:45:58 +0000 (10:45 +0000)]
[KEYBOARD] Convert resource files to UTF-8. By Alvin Wong. CORE-9021

svn path=/trunk/; revision=65958

9 years ago[WIN32DLLS] Convert resource files to UTF-8. By Alvin Wong. CORE-9021
Amine Khaldi [Sat, 3 Jan 2015 10:34:01 +0000 (10:34 +0000)]
[WIN32DLLS] Convert resource files to UTF-8. By Alvin Wong. CORE-9021

svn path=/trunk/; revision=65957

9 years ago[SHELLEXT] Convert resource files to UTF-8. By Alvin Wong. CORE-9021
Amine Khaldi [Sat, 3 Jan 2015 10:18:03 +0000 (10:18 +0000)]
[SHELLEXT] Convert resource files to UTF-8. By Alvin Wong. CORE-9021

svn path=/trunk/; revision=65956

9 years ago[CPL] Convert resource files to UTF-8. By Alvin Wong. Translators, please review...
Amine Khaldi [Sat, 3 Jan 2015 10:11:31 +0000 (10:11 +0000)]
[CPL] Convert resource files to UTF-8. By Alvin Wong. Translators, please review! CORE-9021

svn path=/trunk/; revision=65955

9 years ago[APPLICATIONS] Convert resource files to UTF-8. By Alvin Wong. Translators, please...
Amine Khaldi [Sat, 3 Jan 2015 09:53:01 +0000 (09:53 +0000)]
[APPLICATIONS] Convert resource files to UTF-8. By Alvin Wong. Translators, please review! CORE-9021

svn path=/trunk/; revision=65954

9 years ago[MSCUTILS] Convert resource files to UTF-8. By Alvin Wong (alvinhochun - gmail)....
Amine Khaldi [Sat, 3 Jan 2015 09:45:55 +0000 (09:45 +0000)]
[MSCUTILS] Convert resource files to UTF-8. By Alvin Wong (alvinhochun - gmail). Translators, please review! CORE-9021

svn path=/trunk/; revision=65953

9 years ago[CMDUTILS] Convert resource files to UTF-8. By Alvin Wong (alvinhochun - gmail)....
Amine Khaldi [Sat, 3 Jan 2015 09:35:09 +0000 (09:35 +0000)]
[CMDUTILS] Convert resource files to UTF-8. By Alvin Wong (alvinhochun - gmail). Translators, please review! CORE-9021

svn path=/trunk/; revision=65952

9 years ago[OSK] Don't use a PCH for one source file.
Amine Khaldi [Sat, 3 Jan 2015 09:16:23 +0000 (09:16 +0000)]
[OSK] Don't use a PCH for one source file.

svn path=/trunk/; revision=65951

9 years ago[CMD] Fix duplicated ID in resources. GCC build of course doesn't warn/error about...
Amine Khaldi [Sat, 3 Jan 2015 09:10:47 +0000 (09:10 +0000)]
[CMD] Fix duplicated ID in resources. GCC build of course doesn't warn/error about this but MSVC does. CORE-9020

svn path=/trunk/; revision=65950

9 years ago[GDI32_WINETEST]
Christoph von Wittich [Sat, 3 Jan 2015 08:42:02 +0000 (08:42 +0000)]
[GDI32_WINETEST]
don't skip metafile tests anymore
#ROSTESTS-4

svn path=/trunk/; revision=65949

9 years ago[Win32ss]
James Tabor [Sat, 3 Jan 2015 06:22:31 +0000 (06:22 +0000)]
[Win32ss]
- Use proper structure name for packed DDE.

svn path=/trunk/; revision=65948

9 years ago[User32]
James Tabor [Sat, 3 Jan 2015 04:39:20 +0000 (04:39 +0000)]
[User32]
- Move dde.c to ddemisc.c to keep the same name as the wine counter part.
- Use dde.c for ReactOS based functions.

svn path=/trunk/; revision=65947

9 years ago[FAST486]
Aleksandar Andrejevic [Sat, 3 Jan 2015 03:52:50 +0000 (03:52 +0000)]
[FAST486]
Fix a bug in UnsignedDivMod128.

svn path=/trunk/; revision=65946

9 years ago[FAST486]
Aleksandar Andrejevic [Sat, 3 Jan 2015 03:26:31 +0000 (03:26 +0000)]
[FAST486]
Halfplement floating point division.
Halfplement opcode 0xD9.

svn path=/trunk/; revision=65945

9 years agoRemove unneeded .cvsignore files.
Hermès Bélusca-Maïto [Fri, 2 Jan 2015 23:44:04 +0000 (23:44 +0000)]
Remove unneeded .cvsignore files.

svn path=/trunk/; revision=65944

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

svn path=/trunk/; revision=65907

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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