Commit graph

58206 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto
ff5a8823e0 [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
2014-08-31 11:58:50 +00:00
Hermès Bélusca-Maïto
abe58c387a [CONSRV]: Code cleaning.
svn path=/branches/condrv_restructure/; revision=64005
2014-08-31 11:24:23 +00:00
Hermès Bélusca-Maïto
b47d51c6a3 [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
2014-08-31 11:07:09 +00:00
Hermès Bélusca-Maïto
0482248489 [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
2014-08-30 16:20:32 +00:00
Hermès Bélusca-Maïto
a55a2fbbc4 [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
2014-08-30 16:18:07 +00:00
Hermès Bélusca-Maïto
ccaa07fecf [CONSRV]: Code formatting only.
svn path=/branches/condrv_restructure/; revision=63990
2014-08-30 15:59:35 +00:00
Hermès Bélusca-Maïto
e3e54a09b3 [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
2014-08-29 19:54:10 +00:00
Hermès Bélusca-Maïto
742f7ebd4b [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
2014-08-29 19:45:45 +00:00
Hermès Bélusca-Maïto
89524de4be [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
2014-08-23 16:38:22 +00:00
Hermès Bélusca-Maïto
73a66663c8 Sync to trunk revision 63922.
svn path=/branches/condrv_restructure/; revision=63923
2014-08-23 15:51:37 +00:00
Jérôme Gardou
9a96133a37 [WIN32K]
- Remove left-over assert

svn path=/trunk/; revision=63922
2014-08-23 15:20:44 +00:00
Jérôme Gardou
c8ed53856b [CMAKE]
- make reactos_cab_inf an unconditional target.
Should fix windows testbot

svn path=/trunk/; revision=63921
2014-08-23 14:40:00 +00:00
Jérôme Gardou
ec5927ad19 [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
2014-08-23 14:20:16 +00:00
Jérôme Gardou
ea6842d69a [FORMATTING]
- Reformat/refactor some code. No changes.

svn path=/trunk/; revision=63919
2014-08-23 10:20:18 +00:00
Jérôme Gardou
7cd7bc2b97 [INCLUDE/CRT]
- import ivec.h from mingw-w64
[INCLUDE/PSDK]
 - import bthdef and stralign.h from mingw-w64

svn path=/trunk/; revision=63918
2014-08-23 10:19:57 +00:00
Hervé Poussineau
e3ab3c712a [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
2014-08-22 19:14:31 +00:00
Hervé Poussineau
b36bcbb154 [NDISUIO]
Add required PnPEventHandler
CORE-8292

svn path=/trunk/; revision=63916
2014-08-22 19:13:31 +00:00
Hermès Bélusca-Maïto
8fc96393c6 [CONSOLE.CPL]: Remove unneeded LBS_DISABLENOSCROLL style.
svn path=/branches/condrv_restructure/; revision=63915
2014-08-22 17:32:08 +00:00
Hermès Bélusca-Maïto
ce2f155e05 [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
2014-08-21 19:18:25 +00:00
Sylvain Petreolle
ddcf6ee167 [RAPPS]
Fix the registry key of the Event Source.

svn path=/trunk/; revision=63913
2014-08-21 12:28:24 +00:00
Thomas Faber
73b83f8495 [PSDK]
- Fix __drv_functionClass dummy. By Alex Radocea

svn path=/trunk/; revision=63910
2014-08-20 13:23:11 +00:00
Hermès Bélusca-Maïto
4ba08b1994 [NPFS]: The third argument of ObLogSecurityDescriptor is an integer, not a boolean.
svn path=/trunk/; revision=63904
2014-08-18 17:45:26 +00:00
Thomas Faber
1cc1113dc7 [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
2014-08-18 03:55:59 +00:00
Thomas Faber
39d29c44d0 [NTOS:CC]
- Set the uninitialize event in CcUninitializeCacheMap to avoid deadlocking callers

svn path=/trunk/; revision=63902
2014-08-17 21:52:54 +00:00
Thomas Faber
d34c276260 [NTOS:CC]
- Use the passed-in file sizes in CcInitializeCacheMap

svn path=/trunk/; revision=63901
2014-08-17 21:47:43 +00:00
Cameron Gutman
87f8f559cc [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
2014-08-17 04:03:29 +00:00
Cameron Gutman
ef4815c35f [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
2014-08-17 01:42:02 +00:00
Eric Kohl
50aa823cdb [NTOSKRNL:CONFIG]
CmShutdownSystem: Close all hive files after flushing the hives.

svn path=/trunk/; revision=63897
2014-08-16 08:56:48 +00:00
Hermès Bélusca-Maïto
9fc8396088 [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
2014-08-15 20:00:47 +00:00
Thomas Faber
cd26effabd [APPWIZ]
- Download Gecko from a URL that does not force HTTPS.
CORE-8396

svn path=/trunk/; revision=63895
2014-08-15 12:34:12 +00:00
Dmitry Gorbachev
c0b944dbb5 Fix build.
svn path=/trunk/; revision=63894
2014-08-15 11:17:16 +00:00
Dmitry Gorbachev
f8abce1e28 [CMAKE]
Thin & Slim link-time optimization (requires up-to-date binutils).

svn path=/trunk/; revision=63893
2014-08-15 11:12:09 +00:00
Thomas Faber
cb5f28caf1 [SHELL32]
- ACTUALLY fix ITEMIDLIST typing in IShellFolder/IShellFolder2 implementations
CORE-8441

svn path=/trunk/; revision=63890
2014-08-15 10:38:11 +00:00
Thomas Faber
a42c7bc31b [SHELL32]
- Fix ITEMIDLIST typing in IShellFolder/IShellFolder2 implementations
CORE-8441

svn path=/trunk/; revision=63889
2014-08-15 10:33:54 +00:00
Thomas Faber
f46c30d548 [SHELL32]
- Don't fail on NULL array pointer if count is zero
CORE-8443 #resolve

svn path=/trunk/; revision=63887
2014-08-14 22:43:10 +00:00
Hermès Bélusca-Maïto
6a85d82141 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
2014-08-14 20:23:03 +00:00
Hermès Bélusca-Maïto
21b5377d35 [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
2014-08-14 20:10:00 +00:00
Thomas Faber
6acec73b44 [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
2014-08-14 19:47:45 +00:00
Thomas Faber
ccacbf8050 [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
2014-08-14 19:35:00 +00:00
Thomas Faber
124d892d48 [SHELL32]
- Use correct prototype for IFolderView::SelectAndPositionItems in CDefView

svn path=/trunk/; revision=63882
2014-08-14 13:26:02 +00:00
Thomas Faber
b8b0cb9b6f [PSDK]
- Fix some ITEMIDLIST types in IShellFolder
CORE-8441

svn path=/trunk/; revision=63881
2014-08-14 13:21:32 +00:00
Thomas Faber
9ad857369a [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
2014-08-14 07:46:59 +00:00
Jérôme Gardou
3f1a4576dd [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
2014-08-13 16:30:52 +00:00
Hermès Bélusca-Maïto
e8874e08eb 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
2014-08-12 19:43:32 +00:00
Hermès Bélusca-Maïto
de799f57dc Sync to trunk revision 63875.
svn path=/branches/condrv_restructure/; revision=63876
2014-08-12 18:49:17 +00:00
Thomas Faber
c0d467161a [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
2014-08-12 15:50:27 +00:00
Hermès Bélusca-Maïto
73cdd53b1d [CONSRV]: Still some code refactoring....
svn path=/branches/condrv_restructure/; revision=63874
2014-08-12 14:59:13 +00:00
Thomas Faber
f6304a30dc [SPEC2DEF]
- In GCC builds, actually import by ordinal if -ordinal is specified. Found by Robert.

svn path=/trunk/; revision=63873
2014-08-12 13:21:38 +00:00
Giannis Adamopoulos
8094b5e493 [shell32]
- Marshall interface pointers between apartments correctly 
- Patch by Huw Campbell 

svn path=/trunk/; revision=63872
2014-08-12 10:29:40 +00:00
Thomas Faber
e70cc781b3 [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
2014-08-12 07:52:29 +00:00