Commit graph

60012 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 6ba8a926da [CONSRV]: Add PCONSRV_CONSOLE --> PCONSOLE casts (needed *on purpose*).
svn path=/branches/condrv_restructure/; revision=65644
2014-12-14 18:05:50 +00:00
Hermès Bélusca-Maïto 4bc1529cfa [CONSRV]: Move all references to VDM screenbuffers from condrv back to consrv (only ConDrvWriteConsoleOutputVDM remains in condrv for now...)
svn path=/branches/condrv_restructure/; revision=65643
2014-12-14 17:30:38 +00:00
Hermès Bélusca-Maïto 6dcdba6692 [CONDRV]: Code reshuffling only.
svn path=/branches/condrv_restructure/; revision=65642
2014-12-14 17:02:39 +00:00
Hermès Bélusca-Maïto f995f5fef8 [CONSRV]: Use an optional parameter for passing things to the "line discipline" functions.
svn path=/branches/condrv_restructure/; revision=65640
2014-12-14 16:53:47 +00:00
Hermès Bélusca-Maïto f6b392dd4c Fix merge r65567.
svn path=/branches/condrv_restructure/; revision=65570
2014-12-05 22:24:49 +00:00
Hermès Bélusca-Maïto a381da464a [OSK]
- Fix some coding style (whitespace): this is not win32k!!
- Remove unneeded headers.

svn path=/trunk/; revision=65569
2014-12-05 22:09:10 +00:00
James Tabor e86551f057 [OSK]
- Add On Screen Keyboard to base applications. See CORE-7279 #resolved.

svn path=/trunk/; revision=65568
2014-12-05 21:43:00 +00:00
Hermès Bélusca-Maïto 9919d4fa10 Sync to trunk r65566.
svn path=/branches/condrv_restructure/; revision=65567
2014-12-05 21:20:35 +00:00
David Quintana 63a134ffc1 [BROWSEUI]
* Make the CBandSiteMenu class actually insert the Toolbars menu, even if it's not yet implemented. This fills the top of the taskbar context menu instead of leaving an ugly separator at the top.

svn path=/trunk/; revision=65566
2014-12-05 16:41:18 +00:00
Hermès Bélusca-Maïto 561200f6d3 Only layout was set different. Fix build.
svn path=/trunk/; revision=65565
2014-12-05 00:23:11 +00:00
Hermès Bélusca-Maïto f471dceaae [LOCALIZATION]: Add Bengali to other files.
svn path=/trunk/; revision=65564
2014-12-05 00:21:36 +00:00
Hermès Bélusca-Maïto b96ad17f20 [LOCALIZATION]
Add Bengali to the list of available lang #defines (see http://www.microsoft.com/resources/msdn/goglobal/default.mspx for the list).

svn path=/trunk/; revision=65563
2014-12-04 23:50:08 +00:00
Hermès Bélusca-Maïto 3ce4b32ab5 Fix some DPRINTs.
svn path=/trunk/; revision=65562
2014-12-04 23:15:18 +00:00
Hermès Bélusca-Maïto 03e7e918aa [CONSRV]
- Give the process handle which creates the screenbuffer, to ConDrvCreateScreenBuffer.
- Few code refactoring.

svn path=/trunk/; revision=65561
2014-12-04 22:47:13 +00:00
David Quintana 96d86fca58 [EXPLORER]
* Reorganize a bit the CTrayWindowCtxMenu::QueryContextMenu method and do not error if AddContextMenus fails. Fixes the taskbar context menu not opening on right-click.
(No need to call it explorer-new now that it's the primary one!)
CORE-8838

svn path=/trunk/; revision=65560
2014-12-04 19:53:02 +00:00
Giannis Adamopoulos be4775c2b8 [INCLUDES]
* Move some shared definitions in a common header

svn path=/trunk/; revision=65559
2014-12-04 18:20:51 +00:00
Giannis Adamopoulos d45dcc697d Try to fix build
svn path=/trunk/; revision=65558
2014-12-04 17:40:29 +00:00
Giannis Adamopoulos 8492b3df2a [SHELL32]
- Implement handling accelerators for CDesktopBrowser. The only noticeable difference is that pressing alt+f4 in the desktop doesn't close it.
See issue #8864 for more details.

svn path=/trunk/; revision=65557
2014-12-04 17:30:44 +00:00
Giannis Adamopoulos d1c24a9a68 [EXPLORER]
- Implement registering all hotkeys that explorer registers in windows. Not all of them are implemented. The ones that are implemented work fine in windows but most of them don't work on ros. Thankfully nothing regressed by doing things the same with windows .

svn path=/trunk/; revision=65556
2014-12-04 17:20:43 +00:00
Giannis Adamopoulos e018794583 [EXPLORER]
- Handle TWM_DOEXITWINDOWS in CTrayWindow. This message is sent from CDesktopWindow when it handles alt+f4 as an accelerator.
- Also handle SC_CLOSE for WM_SYSCOMMAND by calling ExitWindowsDialog.
- Fixes pressing alt+f4 in xp
- Now we have to make CDesktopWindow send TWM_DOEXITWINDOWS to the tray

svn path=/trunk/; revision=65555
2014-12-03 17:16:53 +00:00
David Quintana 079da15e39 [BROWSEUI]
* Add a stubbed CExplorerBand, which I will be using to investigate how the windows shell implements the sidebar panels.
This will never be called in ReactOS because our shell view doesn't handle the buttons for opening the sidebars, so it never asks the shell browser to open one.

CORE-8815

svn path=/trunk/; revision=65554
2014-12-03 16:11:46 +00:00
Amine Khaldi 4de21be788 [KBDES] Please Ismael Ferreras Morezuelas (swyter) with these mostly formatting changes.
CORE-8848

svn path=/trunk/; revision=65553
2014-12-03 11:40:37 +00:00
Amine Khaldi c0d2bce06a [PSDK]
* Add missing MoveFileWithProgress{A,W} declarations.
CORE-4476

svn path=/trunk/; revision=65552
2014-12-03 11:35:29 +00:00
Jérôme Gardou 750f99929f [KMTEST/TCPIP]
- Adjust test data to better reflect w2k3 behaviour.
Thanks Amine for the tests.

svn path=/trunk/; revision=65551
2014-12-02 18:53:45 +00:00
Jérôme Gardou d85b6d69f8 [KMTESTS/TCPIP]
- Fix MSVC build.

svn path=/trunk/; revision=65550
2014-12-02 18:38:32 +00:00
Jérôme Gardou ec74758add [TCPIP_DRVTEST]
- Do not try to HeapFree a stack buffer.

svn path=/trunk/; revision=65549
2014-12-02 18:12:26 +00:00
Jérôme Gardou e07183a73b [KMTESTS]
- Fix typo

svn path=/trunk/; revision=65548
2014-12-02 18:08:33 +00:00
Jérôme Gardou e7ed762d4b [ROSTESTS]
- Add tcpip_drvtest, for now only testing the IOCTL behind iphlpapi's GetInterfaceInfo

svn path=/trunk/; revision=65547
2014-12-02 18:06:57 +00:00
Jérôme Gardou a928f15f42 [KMTEST]
- Add some tests for tcpip.sys TDI capabilities (for now, TDI_PROVIDER_INFO)

svn path=/trunk/; revision=65546
2014-12-02 18:06:48 +00:00
Jérôme Gardou 6ef8833b55 [INCLUDE]
- Introduce tcpip_undoc.h defining undocumented tcpip.sys IOCTLs and structures.

svn path=/trunk/; revision=65545
2014-12-02 18:02:15 +00:00
David Quintana 4c9df7c3e5 [RSHELL]
* Oops. That shouldn't have been commited.

svn path=/trunk/; revision=65544
2014-12-02 12:27:44 +00:00
Jérôme Gardou 4c7f135588 [PSDK]
- Add missing TDI_SERVICE_* flags

svn path=/trunk/; revision=65543
2014-12-01 19:30:45 +00:00
David Quintana 527ff12b2c [RSHELL]
* Fix gcc build.

svn path=/trunk/; revision=65542
2014-12-01 16:41:58 +00:00
David Quintana 1e7e753a35 [RSHELL]
* The windows menu classes hide the items when the callback returns S_OK, and show them on S_FALSE. Fix our implementation to match.
* The windows CMergedFolder uses its own internal SHITEMID structure, so using filesystem paths directly won't work for hiding the Programs folder. 
* Also, because of the above, it's best to create the Programs menu object separately.


svn path=/trunk/; revision=65541
2014-12-01 16:32:58 +00:00
James Tabor 0bc45dba49 [Win32k]
- Use thread state for GetMessageExtraInfo.

svn path=/trunk/; revision=65540
2014-12-01 14:47:05 +00:00
Giannis Adamopoulos 8b417dd15d Try to fix Build
svn path=/trunk/; revision=65539
2014-12-01 09:42:29 +00:00
Giannis Adamopoulos 5b12c58f87 [WINSRV]
* Stop using ONEPARAM_ROUTINE_CSRSS_GUICHECK

[WIN32K]
* Move the manual gui check for console windows entirely in win32k
* This shouldn't cause any regressions to the ancient gui-on-demand feature

svn path=/trunk/; revision=65538
2014-12-01 09:38:04 +00:00
David Quintana 5967527b98 [RSHELL]
* Partially rewrite CMergedFolder to fix the invalid assumption that the results of enumerating a folder are ordered.
Fixes the folder merging on certain languages not working as expected, and also some other weaknesses of the previous implementation.

CORE-8835 #resolve #comment Should be fixed in r65537. Thanks for reporting.

svn path=/trunk/; revision=65537
2014-12-01 04:23:44 +00:00
Timo Kreuzer 685e2218f0 [WIN32K]
Fix reference counting in PDEVOBJ_pSurface. Fixes failed assertions on newer MSVC builds.

svn path=/trunk/; revision=65536
2014-12-01 00:01:17 +00:00
Hermès Bélusca-Maïto 7dc70b785f Fix the fix of the fix (yes, really!) Also, Hervé, I'm not really convinced you need to upcase the first letter in the RtlPathTypeDriveAbsolute case. Can you recheck that (and if unneeded, remove the commented line)?
svn path=/trunk/; revision=65535
2014-11-30 12:06:58 +00:00
Hermès Bélusca-Maïto e077e546cd Fix the fix.
svn path=/trunk/; revision=65534
2014-11-30 11:56:36 +00:00
Hermès Bélusca-Maïto 20ac78114f [RTL]: RtlGetFullPathName_Ustr: Do not upcase the drive letter in the source string (that should not be modified), but use a temporary variable.
svn path=/trunk/; revision=65533
2014-11-30 11:53:19 +00:00
Hervé Poussineau a198ec0538 [RTL] Upcase drive letter in RtlGetFullPathName_Ustr
svn path=/trunk/; revision=65532
2014-11-29 21:56:14 +00:00
Hervé Poussineau 62f368b666 [RTL] Add some missing UNIMPLEMENTED
svn path=/trunk/; revision=65531
2014-11-29 21:44:11 +00:00
Hervé Poussineau 85c6a329ba [NTFS] Fix CcInitializeCacheMap call
svn path=/trunk/; revision=65530
2014-11-29 21:43:57 +00:00
Hervé Poussineau 1cec297066 [NTOS:CC] Add some debug prints
svn path=/trunk/; revision=65529
2014-11-29 21:43:39 +00:00
Hermès Bélusca-Maïto bac6bdb719 [USER32]
- On Win2k3, the EXIT_(ROS)_EX csr message has 3 parameters, instead of 2 (as on win2k), and the dwReserved is in fact unused.
[USERSRV]
- Add CSR shutdown callback UserClientShutdown (stub).
[CONSRV|USERSRV]
- The CSR shutdown callbacks are just stubs currently.

Part 5/X
CORE-8322

svn path=/trunk/; revision=65528
2014-11-29 21:19:01 +00:00
Pierre Schweitzer e85718fec8 [FASTFAT]
- Add a flag to enable (or disable depends on your reading ;-)) the VPB swapout process for volume umount.
- By default, disable it for MSVC builds.

This *might* lolfix the MSVC builds.

Just for the record, we also have a bug in the GCC builds but it doesn't seem to show up. 
The main issue is that after formatting, we close handle to the volume, and IRP_MJ_CLEANUP is properly received and initiates a bit of dismount.
But then, the IRP_MJ_CLOSE is never received (why????) and thus, dismount cannot properly end.
This is a real & serious issue.

svn path=/trunk/; revision=65527
2014-11-29 20:26:07 +00:00
Pierre Schweitzer 8d5e230523 [FASTFAT]
Fix a FIXME in fastfat:
- Implement support for device buffers flush in VfatFlushVolume().

Unlike Windows SDK, we don't divert the current IRP to pass it to storage device. Here, we allocate a new IRP and call the device so that it flushes buffers.

svn path=/trunk/; revision=65526
2014-11-29 20:15:44 +00:00
Pierre Schweitzer fa9b68d4bb [FASTFAT]
If you decrease handles count on cleanup, don't forget to increase it on create.

This fixes sharing violation on ReactOS installation with IopParseDevice hack disabled. 

svn path=/trunk/; revision=65525
2014-11-29 20:09:44 +00:00