Hermès Bélusca-Maïto [Sun, 7 Sep 2014 20:05:39 +0000 (20:05 +0000)]
[CONSRV]
- Start to implement a popup list of entered commands (history), WIP.
- Fix Get/SetConsoleHistoryInfo.
- Implement SetConsoleCommandHistoryMode.
svn path=/branches/condrv_restructure/; revision=64075
Hermès Bélusca-Maïto [Fri, 5 Sep 2014 21:12:42 +0000 (21:12 +0000)]
Code formatting mainly (and comments fixes for future usage).
svn path=/branches/condrv_restructure/; revision=64044
Hermès Bélusca-Maïto [Fri, 5 Sep 2014 21:08:15 +0000 (21:08 +0000)]
[CONSRV]: Code reorganization part 2 (add some comments for future fixes).
svn path=/branches/condrv_restructure/; revision=64043
Hermès Bélusca-Maïto [Fri, 5 Sep 2014 21:06:36 +0000 (21:06 +0000)]
[CONSRV]: Code reorganization part 1.
svn path=/branches/condrv_restructure/; revision=64042
Hermès Bélusca-Maïto [Mon, 1 Sep 2014 21:59:53 +0000 (21:59 +0000)]
[INCLUDE/SUBSYS]: Un-anonymous CSR structures.
svn path=/branches/condrv_restructure/; revision=64027
Hermès Bélusca-Maïto [Sun, 31 Aug 2014 14:57:43 +0000 (14:57 +0000)]
Code formatting only.
svn path=/branches/condrv_restructure/; revision=64012
Hermès Bélusca-Maïto [Sun, 31 Aug 2014 14:04:03 +0000 (14:04 +0000)]
[CONSRV]: Continuing code refactoring of revisions 63866, 63867, 63868 and 63874.
svn path=/branches/condrv_restructure/; revision=64011
Hermès Bélusca-Maïto [Sun, 31 Aug 2014 14:01:21 +0000 (14:01 +0000)]
[CONSRV]: Merge again ConDrvProcessKey and ConioProcessKey.
svn path=/branches/condrv_restructure/; revision=64010
Hermès Bélusca-Maïto [Sun, 31 Aug 2014 11:58:50 +0000 (11:58 +0000)]
[CONSRV]
- Some code cleaning.
- Bring back the terminal bell that was added in revision 58253 and disabled in revision 58447.
svn path=/branches/condrv_restructure/; revision=64007
Hermès Bélusca-Maïto [Sun, 31 Aug 2014 11:24:23 +0000 (11:24 +0000)]
[CONSRV]: Code cleaning.
svn path=/branches/condrv_restructure/; revision=64005
Hermès Bélusca-Maïto [Sun, 31 Aug 2014 11:07:09 +0000 (11:07 +0000)]
[CONSRV][CONDRV]
- Move CSR details (pre/post-processing, unicode translation) of reading/writing console inputs to consrv, where they belong.
- Add a temporary solution to screenbuffer resizing notifications, to be properly fixed later on.
svn path=/branches/condrv_restructure/; revision=64004
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
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
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
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
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
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
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
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
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
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
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
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
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
Hervé Poussineau [Fri, 22 Aug 2014 19:13:31 +0000 (19:13 +0000)]
[NDISUIO]
Add required PnPEventHandler
CORE-8292
svn path=/trunk/; revision=63916
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
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
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
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
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
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
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
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
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
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
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
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
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
Dmitry Gorbachev [Fri, 15 Aug 2014 11:17:16 +0000 (11:17 +0000)]
Fix build.
svn path=/trunk/; revision=63894
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Aleksandar Andrejevic [Sat, 9 Aug 2014 01:39:28 +0000 (01:39 +0000)]
[NTVDM]
Start implementing mouse support.
svn path=/trunk/; revision=63842
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
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
Sylvain Petreolle [Fri, 8 Aug 2014 16:12:23 +0000 (16:12 +0000)]
[WIN32SS]
Fix trace.
svn path=/trunk/; revision=63839
Sylvain Petreolle [Fri, 8 Aug 2014 16:04:08 +0000 (16:04 +0000)]
[WIN32K]
Formatting only.
svn path=/trunk/; revision=63838
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
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
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
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
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
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
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
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
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
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
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
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