- halfplement MyDocuments shell folder based on desktop code
- insert MyDocuments folder before MyComputer pidl
- setup still needs to create the MyDocuments folder
svn path=/trunk/; revision=30431
- should ignore cidl account as the implementation should handle this automatically
- will be enabled for the background context menus later
svn path=/trunk/; revision=30426
testing Mesa3D 7.0.1 with all bugfix we have done, thanks to
all bugfix we can remove a smaller hack we did frist in glapi.c
Mesa3D 7.0.1 does not working in ReactOS with SSE support.
if we disable it, Quake 3 will work fine.
svn path=/trunk/; revision=30415
- Fix path to dxtn.
- All of this could be unneeded if Magnus paid more attention, and actually tested (dxtn) when commiting.
svn path=/trunk/; revision=30413
irc nick : Pigglesworth) and me Debuging and testing in many days and week to getting
this work thank you Kamil Hornicek We where force doing maintain work on the ICD
interface, All change we have done toghter are in the file mesa3d_icd_fix_ros.patch
Kamil report with this change Quake 3 works in ReactOS now
svn path=/trunk/; revision=30410
This commit break the build for short while
for we are updateing to Mesa3d version 7.0.1
it does not exists another way doing the update
proper.
svn path=/trunk/; revision=30409
For example, when you handle a page fault in a section, then page fault while handling that page fault (which is perfectly okay),
you shouldn't be trying to re-acquire the address space lock that you're already holding. After this fix, this scenario works
and countless others. Apps like QTInfo now work and load, and PictureViewer doesn't BSOD the system anymore. I've fixed this by changing
the lock to a pushlock. It not only increases speed inside the memory manager significantly (such as during page fault handling), but
does allow recursive acquisition without any problems.
- Now if that wasn't bad enough, here's a couple more tips. Fast Mutexes actually require APC_LEVEL to be effective. If you're going
to be using a Fast Mutex and calling it with the "Unsafe" version, then don't expect anything to work. Also, using functions like
"CcTryToAcquireBrokenMutex" where correct code is duplicated then hacked to work isn't a big help either. And that's not all. Fast Mutex
disables kernel APCs by setting the KernelApcDisable flag on, and it's expected that the count inside the fast mutex will match the count
inside the thread. In other words, LOCK ACQUISITION AND RELEASE MUST BE ORDERED. You can't acquire LOCK A and B, and then release lock A
and B, because that leads to deadlocks and other issues. So of course, the Cache Manager acquired a view lock, then acquired a segment lock,
then released the view lock, then released the segment lock, then re-acquired the view lock. Uh, no, that won't work. You know what else
doesn't work so well? Disabling APCs about 6-9 times to acquire a single lock, and using spinlocks in the same code path as well. Just how
paranoid are you about thread safety, but still manage to get it wrong? Okay, so we've got recursion, out-of-order lock acquision and
release, made-up "broken" acquire functions, and using a lock that depends on APC_LEVEL at PASSIVE_LEVEL. The best part is when Cc builds
an array of cache segments, and locks each of them... then during release, the list gets parsed head-first, so the first acquired locks
get released first. So locks a, b, c, d get acquired, then a, b, c, d get released. Great! Sounds about right for ReactOS's Cache Manager
design. I've changed the view lock to a guarded mutex -- which actually properly disables APCs and works at PASSIVE_LEVEL, and changed the
segment locks to be push locks. First it'll be 10 times faster then acquiring a bazillion fast mutexes, especially since APCs have already
been disabled at this point, and it also allows you to do most of the stupid things the Cache Manager does. Out-of-order release is still
not going to work well, so eventually on a multi-processor machine the code will completely die -- but at least it'll work on UP for now.
In the end, this makes things like the Inkscape installer and Quicktime Installer to work, and probably countless other things that generated
ASSERTS in the fast mutex code.
-- Alex Ionescu
svn path=/trunk/; revision=30401