reactos.git
9 years ago[KMTESTS]
Jérôme Gardou [Tue, 2 Dec 2014 18:08:33 +0000 (18:08 +0000)]
[KMTESTS]
 - Fix typo

svn path=/trunk/; revision=65548

9 years ago[ROSTESTS]
Jérôme Gardou [Tue, 2 Dec 2014 18:06:57 +0000 (18:06 +0000)]
[ROSTESTS]
 - Add tcpip_drvtest, for now only testing the IOCTL behind iphlpapi's GetInterfaceInfo

svn path=/trunk/; revision=65547

9 years ago[KMTEST]
Jérôme Gardou [Tue, 2 Dec 2014 18:06:48 +0000 (18:06 +0000)]
[KMTEST]
 - Add some tests for tcpip.sys TDI capabilities (for now, TDI_PROVIDER_INFO)

svn path=/trunk/; revision=65546

9 years ago[INCLUDE]
Jérôme Gardou [Tue, 2 Dec 2014 18:02:15 +0000 (18:02 +0000)]
[INCLUDE]
 - Introduce tcpip_undoc.h defining undocumented tcpip.sys IOCTLs and structures.

svn path=/trunk/; revision=65545

9 years ago[RSHELL]
David Quintana [Tue, 2 Dec 2014 12:27:44 +0000 (12:27 +0000)]
[RSHELL]
* Oops. That shouldn't have been commited.

svn path=/trunk/; revision=65544

9 years ago[PSDK]
Jérôme Gardou [Mon, 1 Dec 2014 19:30:45 +0000 (19:30 +0000)]
[PSDK]
 - Add missing TDI_SERVICE_* flags

svn path=/trunk/; revision=65543

9 years ago[RSHELL]
David Quintana [Mon, 1 Dec 2014 16:41:58 +0000 (16:41 +0000)]
[RSHELL]
* Fix gcc build.

svn path=/trunk/; revision=65542

9 years ago[RSHELL]
David Quintana [Mon, 1 Dec 2014 16:32:58 +0000 (16:32 +0000)]
[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

9 years ago[Win32k]
James Tabor [Mon, 1 Dec 2014 14:47:05 +0000 (14:47 +0000)]
[Win32k]
- Use thread state for GetMessageExtraInfo.

svn path=/trunk/; revision=65540

9 years agoTry to fix Build
Giannis Adamopoulos [Mon, 1 Dec 2014 09:42:29 +0000 (09:42 +0000)]
Try to fix Build

svn path=/trunk/; revision=65539

9 years ago[WINSRV]
Giannis Adamopoulos [Mon, 1 Dec 2014 09:38:04 +0000 (09:38 +0000)]
[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

9 years ago[RSHELL]
David Quintana [Mon, 1 Dec 2014 04:23:44 +0000 (04:23 +0000)]
[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

9 years ago[WIN32K]
Timo Kreuzer [Mon, 1 Dec 2014 00:01:17 +0000 (00:01 +0000)]
[WIN32K]
Fix reference counting in PDEVOBJ_pSurface. Fixes failed assertions on newer MSVC builds.

svn path=/trunk/; revision=65536

9 years agoFix the fix of the fix (yes, really!) Also, Hervé, I'm not really convinced you need...
Hermès Bélusca-Maïto [Sun, 30 Nov 2014 12:06:58 +0000 (12:06 +0000)]
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

9 years agoFix the fix.
Hermès Bélusca-Maïto [Sun, 30 Nov 2014 11:56:36 +0000 (11:56 +0000)]
Fix the fix.

svn path=/trunk/; revision=65534

9 years ago[RTL]: RtlGetFullPathName_Ustr: Do not upcase the drive letter in the source string...
Hermès Bélusca-Maïto [Sun, 30 Nov 2014 11:53:19 +0000 (11:53 +0000)]
[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

9 years ago[RTL] Upcase drive letter in RtlGetFullPathName_Ustr
Hervé Poussineau [Sat, 29 Nov 2014 21:56:14 +0000 (21:56 +0000)]
[RTL] Upcase drive letter in RtlGetFullPathName_Ustr

svn path=/trunk/; revision=65532

9 years ago[RTL] Add some missing UNIMPLEMENTED
Hervé Poussineau [Sat, 29 Nov 2014 21:44:11 +0000 (21:44 +0000)]
[RTL] Add some missing UNIMPLEMENTED

svn path=/trunk/; revision=65531

9 years ago[NTFS] Fix CcInitializeCacheMap call
Hervé Poussineau [Sat, 29 Nov 2014 21:43:57 +0000 (21:43 +0000)]
[NTFS] Fix CcInitializeCacheMap call

svn path=/trunk/; revision=65530

9 years ago[NTOS:CC] Add some debug prints
Hervé Poussineau [Sat, 29 Nov 2014 21:43:39 +0000 (21:43 +0000)]
[NTOS:CC] Add some debug prints

svn path=/trunk/; revision=65529

9 years ago[USER32]
Hermès Bélusca-Maïto [Sat, 29 Nov 2014 21:19:01 +0000 (21:19 +0000)]
[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

9 years ago[FASTFAT]
Pierre Schweitzer [Sat, 29 Nov 2014 20:26:07 +0000 (20:26 +0000)]
[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

9 years ago[FASTFAT]
Pierre Schweitzer [Sat, 29 Nov 2014 20:15:44 +0000 (20:15 +0000)]
[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

9 years ago[FASTFAT]
Pierre Schweitzer [Sat, 29 Nov 2014 20:09:44 +0000 (20:09 +0000)]
[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

9 years ago[SHELL32]
David Quintana [Sat, 29 Nov 2014 17:17:52 +0000 (17:17 +0000)]
[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

9 years ago[KBDES] Update, fix and improve the Spanish keyboard layout file.
Amine Khaldi [Sat, 29 Nov 2014 10:15:37 +0000 (10:15 +0000)]
[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

9 years ago[NtUser]
James Tabor [Sat, 29 Nov 2014 08:26:54 +0000 (08:26 +0000)]
[NtUser]
- Fix timeout for send messages.
- Assert if not the same thread while dispatching messages.

svn path=/trunk/; revision=65522

9 years ago[USER32]
Hermès Bélusca-Maïto [Fri, 28 Nov 2014 23:42:40 +0000 (23:42 +0000)]
[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

9 years agoForgot this file too.
Hermès Bélusca-Maïto [Fri, 28 Nov 2014 23:24:38 +0000 (23:24 +0000)]
Forgot this file too.

svn path=/trunk/; revision=65520

9 years ago[WIN32K][ROSTESTS]
Hermès Bélusca-Maïto [Fri, 28 Nov 2014 23:19:25 +0000 (23:19 +0000)]
[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

9 years ago[WIN32K]: Remove those unneeded #defines, they are already declared in include/reacto...
Hermès Bélusca-Maïto [Fri, 28 Nov 2014 21:59:32 +0000 (21:59 +0000)]
[WIN32K]: Remove those unneeded #defines, they are already declared in include/reactos/undocuser.h
CORE-8322

svn path=/trunk/; revision=65518

9 years ago[WIN32K]: Move IntClientShutdown function to a dedicated file (that will contain...
Hermès Bélusca-Maïto [Fri, 28 Nov 2014 21:48:44 +0000 (21:48 +0000)]
[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

9 years ago[USERSRV]: Use UlongToHandle and make ServicesProcessId global (will be used later...
Hermès Bélusca-Maïto [Fri, 28 Nov 2014 21:08:57 +0000 (21:08 +0000)]
[USERSRV]: Use UlongToHandle and make ServicesProcessId global (will be used later on, for shutdown). Part 2/X
CORE-8322

svn path=/trunk/; revision=65516

9 years ago[USER32]: Move some logon-related functions to an appropriate file.
Hermès Bélusca-Maïto [Fri, 28 Nov 2014 20:58:50 +0000 (20:58 +0000)]
[USER32]: Move some logon-related functions to an appropriate file.

svn path=/trunk/; revision=65515

9 years ago[NtUser]
James Tabor [Fri, 28 Nov 2014 20:44:04 +0000 (20:44 +0000)]
[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

9 years ago[USER32]
Hermès Bélusca-Maïto [Fri, 28 Nov 2014 20:34:16 +0000 (20:34 +0000)]
[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

9 years ago[KERNEL32_WINETEST] Addendum to r65511.
Amine Khaldi [Fri, 28 Nov 2014 19:22:34 +0000 (19:22 +0000)]
[KERNEL32_WINETEST] Addendum to r65511.

svn path=/trunk/; revision=65512

9 years ago[RTL] Import Wine commit f87767b by Piotr Caban: Handle ACTCTX_FLAG_ASSEMBLY_DIRECTOR...
Amine Khaldi [Fri, 28 Nov 2014 19:20:39 +0000 (19:20 +0000)]
[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

9 years ago[EXPLORER]
Giannis Adamopoulos [Thu, 27 Nov 2014 21:11:29 +0000 (21:11 +0000)]
[EXPLORER]
* Move some definitions in precomp.h

svn path=/trunk/; revision=65510

9 years agoAttempt to fix build.
Giannis Adamopoulos [Thu, 27 Nov 2014 20:32:38 +0000 (20:32 +0000)]
Attempt to fix build.

svn path=/trunk/; revision=65509

9 years ago[FASTFAT]
Pierre Schweitzer [Thu, 27 Nov 2014 20:28:50 +0000 (20:28 +0000)]
[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

9 years ago[HEADERS]
Giannis Adamopoulos [Thu, 27 Nov 2014 20:27:19 +0000 (20:27 +0000)]
[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

9 years ago[CMAKE]
Amine Khaldi [Thu, 27 Nov 2014 19:09:07 +0000 (19:09 +0000)]
[CMAKE]
* Simplify compiling some single-source-file tools.

svn path=/trunk/; revision=65506

9 years ago* Addendum to r65503 (consistent formatting).
Amine Khaldi [Thu, 27 Nov 2014 18:59:19 +0000 (18:59 +0000)]
* Addendum to r65503 (consistent formatting).

svn path=/trunk/; revision=65505

9 years ago[NtUser]
James Tabor [Thu, 27 Nov 2014 18:35:57 +0000 (18:35 +0000)]
[NtUser]
- Fix code duplication.

svn path=/trunk/; revision=65504

9 years ago[ADVAPI32]
Giannis Adamopoulos [Thu, 27 Nov 2014 14:21:43 +0000 (14:21 +0000)]
[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

9 years ago[DEVICE_MANAGER]
Ged Murphy [Thu, 27 Nov 2014 13:47:49 +0000 (13:47 +0000)]
[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

9 years ago[FASTFAT]
Pierre Schweitzer [Thu, 27 Nov 2014 06:16:21 +0000 (06:16 +0000)]
[FASTFAT]
Set clean shutdown bit on dismount

svn path=/trunk/; revision=65501

9 years ago[SHELL] Reapply r65477 (rename explorer-new to explorer).
Amine Khaldi [Wed, 26 Nov 2014 23:24:26 +0000 (23:24 +0000)]
[SHELL] Reapply r65477 (rename explorer-new to explorer).

svn path=/trunk/; revision=65500

9 years ago[SHELL] Reapply r65476 (rename explorer to explorer-old).
Amine Khaldi [Wed, 26 Nov 2014 23:22:44 +0000 (23:22 +0000)]
[SHELL] Reapply r65476 (rename explorer to explorer-old).

svn path=/trunk/; revision=65499

9 years ago[SETUP]
Amine Khaldi [Wed, 26 Nov 2014 23:17:02 +0000 (23:17 +0000)]
[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

9 years ago[SHELL] Move shlguid_undoc.h, shlobj_undoc.h and shlwapi_undoc.h to our includes...
Amine Khaldi [Wed, 26 Nov 2014 23:03:06 +0000 (23:03 +0000)]
[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

9 years ago* The Shell.. for a long time we dreamed of having a compatible, properly working...
Amine Khaldi [Wed, 26 Nov 2014 19:49:18 +0000 (19:49 +0000)]
* The Shell.. for a long time we dreamed of having a compatible, properly working rewrite, but it's easier said than done. Over the years this effort has been split into tasks, and this branch was the biggest overall. Now it's time to merge it back to trunk!
* This merge is also a chance to thank every single person involved directly and indirectly in this epic work, among them: Martin Fuchs for ReactOS explorer which we are respectfully retiring now, as it served the project so well over all these years. Thomas Bluemel (Thomas Weidenmueller aka w3seek) for his brave work on the shell, mainly his explorer_new. Andrew Hill for advancing the shell bringup with some impressive work. David Quintana, Giannis Adamopoulos and Huw Campbell for working as a solid team on making this branch a huge success, allowing the shell rewrite dream to finally become a reality. Again, thank you all!
* Merging this branch is not the end.. it's the beginning of some serious bug fixing based hopefully on the Community's continuous feedback.
* Finally, here are *some* of the highlights of this branch (simply put):

[BROWSEUI] Halfplement the address bar. Mostly implement the Favorites menu. Implement handling most hotkeys that should be handled by CShellBrowser. Fix various bugs.

[EXPLORER_NEW] Convert to C++ and use several wtl-like classes to simplify it. Fix several bugs and implement misc missing features.

[FILEBROWSER] A small exe file that opens a new file browser window in its own process. Tested to work in windows. It can be used to test our browseui.dll in windows.

[FONTS] A new marlett font.

[MSGINA] Add a proper shutdown dialog that's used when the user selects shutdown from the start menu (this is how it's done in Windows).

[RSHELL] A temporary module that hosts the implementation of the following classes needed for the shell: CMenuBand, CMenuDeskBar, CMenuSite, CMergedFolder, CStartMenu. These were implemented and tested in windows and for that reason they are still there. Should be moved in shell32 in the future.

[SHELL32] Reorganize files to isolate the ones that are not yet forked from wine. Fix various problems. Simplify the implementation of some shell folders. Implement filling in the file menu in the file browser.

[STOBJECT] A shell extension responsible for misc taskbar notification icons. So far only the sound icon is implemented. Adding this is necessary as the old explorer had the sound icon built in and deprecating it needs a proper solution for these notification icons.

[WIN32K] Fix several bugs that prevented the new start menu (that was implemented and tested in Windows) from functioning properly in ReactOS, mostly due to focus issues. Fix several shell notifications to behave more like in Windows.

* Tonight! We shall feast!
* And tomorrow the US guys shall feast again, on turkey! :p

CORE-7330

svn path=/trunk/; revision=65496

9 years ago[DEVICE_MANAGER]
Ged Murphy [Wed, 26 Nov 2014 19:46:26 +0000 (19:46 +0000)]
[DEVICE_MANAGER]
- On refresh, recurse the tree and delete all the Device Ids attached to each node
- Fix SAL and a few missing comments

svn path=/trunk/; revision=65495

9 years ago* Addendum to r65483. backups/shell-experiments@75904
Amine Khaldi [Wed, 26 Nov 2014 18:02:55 +0000 (18:02 +0000)]
* Addendum to r65483.

svn path=/branches/shell-experiments/; revision=65494

9 years ago[DEVICE_MANAGER]
Ged Murphy [Wed, 26 Nov 2014 17:21:45 +0000 (17:21 +0000)]
[DEVICE_MANAGER]
- Add a class for managing the device view, and a class for managing the device objects.
- Implement listing devices by type and by connection.
- Add support for showing hidden devices
- Add support for showing unknown devices with overlay icons.
- implement showing the device properties via dounle click or hitting enter
- Add support for both Win7/8 as well as XP
- Make the code much more readable and maintainable. and easier to move to an mmc snapin if we ever get one.

I forgot this existed until today. I had some spare time so I decided to have a quick go at finishing it. Stick with the original one for now though, I ran out of time....

svn path=/trunk/; revision=65493

9 years ago* Sync up to trunk head (r65491).
Amine Khaldi [Wed, 26 Nov 2014 16:49:31 +0000 (16:49 +0000)]
* Sync up to trunk head (r65491).

svn path=/branches/shell-experiments/; revision=65492

9 years ago[Explorer]
James Tabor [Wed, 26 Nov 2014 15:29:51 +0000 (15:29 +0000)]
[Explorer]
- Restore the original four virtual window support. See CORE-6151.

svn path=/trunk/; revision=65491

9 years ago[WIN32K]
Timo Kreuzer [Tue, 25 Nov 2014 23:44:59 +0000 (23:44 +0000)]
[WIN32K]
- Implement FLOATOBJ_bConvertToLong inline function that converts a FLOATOBJ to a long or returns FALSE if the value would overflow a LONG
- Remove underscore prefixes from inline FLOATOBJ functions and use it only on those that already exist as non-inline versions.
- Remove duplicated FLOATOBJ defines for non-x86
- Fail on integer overflow in XFORMOBJ_bXformFixPoints to avoid creating bogus coordinates.

svn path=/trunk/; revision=65490

9 years agoForgot this include...
Hermès Bélusca-Maïto [Tue, 25 Nov 2014 23:36:56 +0000 (23:36 +0000)]
Forgot this include...

svn path=/trunk/; revision=65489

9 years ago[LSASS][SERVICES][WINLOGON]: As CSRSS and SMSS already, those apps should be marked...
Hermès Bélusca-Maïto [Tue, 25 Nov 2014 23:34:14 +0000 (23:34 +0000)]
[LSASS][SERVICES][WINLOGON]: As CSRSS and SMSS already, those apps should be marked as critical for the system. See geoffchappell.com/studies/windows/win32/ntdll/api/rtl/peb/setprocessiscritical.htm for more details.

svn path=/trunk/; revision=65488

9 years ago[Win32k]
James Tabor [Tue, 25 Nov 2014 23:03:43 +0000 (23:03 +0000)]
[Win32k]
- Fixes wine win.c:test_SetParent last ShowWindow test after popup dies.

svn path=/trunk/; revision=65487

9 years ago[NTFS]
Pierre Schweitzer [Tue, 25 Nov 2014 21:03:17 +0000 (21:03 +0000)]
[NTFS]
Make the bound check more consistent and more accurate

svn path=/trunk/; revision=65486

9 years ago[FREELDR]
Timo Kreuzer [Tue, 25 Nov 2014 20:21:16 +0000 (20:21 +0000)]
[FREELDR]
Move down MEMORY_MARGIN to 0x9A00 to fix boot on BIOSes with even larger EBDAs (see also r64945 and r65127), still leaving 48KB for the DISKREADBUFFER
CORE-8830 #resolve

svn path=/trunk/; revision=65485

9 years ago[Win32k]
James Tabor [Tue, 25 Nov 2014 19:56:40 +0000 (19:56 +0000)]
[Win32k]
- Fix wine win.c:test_mouse_input:WM_COMMAND tests.

svn path=/trunk/; revision=65484

9 years ago[EXPLORER][EXPLORER_NEW]
Amine Khaldi [Tue, 25 Nov 2014 16:17:58 +0000 (16:17 +0000)]
[EXPLORER][EXPLORER_NEW]
* Revert the renames (r65476 => r65478).
* We'll do these after we merge.

svn path=/branches/shell-experiments/; revision=65483

9 years ago* Sync up to trunk head (r65481).
Amine Khaldi [Tue, 25 Nov 2014 12:43:36 +0000 (12:43 +0000)]
* Sync up to trunk head (r65481).

svn path=/branches/shell-experiments/; revision=65482

9 years ago[PSDK/XDK]
Timo Kreuzer [Tue, 25 Nov 2014 09:46:18 +0000 (09:46 +0000)]
[PSDK/XDK]
Add back definitions that go lost in the last commit.
winnt.h is autogenerated, please do not modify it directly, but instead modify the related file in XDK and regenerate the headers from XDK.

svn path=/trunk/; revision=65481

9 years ago[PSDK]
Timo Kreuzer [Tue, 25 Nov 2014 09:08:34 +0000 (09:08 +0000)]
[PSDK]
When I wrote "the compiler can optimize this better" I was obviously referring to a sane compiler like MSVC. Optimize (U)Int32x32To64 on x86 GCC builds by using __emul(u), since the native math results in horribly inefficient code doing 3 multiplications and some shifts.

svn path=/trunk/; revision=65480

9 years ago[EXPLORER-NEW]
David Quintana [Tue, 25 Nov 2014 01:19:32 +0000 (01:19 +0000)]
[EXPLORER-NEW]
* Top-Level windows have no parent background so it makes no sense to try to draw it.

svn path=/branches/shell-experiments/; revision=65479

9 years agoOops. My bad.
David Quintana [Mon, 24 Nov 2014 23:53:28 +0000 (23:53 +0000)]
Oops. My bad.

svn path=/branches/shell-experiments/; revision=65478

9 years ago[EXPLORER-NEW]
David Quintana [Mon, 24 Nov 2014 23:10:11 +0000 (23:10 +0000)]
[EXPLORER-NEW]
* Rename the new explorer to take the now-vacant folder name, to match the output filename. Change 2/2

svn path=/branches/shell-experiments/; revision=65477

9 years ago[EXPLORER-OLD]
David Quintana [Mon, 24 Nov 2014 23:08:50 +0000 (23:08 +0000)]
[EXPLORER-OLD]
* Although the output filename was changed for almost as long as this branch has existed, I never bothered to actually rename the folders to reflect the output name. Change 1/2

svn path=/branches/shell-experiments/; revision=65476

9 years ago[NTFS]
Pierre Schweitzer [Mon, 24 Nov 2014 20:02:40 +0000 (20:02 +0000)]
[NTFS]
Add the reparse point attribute definition

svn path=/trunk/; revision=65475

9 years ago[NTFS]
Pierre Schweitzer [Mon, 24 Nov 2014 20:01:34 +0000 (20:01 +0000)]
[NTFS]
Warn about unimplemented sub-node browsing while looking into a MFT directory stream.
Might likely explain why we cannnot enumerate all the files on a Win7 volume.

svn path=/trunk/; revision=65474

9 years ago[NTFS]
Pierre Schweitzer [Mon, 24 Nov 2014 19:54:22 +0000 (19:54 +0000)]
[NTFS]
ASSERT -> NT_VERIFY

Spotted by Thomas. Thanks :-)

svn path=/trunk/; revision=65473

9 years ago[NtUser]
James Tabor [Mon, 24 Nov 2014 02:50:18 +0000 (02:50 +0000)]
[NtUser]
- Synchronize mouse messages. Part II
- Dedicated to Giannis Adamopoulos and Amine Khaldi.
- Additional fixes are added.
- This should be more accurate, based on "Hit Testing: Which HWND is the mouse over?":
http://blogs.msdn.com/b/dwayneneed/archive/2008/09/08/transparent-windows-in-wpf.aspx
- Note: Older FireFox menu item hilite select seem to work now, do not need to keep moving the mouse to keep it hilited to be selected.
- Test results: https://reactos.org/sites/all/modules/reactos/testman/compare.php?ids=33709,33710,33713

svn path=/trunk/; revision=65472

9 years ago[CONSRV]: Implement CREATE_NO_WINDOW support.
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 23:04:45 +0000 (23:04 +0000)]
[CONSRV]: Implement CREATE_NO_WINDOW support.

svn path=/trunk/; revision=65471

9 years ago[NTFS]
Pierre Schweitzer [Sun, 23 Nov 2014 20:52:59 +0000 (20:52 +0000)]
[NTFS]
- Fix $FILENAME_ATTRIBUTE definition to allow reading reparse points tag
- Add missing file attribute (reparse point)

svn path=/trunk/; revision=65470

9 years ago[TASKMGR]
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 20:10:15 +0000 (20:10 +0000)]
[TASKMGR]
- Show programs command line in taskmgr.
  Patch by Ismael Ferreras Morezuelas with minor modifications by me.
- int nMaxCount --> ULONG nMaxCount (that makes everything clearer and removes MSVC warnings).
CORE-5467 #resolve #comment Feature committed in revision 65469, cheers ;)

svn path=/trunk/; revision=65469

9 years ago[NTFS]
Pierre Schweitzer [Sun, 23 Nov 2014 19:53:16 +0000 (19:53 +0000)]
[NTFS]
- Implement NtfsGetPositionInformation(), NtfsGetBasicInformation()
- Add a fixme in NtfsGetStandardInformation() regarding the number of links

svn path=/trunk/; revision=65468

9 years agoFixup a potential division by zero (that happens anyway in my tests).
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 19:16:41 +0000 (19:16 +0000)]
Fixup a potential division by zero (that happens anyway in my tests).

svn path=/trunk/; revision=65467

9 years ago[TASKMGR]
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 18:36:25 +0000 (18:36 +0000)]
[TASKMGR]
Improve formatting memory size usage in the status bar of Task Manager.
Patch by Ismael Ferreras Morezuelas (swyter).
CORE-8810 #resolve #comment Committed in r65466, thanks d:^D

svn path=/trunk/; revision=65466

9 years ago[WIN32K]: Use the logon process ID instead of a full win32k process object, it simpli...
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 16:09:00 +0000 (16:09 +0000)]
[WIN32K]: Use the logon process ID instead of a full win32k process object, it simplifies code in some parts.

svn path=/trunk/; revision=65465

9 years agoWhitespace fixes.
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 15:57:13 +0000 (15:57 +0000)]
Whitespace fixes.

svn path=/trunk/; revision=65464

9 years ago[WINSRV]: Pave the way for proper ReactOS shutdown. Part 1/X
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 15:50:49 +0000 (15:50 +0000)]
[WINSRV]: Pave the way for proper ReactOS shutdown. Part 1/X
CORE-8322

svn path=/trunk/; revision=65463

9 years ago[NTFS]
Pierre Schweitzer [Sun, 23 Nov 2014 15:49:24 +0000 (15:49 +0000)]
[NTFS]
- In NtfsQueryDirectory(), don't upcase name in dir search pattern, it can conflict with POSIX names.
- In CompareFileName(), handle the fact that for Win32 & DOS we do case insensitive comparisons by upcasing name before match. Don't do it for POSIX names!

This fixes name completion in cmd for POSIX. And doesn't break it for Win32 :-).

svn path=/trunk/; revision=65462

9 years agoResuscitate VMS subsystem (yeah, you've correctly read: VMS!!) from revision 24496.
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 15:24:49 +0000 (15:24 +0000)]
Resuscitate VMS subsystem (yeah, you've correctly read: VMS!!) from revision 24496.

svn path=/trunk/; revision=65461

9 years agoResuscitate POSIX subsystem from revision 21378.
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 15:23:36 +0000 (15:23 +0000)]
Resuscitate POSIX subsystem from revision 21378.

svn path=/trunk/; revision=65460

9 years agoResuscitate OS/2 subsystem from revision 24496.
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 15:22:07 +0000 (15:22 +0000)]
Resuscitate OS/2 subsystem from revision 24496.

svn path=/trunk/; revision=65459

9 years agoCreate a repository to ressuscitate our verrrrry old subsystems.
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 14:50:34 +0000 (14:50 +0000)]
Create a repository to ressuscitate our verrrrry old subsystems.

svn path=/trunk/; revision=65458

9 years ago[CONSRV]: Reduce code duplication and remove unused InputWaitHandle member.
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 14:26:37 +0000 (14:26 +0000)]
[CONSRV]: Reduce code duplication and remove unused InputWaitHandle member.

svn path=/trunk/; revision=65457

9 years ago[NTFS]
Pierre Schweitzer [Sun, 23 Nov 2014 14:07:08 +0000 (14:07 +0000)]
[NTFS]
- Implement GetBestFileNameFromRecord() which will select the higher subsystem name available (POSIX -> Win32 -> DOS) and return it
- Replace the hand-made implementation of it in dirctl functions relying on it (NtfsGetDirectoryInformation(), NtfsGetFullDirectoryInformation(), NtfsGetBothDirectoryInformation())
- Use it in NtfsMakeFCBFromDirEntry()

This fixes browsing POSIX volume (and opening file) in cmd. Even though, explorer doesn't seem to be happy with such change...
This doesn't fix yet the autocompletion in cmd either.

svn path=/trunk/; revision=65456

9 years ago[PSDK] Add some missing setupapi-related functions
Hervé Poussineau [Sun, 23 Nov 2014 13:48:20 +0000 (13:48 +0000)]
[PSDK] Add some missing setupapi-related functions

svn path=/trunk/; revision=65455

9 years ago[SCSIPORT] Better error messages when receiving unexpected IOCTLs of mount manager
Hervé Poussineau [Sun, 23 Nov 2014 13:48:12 +0000 (13:48 +0000)]
[SCSIPORT] Better error messages when receiving unexpected IOCTLs of mount manager

svn path=/trunk/; revision=65454

9 years ago[NTOS:CC] Fix bug in CcPinRead
Hervé Poussineau [Sun, 23 Nov 2014 13:48:06 +0000 (13:48 +0000)]
[NTOS:CC] Fix bug in CcPinRead

In fact, this bug is never exposed because CcPinMappedData always returns TRUE.

svn path=/trunk/; revision=65453

9 years ago[NTOS:MM] Fix warnings when NEWCC is enabled
Hervé Poussineau [Sun, 23 Nov 2014 13:48:01 +0000 (13:48 +0000)]
[NTOS:MM] Fix warnings when NEWCC is enabled

svn path=/trunk/; revision=65452

9 years ago[NTVDM]: Rewrite video window scrolling code more efficiently (i.e. getting rid of...
Hermès Bélusca-Maïto [Sun, 23 Nov 2014 12:03:55 +0000 (12:03 +0000)]
[NTVDM]: Rewrite video window scrolling code more efficiently (i.e. getting rid of HeapAlloc/Free calls). As a bonus, implement scrolling horizontally.

svn path=/trunk/; revision=65451

9 years ago[KERNEL32]
Hermès Bélusca-Maïto [Sat, 22 Nov 2014 23:13:41 +0000 (23:13 +0000)]
[KERNEL32]
- Fix a misspelling.

[NTDLL]
- Fix the prototypes of RtlFormatMessageEx(Ex), this fixes strange apps kills when they use FormatMessage[A/W] with win2k3 kernel32 (that uses internally RtlFormatMessage to do the job).

svn path=/trunk/; revision=65450

9 years ago[KERNEL32][CONSRV]
Hermès Bélusca-Maïto [Sat, 22 Nov 2014 22:13:08 +0000 (22:13 +0000)]
[KERNEL32][CONSRV]
- Remove the USE_CONSOLE_INIT_HANDLES define since now we "support" the console initialization events.
- The events in the CONSOLE_START_INFO structure are console initialization events used for asynchronous console creation, that are set whenever console creation succeeds, or fails.
- Stubplement their usage in CONSRV.

Now we are able to fully use Windows 2k3 kernel32.dll and be able to run console programs with it.

svn path=/trunk/; revision=65449