Commit graph

63122 commits

Author SHA1 Message Date
Pierre Schweitzer 80314158bf [HACKSSIGN]
Simplify the hackssign application usage.
You don't need anymore to specify which VM type you use. The client will attempt to discover it by looking at available shared folders providers.
If it recognizes one, it will perform the assignation.
No Guest Additions/Tools installed will make the tool refuse to assign a drive letter (obviously).

So basically, you just need to issue some: hackssign assign z ReactOS (for example)

svn path=/trunk/; revision=68802
2015-08-23 10:35:52 +00:00
Christoph von Wittich c8ce68e92f [CRT]
Don't call DeleteCriticalSection on static critical section (wine-patch by Piotr Caban)

svn path=/trunk/; revision=68801
2015-08-23 09:05:26 +00:00
Christoph von Wittich 6a5d1d8b58 [KERNEL32]
fix a regression introduced in r68797

svn path=/trunk/; revision=68800
2015-08-23 08:19:39 +00:00
Christoph von Wittich 4f9474e3ec [ADVAPI32] prevent buffer overflow in ParseStringSecurityDescriptorToSecurityDescriptor (wine-patch by Alistair Leslie-Hughes)
svn path=/trunk/; revision=68799
2015-08-23 07:07:25 +00:00
Christoph von Wittich 3f801dad23 [RTL] make RtlAddVectoredExceptionHandler hotpatchable
svn path=/trunk/; revision=68798
2015-08-23 07:01:19 +00:00
Christoph von Wittich 190095e160 [KERNEL32] sync GetTempPathW with wine wine-1.7.50
svn path=/trunk/; revision=68797
2015-08-23 06:53:08 +00:00
Christoph von Wittich c652a5f2c9 [PSDK]
sync digitalv.h with wine (packing and x64 fixes)

svn path=/trunk/; revision=68796
2015-08-23 06:37:05 +00:00
Christoph von Wittich 01fca10b83 [UXTHEME] Fix bug preventing GetThemeString from working (patch by Mark Harmstone)
svn path=/trunk/; revision=68795
2015-08-22 18:40:59 +00:00
Pierre Schweitzer a120e4e492 [HACKSSIGN]
Stack hacks!
Let's introduce hackssign. This application (and its associated driver) are here to allow
users to assign drive letter to their VMware/VBox shared folders.
It relies on two components: a client to communicate the instructions and a driver to execute such instructions.

Do not execute this application nor its driver outside ReactOS. There are barely no security checks nor sanety checks.
You could do substantial damages.

So, let's go back to shared folders state in ReactOS nowadays...

VMware
------
Configure your shared folders
Install VMware Tools
Reboot
From here, you can access your share from cmd or explorer with UNC path (for instance: \\vmware-host\Shared Folders\ReactOS)
Go to C:\ReactOS\bin (or whatever, depending on your setup)
Execute hackssign assign z ReactOS vmware (for instance)
z is the letter you want to give, and ReactOS is the name of your share (you gave it in VMware configuration)
You're done, you can access your share with the Z drive letter

VirtualBox
----------
Configure your shared folders
Install VBox Guest Additions
Reboot
Go to C:\ReactOS\bin (or whatever, depending on your setup)
Execute rosvboxmgmt start
From here, you can access your share from cmd or explorer with UNC path (for instance: \\vboxsvr\ReactOS)
Execute hackssign assign z ReactOS virtualbox (for instance)
z is the letter you want to give, and ReactOS is the name of your share (you gave it in VMware configuration) 
You're done, you can access your share with the Z drive letter

Note that you can delete an assignement by performing a hackssign delete z (or whatever drive you want to remove).
In such case, the share remains available with its UNC path.


svn path=/trunk/; revision=68794
2015-08-22 12:29:37 +00:00
Benedikt Freisen b2e64aa3fc [HHPCOMP] Remove __inline to fix VS 2015 build. See CORE-10013.
svn path=/trunk/; revision=68793
2015-08-22 11:41:11 +00:00
Benedikt Freisen 85a5a71d79 [HHPCOMP]
Improve functionality of Windows MSVC build. Based on a WIP patch by Michael Fritscher.
See CORE-10019.

svn path=/trunk/; revision=68792
2015-08-22 11:16:50 +00:00
David Quintana 42df3d1b7e [BROWSEUI]
[OLEAUT32]
[DDK]
[PSDK]
[STLPORT]
[CPPRT]
Port the vs2015 fixes to also work on x64

[HHCOMP]
Fix compilation with VS in x64 mode

svn path=/trunk/; revision=68791
2015-08-22 00:17:15 +00:00
Stefan Ginsberg ca5361525f - Fix a "clever" check in KdpDeleteBreakpointRange that made the routine unable to delete more than one breakpoint in the specified range.
svn path=/trunk/; revision=68790
2015-08-21 20:57:19 +00:00
Pierre Schweitzer e816df8cd0 [MUP]
Now we know MUP is working, reduce a bit its verbosity

svn path=/trunk/; revision=68789
2015-08-21 20:44:30 +00:00
Pierre Schweitzer 6a08c60dee [NTOSKRNL]
Don't enforce tag on free, it may have been reallocated by someone else (Ob)

svn path=/trunk/; revision=68788
2015-08-21 20:40:47 +00:00
Giannis Adamopoulos 05e1863025 [SHELL32]
- Hackplement support for parsing UNC paths. We are not able to enumerate UNC shares yet. However until it is properly implemented we will be able to enter a UNC patch in the addressbar or start explorer with a path that points to a UNC share.

svn path=/trunk/; revision=68787
2015-08-21 18:35:07 +00:00
Giannis Adamopoulos 7c1c03943f [SHELL32]
- We are not wine so we can speed things up by trying to read desktop.ini only for system folders.

svn path=/trunk/; revision=68786
2015-08-21 16:03:14 +00:00
David Quintana a9bb2ea698 [NTOBJSHEX]
* Improve the filenames to better represent their purpose at a glance.

svn path=/trunk/; revision=68785
2015-08-21 15:01:04 +00:00
David Quintana 7620e2badc Oops. That was a debug change. Wasn't meant to make it into the commit.
svn path=/trunk/; revision=68784
2015-08-21 14:31:07 +00:00
David Quintana 89da5820cd [NTOBJSHEX]
* Use lazy enumeration of the nt objects and registry keys, as intended for the IEnumIDList interface.
* Display of the NT Object creation date has been lost in the process, but it was only really used by symlinks.
* Symlink target display doesn't appear to work at the moment, will fix later.

svn path=/trunk/; revision=68783
2015-08-21 14:26:25 +00:00
Pierre Schweitzer 08229bbb07 [NTOSKRNL]
Addendum to r68759: don't forget to initialize semaphore.

svn path=/trunk/; revision=68782
2015-08-21 11:21:14 +00:00
Pierre Schweitzer 51832e3b60 [NTOSKRNL]
Define UNC tag in tag header

svn path=/trunk/; revision=68781
2015-08-21 08:17:48 +00:00
Pierre Schweitzer 4effde2096 [ROSVBOXMGMT]
Add missing L for help

svn path=/trunk/; revision=68780
2015-08-21 08:10:53 +00:00
Pierre Schweitzer 2611bd1302 Erm.
Addendum to r68778: don't reveal my secret plans to world (yet!)

svn path=/trunk/; revision=68779
2015-08-21 08:08:10 +00:00
Pierre Schweitzer ca9c5c56a5 [ROSVBOXMGMT]
Add the "rosvboxmgmt" tool.
It's purpose is to allow to interact with the VBoxSF driver as we don't have working MPR yet.

In order to have UNC path available, all you need to do so far is rosvboxmgmt start. All the rest isn't mandatory.

svn path=/trunk/; revision=68778
2015-08-21 08:03:13 +00:00
Pierre Schweitzer b871e6a07c [NTOSKRNL]
Implement the TokenImpersonationLevel case of SeQueryInformationToken().

This fixes VBoxSF driver not being able to expose shared folders in ReactOS

svn path=/trunk/; revision=68777
2015-08-21 08:03:11 +00:00
Hermès Bélusca-Maïto fa66a17890 [SDK:SCRNSAVE]
- Add support for specifying a parent window handle for the screensaver configuration dialog, adapted from patch by Timo Kreuzer, see CORE-5718.
- Fix failure return values from the helper functions.
- Add TranslateMessage call in the message pump.
- Get the correct left/top coordinates for the screensaver, being multi-screen aware.
- Use Win-compatible window names & styles for the screensaver preview dialog & screensaver window, compatible MS' scrnsave.lib.

svn path=/trunk/; revision=68776
2015-08-20 19:44:13 +00:00
Giannis Adamopoulos 3e071ece57 [SHELL32]
- Move the properties dialog for the recycle bin in its own file. The implementation of the recycle bin is overly complicated and keeping with it a dialog for editing some registry entries makes it worse.

svn path=/trunk/; revision=68775
2015-08-19 18:10:30 +00:00
Eric Kohl d8ec5bc004 [ADVAPI32]
Add some well-known SDDL SID strings. This patch has aleady been sent upstream.

svn path=/trunk/; revision=68774
2015-08-19 18:04:40 +00:00
Giannis Adamopoulos 10dd24321a [SHELL32]
- Move a couple of headers in the dialogs directory.

svn path=/trunk/; revision=68773
2015-08-19 16:26:16 +00:00
Thomas Faber e7af06611a [SHELL32][RSHELL]
- Fix some extern "C"

svn path=/trunk/; revision=68772
2015-08-19 15:43:13 +00:00
Giannis Adamopoulos b2676665f2 [SHDOCVW] -Rename some unused stubs to resolve conflicts with shell32
svn path=/trunk/; revision=68771
2015-08-19 14:04:53 +00:00
Giannis Adamopoulos c812e0a4a1 Add two files that I missed
svn path=/trunk/; revision=68770
2015-08-19 13:55:15 +00:00
Giannis Adamopoulos aa12df35cf [SHELLDESKTOP]
- Create a new sublibrary for shell32 that will contain the implementation of CDesktopBrowser and desktop dde support. Link it to both shell32 and rshell. Also add a win8+ hack. 

svn path=/trunk/; revision=68769
2015-08-19 13:51:20 +00:00
Giannis Adamopoulos 0cb0f1e091 [SHELL32]
- Add a CDefView_Constructor that lets us keep the code simple for the shell folders.

svn path=/trunk/; revision=68768
2015-08-19 12:09:21 +00:00
Thomas Faber 4436c96a25 [SHELL32]
- Correctly handle NULL callback in CMenuBand::GetMenuInfo
- Add missing error handling in CMenuFocusManager::UpdateFocus
Fixes crashes in shell32_apitest:menu
CORE-9932 #resolve

svn path=/trunk/; revision=68767
2015-08-19 11:45:21 +00:00
Thomas Faber ed56601be6 [RSHELL]
- Remove from CD images. Explorer can use shell32 now.
CORE-9892 #resolve

svn path=/trunk/; revision=68766
2015-08-19 11:24:20 +00:00
Thomas Faber 84c9afb43c [RSHELL]
- Addendum to r68764
CORE-9892

svn path=/trunk/; revision=68765
2015-08-19 11:18:13 +00:00
Thomas Faber 0afd339f06 [SHELL32]
- Use and register the shellmenu (former rshell) classes instead of the outdated copies in shell32
CORE-9892

svn path=/trunk/; revision=68764
2015-08-19 11:17:08 +00:00
Thomas Faber cc3d477818 [RSHELL][SHELL32]
- Move rshell source files to a "shellmenu" static library under shell32
CORE-9892

svn path=/trunk/; revision=68763
2015-08-19 09:05:54 +00:00
Thomas Faber f85fcfe77b [SHELL32]
- Fail CDefView::CreateViewWindow if a window already exists
- Don't return IOleWindow from CDefView::QueryInterface
Fixes reference leaks during shell32_winetest:shlview
CORE-9867

svn path=/trunk/; revision=68762
2015-08-19 08:28:24 +00:00
Thomas Faber fcd430d3a1 [SHELL32]
- Take an extra reference on CDefView during the lifetime of the view window, and correctly handle recursive WM_DESTROY messages
CORE-9932

svn path=/trunk/; revision=68761
2015-08-19 08:23:59 +00:00
Pierre Schweitzer b94bea6426 [NTOSKRNL]
Addendum to r68759

svn path=/trunk/; revision=68760
2015-08-18 20:40:17 +00:00
Pierre Schweitzer 4c1d3954cd [FSRTL]
Rewrite FsRtlRegisterUncProvider() and FsRtlDeregisterUncProvider() so that they can support MUP in case it's required
They also support DFS


svn path=/trunk/; revision=68759
2015-08-18 20:17:28 +00:00
Pierre Schweitzer 05244f7905 [BOOTDATA]
Enable MUP driver on boot


svn path=/trunk/; revision=68758
2015-08-18 20:17:25 +00:00
Pierre Schweitzer 5bc6e68872 [MUP]
Implement the MUP driver for ReactOS. It only supports Multiple UNC Providers so far
Stub support for DFS


svn path=/trunk/; revision=68757
2015-08-18 20:17:22 +00:00
Pierre Schweitzer 2127a98b5d [NTOSKRNL]
Don't enforce IO tag when freeing file object name, it might have been reallocated by a driver for an Ob reparse


svn path=/trunk/; revision=68756
2015-08-18 20:17:19 +00:00
Pierre Schweitzer 72359d7f9d [NDK]
Add an internal header for MUP FSCTL and its input buffer definition


svn path=/trunk/; revision=68755
2015-08-18 20:17:17 +00:00
Hermès Bélusca-Maïto cf69531ef2 [NTVDM]: Initialize the PSP' memory control block owner name with the file name (without extension, and up to 8 chars) of the started program.
svn path=/trunk/; revision=68754
2015-08-18 12:26:38 +00:00
Thomas Faber 5b9dc886d4 [NTOS:MM]
- Leave guarded region in failure case of MiFindContiguousPages.
CORE-10026 #resolve

svn path=/trunk/; revision=68753
2015-08-18 11:28:30 +00:00