reactos.git
9 years ago[CONSRV]: Start implementing popup windows (it's what you see when you press e.g...
Hermès Bélusca-Maïto [Sat, 30 Aug 2014 16:20:32 +0000 (16:20 +0000)]
[CONSRV]: Start implementing popup windows (it's what you see when you press e.g. the F7 key in your console, when you run cmd.exe).

svn path=/branches/condrv_restructure/; revision=63992

9 years ago[CONDRV]
Hermès Bélusca-Maïto [Sat, 30 Aug 2014 16:18:07 +0000 (16:18 +0000)]
[CONDRV]
- In ConDrvChangeScreenBufferAttributes, change also the popup attributes.
- In some functions we need to check validity of Read/WriteCoord parameters, add fixme for now, that need to be fixed later on.

svn path=/branches/condrv_restructure/; revision=63991

9 years ago[CONSRV]: Code formatting only.
Hermès Bélusca-Maïto [Sat, 30 Aug 2014 15:59:35 +0000 (15:59 +0000)]
[CONSRV]: Code formatting only.

svn path=/branches/condrv_restructure/; revision=63990

9 years ago[CONSRV]
Hermès Bélusca-Maïto [Fri, 29 Aug 2014 19:54:10 +0000 (19:54 +0000)]
[CONSRV]
Commit my work that I've done during my trip from Albi back to Paris (part 2/2):
Remove terminal-specific line discipline code from CONDRV back to CONSRV.

svn path=/branches/condrv_restructure/; revision=63979

9 years ago[CONSRV]
Hermès Bélusca-Maïto [Fri, 29 Aug 2014 19:45:45 +0000 (19:45 +0000)]
[CONSRV]
Commit my work that I've done during my trip from Albi back to Paris (part 1/2):
- QuickEdit and InsertMode are input modes that are related to CONSRV terminal(s), therefore remove them from CONDRV that needs to be agnostic about terminal specificities.
- Separate history helper functions from the line discipline functions to different files.

svn path=/branches/condrv_restructure/; revision=63978

9 years ago[CONSRV]: Add some accelerators and fix few french strings.
Hermès Bélusca-Maïto [Sat, 23 Aug 2014 16:38:22 +0000 (16:38 +0000)]
[CONSRV]: Add some accelerators and fix few french strings.
TO TRANSLATORS: Please add accelerators for the other languages!

svn path=/branches/condrv_restructure/; revision=63926

9 years agoSync to trunk revision 63922.
Hermès Bélusca-Maïto [Sat, 23 Aug 2014 15:51:37 +0000 (15:51 +0000)]
Sync to trunk revision 63922.

svn path=/branches/condrv_restructure/; revision=63923

9 years ago[WIN32K]
Jérôme Gardou [Sat, 23 Aug 2014 15:20:44 +0000 (15:20 +0000)]
[WIN32K]
 - Remove left-over assert

svn path=/trunk/; revision=63922

9 years ago[CMAKE]
Jérôme Gardou [Sat, 23 Aug 2014 14:40:00 +0000 (14:40 +0000)]
[CMAKE]
 - make reactos_cab_inf an unconditional target.
Should fix windows testbot

svn path=/trunk/; revision=63921

9 years ago[WIN32K]
Jérôme Gardou [Sat, 23 Aug 2014 14:20:16 +0000 (14:20 +0000)]
[WIN32K]
 - Improve the "infamous RLE hack" in SetDIBitsToDevice by using a mask bitmap corresponding to the valid RLE data
[GDI32]
 - Improve some input checks

svn path=/trunk/; revision=63920

9 years ago[FORMATTING]
Jérôme Gardou [Sat, 23 Aug 2014 10:20:18 +0000 (10:20 +0000)]
[FORMATTING]
 - Reformat/refactor some code. No changes.

svn path=/trunk/; revision=63919

9 years ago[INCLUDE/CRT]
Jérôme Gardou [Sat, 23 Aug 2014 10:19:57 +0000 (10:19 +0000)]
[INCLUDE/CRT]
 - import ivec.h from mingw-w64
[INCLUDE/PSDK]
 - import bthdef and stralign.h from mingw-w64

svn path=/trunk/; revision=63918

9 years ago[NTOS:IO]
Hervé Poussineau [Fri, 22 Aug 2014 19:14:31 +0000 (19:14 +0000)]
[NTOS:IO]
- Do not crash if an invalid PDO is given to IopEditDeviceList
- Always dereference device object when removing it (should be the last reference)
CORE-8294

svn path=/trunk/; revision=63917

9 years ago[NDISUIO]
Hervé Poussineau [Fri, 22 Aug 2014 19:13:31 +0000 (19:13 +0000)]
[NDISUIO]
Add required PnPEventHandler
CORE-8292

svn path=/trunk/; revision=63916

9 years ago[CONSOLE.CPL]: Remove unneeded LBS_DISABLENOSCROLL style.
Hermès Bélusca-Maïto [Fri, 22 Aug 2014 17:32:08 +0000 (17:32 +0000)]
[CONSOLE.CPL]: Remove unneeded LBS_DISABLENOSCROLL style.

svn path=/branches/condrv_restructure/; revision=63915

9 years ago[EXPLORER_OLD]
Hermès Bélusca-Maïto [Thu, 21 Aug 2014 19:18:25 +0000 (19:18 +0000)]
[EXPLORER_OLD]
Disable ScanNTFSStreams calls because this function exclusively calls BackupRead that is not implemented on ReactOS, and as a consequence makes lots of debug spam when browsing the start (sub-)menus.

svn path=/trunk/; revision=63914

9 years ago[RAPPS]
Sylvain Petreolle [Thu, 21 Aug 2014 12:28:24 +0000 (12:28 +0000)]
[RAPPS]
Fix the registry key of the Event Source.

svn path=/trunk/; revision=63913

9 years ago[PSDK]
Thomas Faber [Wed, 20 Aug 2014 13:23:11 +0000 (13:23 +0000)]
[PSDK]
- Fix __drv_functionClass dummy. By Alex Radocea

svn path=/trunk/; revision=63910

9 years ago[NPFS]: The third argument of ObLogSecurityDescriptor is an integer, not a boolean.
Hermès Bélusca-Maïto [Mon, 18 Aug 2014 17:45:26 +0000 (17:45 +0000)]
[NPFS]: The third argument of ObLogSecurityDescriptor is an integer, not a boolean.

svn path=/trunk/; revision=63904

9 years ago[NTOS:CC]
Thomas Faber [Mon, 18 Aug 2014 03:55:59 +0000 (03:55 +0000)]
[NTOS:CC]
- Remove "VACB chain" optimization for CcCopyRead that was never applied anyway since MAX_RW_LENGTH == VACB_MAPPING_GRANULARITY, so a single read could never exceed one VACB
- Consolidate CcCopyRead, CcCopyWrite and the cached case of CcZeroData into a common worker function
CORE-8410

svn path=/trunk/; revision=63903

9 years ago[NTOS:CC]
Thomas Faber [Sun, 17 Aug 2014 21:52:54 +0000 (21:52 +0000)]
[NTOS:CC]
- Set the uninitialize event in CcUninitializeCacheMap to avoid deadlocking callers

svn path=/trunk/; revision=63902

9 years ago[NTOS:CC]
Thomas Faber [Sun, 17 Aug 2014 21:47:43 +0000 (21:47 +0000)]
[NTOS:CC]
- Use the passed-in file sizes in CcInitializeCacheMap

svn path=/trunk/; revision=63901

9 years ago[TCPIP]
Cameron Gutman [Sun, 17 Aug 2014 04:03:29 +0000 (04:03 +0000)]
[TCPIP]
- Reference the address file while delivering data to avoid a use after free when an address file is closed during datagram delivery

svn path=/trunk/; revision=63899

9 years ago[HAL]
Cameron Gutman [Sun, 17 Aug 2014 01:42:02 +0000 (01:42 +0000)]
[HAL]
Fix a catastrophic bug in S/G DMA. There is a subtle difference between the S/G DMA APIs and the old AllocateAdapterChannel API when it comes to having multiple requests in flight. Callers of (Io)AllocateAdapterChannel CANNOT queue another request until the AdapterControlRoutine is called. S/G DMA allows multiple concurrent DMA requests, but ROS was using IoAllocateAdapterChannel in the S/G API. As a result, the wait block stored in the device object was unexpectedly reinitalized and queued again. This results in a leak of the originally queued request context, potentially performing the new DMA operation twice while dropping the old request, and use after free of the context passed to HalpScatterGatherAdapterControl.

svn path=/trunk/; revision=63898

9 years ago[NTOSKRNL:CONFIG]
Eric Kohl [Sat, 16 Aug 2014 08:56:48 +0000 (08:56 +0000)]
[NTOSKRNL:CONFIG]
CmShutdownSystem: Close all hive files after flushing the hives.

svn path=/trunk/; revision=63897

9 years ago[CONSOLE.CPL][CONSRV]: Font fix n°1: correctly use the font size (for TT fonts only...
Hermès Bélusca-Maïto [Fri, 15 Aug 2014 20:00:47 +0000 (20:00 +0000)]
[CONSOLE.CPL][CONSRV]: Font fix n°1: correctly use the font size (for TT fonts only, at the moment).

svn path=/branches/condrv_restructure/; revision=63896

9 years ago[APPWIZ]
Thomas Faber [Fri, 15 Aug 2014 12:34:12 +0000 (12:34 +0000)]
[APPWIZ]
- Download Gecko from a URL that does not force HTTPS.
CORE-8396

svn path=/trunk/; revision=63895

9 years agoFix build.
Dmitry Gorbachev [Fri, 15 Aug 2014 11:17:16 +0000 (11:17 +0000)]
Fix build.

svn path=/trunk/; revision=63894

9 years ago[CMAKE]
Dmitry Gorbachev [Fri, 15 Aug 2014 11:12:09 +0000 (11:12 +0000)]
[CMAKE]
Thin & Slim link-time optimization (requires up-to-date binutils).

svn path=/trunk/; revision=63893

9 years ago[SHELL32]
Thomas Faber [Fri, 15 Aug 2014 10:38:11 +0000 (10:38 +0000)]
[SHELL32]
- ACTUALLY fix ITEMIDLIST typing in IShellFolder/IShellFolder2 implementations
CORE-8441

svn path=/trunk/; revision=63890

9 years ago[SHELL32]
Thomas Faber [Fri, 15 Aug 2014 10:33:54 +0000 (10:33 +0000)]
[SHELL32]
- Fix ITEMIDLIST typing in IShellFolder/IShellFolder2 implementations
CORE-8441

svn path=/trunk/; revision=63889

9 years ago[SHELL32]
Thomas Faber [Thu, 14 Aug 2014 22:43:10 +0000 (22:43 +0000)]
[SHELL32]
- Don't fail on NULL array pointer if count is zero
CORE-8443 #resolve

svn path=/trunk/; revision=63887

9 years agoFourth partial merge of the condrv_restructure branch, with fonts improvements.
Hermès Bélusca-Maïto [Thu, 14 Aug 2014 20:23:03 +0000 (20:23 +0000)]
Fourth partial merge of the condrv_restructure branch, with fonts improvements.

CORE-8439 #resolve #comment r63885 merged to trunk in r63886.

svn path=/trunk/; revision=63886

9 years ago[KERNEL32]
Hermès Bélusca-Maïto [Thu, 14 Aug 2014 20:10:00 +0000 (20:10 +0000)]
[KERNEL32]
OpenConsoleW was implemented :P

[CONSOLE.CPL][CONSRV]
Create all the fonts needed at console startup, and then just select what's needed when fonts attributes need to be changed at run-time.

[CONSOLE.CPL][CONSRV]
- HACKFIX: Temporary use FW_NORMAL instead of FW_DONTCARE as default font weight (in ReactOS, FW_DONTCARE makes fonts bold by default, instead of normal)
- Use bold fonts instead of the underlined ones for underlined fonts in the terminal.

Timo, FIX THE FONTS !!!!!!!!!! :P

CORE-8439 #comment Should be fixed in revision 63885.

svn path=/branches/condrv_restructure/; revision=63885

9 years ago[SHELL32]
Thomas Faber [Thu, 14 Aug 2014 19:47:45 +0000 (19:47 +0000)]
[SHELL32]
- Correctly manage object lifetime in CDefaultContextMenu. Members of DEFCONTEXTMENU need to be referenced or cloned in order to keep them.
CORE-8430 #resolve

svn path=/trunk/; revision=63884

9 years ago[NPFS]
Thomas Faber [Thu, 14 Aug 2014 19:35:00 +0000 (19:35 +0000)]
[NPFS]
- Fix list walk in NpCancelWaiter -- we cannot access the list entry after using RemoveEntryList on it
- Make the logic in NpCancelWaiter more readable
CORE-8442 #resolve

svn path=/trunk/; revision=63883

9 years ago[SHELL32]
Thomas Faber [Thu, 14 Aug 2014 13:26:02 +0000 (13:26 +0000)]
[SHELL32]
- Use correct prototype for IFolderView::SelectAndPositionItems in CDefView

svn path=/trunk/; revision=63882

9 years ago[PSDK]
Thomas Faber [Thu, 14 Aug 2014 13:21:32 +0000 (13:21 +0000)]
[PSDK]
- Fix some ITEMIDLIST types in IShellFolder
CORE-8441

svn path=/trunk/; revision=63881

9 years ago[WIN32K:NTUSER]
Thomas Faber [Thu, 14 Aug 2014 07:46:59 +0000 (07:46 +0000)]
[WIN32K:NTUSER]
- Assert that the thread's sent message queue matches change bits in UserDbgAssertThreadInfo. Suggested by Giannis.
CORE-7013

svn path=/trunk/; revision=63880

9 years ago[CMAKE]
Jérôme Gardou [Wed, 13 Aug 2014 16:30:52 +0000 (16:30 +0000)]
[CMAKE]
 - Properly serve reactos.cab dependencies - try 2
CORE-8435 #comment this should do it, please retest. Regarding the bot problem, touching boot/bootdata/packages/reactos.dff forces regenerating reactos.inf and reactos.cab

svn path=/trunk/; revision=63878

9 years agoThird partial merge of the condrv_restructure branch, including reverse video (rev...
Hermès Bélusca-Maïto [Tue, 12 Aug 2014 19:43:32 +0000 (19:43 +0000)]
Third partial merge of the condrv_restructure branch, including reverse video (rev.63865), underline (rev.63864), fonts changing (rev.63863) plus some resource fixes, RegisterConsoleVDM (rev.63849) and some code refactoring, plus WriteConsoleOutput fix (rev.63841) for Far Manager et al.

CORE-5006 CORE-6397 CORE-8424 #comment Fixes from the condrv_restructure branch (rev.63841) merged back to trunk in revision 63877.

svn path=/trunk/; revision=63877

9 years agoSync to trunk revision 63875.
Hermès Bélusca-Maïto [Tue, 12 Aug 2014 18:49:17 +0000 (18:49 +0000)]
Sync to trunk revision 63875.

svn path=/branches/condrv_restructure/; revision=63876

9 years ago[WIN32K:NTUSER]
Thomas Faber [Tue, 12 Aug 2014 15:50:27 +0000 (15:50 +0000)]
[WIN32K:NTUSER]
- Clear appropriate message bits when removing a sent message in FindRemoveAsyncMsg. Thanks to Giannis.
- Fix list walk in FindRemoveAsyncMsg
CORE-7013 #resolve

svn path=/trunk/; revision=63875

9 years ago[CONSRV]: Still some code refactoring....
Hermès Bélusca-Maïto [Tue, 12 Aug 2014 14:59:13 +0000 (14:59 +0000)]
[CONSRV]: Still some code refactoring....

svn path=/branches/condrv_restructure/; revision=63874

9 years ago[SPEC2DEF]
Thomas Faber [Tue, 12 Aug 2014 13:21:38 +0000 (13:21 +0000)]
[SPEC2DEF]
- In GCC builds, actually import by ordinal if -ordinal is specified. Found by Robert.

svn path=/trunk/; revision=63873

9 years ago[shell32]
Giannis Adamopoulos [Tue, 12 Aug 2014 10:29:40 +0000 (10:29 +0000)]
[shell32]
- Marshall interface pointers between apartments correctly
- Patch by Huw Campbell

svn path=/trunk/; revision=63872

9 years ago[RPCRT4]
Thomas Faber [Tue, 12 Aug 2014 07:52:29 +0000 (07:52 +0000)]
[RPCRT4]
- Correctly check for in-buffer memory in PointerFree. Fixes invalid free e.g. when calling StartService without service arguments

svn path=/trunk/; revision=63871

9 years ago[KMTESTS:RTL]
Thomas Faber [Tue, 12 Aug 2014 07:47:08 +0000 (07:47 +0000)]
[KMTESTS:RTL]
- Fix a stack buffer overflow in the RtlMemory test

svn path=/trunk/; revision=63870

9 years ago[CONSRV]: Continuing 3/X, a small step for a brighter future, maybe!
Hermès Bélusca-Maïto [Mon, 11 Aug 2014 20:55:50 +0000 (20:55 +0000)]
[CONSRV]: Continuing 3/X, a small step for a brighter future, maybe!

svn path=/branches/condrv_restructure/; revision=63868

9 years ago[CONSRV]: Continuing 2/X
Hermès Bélusca-Maïto [Mon, 11 Aug 2014 20:39:06 +0000 (20:39 +0000)]
[CONSRV]: Continuing 2/X

svn path=/branches/condrv_restructure/; revision=63867

9 years ago[CONSRV]: Code refactoring 1/X (and move VDM support to where it belongs).
Hermès Bélusca-Maïto [Mon, 11 Aug 2014 20:28:40 +0000 (20:28 +0000)]
[CONSRV]: Code refactoring 1/X (and move VDM support to where it belongs).

svn path=/branches/condrv_restructure/; revision=63866

9 years ago[CONSRV]: Support reverse video bit COMMON_LVB_REVERSE_VIDEO
Hermès Bélusca-Maïto [Mon, 11 Aug 2014 15:37:01 +0000 (15:37 +0000)]
[CONSRV]: Support reverse video bit COMMON_LVB_REVERSE_VIDEO

svn path=/branches/condrv_restructure/; revision=63865

9 years ago[CONSRV]: Support underline code COMMON_LVB_UNDERSCORE in the console via CreateFont...
Hermès Bélusca-Maïto [Mon, 11 Aug 2014 14:38:07 +0000 (14:38 +0000)]
[CONSRV]: Support underline code COMMON_LVB_UNDERSCORE in the console via CreateFont* API.

svn path=/branches/condrv_restructure/; revision=63864

9 years ago[CONSOLE.CPL][CONSRV]
Hermès Bélusca-Maïto [Mon, 11 Aug 2014 13:35:33 +0000 (13:35 +0000)]
[CONSOLE.CPL][CONSRV]
- Remove the unuseful UseRasterFonts member in console properties structure.
- Fix my FontSize.X / FontSize.Y mixing (X is width, Y is height) that I introduced in revision 63819.
- We are now able to change the console font via the console props control panel applet (work in progress, but it works!)

svn path=/branches/condrv_restructure/; revision=63863

9 years ago[CONSRV]: Some handle reworking commit, that might look like ridiculous at first...
Hermès Bélusca-Maïto [Mon, 11 Aug 2014 13:31:22 +0000 (13:31 +0000)]
[CONSRV]: Some handle reworking commit, that might look like ridiculous at first, but is just the start of something bigger.

svn path=/branches/condrv_restructure/; revision=63862

9 years ago[SYSSETUP]
Thomas Faber [Mon, 11 Aug 2014 12:45:32 +0000 (12:45 +0000)]
[SYSSETUP]
- Gracefully handle ConvertStringSidToSid failures in InstallBuiltinAccounts and InstallPrivileges. Fixes invalid frees in second stage.

svn path=/trunk/; revision=63861

9 years ago[CABMAN]
Thomas Faber [Mon, 11 Aug 2014 08:05:33 +0000 (08:05 +0000)]
[CABMAN]
- Don't crash when a directory is specified instead of a file list (i.e. specified_files.root.normalized_name == NULL)

svn path=/trunk/; revision=63860

9 years ago[USETUP]
Thomas Faber [Sun, 10 Aug 2014 21:51:29 +0000 (21:51 +0000)]
[USETUP]
- Don't access next block if there is none in CabinetExtractFile.

svn path=/trunk/; revision=63859

9 years agoSync to trunk revision 63857.
Hermès Bélusca-Maïto [Sun, 10 Aug 2014 21:33:21 +0000 (21:33 +0000)]
Sync to trunk revision 63857.

svn path=/branches/condrv_restructure/; revision=63858

9 years ago[TRANSLATIONS]
Hermès Bélusca-Maïto [Sun, 10 Aug 2014 21:19:34 +0000 (21:19 +0000)]
[TRANSLATIONS]
Same remark as for revision 63856, but for "Button"!!

svn path=/trunk/; revision=63857

9 years ago[TRANSLATIONS]
Hermès Bélusca-Maïto [Sun, 10 Aug 2014 21:06:49 +0000 (21:06 +0000)]
[TRANSLATIONS]
To Albanian translators!!
Be careful, the "Static" string in CONTROL resource controls, is the name of the control class, and as such must NOT be translated!! (see http://msdn.microsoft.com/en-us/library/windows/desktop/aa380911(v=vs.85).aspx )

svn path=/trunk/; revision=63856

9 years ago[CONSOLE.CPL]: Fix french resource.
Hermès Bélusca-Maïto [Sun, 10 Aug 2014 20:52:36 +0000 (20:52 +0000)]
[CONSOLE.CPL]: Fix french resource.

svn path=/branches/condrv_restructure/; revision=63855

9 years ago[SYSSETUP]
Thomas Faber [Sun, 10 Aug 2014 19:25:52 +0000 (19:25 +0000)]
[SYSSETUP]
- Avoid logging the administrator password
CORE-8019 #resolve

svn path=/trunk/; revision=63854

9 years ago[BROWSEUI]
Thomas Faber [Sun, 10 Aug 2014 18:39:05 +0000 (18:39 +0000)]
[BROWSEUI]
- CComObject cannot be a class member and must be allocated using new. Fixes invalid free.

svn path=/trunk/; revision=63853

9 years ago[KERNEL32]
Thomas Faber [Sun, 10 Aug 2014 16:23:05 +0000 (16:23 +0000)]
[KERNEL32]
- Fix an invalid free in DefineDosDeviceW, found by kernel32_apitest:dosdev

svn path=/trunk/; revision=63852

9 years ago[KERNEL32]
Thomas Faber [Sun, 10 Aug 2014 16:20:43 +0000 (16:20 +0000)]
[KERNEL32]
- Fix some style issues in DefineDosDevice

svn path=/trunk/; revision=63851

9 years ago[CONSOLE.CPL]: Add LBS_HASSTRINGS to font listboxes.
Hermès Bélusca-Maïto [Sun, 10 Aug 2014 15:27:24 +0000 (15:27 +0000)]
[CONSOLE.CPL]: Add LBS_HASSTRINGS to font listboxes.

svn path=/branches/condrv_restructure/; revision=63850

9 years ago[KERNEL32][CONSRV]: Implement a basic RegisterConsoleVDM (see revision 62371 for...
Hermès Bélusca-Maïto [Sat, 9 Aug 2014 19:47:40 +0000 (19:47 +0000)]
[KERNEL32][CONSRV]: Implement a basic RegisterConsoleVDM (see revision 62371 for more details).

svn path=/branches/condrv_restructure/; revision=63849

9 years ago[NTVDM]: Studying ntvdm, we can find the significance of some of the parameters....
Hermès Bélusca-Maïto [Sat, 9 Aug 2014 18:48:31 +0000 (18:48 +0000)]
[NTVDM]: Studying ntvdm, we can find the significance of some of the parameters. Others seem unused.

svn path=/trunk/; revision=63848

9 years ago[SHELL32]
Aleksandar Andrejevic [Sat, 9 Aug 2014 13:40:13 +0000 (13:40 +0000)]
[SHELL32]
- Greatly optimize file icon retrieval by reducing the times we try to access the disk.
- Store icons in a binary tree in the shell icon cache for faster retrieval.
Patch by Huw Campbell committed at the request of Giannis Adamopoulos.

svn path=/trunk/; revision=63845

9 years ago[NTVDM]: Add a compile-time-defined switch to be able to use the RegisterConsoleVDM...
Hermès Bélusca-Maïto [Sat, 9 Aug 2014 13:22:50 +0000 (13:22 +0000)]
[NTVDM]: Add a compile-time-defined switch to be able to use the RegisterConsoleVDM API of ReactOS/Windows, or an emulated one.

svn path=/trunk/; revision=63844

9 years agoFix a typo.
Hermès Bélusca-Maïto [Sat, 9 Aug 2014 10:51:22 +0000 (10:51 +0000)]
Fix a typo.

svn path=/trunk/; revision=63843

9 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 9 Aug 2014 01:39:28 +0000 (01:39 +0000)]
[NTVDM]
Start implementing mouse support.

svn path=/trunk/; revision=63842

9 years ago[KERNEL32][CONSRV]
Hermès Bélusca-Maïto [Fri, 8 Aug 2014 17:06:28 +0000 (17:06 +0000)]
[KERNEL32][CONSRV]
For WriteConsoleOutput API only!! Diagnosed with ApiMonitor from Rohitab.

If one tries to write a too large buffer (>= 80*198 CHAR_INFO cells), the CsrAllocateCaptureBuffer API helper fails, because it uses the non-growable CSR port heap of fixed size 64kB.
Since many applications use the API with large buffers (for example, Far Manager <= 1.70, the Windows XTree app http://textmode.netne.net/Extreme.html , ...) and maybe NTVDM,
Windows (and hence ReactOS for compatibility reasons) allocates a buffer in the process' heap (and not in the CSR port heap via the CSR capture API), so that the big buffer allocation
should work. Then, to be able to access it, CSR needs to call NtReadVirtualMemory for capturing the buffer.

CORE-5006 CORE-6397 CORE-8424 #resolve

svn path=/branches/condrv_restructure/; revision=63841

9 years ago[WIN32SS]
Sylvain Petreolle [Fri, 8 Aug 2014 16:14:38 +0000 (16:14 +0000)]
[WIN32SS]
Fix new cursoricon implementation build.
Dedicated to Jim and Jérome.

svn path=/trunk/; revision=63840

9 years ago[WIN32SS]
Sylvain Petreolle [Fri, 8 Aug 2014 16:12:23 +0000 (16:12 +0000)]
[WIN32SS]
Fix trace.

svn path=/trunk/; revision=63839

9 years ago[WIN32K]
Sylvain Petreolle [Fri, 8 Aug 2014 16:04:08 +0000 (16:04 +0000)]
[WIN32K]
Formatting only.

svn path=/trunk/; revision=63838

9 years ago[CMAKE]
Jérôme Gardou [Thu, 7 Aug 2014 18:20:46 +0000 (18:20 +0000)]
[CMAKE]
 - separate the custom target and the custom command generating reactos.cab, so that it isn't regenerated each time a bootcd is built
Note to make user: I tried a hack so that the sequence 'make module/fast reactos_cab/fast bootcd/fast' still works, but this is untested. Please use ninja if you really want fast dependency resolution.

svn path=/trunk/; revision=63837

9 years ago[CHARMAP]
Jérôme Gardou [Thu, 7 Aug 2014 15:19:32 +0000 (15:19 +0000)]
[CHARMAP]
 - Correctly include local header

svn path=/trunk/; revision=63835

9 years agoSecond partial merge of the condrv_restructure branch, including additions from revis...
Hermès Bélusca-Maïto [Thu, 7 Aug 2014 13:16:49 +0000 (13:16 +0000)]
Second partial merge of the condrv_restructure branch, including additions from revisions 63818, 63819, 63820 and 63831.
CORE-7931 #comment Second partial merge of the condrv_restructure branch in revision 63834.

svn path=/trunk/; revision=63834

9 years ago[NTOS:OB]
Thomas Faber [Thu, 7 Aug 2014 13:02:59 +0000 (13:02 +0000)]
[NTOS:OB]
- Mark object types as not having ObjectCreateInfo on creation. Otherwise ObpObjectType's TypeList gets corrupted when a handle to an object type is created (as kmtest:ObTypes does) and ObpIncrementHandleCount tries to insert the list entry a second time.
CORE-8423 #resolve

svn path=/trunk/; revision=63833

9 years agoSync with trunk r63831.
Hermès Bélusca-Maïto [Thu, 7 Aug 2014 12:54:03 +0000 (12:54 +0000)]
Sync with trunk r63831.

svn path=/branches/condrv_restructure/; revision=63832

9 years ago[CONSRV]: Add a DPRINT for diagnostics purposes...
Hermès Bélusca-Maïto [Thu, 7 Aug 2014 12:36:40 +0000 (12:36 +0000)]
[CONSRV]: Add a DPRINT for diagnostics purposes...

svn path=/branches/condrv_restructure/; revision=63831

9 years ago[WIN32K]
Jérôme Gardou [Thu, 7 Aug 2014 11:08:06 +0000 (11:08 +0000)]
[WIN32K]
 - Among a thousand ways to screw a commit, choose dysxelia

svn path=/trunk/; revision=63830

9 years ago[WIN32K]
Jérôme Gardou [Thu, 7 Aug 2014 10:59:54 +0000 (10:59 +0000)]
[WIN32K]
 - Among a thousand ways to loop over a list, choose the simple one.

svn path=/trunk/; revision=63829

9 years ago[NDK]
Jérôme Gardou [Thu, 7 Aug 2014 10:59:48 +0000 (10:59 +0000)]
[NDK]
 - Correct definition of SECTION_OBJECT

svn path=/trunk/; revision=63828

9 years ago[NPFS]
Thomas Faber [Thu, 7 Aug 2014 10:24:07 +0000 (10:24 +0000)]
[NPFS]
- Avoid magic values, remove a few casts and don't name an IO_STATUS_BLOCK Status. No code changes.

svn path=/trunk/; revision=63827

9 years ago[NPFS]
Thomas Faber [Thu, 7 Aug 2014 10:10:02 +0000 (10:10 +0000)]
[NPFS]
- Base data queue entry on the right struct member in NpCompleteStalledWrites. Fixes list entry corruption found in CORE-8419.

svn path=/trunk/; revision=63826

9 years ago[NTOS:OB]
Thomas Faber [Thu, 7 Aug 2014 00:16:21 +0000 (00:16 +0000)]
[NTOS:OB]
- Use ObpTypeObjectType's lock when modifying object type global properties, not the new object type's
- Correctly free string returned by RtlUnicodeStringToAnsiString

svn path=/trunk/; revision=63825

9 years ago[EXPLORER]
Dmitry Gorbachev [Wed, 6 Aug 2014 23:10:17 +0000 (23:10 +0000)]
[EXPLORER]
Use -Wno-error option when building with link-time optimization.

[BROWSEUI]
"Fix" multiple definition of (non-virtual thunk to) QueryInterface errors.
Binutils linker bug.

svn path=/trunk/; revision=63824

9 years ago[NTOSKRNL][PSEH3]
Dmitry Gorbachev [Wed, 6 Aug 2014 23:10:08 +0000 (23:10 +0000)]
[NTOSKRNL][PSEH3]
- Add inline asm dependencies to fix undefined reference errors when
building with link-time optimization.
- Improve formatting.
- No functional changes.

svn path=/trunk/; revision=63823

9 years ago[NTOS/MM]
Jérôme Gardou [Wed, 6 Aug 2014 21:53:57 +0000 (21:53 +0000)]
[NTOS/MM]
 - Call the right delete routine for ARM3 section object
 - Properly free the pages of pagefile-backed segments when those are deleted
 - Put the right assert at the right place in MmUnlinkPageFromList
 - Remove DPRINT from previous commit which is interesting but noisy

svn path=/trunk/; revision=63822

9 years ago[NTOS/MM]
Jérôme Gardou [Wed, 6 Aug 2014 21:53:09 +0000 (21:53 +0000)]
[NTOS/MM]
 - Implement MiResolvePageFileFault
 - Add a debug print showing how many ARM3 pages could be used by the balancer

svn path=/trunk/; revision=63821

9 years ago[KERNEL32][CONSRV]
Hermès Bélusca-Maïto [Wed, 6 Aug 2014 21:01:23 +0000 (21:01 +0000)]
[KERNEL32][CONSRV]
- Fix FreeConsole API.
- Implement undocumented GetConsoleKeyboardLayoutNameA/W API (same usage as GetKeyboardLayoutName), needed for ConEmu.
  See some examples here: http://www.opensource.apple.com/source/vim/vim-44/src/os_win32.c , and there: https://bitbucket.org/jaroslav/lswitcher/src/700bab23f294814235812c5cb07710bd380b1862/lswitch.c

CORE-7931 #comment ConsolepFree fixed in revision 63820.

svn path=/branches/condrv_restructure/; revision=63820

9 years ago[CONSOLE][CONSRV]
Hermès Bélusca-Maïto [Wed, 6 Aug 2014 20:49:10 +0000 (20:49 +0000)]
[CONSOLE][CONSRV]
- Implement the undocumented WM_SETCONSOLEINFO window message (the equivalent of our PM_APPLY_CONSOLE_INFO), sent
  by the Windows' console control panel applet console.dll, when applying new console settings to the current opened console
  (and its associated data structure CONSOLE_STATE_INFO).
  This is used by the FAR plugin MinCE by Andrew Grechkin (see http://code.google.com/p/andrew-grechkin/source/browse/trunk/MinCE/src/setconsoleinfo.cpp for example)
- Convert GUI_CONSOLE_INFO::FontSize to COORD, as it should be.

See: http://www.catch22.net/sites/default/source/files/setconsoleinfo.c and http://www.scn.rain.com/~neighorn/PDF/MSBugPaper.pdf for more information.

svn path=/branches/condrv_restructure/; revision=63819

9 years ago[KENREL32]: Silent few DPRINTs.
Hermès Bélusca-Maïto [Wed, 6 Aug 2014 20:30:24 +0000 (20:30 +0000)]
[KENREL32]: Silent few DPRINTs.

svn path=/branches/condrv_restructure/; revision=63818

9 years ago[SPIDER]
Daniel Reimer [Wed, 6 Aug 2014 12:13:45 +0000 (12:13 +0000)]
[SPIDER]
CORE-8409 #resolve #comment Solution in the middle makes Spider look nice in ROS and not like a stamp AND it fits on 800x600. 640x480 won't be fixed, because having overlapped cards is NO fix, it's plain ugly.

svn path=/trunk/; revision=63817

9 years ago[SPIDER]
Daniel Reimer [Wed, 6 Aug 2014 11:24:31 +0000 (11:24 +0000)]
[SPIDER]
Optimize borders and space to the window frame even more. Hopefully fixes spider being too big for 800x600 problem.
CORE-8409 #comment Committed a "fix", please retest.

svn path=/trunk/; revision=63816

9 years ago[WINED3DCFG]
Daniel Reimer [Wed, 6 Aug 2014 10:09:46 +0000 (10:09 +0000)]
[WINED3DCFG]
PATCH: dialog resource correction for wined3dcfg by Stefan Fuela
CORE-8386 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63815

9 years ago[RAPPS]
Daniel Reimer [Wed, 6 Aug 2014 10:05:38 +0000 (10:05 +0000)]
[RAPPS]
(for database) Many Improvements and Many Fixes by Erdem Ersoy
+ USETUP translation from Bug 7861.
CORE-7710 #resolve #comment Committed, thx.

svn path=/trunk/; revision=63814