Commit graph

27798 commits

Author SHA1 Message Date
Johannes Anderwald
3e367f8894 - implement _ILIsMyDocuments
- 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
2007-11-14 00:45:08 +00:00
Thomas Bluemel
cf3352e6bc Make initializing the ICD in ROSGL_ICDForHDC thread-safe
svn path=/trunk/; revision=30430
2007-11-14 00:01:36 +00:00
Thomas Bluemel
65636af627 Make opengl initialization thread-safe
svn path=/trunk/; revision=30429
2007-11-13 23:30:17 +00:00
Thomas Bluemel
d3e6d6d283 Fix freeing lists on process detach
svn path=/trunk/; revision=30428
2007-11-13 22:59:49 +00:00
Magnus Olsen
7ebbdf5274 Bugfix : Do not assume unini value ( OPENGL32_tls ) are set to -1 (0xFFFFFFFF), do not assume DWORD always will be 32bits convert all 0xFFFFFFFF value for OPENGL32_tls to -1
svn path=/trunk/; revision=30427
2007-11-13 19:32:36 +00:00
Johannes Anderwald
d23e936e77 - call CDefFolderMenu_Create2 to create the context menus
- 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
2007-11-13 19:30:27 +00:00
Christoph von Wittich
9d3f29f8f2 don't delete the CriticalSection twice when FindClose is called twice - fixes a crash in Photoshop CS installer
svn path=/trunk/; revision=30425
2007-11-13 16:50:44 +00:00
Aleksey Bragin
845f7f54d2 - Make file lock and unlock operations succeed without doing actual locking (enough to make some apps work even if they don't have proper locking). DPRINT1s are inserted, so that this is not going to be forgotten.
svn path=/trunk/; revision=30424
2007-11-13 15:45:33 +00:00
Aleksey Bragin
629a6c0368 - Fix code formatting.
- Add TRACEs.

svn path=/trunk/; revision=30423
2007-11-13 15:41:22 +00:00
Timo Kreuzer
2b043c2212 charmap: scroll 1 position on SB_LINEDOWN and 1 page on SB_PAGEDOWN, update window on SB_THUMPTRACK, use ScrollWindowEx on scrolling.
svn path=/trunk/; revision=30422
2007-11-13 14:18:44 +00:00
Ged Murphy
6b877de3d5 add remote desktop client to the start menu
svn path=/trunk/; revision=30421
2007-11-13 13:41:08 +00:00
Ged Murphy
af74ed5867 add remote desktop to the bootcd as it's now working, but still unfinished.
svn path=/trunk/; revision=30420
2007-11-13 13:19:04 +00:00
Ged Murphy
a01bc65364 fix remaining warnings and add it to the build
svn path=/trunk/; revision=30419
2007-11-13 13:16:17 +00:00
Ged Murphy
fdc6a1425d silence a load of gcc warnings
svn path=/trunk/; revision=30418
2007-11-13 13:10:07 +00:00
Ged Murphy
a55222a1c5 remove a workaround for an early bug. The tabs will display correctly in low resolution now.
svn path=/trunk/; revision=30417
2007-11-13 11:53:31 +00:00
Magnus Olsen
b07f6eda61 fix a typo
svn path=/trunk/; revision=30416
2007-11-13 11:22:24 +00:00
Magnus Olsen
4c996c0670 Thx Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
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
2007-11-13 10:50:33 +00:00
Aleksey Bragin
7fc70c0db0 - Fix dxtn path once again (thanks Pigglesworth).
- Remove unneeded files from dxtn's source code.

svn path=/trunk/; revision=30414
2007-11-13 10:03:19 +00:00
Aleksey Bragin
88d59ae1a0 - Fix .rbuild indendation.
- 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
2007-11-13 09:43:17 +00:00
Hervé Poussineau
4e8cff2746 Add a stub for start menu object
svn path=/trunk/; revision=30412
2007-11-13 08:39:38 +00:00
Magnus Olsen
01e5498417 adding back sse, 3dnow, mmx compiling flag for mesa32.
------------------------------------------------------
Not tested with quake 3  

svn path=/trunk/; revision=30411
2007-11-13 00:49:47 +00:00
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