Commit graph

60357 commits

Author SHA1 Message Date
Amine Khaldi c7e2c1e0f8 [TRANSLATIONS] Spanish translation update by Ismael Ferreras Morezuelas. CORE-8991
svn path=/trunk/; revision=65922
2014-12-31 19:16:03 +00:00
Timo Kreuzer 9c81da0f9c [WIN32K]
Use the correct flags member in the DC to mark the RAO region dirty.

svn path=/trunk/; revision=65921
2014-12-31 17:10:59 +00:00
Timo Kreuzer 6cf32db099 [WIN32K]
Mark RAO region as dirty in NtGdiSelectBitmap, hopefully fixes CORE-8989

svn path=/trunk/; revision=65920
2014-12-31 16:22:23 +00:00
Timo Kreuzer 7b0c1877b9 [WIN32K]
Rewrite IntEngMaskBlt to work with device managed surfaces. Should fix CORE-7821 and CORE-8711

svn path=/trunk/; revision=65919
2014-12-31 15:15:44 +00:00
Timo Kreuzer b193a23ecc [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
2014-12-31 15:15:39 +00:00
Pierre Schweitzer 3de56b3af4 [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
2014-12-31 13:04:04 +00:00
Eric Kohl 20b0193d01 [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
2014-12-31 10:09:28 +00:00
Hermès Bélusca-Maïto 971bd0510b [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
2014-12-30 21:58:12 +00:00
Timo Kreuzer 1cb80f3aa0 [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
2014-12-30 21:03:13 +00:00
Eric Kohl 1624612861 [USETUP]
InstallDirectoryPage1: Initialize DestinationRootPath. ReactOS can be installed on an existing partition again.
CORE-8984 #resolve

svn path=/trunk/; revision=65913
2014-12-30 20:17:27 +00:00
Timo Kreuzer e7d3b42a46 [WIN32K]
Make sure the PDEV is locked before dereferencing the DC's surface

svn path=/trunk/; revision=65912
2014-12-30 19:38:41 +00:00
Timo Kreuzer 56aa42fe6e [WIN32K]
Simplify updating prgnVis in NtGdiSelectBitmap

svn path=/trunk/; revision=65911
2014-12-30 19:38:37 +00:00
Timo Kreuzer 3c30e5af66 [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
2014-12-30 19:38:07 +00:00
Pierre Schweitzer e1f04ea0de [FREELDR]
Simplify the stack management in PxeCallApi(), we don't need that much

svn path=/trunk/; revision=65909
2014-12-30 13:51:41 +00:00
Timo Kreuzer c21b05742a [GDI32]
Remove some breakpoints and add some DPRINTs.

svn path=/trunk/; revision=65908
2014-12-30 13:21:48 +00:00
Pierre Schweitzer 99461a5b67 [FREELDR]
Tab -> spaces

svn path=/trunk/; revision=65907
2014-12-30 13:14:33 +00:00
Hermès Bélusca-Maïto 7316e9742e [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
2014-12-30 12:21:04 +00:00
Hervé Poussineau 2272ff8795 [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
2014-12-30 11:53:09 +00:00
Hervé Poussineau f654bb0d51 [RAMDISK] Send the right DeviceObject in IRP_MN_QUERY_DEVICE_RELATIONS
svn path=/trunk/; revision=65904
2014-12-30 11:53:05 +00:00
Hervé Poussineau 5a3a445b01 [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
2014-12-29 23:21:25 +00:00
Pierre Schweitzer b9f5240173 [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
2014-12-29 23:14:42 +00:00
Pierre Schweitzer 9532ddd779 [RAMDISK]
Simplify & use IoCopyCurrentIrpStackLocationToNext()

svn path=/trunk/; revision=65901
2014-12-29 22:55:21 +00:00
Pierre Schweitzer 9980552e04 [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
2014-12-29 22:42:11 +00:00
Eric Kohl ac0ac23b55 [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
2014-12-29 21:23:30 +00:00
Pierre Schweitzer 33f089b6ae [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
2014-12-29 21:22:49 +00:00
Hermès Bélusca-Maïto cd50299dd2 [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
2014-12-29 21:12:06 +00:00
Pierre Schweitzer bdcb167357 [RAMDISK]
Define the GUID_BUS_TYPE_RAMDISK GUID

svn path=/trunk/; revision=65896
2014-12-29 20:41:15 +00:00
Pierre Schweitzer ff098a27eb [RAMDISK]
Implement RamdiskQueryId() which is used in case of IRP_MJ_PNP + IRP_MN_QUERY_ID

svn path=/trunk/; revision=65895
2014-12-29 18:00:50 +00:00
Aleksandar Andrejevic 4037b3b7c0 [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
2014-12-29 16:20:00 +00:00
Timo Kreuzer e6475301eb [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
2014-12-29 14:25:30 +00:00
Timo Kreuzer 2bcae18ec6 [WIN32K]
Simplify and fix calculation of biCompression in GreGetDIBitsInternal

svn path=/trunk/; revision=65892
2014-12-29 14:16:16 +00:00
Hermès Bélusca-Maïto 7c39a4ecb6 [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
2014-12-29 13:56:28 +00:00
Hervé Poussineau 3793271edf [NTOS:IO] Add some debug prints for remove locks
svn path=/trunk/; revision=65890
2014-12-29 13:16:07 +00:00
Timo Kreuzer 503848e61e [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
2014-12-29 13:12:29 +00:00
Timo Kreuzer c8bc34b358 [GDI32]
Fix some parameters in the spec file

svn path=/trunk/; revision=65888
2014-12-29 13:12:23 +00:00
Timo Kreuzer 685a373f23 [WINE]
Add LOGBRUSH16 and LOGPEN16 to wingdi16.h

svn path=/trunk/; revision=65887
2014-12-29 13:12:15 +00:00
Timo Kreuzer 2bf752a8fe [WIN32K]
Implement GdiGetEMFRestorDc case in NtGdiGetDCDword

svn path=/trunk/; revision=65886
2014-12-29 13:12:10 +00:00
Timo Kreuzer 5d0f363c9f [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
2014-12-29 13:12:05 +00:00
Timo Kreuzer ed7952a360 [WIN32K]
- Implement NtGdiGetObjectBitmapHandle
- Set BR_IS_DIBPALCOLORS in IntGdiCreateDIBBrush

svn path=/trunk/; revision=65884
2014-12-29 13:11:59 +00:00
Timo Kreuzer 30d86f26f4 [GDI32]
In DeleteObject handle ALTDC type, factor out GdiDeleteBrushOrPen, improve code a bit

svn path=/trunk/; revision=65883
2014-12-29 13:11:54 +00:00
Timo Kreuzer a0624a040f [GDI32]
Improve client object code

svn path=/trunk/; revision=65882
2014-12-29 13:11:48 +00:00
Timo Kreuzer 292ef5fd5c [GDI32]
Improve GetROP2and SetROP2

svn path=/trunk/; revision=65881
2014-12-29 13:11:40 +00:00
Timo Kreuzer b818c891bf [GDI32]
- Do not call BitBlt from StretchBlt when extension matches, this is handled in win32k
- Use GdiGetDcAttr

svn path=/trunk/; revision=65880
2014-12-29 13:11:35 +00:00
Timo Kreuzer e4cf6cd543 [GDI32]
Improve code in painting.c:
- Add annotations
- Use consitent formatting
- Use better parameter/variable names

svn path=/trunk/; revision=65879
2014-12-29 13:11:31 +00:00
Timo Kreuzer cab100d983 [GDI32]
Move PatBlt, GetROP2 and SetROP2 to appropriate source files

svn path=/trunk/; revision=65878
2014-12-29 13:11:27 +00:00
Timo Kreuzer 45309fa8bf [GDI32]
Add anotations to arc.c, replace an instance of the ugly gfx_worker with an RCAST() macro

svn path=/trunk/; revision=65877
2014-12-29 13:11:07 +00:00
Amine Khaldi f27f53b630 [TRANSLATIONS] Chinese (zh-CN) translation update by Henry Tang Ih. CORE-8935
svn path=/trunk/; revision=65876
2014-12-29 12:56:47 +00:00
Timo Kreuzer 6532b23851 [PSDK]
Fix copypasta from r65873

svn path=/trunk/; revision=65875
2014-12-29 12:28:56 +00:00
Giannis Adamopoulos 137dbef056 [SHELL32]
* Give focus to the def view control when CDesktopBrowser gets focus.
CORE-8980

svn path=/trunk/; revision=65874
2014-12-29 12:24:03 +00:00
Timo Kreuzer 5aebc94de8 [PSDK]
Improve some prototypes in wingdi.h

svn path=/trunk/; revision=65873
2014-12-29 12:01:23 +00:00