Marc Piulachs [Wed, 7 May 2008 14:59:28 +0000 (14:59 +0000)]
- code refactoring
- made more and more easily extensible:
* commands automatically loaded from plugins dlls
* declarative and automatic command parameter parsing
* common code moved to base classes
- other fixes
svn path=/trunk/; revision=33344
Timo Kreuzer [Wed, 7 May 2008 14:39:31 +0000 (14:39 +0000)]
UserCreateHeap: use SIZE_T for parameter, also use SIZE_T for MmMapViewOfSection
svn path=/trunk/; revision=33343
Timo Kreuzer [Wed, 7 May 2008 14:14:52 +0000 (14:14 +0000)]
remove unimplemented IntDrawCaret from caret.h
svn path=/trunk/; revision=33342
Timo Kreuzer [Wed, 7 May 2008 14:11:01 +0000 (14:11 +0000)]
(Nt)UserGetWindowDC returns a HDC, not a DWORD
svn path=/trunk/; revision=33341
Aleksey Bragin [Wed, 7 May 2008 10:06:07 +0000 (10:06 +0000)]
- Fix uninitialized Callback var usage, spotted by Stefan Ginsberg. Probably fixes bug 3214.
See issue #3214 for more details.
svn path=/trunk/; revision=33340
Aleksey Bragin [Wed, 7 May 2008 09:46:37 +0000 (09:46 +0000)]
- Assign statements in ASSERTs is a bad idea. Fix that.
svn path=/trunk/; revision=33339
Timo Kreuzer [Wed, 7 May 2008 00:57:10 +0000 (00:57 +0000)]
ntifs.h: fix prototypes of PsChargePoolQuota, PsChargeProcessPoolQuota, PsReturnPoolQuota, ZwAllocateVirtualMemory and ZwFreeVirtualMemory
svn path=/trunk/; revision=33338
Timo Kreuzer [Tue, 6 May 2008 23:19:22 +0000 (23:19 +0000)]
change Amount param in all PsXxxPoolQuota functions to SIZE_T
svn path=/trunk/; revision=33337
Timo Kreuzer [Tue, 6 May 2008 21:37:10 +0000 (21:37 +0000)]
fix MmMapViewOfSection prototype
svn path=/trunk/; revision=33336
Johannes Anderwald [Tue, 6 May 2008 20:51:07 +0000 (20:51 +0000)]
- fix changing time format garbles the clock output
- patch by Carlo Bramix and Alwyn Tar
- fix potential buffer overflows by me
- bug 2437
svn path=/trunk/; revision=33335
Timo Kreuzer [Tue, 6 May 2008 20:50:53 +0000 (20:50 +0000)]
remove PalIndexed from dc struct
svn path=/trunk/; revision=33334
Aleksey Bragin [Tue, 6 May 2008 20:44:35 +0000 (20:44 +0000)]
- Fix regedit's import function. Now it works equally good in ReactOS and in a real Windows (previously was broken in both OSes).
See issue #997 for more details.
svn path=/trunk/; revision=33333
Timo Kreuzer [Tue, 6 May 2008 20:44:25 +0000 (20:44 +0000)]
DC: use dc.DcLevel.hPal for the palette instead of using dc.PalIndexed and dc.w.hPalette
NtUserSelectPalette: make code more readable
svn path=/trunk/; revision=33332
Johannes Anderwald [Tue, 6 May 2008 20:36:06 +0000 (20:36 +0000)]
- remove unused files :)
svn path=/trunk/; revision=33331
Magnus Olsen [Tue, 6 May 2008 20:20:56 +0000 (20:20 +0000)]
started cleanup object/dc.c
1. remove the static global value edd_directdraw_global I intrudues for dx.
it is now for each driver.
svn path=/trunk/; revision=33330
Timo Kreuzer [Tue, 6 May 2008 20:09:34 +0000 (20:09 +0000)]
rename 2nd parameter of NtUserGetClipboardData from Unknown1 to pBuffer. Use SEH to copy data.
svn path=/trunk/; revision=33329
Aleksey Bragin [Tue, 6 May 2008 18:11:41 +0000 (18:11 +0000)]
- Fix a bug resulting in a write to an uninitialized address (coincidently located somewhere in the middle of another heap allocation) and later heapfreeing it. WaitNamedPipeA() was the affected function (results were visible when e.g. starting Office 2003 installer).
svn path=/trunk/; revision=33328
Daniel Reimer [Tue, 6 May 2008 17:54:08 +0000 (17:54 +0000)]
Netherland translation for calc by Wouter Thierens. Congrats for the first one. May follow many more!
svn path=/trunk/; revision=33327
Gregor Brunmar [Tue, 6 May 2008 16:15:33 +0000 (16:15 +0000)]
Implemented IDirect3DDevice9::GetDisplayMode()
svn path=/trunk/; revision=33326
Marc Piulachs [Tue, 6 May 2008 15:27:34 +0000 (15:27 +0000)]
-fix build
svn path=/trunk/; revision=33325
Marc Piulachs [Tue, 6 May 2008 14:52:46 +0000 (14:52 +0000)]
-fix build
svn path=/trunk/; revision=33324
Marc Piulachs [Tue, 6 May 2008 14:43:24 +0000 (14:43 +0000)]
-Fix unnecessary msi builds (part 2/2)
svn path=/trunk/; revision=33323
Marc Piulachs [Tue, 6 May 2008 14:42:49 +0000 (14:42 +0000)]
-Fix unnecessary msi builds, this time for real! msi module was referencing the module 'msi_msiserver_typelib' expecting (OUTPUT)msi_msiserver_typelib.tlb to be build inset of (INTERMEDIATE)msiserver.tlb (the actual generated file). As a result the file was never created and make was trying to recreate it on every build. mystery solved :) (part 1/2)
svn path=/trunk/; revision=33322
Marc Piulachs [Tue, 6 May 2008 14:24:16 +0000 (14:24 +0000)]
-Add a new module type 'cabinet' to handle .cab files generation
-Remove harcoded vgafonts.cab instructions from rbuild and move them to its own rbuild file
svn path=/trunk/; revision=33321
Aleksey Bragin [Tue, 6 May 2008 12:51:08 +0000 (12:51 +0000)]
atl: Remove freeing of an invalid pointer.
http://www.winehq.org/pipermail/wine-patches/2008-May/054603.html
svn path=/trunk/; revision=33320
Aleksey Bragin [Tue, 6 May 2008 11:46:50 +0000 (11:46 +0000)]
- Fix a typo.
See issue #3190 for more details.
svn path=/trunk/; revision=33319
Dmitry Chapyshev [Tue, 6 May 2008 09:22:39 +0000 (09:22 +0000)]
- Add new dll's information
svn path=/trunk/; revision=33318
Dmitry Chapyshev [Tue, 6 May 2008 09:20:48 +0000 (09:20 +0000)]
- Add new dll's to bootcd
svn path=/trunk/; revision=33317
Dmitry Chapyshev [Tue, 6 May 2008 09:20:08 +0000 (09:20 +0000)]
- Add & update headers
svn path=/trunk/; revision=33316
Dmitry Chapyshev [Tue, 6 May 2008 09:17:31 +0000 (09:17 +0000)]
- Add baseaddress for inetcomm.dll and nddeapi.dll
svn path=/trunk/; revision=33315
Dmitry Chapyshev [Tue, 6 May 2008 09:16:21 +0000 (09:16 +0000)]
- advapi32: Small implementation RegConnectRegistryW (from wine)
- Add inetcomm.dll from wine
- Add nddeapi.dll from wine
- Sync imm32 with wine
svn path=/trunk/; revision=33314
Johannes Anderwald [Tue, 6 May 2008 07:46:58 +0000 (07:46 +0000)]
- check for WHQL for display adapters (using d3d9)
- destroy all dialogs on exit
- fix a bug in destroying the dialogs
- halfplement checking WHQL for audio drivers
svn path=/trunk/; revision=33313
Johannes Anderwald [Tue, 6 May 2008 07:18:38 +0000 (07:18 +0000)]
- define LPD3DVECTOR_DEFINED when d3d9 and dsound header is used
- sync mscat.h from wine and add a few required definitions
svn path=/trunk/; revision=33312
Hervé Poussineau [Tue, 6 May 2008 06:57:05 +0000 (06:57 +0000)]
Fix indentation
svn path=/trunk/; revision=33311
James Tabor [Tue, 6 May 2008 04:22:49 +0000 (04:22 +0000)]
Quick implementation of DxEngCreateMemoryDC and DxEngCleanDC. It compiles. 8^D
svn path=/trunk/; revision=33310
James Tabor [Tue, 6 May 2008 03:40:38 +0000 (03:40 +0000)]
Win32k:
- Rewrite EngAcquire/ReleaseSemaphore.
- Add internal fastcalls for them and tag.
- Fix DxEngUn/LockShareSem.
- Tested with Qemu. Needs Dx testing.
svn path=/trunk/; revision=33309
Marc Piulachs [Mon, 5 May 2008 23:19:38 +0000 (23:19 +0000)]
-solve msi circular dependency warning and avoid unnecessary msi.dll rebuilds
See issue #3131 for more details.
svn path=/trunk/; revision=33308
Aleksey Bragin [Mon, 5 May 2008 21:07:32 +0000 (21:07 +0000)]
- Buffer size is in bytes, not in pages. Fixes boot breakage.
svn path=/trunk/; revision=33307
Hervé Poussineau [Mon, 5 May 2008 20:16:34 +0000 (20:16 +0000)]
Initialize size field of the OLEINPLACEFRAMEINFO structure.
This should prevent Explorer to disappear when user doesn't want to download the Mozilla ActiveX control.
See issue #3126 for more details.
svn path=/trunk/; revision=33306
Magnus Olsen [Mon, 5 May 2008 19:42:23 +0000 (19:42 +0000)]
bye bye DXG_GET_INDEX_FUNCTION
patch from Stefan Ginsberg stefan__100__at hotmail dot com
it remove the bad macro DXG_GET_INDEX_FUNCTION that never worked as it should.
svn path=/trunk/; revision=33305
Gregor Brunmar [Mon, 5 May 2008 19:32:41 +0000 (19:32 +0000)]
Made IDirect3DDevice9::GetAvailableTextureMem() less error prone, based on feedback from GreatLord
svn path=/trunk/; revision=33304
Gregor Brunmar [Mon, 5 May 2008 19:15:26 +0000 (19:15 +0000)]
Changed struct in IDirect3DDevice9::GetAvailableTextureMem() based on feedback from GreatLord
svn path=/trunk/; revision=33303
Magnus Olsen [Mon, 5 May 2008 18:30:14 +0000 (18:30 +0000)]
patch from Stefan Ginsberg stefan__100__at hotmail dot com
it remove the bad macro DXG_GET_INDEX_FUNCTION that never worked as it should.
svn path=/trunk/; revision=33302
Aleksey Bragin [Mon, 5 May 2008 18:23:55 +0000 (18:23 +0000)]
- Fix two typos in the buffer size calculation code, spotted by Stefan Ginsberg.
svn path=/trunk/; revision=33301
James Tabor [Mon, 5 May 2008 17:45:20 +0000 (17:45 +0000)]
Implement XxxRedrawDesktop for Dx, needs testing.
svn path=/trunk/; revision=33300
Gregor Brunmar [Mon, 5 May 2008 16:49:13 +0000 (16:49 +0000)]
Implemented IDirect3DDevice9::GetAvailableTextureMem()
svn path=/trunk/; revision=33299
Gregor Brunmar [Mon, 5 May 2008 15:58:23 +0000 (15:58 +0000)]
* Implemented IDirect3DDevice9::GetDirect3D() and GetDeviceCaps()
* Added a DevCaps filter when retrieving D3DCAPS9 from device caps
svn path=/trunk/; revision=33298
Hervé Poussineau [Mon, 5 May 2008 14:50:43 +0000 (14:50 +0000)]
Remove some warnings
svn path=/trunk/; revision=33297
Hervé Poussineau [Mon, 5 May 2008 14:50:01 +0000 (14:50 +0000)]
Fix assert
svn path=/trunk/; revision=33296
Timo Kreuzer [Mon, 5 May 2008 13:33:42 +0000 (13:33 +0000)]
add tests for GetCurrentObject
svn path=/trunk/; revision=33295
Daniel Reimer [Mon, 5 May 2008 13:27:26 +0000 (13:27 +0000)]
... And the last things I forgot....
Note to myself: ONLY accept .diff and .patch files and NOTHING ELSE.
svn path=/trunk/; revision=33294
Daniel Reimer [Mon, 5 May 2008 13:22:09 +0000 (13:22 +0000)]
Forgot to save a local fix before commit...
svn path=/trunk/; revision=33293
Daniel Reimer [Mon, 5 May 2008 13:09:49 +0000 (13:09 +0000)]
Bug 3215: some updates and slovak translations by Mario Kacmar (kario@szm.sk)
Bug 3204: Bulgarian translations for ReactOS by Станев (sstpr@narod.ru)
Bug 3210: Fix italian mistakes into CPL by Carlo Bramini (carlo.bramix@libero.it)
Small fixes By Olaf Siejka.
Sync Winhelp and Wordpad to Code frozen Wine.
svn path=/trunk/; revision=33292
Daniel Reimer [Mon, 5 May 2008 13:05:42 +0000 (13:05 +0000)]
Sync WineFile to Code frozen Wine.
Bug 3215: some updates and slovak translations by Mario Kacmar (kario@szm.sk)
svn path=/trunk/; revision=33291
Aleksey Bragin [Mon, 5 May 2008 08:28:41 +0000 (08:28 +0000)]
- Revert 33274, except the change in GetDisplayNumberFromDeviceName(), where a zero-length string should be actually accepted.
- As for other changes in 33274: removed accidentally committed DPRINT1s by Magnus, removed unneeded DisplayNumber zero-init, because it's always initialized by a call to GetDisplayNumberFromDeviceName().
svn path=/trunk/; revision=33290
Aleksey Bragin [Mon, 5 May 2008 07:59:00 +0000 (07:59 +0000)]
- Fix a few DxEng APIs without proper calling convention (spotted by Stefan).
svn path=/trunk/; revision=33289
James Tabor [Mon, 5 May 2008 01:34:17 +0000 (01:34 +0000)]
Implement IntGdiReferencePdev and part of IntGdiUnreferencePdev.
svn path=/trunk/; revision=33288
Marc Piulachs [Sun, 4 May 2008 23:47:15 +0000 (23:47 +0000)]
-Move shellext folder to a more appropriate location. shell extensions are COM objects which extends the abilities of MS Windows explorer and not regular Win32 Dlls as they don't export APIs (part 2/2)
svn path=/trunk/; revision=33287
Marc Piulachs [Sun, 4 May 2008 23:46:26 +0000 (23:46 +0000)]
-Move shellext folder to a more appropriate location. shell extensions are COM objects which extends the abilities of MS Windows explorer and not regular Win32 Dlls as they don't export APIs (part 1/2)
svn path=/trunk/; revision=33286
Marc Piulachs [Sun, 4 May 2008 23:32:43 +0000 (23:32 +0000)]
-replace the non defined ${MP} property by a constant boolean value for now. ${MP} was removed long time ago
svn path=/trunk/; revision=33285
James Tabor [Sun, 4 May 2008 23:17:10 +0000 (23:17 +0000)]
Impement DxEngSetDCState, DxEngIsHdevLockedByCurrentThread and DxEngUn & ReferenceHdev.
svn path=/trunk/; revision=33284
Magnus Olsen [Sun, 4 May 2008 21:30:15 +0000 (21:30 +0000)]
remove more of no working macro DXG_GET_INDEX_FUNCTION
svn path=/trunk/; revision=33283
Marc Piulachs [Sun, 4 May 2008 21:10:36 +0000 (21:10 +0000)]
- simple but colorful new GDI screensaver
svn path=/trunk/; revision=33282
Marc Piulachs [Sun, 4 May 2008 20:58:15 +0000 (20:58 +0000)]
- Add language name tooltip to kbswitch systray icon
svn path=/trunk/; revision=33281
Marc Piulachs [Sun, 4 May 2008 20:10:26 +0000 (20:10 +0000)]
- Fix logon screensaver preview
svn path=/trunk/; revision=33279
Magnus Olsen [Sun, 4 May 2008 19:58:33 +0000 (19:58 +0000)]
Fixed one test so it be more fair.
svn path=/trunk/; revision=33278
Dmitry Chapyshev [Sun, 4 May 2008 19:41:25 +0000 (19:41 +0000)]
- Synchronize with wine head
svn path=/trunk/; revision=33277
Dmitry Chapyshev [Sun, 4 May 2008 19:40:09 +0000 (19:40 +0000)]
- Update header file
svn path=/trunk/; revision=33276
Magnus Olsen [Sun, 4 May 2008 18:05:32 +0000 (18:05 +0000)]
fixed some typo and stefan100 suggest to remove a #ifdef statement
svn path=/trunk/; revision=33275
Magnus Olsen [Sun, 4 May 2008 17:58:43 +0000 (17:58 +0000)]
fixed NtUserEnumDisplaySettings bug inside IntEnumDisplaySettings DWORD DisplayNumber was not init before it was use.
GetDisplayNumberFromDeviceName did not allown pdevice with NULL value or string lenght is 0 thuse have been fixed.
svn path=/trunk/; revision=33274
Dmitry Chapyshev [Sun, 4 May 2008 16:03:40 +0000 (16:03 +0000)]
- Change icon
svn path=/trunk/; revision=33273
Dmitry Chapyshev [Sun, 4 May 2008 15:24:43 +0000 (15:24 +0000)]
- Update and fix all translations
svn path=/trunk/; revision=33272
Gregor Brunmar [Sun, 4 May 2008 15:02:01 +0000 (15:02 +0000)]
* Implemented IDirect3D9::GetNumberOfSwapChains()
svn path=/trunk/; revision=33271
Magnus Olsen [Sun, 4 May 2008 14:31:20 +0000 (14:31 +0000)]
Speed optimize NtUserEnumDisplaySettings bit by remove
COPY_DEVMODE_VALUE_TO_CALLER macro and using SEH directly
svn path=/trunk/; revision=33270
Johannes Anderwald [Sun, 4 May 2008 13:58:45 +0000 (13:58 +0000)]
- retrieve more information for DirectSound adapters
- use dxdiag parent window for dialogs which have pushbuttons
- restore window size after finishing DirectDraw tests
- use wsprintfW over swprintf- cut off build info from version string
svn path=/trunk/; revision=33269
Johannes Anderwald [Sun, 4 May 2008 13:51:59 +0000 (13:51 +0000)]
- add mmreg.h
svn path=/trunk/; revision=33268
Magnus Olsen [Sun, 4 May 2008 13:23:19 +0000 (13:23 +0000)]
NtUserEnumDisplaySettings
remove two MmCopyFromCaller, never use MmCopyFromCaller for it make debuging pain in the ass
svn path=/trunk/; revision=33267
Gregor Brunmar [Sun, 4 May 2008 12:47:57 +0000 (12:47 +0000)]
* Updated faulty documentation about Adapter parameter for IDirect3D9 methods
* Implemented IDirect3DDevice9::GetSwapChain()
svn path=/trunk/; revision=33266
Magnus Olsen [Sun, 4 May 2008 12:42:52 +0000 (12:42 +0000)]
Bugfix : NtGdiDdDeleteDirectDrawObject thx irc : stefan100 to spotted the misake
svn path=/trunk/; revision=33265
Magnus Olsen [Sun, 4 May 2008 12:00:31 +0000 (12:00 +0000)]
Fixed a stupied bug inside intEnableReactXDriver, we only allown create dx context handler one time, second time it fail. note directdraw/dxg.sys have own handler table that work exacly same as gdi handler table and have same limit.
svn path=/trunk/; revision=33264
Gregor Brunmar [Sun, 4 May 2008 11:48:06 +0000 (11:48 +0000)]
* Added stubs for IDirect3DDevice9
* Moved IDirect3D9 specific helper functions from generic helpers to implementation file
* Renamed a couple of internal D3D9 structs
svn path=/trunk/; revision=33263
Colin Finck [Sun, 4 May 2008 09:04:14 +0000 (09:04 +0000)]
Move console.dll properly, Part 2/2. This commit will fix build again.
svn path=/trunk/; revision=33262
Colin Finck [Sun, 4 May 2008 09:01:59 +0000 (09:01 +0000)]
Move console.dll properly, Part 1/2. This commit will break build.
svn path=/trunk/; revision=33261
Dmitry Chapyshev [Sun, 4 May 2008 06:49:27 +0000 (06:49 +0000)]
- Update icons
svn path=/trunk/; revision=33260
James Tabor [Sat, 3 May 2008 23:30:19 +0000 (23:30 +0000)]
Fix DxEngCreateMemoryDC, GetDesktopDC and DeleteDC.
svn path=/trunk/; revision=33259
Dmitry Chapyshev [Sat, 3 May 2008 15:41:57 +0000 (15:41 +0000)]
- Update translations
svn path=/trunk/; revision=33258
Dmitry Chapyshev [Sat, 3 May 2008 15:30:11 +0000 (15:30 +0000)]
- Add new layouts to bootcd
svn path=/trunk/; revision=33257
Dmitry Chapyshev [Sat, 3 May 2008 15:29:25 +0000 (15:29 +0000)]
Add keyboard layouts:
- Turkish Q
- Turkish F
- Ukrainian (Student)
- Uzbek (Cyrillic)
- Vietnamese
svn path=/trunk/; revision=33256
Magnus Olsen [Sat, 3 May 2008 11:46:34 +0000 (11:46 +0000)]
Bugfix : DRVFN gaEngFuncs one row was wrong thx irc : Pigglesworth for notice it.
start fixing prototype for DxEngDeleteDC
svn path=/trunk/; revision=33255
Magnus Olsen [Sat, 3 May 2008 10:23:14 +0000 (10:23 +0000)]
implemented partly DxEngGetDesktopDC
svn path=/trunk/; revision=33254
Dmitry Chapyshev [Fri, 2 May 2008 20:36:07 +0000 (20:36 +0000)]
- Fix build
svn path=/trunk/; revision=33251
Magnus Olsen [Fri, 2 May 2008 20:16:03 +0000 (20:16 +0000)]
Fixed the last regress I intdues for loading ms dxg.sys now it works loading again and we come allot futuer with our ddraw.dll.
without using hacks.
svn path=/trunk/; revision=33249
Magnus Olsen [Fri, 2 May 2008 19:42:38 +0000 (19:42 +0000)]
re adding a small hack for edd_directdraw_globalk getting clear out some where in win32k. we need track down this bug.
svn path=/trunk/; revision=33245
Magnus Olsen [Fri, 2 May 2008 19:25:26 +0000 (19:25 +0000)]
fixed a small regress for 3 boot i did by mistake intrudes. sorry
svn path=/trunk/; revision=33244
Magnus Olsen [Fri, 2 May 2008 18:31:21 +0000 (18:31 +0000)]
cleanup the startup process allot
1. Remove the hack in ddraw.c that only allown one edd_directdraw_global it been move to dc.c for it is each drv that need alloc this space.
2. Remove we do not trying loading dxg.sys twice.
3. Remove we do not try enable the dx interface when it is already enable, better check for it is need it later.
svn path=/trunk/; revision=33242
Magnus Olsen [Fri, 2 May 2008 17:47:46 +0000 (17:47 +0000)]
fix a typo in function DxEngGetHdevData the sub function DxEGShDevData_OpenRefs did validate data bit wrong
it should send back 0 for no openrefs and 1 for openrefs.
thx Pigglesworth debuglog to found it.
svn path=/trunk/; revision=33241
Dmitry Chapyshev [Fri, 2 May 2008 14:44:43 +0000 (14:44 +0000)]
- Add more defines
svn path=/trunk/; revision=33240
Dmitry Chapyshev [Fri, 2 May 2008 14:35:45 +0000 (14:35 +0000)]
- Change icons to Tango icons
svn path=/trunk/; revision=33239
Dmitry Chapyshev [Fri, 2 May 2008 14:15:04 +0000 (14:15 +0000)]
- Add InstallNewDevice exported function
svn path=/trunk/; revision=33238
Dmitry Chapyshev [Fri, 2 May 2008 14:08:25 +0000 (14:08 +0000)]
- Move console.dll to cpl folder
svn path=/trunk/; revision=33237