Commit graph

27927 commits

Author SHA1 Message Date
Magnus Olsen 4a84f72ff9 This update of Mesa3D to version 7.0.1 was done by Kamil Hornicek tykef at atlas dot cz (
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
2007-11-13 00:08:33 +00:00
Magnus Olsen c951b1a0c5 warring warring warring warring warring warring
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
2007-11-12 23:57:45 +00:00
Hervé Poussineau 544095141d Add IOleCommandTarget to BandSite object
Add BandSiteMenu object
Fix some bugs

svn path=/trunk/; revision=30406
2007-11-12 20:59:59 +00:00
Hervé Poussineau 899ac74d81 section.c wasn't meant to be part of r30401
svn path=/trunk/; revision=30404
2007-11-12 19:47:35 +00:00
James Tabor 9c5a81037b Move types out of handles headers. Add Locks for displays.
svn path=/trunk/; revision=30402
2007-11-12 19:08:44 +00:00
Aleksey Bragin 0b529c1bb5 - Okay so...listen up. First off: When you acquire a lock such as a fast mutex, you should never acquire it recursively.
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
2007-11-12 19:00:26 +00:00
Magnus Olsen 2653004ec0 Fix the build thx
Pigglesworth for all help and founding the ICD issue in reactos

svn path=/trunk/; revision=30400
2007-11-12 18:42:32 +00:00
Magnus Olsen a240dabd79 fix Mesa ICD DrvSetFormatPixel, do not create stack cruption by ignore the 3 param.
copy code from fxgl interface and make DrvSetFormatPixel work

svn path=/trunk/; revision=30399
2007-11-12 18:39:47 +00:00
Magnus Olsen 90e352745f rosglSetPixelFormat
Fixing a bug in Opengl32.dll Do not hacking ICD interface to make mesa3D happy fix the 
ICD interface in mesa32 

svn path=/trunk/; revision=30398
2007-11-12 18:20:10 +00:00
Ged Murphy 27b7b817fd fix RosBE build
svn path=/trunk/; revision=30397
2007-11-12 16:08:54 +00:00
Ged Murphy 3f9c3024c8 implement opening of existing .rdp settings
svn path=/trunk/; revision=30396
2007-11-12 16:04:06 +00:00
Ged Murphy dee600c979 fix build
svn path=/trunk/; revision=30395
2007-11-12 15:31:57 +00:00
Magnus Olsen 4f2cf28f5d forget this file sorry
svn path=/trunk/; revision=30394
2007-11-12 15:17:07 +00:00
Magnus Olsen 45455f92aa Update wine d3d8 and wined3d to wine release version 0.9.49
svn path=/trunk/; revision=30393
2007-11-12 14:56:05 +00:00
Ged Murphy 736f7a1dc9 implement Save As dialog
svn path=/trunk/; revision=30392
2007-11-12 14:45:20 +00:00
Ged Murphy 1d9f599737 Be lazy and add an underline to the bitmap header. Its easier than setting 2 coloured static controls
svn path=/trunk/; revision=30391
2007-11-12 14:21:20 +00:00
Magnus Olsen 8807a0dd76 remove white space commit. for those file are 100% share with wine.
svn path=/trunk/; revision=30390
2007-11-12 14:14:14 +00:00
Magnus Olsen 28ad3034a2 remove the entrypoint="0" in d3d8 wine
revert white space change, all file in directx/wine are from wine, and no change should be made

svn path=/trunk/; revision=30389
2007-11-12 14:08:56 +00:00
Hervé Poussineau 233f55f44f Do not check for a system menu on the NULL window
svn path=/trunk/; revision=30388
2007-11-12 13:36:34 +00:00
Ged Murphy fe683582db save the settings to file when the connect button is hit
svn path=/trunk/; revision=30387
2007-11-12 12:43:58 +00:00
Ged Murphy 096ed8b631 - refactor .rdp reading
- fix the way the settings are saved
- fix a few other small bugs which I've forgotten about now

svn path=/trunk/; revision=30386
2007-11-12 12:32:32 +00:00
Hervé Poussineau ed7a5c7e25 Add explorer-new to the build (doesn't work yet)
svn path=/trunk/; revision=30385
2007-11-12 11:41:29 +00:00
Aleksey Bragin 9fbafb9d2e - Fix russian translation (towerr).
svn path=/trunk/; revision=30384
2007-11-12 11:29:08 +00:00
Hervé Poussineau 4ddc7b7be9 Add a stub for rebar band site object
svn path=/trunk/; revision=30383
2007-11-12 10:29:17 +00:00
Aleksey Bragin df0a21e8a8 - There is no DllMain in mesa32.
svn path=/trunk/; revision=30382
2007-11-12 10:22:41 +00:00
Hervé Poussineau dd3812a909 Add missing macro
svn path=/trunk/; revision=30381
2007-11-12 10:14:28 +00:00
Hervé Poussineau c7a1e0107c No need for <library> tags static libraries (which are never linked)
svn path=/trunk/; revision=30380
2007-11-12 10:12:01 +00:00
Hervé Poussineau 89cf1a7029 Silent some MSVC warnings
svn path=/trunk/; revision=30379
2007-11-12 10:06:05 +00:00
Hervé Poussineau 0981bbc07e Silent some MSVC warnings
svn path=/trunk/; revision=30378
2007-11-12 10:03:04 +00:00
Hervé Poussineau 85c79d4b97 Use NEXT_RESOURCE macro in acpi driver
Move pci hack a little bit later

svn path=/trunk/; revision=30377
2007-11-12 10:01:52 +00:00
Hervé Poussineau be33f0b0ec Display wrong path in case of error
svn path=/trunk/; revision=30376
2007-11-12 09:59:52 +00:00
Hervé Poussineau 3be8ab2337 Small cleanup
svn path=/trunk/; revision=30375
2007-11-12 09:57:58 +00:00
James Tabor f0e8f2df37 3rd FIN.
svn path=/trunk/; revision=30374
2007-11-12 06:43:44 +00:00
James Tabor 98f75aa494 2nd Sort out gdi device mess.
svn path=/trunk/; revision=30373
2007-11-12 04:58:41 +00:00
James Tabor a990ff1e0a Removed unused DeviceDriver. Fix behavior for dcattr.
svn path=/trunk/; revision=30371
2007-11-12 03:22:12 +00:00
James Tabor cd2962c5b8 1st Sort out gdi device mess.
svn path=/trunk/; revision=30370
2007-11-12 01:26:32 +00:00
Art Yerkes d399d73f7a Handle recvfrom with no address buffer.
svn path=/trunk/; revision=30369
2007-11-11 22:28:39 +00:00
Art Yerkes 1b2108aee2 Properly handle access violation copying from userland.
svn path=/trunk/; revision=30368
2007-11-11 22:21:37 +00:00
Johannes Anderwald 9bcd750116 - hackfix build
svn path=/trunk/; revision=30367
2007-11-11 22:10:53 +00:00
Johannes Anderwald a6a6521b06 - make INewItem_Constructor compatible to be loaded as a shell extension
- fix api definition of CDefFolderMenu_Create2
- disable loading of inewitem api (reenabled when default context menu api implementation is ready)

svn path=/trunk/; revision=30366
2007-11-11 21:38:44 +00:00
Johannes Anderwald 00b588a9c3 - fix api definition
- add clsid for new object service

svn path=/trunk/; revision=30365
2007-11-11 21:29:31 +00:00
Johannes Anderwald bdeb24a1cc - add open with clsid && clsid for new object service
svn path=/trunk/; revision=30364
2007-11-11 21:28:10 +00:00
Aleksey Bragin 5b21408b33 - Winesync cppexcept.c. This fixes try/catch C++ exception handling in various apps (like MFC based apps).
svn path=/trunk/; revision=30363
2007-11-11 20:40:21 +00:00
Johannes Anderwald ace89b703c - move Shell_MergeMenus to shlobj.h where it belongs
svn path=/trunk/; revision=30362
2007-11-11 18:14:11 +00:00
Aleksey Bragin 04be216fbb - Update MSVCRT_thread_data
- Winesync cpp.c.

svn path=/trunk/; revision=30361
2007-11-11 17:03:20 +00:00
Aleksey Bragin 2db7ea2321 - After bugfixing, more complete except_nt exception handling implementation could be used, so get rid of the old one and thus code duplication.
- Move cpp/cppexcept.c to /except directory, and add a specific note in README.WINE that those files are shared with Wine.
- I moved PowerPC stubs too, but it will most probably break anyway, due to more missing stubs, my apologize.
See issue #2371 for more details.

svn path=/trunk/; revision=30359
2007-11-11 15:47:21 +00:00
Eric Kohl f0c9da09e2 - Display the current drive letter and its free disk space.
- Display the minimum, recommended and current page file size.

svn path=/trunk/; revision=30358
2007-11-11 15:24:31 +00:00
Art Yerkes 9c612e5515 Debug devtree.
Add generation of simple device tree in freeldr.

svn path=/trunk/; revision=30354
2007-11-11 11:14:52 +00:00
Aleksey Bragin 0ad062c8a2 - Fix two more typos, now exception handling doesn't lead to an infinite loop resulting in a stack overflow and thus unhandled exception being caught by ntoskrnl.
svn path=/trunk/; revision=30353
2007-11-11 10:03:12 +00:00
Art Yerkes 4551af021f Add structures related to devtree.c
svn path=/trunk/; revision=30352
2007-11-11 09:27:07 +00:00