Commit graph

59984 commits

Author SHA1 Message Date
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
David Quintana 6d54197797 [SHELL32]
* Make use of the resource IDs for all paths that need localizing. It was working in the past but was broken by re-synchronizing the code with WINE, which has unlocalized hardcoded strings instead.
This fixes the shortcuts not appearing in other languages.
* Fix the folder for Administrative tools in spanish language

[USERENV]
* Fix spanish folder names to match our shell32 and Windows.

TRANSLATORS: If your language is broken, ensure that the paths in userenv and shell32 resources match!

CORE-8834 #resolve #comment Should be fixed in trunk r65524, thanks for reporting. If this problem still happens, speak with your language's translator or provide your own patch.

svn path=/trunk/; revision=65524
2014-11-29 17:17:52 +00:00
Amine Khaldi 65489ad035 [KBDES] Update, fix and improve the Spanish keyboard layout file.
* Brought to you by Ismael Ferreras Morezuelas (swyter) with consistency formatting changes by me.
CORE-8848 #resolve #comment Committed the changes in r65523. Gracias!

svn path=/trunk/; revision=65523
2014-11-29 10:15:37 +00:00
James Tabor c0851ad2a3 [NtUser]
- Fix timeout for send messages.
- Assert if not the same thread while dispatching messages.

svn path=/trunk/; revision=65522
2014-11-29 08:26:54 +00:00
Hermès Bélusca-Maïto b085d814b6 [USER32]
- Move to an appropriate file, and correctly implement (i.e. via CSR call to USERSRV) EndTask.
[USERSRV]
- Hackplement SrvEndTask using our old code.

Part 4/X

CORE-8322

svn path=/trunk/; revision=65521
2014-11-28 23:42:40 +00:00
Hermès Bélusca-Maïto 725057bae3 Forgot this file too.
svn path=/trunk/; revision=65520
2014-11-28 23:24:38 +00:00
Hermès Bélusca-Maïto e5d2106458 [WIN32K][ROSTESTS]
So...
... first of all NtUserQueryInformationThread takes only 4 parameters in Win2k3 so do it as well...
... and since we claim at being compatible with Win2k3 (and not XP), one **MUST** review **ALL** our win32k exports, in win32ss/w32ksvc.db database first, and then in our w32kdll apitests !!!!!
But I won't do it !

svn path=/trunk/; revision=65519
2014-11-28 23:19:25 +00:00
Hermès Bélusca-Maïto 7e5b127603 [WIN32K]: Remove those unneeded #defines, they are already declared in include/reactos/undocuser.h
CORE-8322

svn path=/trunk/; revision=65518
2014-11-28 21:59:32 +00:00
Hermès Bélusca-Maïto e10e14dcd4 [WIN32K]: Move IntClientShutdown function to a dedicated file (that will contain other shutdown helper functions in the future). Part 3/X
CORE-8322

svn path=/trunk/; revision=65517
2014-11-28 21:48:44 +00:00
Hermès Bélusca-Maïto 331ed663bf [USERSRV]: Use UlongToHandle and make ServicesProcessId global (will be used later on, for shutdown). Part 2/X
CORE-8322

svn path=/trunk/; revision=65516
2014-11-28 21:08:57 +00:00
Hermès Bélusca-Maïto c5601a5515 [USER32]: Move some logon-related functions to an appropriate file.
svn path=/trunk/; revision=65515
2014-11-28 20:58:50 +00:00
James Tabor 5ec4df01ce [NtUser]
- Revert 65431, it seems to be breaking more than it fixes. Process Explorer will break again, working on a better way to fix this. See CORE-7447.

svn path=/trunk/; revision=65514
2014-11-28 20:44:04 +00:00
Hermès Bélusca-Maïto d3b2696104 [USER32]
- Call GetThreadConsoleDesktop of CONSRV if needed, in GetThreadDesktop (in case the process is a console app).
- Introduce two last-error helpers UserSetLast(NT)Error which work the same as the (Base)SetLast(NT)Error of kernel32, needed for CSR status errors etc...

[WINSRV]
- Improve the stub of SrvGetThreadConsoleDesktop (it needs to success, and atm. it always zeroes-out the returned console desktop handle).

svn path=/trunk/; revision=65513
2014-11-28 20:34:16 +00:00
Amine Khaldi 0abf72fdee [KERNEL32_WINETEST] Addendum to r65511.
svn path=/trunk/; revision=65512
2014-11-28 19:22:34 +00:00
Amine Khaldi 3be4abc045 [RTL] Import Wine commit f87767b by Piotr Caban: Handle ACTCTX_FLAG_ASSEMBLY_DIRECTORY_VALID flag when opening manifest in RtlCreateActivationContext.
svn path=/trunk/; revision=65511
2014-11-28 19:20:39 +00:00
Giannis Adamopoulos 198dcf7d19 [EXPLORER]
* Move some definitions in precomp.h

svn path=/trunk/; revision=65510
2014-11-27 21:11:29 +00:00
Giannis Adamopoulos 5c6b27436a Attempt to fix build.
svn path=/trunk/; revision=65509
2014-11-27 20:32:38 +00:00
Pierre Schweitzer 3c6889480c [FASTFAT]
Properly handle shared accesses on volume open.
No need to add the support for this in cleanup, it was already there.

svn path=/trunk/; revision=65508
2014-11-27 20:28:50 +00:00
Giannis Adamopoulos 98669c13f1 [HEADERS]
- Move definitions for DrawCaptionTemp to userundoc.h as it shouldn't be defined in the psdk
- Add browseui_undoc.h and move there the undocumented definitions for browseui
- Add comctl32_undoc.h and move there the undocumented definitions for comctl32
- Move undocumented definitions for shlwapi to shlwapi_undoc.h
- Add shellutils.h to contain helper macros and definitions that are nor per se undocumented.
- Cleanup internal definitions of explorer. Remove several temporary hacks. They were added at a time that these features were not implemented at all.

svn path=/trunk/; revision=65507
2014-11-27 20:27:19 +00:00
Amine Khaldi 4f8f6087e3 [CMAKE]
* Simplify compiling some single-source-file tools.

svn path=/trunk/; revision=65506
2014-11-27 19:09:07 +00:00
Amine Khaldi 62e8524e6e * Addendum to r65503 (consistent formatting).
svn path=/trunk/; revision=65505
2014-11-27 18:59:19 +00:00
James Tabor c3543f4697 [NtUser]
- Fix code duplication.

svn path=/trunk/; revision=65504
2014-11-27 18:35:57 +00:00
Giannis Adamopoulos 39569fc498 [ADVAPI32]
- Stub ElfRegisterEventSourceW, ElfReportEventW and ElfDeregisterEventSource. These are needed by windows sxs.dll, and sxs.dll is needed by windows basesrv.dll.

svn path=/trunk/; revision=65503
2014-11-27 14:21:43 +00:00
Ged Murphy 7a8c45344a [DEVICE_MANAGER]
- Test whether a driver is hidden or not by checking its status instead of the old hack of hiding certain classes which we deemed should be hidden.
- Add support for hiding devices and problem overlays when showing by connection. 
- We now show and hide identical devices when run alongside the Win8 MS device manager in both by type and by connection.
- Update the radio buttons when selecting the menu type.
- Add a manifest and use Win7 arrows on the TreeView.

svn path=/trunk/; revision=65502
2014-11-27 13:47:49 +00:00
Pierre Schweitzer 267881ff71 [FASTFAT]
Set clean shutdown bit on dismount

svn path=/trunk/; revision=65501
2014-11-27 06:16:21 +00:00
Amine Khaldi 9cfe36c5ca [SHELL] Reapply r65477 (rename explorer-new to explorer).
svn path=/trunk/; revision=65500
2014-11-26 23:24:26 +00:00
Amine Khaldi e73c9fb02d [SHELL] Reapply r65476 (rename explorer to explorer-old).
svn path=/trunk/; revision=65499
2014-11-26 23:22:44 +00:00
Amine Khaldi 2a2210d52b [SETUP]
* Set 32bpp as default bit depth instead of 16bpp. Suggestion and patch provided by Ismael Ferreras Morezuelas (swyter).
CORE-8826 #resolve #comment Committed in r65498. Gracias!

svn path=/trunk/; revision=65498
2014-11-26 23:17:02 +00:00
Amine Khaldi 96cdf37afe [SHELL] Move shlguid_undoc.h, shlobj_undoc.h and shlwapi_undoc.h to our includes folder instead of the PSDK one.
CORE-7330

svn path=/trunk/; revision=65497
2014-11-26 23:03:06 +00:00