Pierre Schweitzer [Fri, 28 Aug 2015 06:19:31 +0000 (06:19 +0000)]
[NTOSKRNL]
Fix build
svn path=/trunk/; revision=68842
Hermès Bélusca-Maïto [Fri, 28 Aug 2015 03:03:26 +0000 (03:03 +0000)]
[NTOS:KD]
- Fix the condition check when setting twice (or more) the same breakpoint.
- Implement support for deferred breakpoints. For more information, see: http://www.osronline.com/article.cfm?article=541 (which also exposes an interesting problem about them).
svn path=/trunk/; revision=68841
Amine Khaldi [Thu, 27 Aug 2015 23:00:49 +0000 (23:00 +0000)]
[CMAKE] Introduce a way to use auto generation using bison and flex. Dedicated to Eric Kohl. CORE-10055
svn path=/trunk/; revision=68840
Amine Khaldi [Thu, 27 Aug 2015 22:35:06 +0000 (22:35 +0000)]
[CMAKE] Add and use baseaddress_msvc.cmake.
svn path=/trunk/; revision=68839
Amine Khaldi [Thu, 27 Aug 2015 22:33:07 +0000 (22:33 +0000)]
[CMAKE] Update baseaddress.cmake.
svn path=/trunk/; revision=68838
Pierre Schweitzer [Thu, 27 Aug 2015 21:02:52 +0000 (21:02 +0000)]
[NTFS]
Return proper status
svn path=/trunk/; revision=68836
Pierre Schweitzer [Thu, 27 Aug 2015 20:56:08 +0000 (20:56 +0000)]
[NTFS]
It seems that our disk.sys returns "unknown" media type when performing IOCTL_DISK_GET_DRIVE_GEOMETRY on an extended partition.
Not sure how Windows handles this (if any volunteer for a test :-)), in the meantime, forcibly sector size to 512B to allow NTFS driver opening volumes on extended partitions
svn path=/trunk/; revision=68835
David Quintana [Thu, 27 Aug 2015 16:37:13 +0000 (16:37 +0000)]
[SHELL32]
The desktop.ini file is only meant to be read if the folder has the R (read-only) or S (system) attributes.
If this causes your favorite folder to stop showing the icon, use "attrib +r <foldername>" or edit it from the properties dialog.
When we add the desktop.ini files, we will also need to add the R attribute to their respective folders.
Followup to CORE-9002
svn path=/trunk/; revision=68834
David Quintana [Wed, 26 Aug 2015 23:35:38 +0000 (23:35 +0000)]
[NTOBJSHEX]
* Fix comment headers.
svn path=/trunk/; revision=68833
David Quintana [Wed, 26 Aug 2015 23:30:47 +0000 (23:30 +0000)]
[NTOBJSHEX]
* Now that we use lazy enumeration instead of keeping a full list of all items, I was able to simplify a few things.
svn path=/trunk/; revision=68832
Hermès Bélusca-Maïto [Wed, 26 Aug 2015 22:53:20 +0000 (22:53 +0000)]
[DISKPART]
- Russian translation update by tower.
- Fixup the other translations.
svn path=/trunk/; revision=68831
Pierre Schweitzer [Wed, 26 Aug 2015 18:55:53 +0000 (18:55 +0000)]
[NTFS]
Fix two memory leaks
svn path=/trunk/; revision=68830
Pierre Schweitzer [Wed, 26 Aug 2015 18:20:04 +0000 (18:20 +0000)]
[NTFS]
Totally rewrite the way MFT records attributes are handled.
Up to now, we were having really similar loops, only looking at the resident part of the attribute list, not really caring about how the loop was going.
This was leading to some issues:
- In case the attribute we were looking for was stored in the non-resident part of the attribute list, we would miss it (excepted in the case of FindAttribute() which was properly browsing the whole attribute list).
- In the specific case of FindAttribute(), one would have been able to setup a broken MFT record with the resident attribute list pointing on the non resident attribute list which itself would point to the resident attribute list. In such case, the driver would loop forever caught on the loop, allocating tones of memory. It was possible to trigger this by user space, from a non-privileged user, just by browsing the right directory entry.
- In the case of the other loops (non FindAttribute()), another issue (other than missing attributes) was present, one would have been able to setup a broken MFT record with an attribute of null-length. This would have caused the driver to loop forever on the attribute list. This could be triggered from usermode too. And could be triggered by a non-privileged user.
This commit introduces a new set of functions for attributes browsing: FindFirstAttribute(), FindNextAttribute(), FindCloseAttribute(). It allows safely browsing attributes and handles broken cases. It also performs reading of the attribute list when present and makes sure there's only one read. This method should be the only one to use to browse the attributes.
The whole NTFS code base has been converted to use this newly set of functions. This really simplifies the implementation of FindAttribute(), and prevent unsafe code duplication.
CORE-10037 #resolve #comment Fixed with r68829
svn path=/trunk/; revision=68829
David Quintana [Wed, 26 Aug 2015 17:31:42 +0000 (17:31 +0000)]
[SHELL32]
* Fix loading icon info from dekstop.ini. Also took the chance to remove some unnecessary convolution. The old code tried to load the info, but didn't actually make use of the returned string at all.
CORE-9002 #resolve #comment Icon loading should work now. Adding the default desktop.ini files in the right folders will be a followup issue.
svn path=/trunk/; revision=68828
Hermès Bélusca-Maïto [Wed, 26 Aug 2015 01:26:33 +0000 (01:26 +0000)]
[NTVDM]
- Towards a complete fix of VGA console attach/detach: a lot of progress is made but few little things need to be checked/adjusted.
- Fix text scroll (at least in text modes) by doing guest-to-guest moves, using the EmulatorCopyMemory function introduced in r68826.
- Fix the computation of the screen rows/columns values stored in the BDA, in graphics modes (in addition to the change of r68090), by dividing the graphics resolution by the character heights & widths. Correct values are indeed needed by some programs, eg. QBasic (I also add a CharacterWidth; normally it should be computable using the CRTC registers, and is always == 8 or 9, but still...).
svn path=/trunk/; revision=68827
Hermès Bélusca-Maïto [Wed, 26 Aug 2015 00:37:50 +0000 (00:37 +0000)]
[NTVDM]
Introduce a function for doing guest-to-guest memory copies (given here in a temporary implementation until a proper one is developed). It will be used in my next commit.
svn path=/trunk/; revision=68826
Daniel Reimer [Tue, 25 Aug 2015 21:19:30 +0000 (21:19 +0000)]
[CMD]
Update German translation by ... ME
svn path=/trunk/; revision=68825
Pierre Schweitzer [Tue, 25 Aug 2015 20:39:53 +0000 (20:39 +0000)]
[CMD]
Remove an useless if
svn path=/trunk/; revision=68824
Pierre Schweitzer [Tue, 25 Aug 2015 20:35:51 +0000 (20:35 +0000)]
[CMD]
Implement switch /R for dir command.
It allows enumerating alternate data streams of files
Commit dedicated to Ged
svn path=/trunk/; revision=68823
Pierre Schweitzer [Tue, 25 Aug 2015 20:11:53 +0000 (20:11 +0000)]
[NTFS]
Properly set StreamNameLength (with the length of extra data we append).
This fixes truncated output from FindFirstStreamW/FindNextStreamW
svn path=/trunk/; revision=68822
Benedikt Freisen [Tue, 25 Aug 2015 14:24:41 +0000 (14:24 +0000)]
Some fixes to the scf file registry entry; added some missing entries (patch by gonzoMD)
svn path=/trunk/; revision=68821
Benedikt Freisen [Tue, 25 Aug 2015 14:13:19 +0000 (14:13 +0000)]
[PSDK] Add methods to Gdiplus::Color
svn path=/trunk/; revision=68820
Hermès Bélusca-Maïto [Tue, 25 Aug 2015 12:46:40 +0000 (12:46 +0000)]
[NTVDM]: Initialize the correct buffer! (aka. fix confusion between ConsoleFramebuffer and Graphics Framebuffer; fixes text -> graphic transitions). Addendum for r68812
svn path=/trunk/; revision=68819
Hermès Bélusca-Maïto [Tue, 25 Aug 2015 12:18:32 +0000 (12:18 +0000)]
[SHELL32]: Add the trailing '...' after the "Run as" command in order to indicate more information is needed before performing the action.
CORE-10039 #comment '...' added in r68818.
svn path=/trunk/; revision=68818
Hermès Bélusca-Maïto [Tue, 25 Aug 2015 11:55:36 +0000 (11:55 +0000)]
[FREELDR]: Fix typo in comment, spotted by "middings". CORE-10040 #resolve
svn path=/trunk/; revision=68817
Hermès Bélusca-Maïto [Tue, 25 Aug 2015 01:48:17 +0000 (01:48 +0000)]
[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
Aleksandar Andrejevic [Mon, 24 Aug 2015 20:55:09 +0000 (20:55 +0000)]
[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
Pierre Schweitzer [Mon, 24 Aug 2015 20:40:54 +0000 (20:40 +0000)]
[NTFS]
Remove leftover code
svn path=/trunk/; revision=68814
Hermès Bélusca-Maïto [Mon, 24 Aug 2015 19:02:07 +0000 (19:02 +0000)]
Replace LPVOID by PVOID everywhere!
svn path=/trunk/; revision=68813
Hermès Bélusca-Maïto [Mon, 24 Aug 2015 19:00:27 +0000 (19:00 +0000)]
[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
Pierre Schweitzer [Mon, 24 Aug 2015 09:52:30 +0000 (09:52 +0000)]
[NTFS]
Support full data stream name on open (i.e., stream name finished with :$DATA)
svn path=/trunk/; revision=68811
Pierre Schweitzer [Mon, 24 Aug 2015 08:45:28 +0000 (08:45 +0000)]
[NTFS]
Fix returned status code, spotted by Thomas
svn path=/trunk/; revision=68810
Pierre Schweitzer [Mon, 24 Aug 2015 08:43:26 +0000 (08:43 +0000)]
[NTFS]
Return properly formatted stream names, according to: https://msdn.microsoft.com/en-us/library/
cc232090.aspx
svn path=/trunk/; revision=68809
Pierre Schweitzer [Mon, 24 Aug 2015 08:36:58 +0000 (08:36 +0000)]
[NTFS]
Implement FileStreamInformation class for IRP_MJ_QUERY_INFORMATION.
It allows enumerating streams for a given file
svn path=/trunk/; revision=68808
Hermès Bélusca-Maïto [Mon, 24 Aug 2015 01:42:52 +0000 (01:42 +0000)]
Fix few comments, no code changes.
svn path=/trunk/; revision=68807
Hermès Bélusca-Maïto [Mon, 24 Aug 2015 01:32:00 +0000 (01:32 +0000)]
[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
Pierre Schweitzer [Sun, 23 Aug 2015 17:33:15 +0000 (17:33 +0000)]
[HACKSSIGN]
Fix typo, spotted by "Michele MZ Ji"
CORE-10033
svn path=/trunk/; revision=68805
Eric Kohl [Sun, 23 Aug 2015 15:58:18 +0000 (15:58 +0000)]
[WLNOTIFY]
- Disable the debug output.
- Add and register the missing notification functions.
svn path=/trunk/; revision=68804
Eric Kohl [Sun, 23 Aug 2015 15:48:52 +0000 (15:48 +0000)]
[WINLOGON]
Implement calls to the notification DLLs.
svn path=/trunk/; revision=68803
Pierre Schweitzer [Sun, 23 Aug 2015 10:35:52 +0000 (10:35 +0000)]
[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
Christoph von Wittich [Sun, 23 Aug 2015 09:05:26 +0000 (09:05 +0000)]
[CRT]
Don't call DeleteCriticalSection on static critical section (wine-patch by Piotr Caban)
svn path=/trunk/; revision=68801
Christoph von Wittich [Sun, 23 Aug 2015 08:19:39 +0000 (08:19 +0000)]
[KERNEL32]
fix a regression introduced in r68797
svn path=/trunk/; revision=68800
Christoph von Wittich [Sun, 23 Aug 2015 07:07:25 +0000 (07:07 +0000)]
[ADVAPI32] prevent buffer overflow in ParseStringSecurityDescriptorToSecurityDescriptor (wine-patch by Alistair Leslie-Hughes)
svn path=/trunk/; revision=68799
Christoph von Wittich [Sun, 23 Aug 2015 07:01:19 +0000 (07:01 +0000)]
[RTL] make RtlAddVectoredExceptionHandler hotpatchable
svn path=/trunk/; revision=68798
Christoph von Wittich [Sun, 23 Aug 2015 06:53:08 +0000 (06:53 +0000)]
[KERNEL32] sync GetTempPathW with wine wine-1.7.50
svn path=/trunk/; revision=68797
Christoph von Wittich [Sun, 23 Aug 2015 06:37:05 +0000 (06:37 +0000)]
[PSDK]
sync digitalv.h with wine (packing and x64 fixes)
svn path=/trunk/; revision=68796
Christoph von Wittich [Sat, 22 Aug 2015 18:40:59 +0000 (18:40 +0000)]
[UXTHEME] Fix bug preventing GetThemeString from working (patch by Mark Harmstone)
svn path=/trunk/; revision=68795
Pierre Schweitzer [Sat, 22 Aug 2015 12:29:37 +0000 (12:29 +0000)]
[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
Benedikt Freisen [Sat, 22 Aug 2015 11:41:11 +0000 (11:41 +0000)]
[HHPCOMP] Remove __inline to fix VS 2015 build. See CORE-10013.
svn path=/trunk/; revision=68793
Benedikt Freisen [Sat, 22 Aug 2015 11:16:50 +0000 (11:16 +0000)]
[HHPCOMP]
Improve functionality of Windows MSVC build. Based on a WIP patch by Michael Fritscher.
See CORE-10019.
svn path=/trunk/; revision=68792
David Quintana [Sat, 22 Aug 2015 00:17:15 +0000 (00:17 +0000)]
[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
Stefan Ginsberg [Fri, 21 Aug 2015 20:57:19 +0000 (20:57 +0000)]
- 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
Pierre Schweitzer [Fri, 21 Aug 2015 20:44:30 +0000 (20:44 +0000)]
[MUP]
Now we know MUP is working, reduce a bit its verbosity
svn path=/trunk/; revision=68789
Pierre Schweitzer [Fri, 21 Aug 2015 20:40:47 +0000 (20:40 +0000)]
[NTOSKRNL]
Don't enforce tag on free, it may have been reallocated by someone else (Ob)
svn path=/trunk/; revision=68788
Giannis Adamopoulos [Fri, 21 Aug 2015 18:35:07 +0000 (18:35 +0000)]
[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
Giannis Adamopoulos [Fri, 21 Aug 2015 16:03:14 +0000 (16:03 +0000)]
[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
David Quintana [Fri, 21 Aug 2015 15:01:04 +0000 (15:01 +0000)]
[NTOBJSHEX]
* Improve the filenames to better represent their purpose at a glance.
svn path=/trunk/; revision=68785
David Quintana [Fri, 21 Aug 2015 14:31:07 +0000 (14:31 +0000)]
Oops. That was a debug change. Wasn't meant to make it into the commit.
svn path=/trunk/; revision=68784
David Quintana [Fri, 21 Aug 2015 14:26:25 +0000 (14:26 +0000)]
[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
Pierre Schweitzer [Fri, 21 Aug 2015 11:21:14 +0000 (11:21 +0000)]
[NTOSKRNL]
Addendum to r68759: don't forget to initialize semaphore.
svn path=/trunk/; revision=68782
Pierre Schweitzer [Fri, 21 Aug 2015 08:17:48 +0000 (08:17 +0000)]
[NTOSKRNL]
Define UNC tag in tag header
svn path=/trunk/; revision=68781
Pierre Schweitzer [Fri, 21 Aug 2015 08:10:53 +0000 (08:10 +0000)]
[ROSVBOXMGMT]
Add missing L for help
svn path=/trunk/; revision=68780
Pierre Schweitzer [Fri, 21 Aug 2015 08:08:10 +0000 (08:08 +0000)]
Erm.
Addendum to r68778: don't reveal my secret plans to world (yet!)
svn path=/trunk/; revision=68779
Pierre Schweitzer [Fri, 21 Aug 2015 08:03:13 +0000 (08:03 +0000)]
[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
Pierre Schweitzer [Fri, 21 Aug 2015 08:03:11 +0000 (08:03 +0000)]
[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
Hermès Bélusca-Maïto [Thu, 20 Aug 2015 19:44:13 +0000 (19:44 +0000)]
[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
Giannis Adamopoulos [Wed, 19 Aug 2015 18:10:30 +0000 (18:10 +0000)]
[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
Eric Kohl [Wed, 19 Aug 2015 18:04:40 +0000 (18:04 +0000)]
[ADVAPI32]
Add some well-known SDDL SID strings. This patch has aleady been sent upstream.
svn path=/trunk/; revision=68774
Giannis Adamopoulos [Wed, 19 Aug 2015 16:26:16 +0000 (16:26 +0000)]
[SHELL32]
- Move a couple of headers in the dialogs directory.
svn path=/trunk/; revision=68773
Thomas Faber [Wed, 19 Aug 2015 15:43:13 +0000 (15:43 +0000)]
[SHELL32][RSHELL]
- Fix some extern "C"
svn path=/trunk/; revision=68772
Giannis Adamopoulos [Wed, 19 Aug 2015 14:04:53 +0000 (14:04 +0000)]
[SHDOCVW] -Rename some unused stubs to resolve conflicts with shell32
svn path=/trunk/; revision=68771
Giannis Adamopoulos [Wed, 19 Aug 2015 13:55:15 +0000 (13:55 +0000)]
Add two files that I missed
svn path=/trunk/; revision=68770
Giannis Adamopoulos [Wed, 19 Aug 2015 13:51:20 +0000 (13:51 +0000)]
[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
Giannis Adamopoulos [Wed, 19 Aug 2015 12:09:21 +0000 (12:09 +0000)]
[SHELL32]
- Add a CDefView_Constructor that lets us keep the code simple for the shell folders.
svn path=/trunk/; revision=68768
Thomas Faber [Wed, 19 Aug 2015 11:45:21 +0000 (11:45 +0000)]
[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
Thomas Faber [Wed, 19 Aug 2015 11:24:20 +0000 (11:24 +0000)]
[RSHELL]
- Remove from CD images. Explorer can use shell32 now.
CORE-9892 #resolve
svn path=/trunk/; revision=68766
Thomas Faber [Wed, 19 Aug 2015 11:18:13 +0000 (11:18 +0000)]
[RSHELL]
- Addendum to r68764
CORE-9892
svn path=/trunk/; revision=68765
Thomas Faber [Wed, 19 Aug 2015 11:17:08 +0000 (11:17 +0000)]
[SHELL32]
- Use and register the shellmenu (former rshell) classes instead of the outdated copies in shell32
CORE-9892
svn path=/trunk/; revision=68764
Thomas Faber [Wed, 19 Aug 2015 09:05:54 +0000 (09:05 +0000)]
[RSHELL][SHELL32]
- Move rshell source files to a "shellmenu" static library under shell32
CORE-9892
svn path=/trunk/; revision=68763
Thomas Faber [Wed, 19 Aug 2015 08:28:24 +0000 (08:28 +0000)]
[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
Thomas Faber [Wed, 19 Aug 2015 08:23:59 +0000 (08:23 +0000)]
[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
Pierre Schweitzer [Tue, 18 Aug 2015 20:40:17 +0000 (20:40 +0000)]
[NTOSKRNL]
Addendum to r68759
svn path=/trunk/; revision=68760
Pierre Schweitzer [Tue, 18 Aug 2015 20:17:28 +0000 (20:17 +0000)]
[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
Pierre Schweitzer [Tue, 18 Aug 2015 20:17:25 +0000 (20:17 +0000)]
[BOOTDATA]
Enable MUP driver on boot
svn path=/trunk/; revision=68758
Pierre Schweitzer [Tue, 18 Aug 2015 20:17:22 +0000 (20:17 +0000)]
[MUP]
Implement the MUP driver for ReactOS. It only supports Multiple UNC Providers so far
Stub support for DFS
svn path=/trunk/; revision=68757
Pierre Schweitzer [Tue, 18 Aug 2015 20:17:19 +0000 (20:17 +0000)]
[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
Pierre Schweitzer [Tue, 18 Aug 2015 20:17:17 +0000 (20:17 +0000)]
[NDK]
Add an internal header for MUP FSCTL and its input buffer definition
svn path=/trunk/; revision=68755
Hermès Bélusca-Maïto [Tue, 18 Aug 2015 12:26:38 +0000 (12:26 +0000)]
[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
Thomas Faber [Tue, 18 Aug 2015 11:28:30 +0000 (11:28 +0000)]
[NTOS:MM]
- Leave guarded region in failure case of MiFindContiguousPages.
CORE-10026 #resolve
svn path=/trunk/; revision=68753
Thomas Faber [Tue, 18 Aug 2015 10:29:18 +0000 (10:29 +0000)]
[UNICOWS]
- Get rid of this Win9x-only DLL. Adobe Reader 7 works fine without it (CORE-5053).
svn path=/trunk/; revision=68752
Thomas Faber [Tue, 18 Aug 2015 10:25:45 +0000 (10:25 +0000)]
[WIN32K:NTGDI]
- Allow NULL rectangle in NtGdiSetBoundsRect as shown by the test. Fixes a bunch of annoying first chance exceptions
svn path=/trunk/; revision=68751
Thomas Faber [Tue, 18 Aug 2015 10:24:01 +0000 (10:24 +0000)]
[GDI32_APITEST]
- Add a simple test for SetBoundsRect
svn path=/trunk/; revision=68750
Thomas Faber [Tue, 18 Aug 2015 10:10:36 +0000 (10:10 +0000)]
[SHELL32]
- Don't use SHELL32_GetDisplayNameOfGUIDItem on the desktop folder. Fixes file open dialog. Giannis please review ;)
svn path=/trunk/; revision=68749
Christoph von Wittich [Tue, 18 Aug 2015 07:13:02 +0000 (07:13 +0000)]
[KERNEL32]
lpBytesReturned must not be NULL when lpOverlapped is NULL as well
svn path=/trunk/; revision=68748
Hermès Bélusca-Maïto [Mon, 17 Aug 2015 20:22:10 +0000 (20:22 +0000)]
Fix a comment and add something that was forgotten in the previous commit.
svn path=/trunk/; revision=68747
Hermès Bélusca-Maïto [Mon, 17 Aug 2015 20:11:51 +0000 (20:11 +0000)]
[NTVDM]
Changes in preparation for CORE-9773
- Split DosLoadExecutable into DosLoadExecutable & DosLoadExecutableInternal, the latter one can be used for small programs embedded in ntvdm.exe (will be used for integrated command.com).
- Factorize common loading code in DosLoadExecutable(Internal); just before starting a program, set the CPU registers to the default values DOS use; see comments in the code for more details (some programs expect those values).
- Set a correct termination type (hiword in the returned ErrorLevel) when terminating programs (the value is different for TSRs and for regular programs).
CORE-9773 CORE-9729 CORE-9711 CORE-8247
svn path=/trunk/; revision=68746
Giannis Adamopoulos [Mon, 17 Aug 2015 17:10:03 +0000 (17:10 +0000)]
[SHELL32]
- CControlPanelFolder: Fix showing the description in control panel. Patch with improvements by me.
CORE-8827
svn path=/trunk/; revision=68745
Giannis Adamopoulos [Mon, 17 Aug 2015 15:34:02 +0000 (15:34 +0000)]
[SHELL32] - Use SHELL32_GetDisplayNameOfGUIDItem in CDesktopFolder
svn path=/trunk/; revision=68744
Giannis Adamopoulos [Mon, 17 Aug 2015 15:20:04 +0000 (15:20 +0000)]
[SHELL32]
- Remove CDesktopFolderDropTarget and make CDesktopFolder just get the drop target from m_DesktopFSFolder
svn path=/trunk/; revision=68743
Benedikt Freisen [Mon, 17 Aug 2015 15:01:53 +0000 (15:01 +0000)]
[MSPAINT] rename source directory
svn path=/trunk/; revision=68742