Commit graph

63137 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto d2cfc5d13b [FREELDR]: Fix typo in comment, spotted by "middings". CORE-10040 #resolve
svn path=/trunk/; revision=68817
2015-08-25 11:55:36 +00:00
Hermès Bélusca-Maïto 7710f1ed1c [NTVDM]: Correctly set last (and returned) errors when we fail at reallocating a memory block (in case this is the last block), or if the block is invalid. Do the same stuff also for few other memory functions.
svn path=/trunk/; revision=68816
2015-08-25 01:48:17 +00:00
Aleksandar Andrejevic 7b30b216d0 [FAST486]
If FAST486_PREFIX_SEG is set, we're supposed to use the override segment
instead of DS, and not the other way around.


svn path=/trunk/; revision=68815
2015-08-24 20:55:09 +00:00
Pierre Schweitzer 50f5e804a9 [NTFS]
Remove leftover code

svn path=/trunk/; revision=68814
2015-08-24 20:40:54 +00:00
Hermès Bélusca-Maïto cc75f78b89 Replace LPVOID by PVOID everywhere!
svn path=/trunk/; revision=68813
2015-08-24 19:02:07 +00:00
Hermès Bélusca-Maïto 5273c39a14 [NTVDM]
- Correctly sync ConsoleFramebuffer when we attach/detach VGA from the console (fix memory corruptions introduced by r68720).
- Fix few comments in the process.

svn path=/trunk/; revision=68812
2015-08-24 19:00:27 +00:00
Pierre Schweitzer 8b651ad6d9 [NTFS]
Support full data stream name on open (i.e., stream name finished with :$DATA)

svn path=/trunk/; revision=68811
2015-08-24 09:52:30 +00:00
Pierre Schweitzer 5f9af4a19f [NTFS]
Fix returned status code, spotted by Thomas 

svn path=/trunk/; revision=68810
2015-08-24 08:45:28 +00:00
Pierre Schweitzer e9ae3cdf25 [NTFS]
Return properly formatted stream names, according to: https://msdn.microsoft.com/en-us/library/cc232090.aspx

svn path=/trunk/; revision=68809
2015-08-24 08:43:26 +00:00
Pierre Schweitzer 6f4dfe4e09 [NTFS]
Implement FileStreamInformation class for IRP_MJ_QUERY_INFORMATION.
It allows enumerating streams for a given file

svn path=/trunk/; revision=68808
2015-08-24 08:36:58 +00:00
Hermès Bélusca-Maïto 57c8922ec2 Fix few comments, no code changes.
svn path=/trunk/; revision=68807
2015-08-24 01:42:52 +00:00
Hermès Bélusca-Maïto ef41fe2284 [KERNEL32]
- Move some #defines where they belong; use ARRAYSIZE(...) macro where appropriate.
- Use enumeration for the environment name types.
- Fix BaseCreateVDMEnvironment so that we only convert the paths of TEMP/TMP, PATH, WINDIR and SYSTEMROOT env values to their short form, as done on Windows. To that purpose use the BaseGetEnvNameType_U helper.
- Fix the loop that computed the needed new environment size.
Needed for CORE-9773.

svn path=/trunk/; revision=68806
2015-08-24 01:32:00 +00:00
Pierre Schweitzer 87620d75ba [HACKSSIGN]
Fix typo, spotted by "Michele MZ Ji"

CORE-10033

svn path=/trunk/; revision=68805
2015-08-23 17:33:15 +00:00
Eric Kohl 82e230b0d9 [WLNOTIFY]
- Disable the debug output.
- Add and register the missing notification functions.

svn path=/trunk/; revision=68804
2015-08-23 15:58:18 +00:00
Eric Kohl f28d52abfc [WINLOGON]
Implement calls to the notification DLLs.

svn path=/trunk/; revision=68803
2015-08-23 15:48:52 +00:00
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